shiny
shiny copied to clipboard
Autoreload does not load css files
If you change a css file in www folder that you load with the includeCSS function, the application will be reloaded but changes in the css file will not be applied to the reloaded application.
If you comment out the includeCSS command, let the application reload, and uncomment it again, the last reload will have the updated CSS
Note to self: Need less aggressive caching of UI
Work around this today by wrapping ui in a function:
ui <- fluidPage(...)
becomes
ui <- function(request) {
fluidPage(...)
}
ui <- function(request) { fluidPage(...) }
Unfortunately the trick didn't work for me...
Another related issue https://github.com/rstudio/shiny/issues/2389