yihui / servr

A simple HTTP server in R
https://cran.rstudio.com/package=servr
278 stars 35 forks source link

rmdv1/2 not detecting file changes when using RStudio server #20

Closed noamross closed 9 years ago

noamross commented 9 years ago

I've started using servr for viewing live-updates to Rmd files in the RStudio preview pane while I edit. This works fine when I'm running on natively on OSX, but when I'm running RStudio Server via the browser there's no live update. It appears servr is not detecting file changes - the HTML is not re-compiled when I save an Rmd.

I've tried this running the RStudio Server on both on my own Ubuntu box and on the rocker/rstudio-daily:verse Docker image.

yihui commented 9 years ago

Thanks! Should be fixed now.