ui.R code like this:
#comments a <<- read.table("xxxx") shinyUI(fluidPage(useShinyjs(), tags$head( includeCSS("styles.css"), includeScript(path=ifelse(a==0,path1,path2)) ) ))
when i change the global variable a,the ui take not affect, unless i modify the ui.R file ,eg. add some comments.
why ui.R file has no change,the dynamic includeScript or includeCSS have no effects,just load the CSS JS file last time you change the ui.R?
how to check this point? and how to resolve it?
thanks very much!