rstudio / shiny

Easy interactive web applications with R
https://shiny.posit.co/
Other
5.36k stars 1.87k forks source link

Autoreload does not load css files #1142

Open oganm opened 8 years ago

oganm commented 8 years ago

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

jcheng5 commented 8 years ago

Note to self: Need less aggressive caching of UI

jcheng5 commented 7 years ago

Work around this today by wrapping ui in a function:

ui <- fluidPage(...)

becomes

ui <- function(request) {
  fluidPage(...)
}
GitHunter0 commented 2 years ago
ui <- function(request) {
  fluidPage(...)
}

Unfortunately the trick didn't work for me...

Another related issue https://github.com/rstudio/shiny/issues/2389