shiny icon indicating copy to clipboard operation
shiny copied to clipboard

Autoreload does not load css files

Open oganm opened this issue 9 years ago • 3 comments

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

oganm avatar Mar 23 '16 05:03 oganm

Note to self: Need less aggressive caching of UI

jcheng5 avatar Aug 09 '16 18:08 jcheng5

Work around this today by wrapping ui in a function:

ui <- fluidPage(...)

becomes

ui <- function(request) {
  fluidPage(...)
}

jcheng5 avatar Nov 17 '16 19:11 jcheng5

ui <- function(request) {
  fluidPage(...)
}

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

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

GitHunter0 avatar Jan 24 '22 15:01 GitHunter0