Reload resources with every run of Shiny app

In the inst/www/ folder of my package which is a Shiny application, I have a data.txt file which is loaded and used by the UI. However, when i make changes to data.txt and save them, I have to run devtools::reload() and devtools::install() in order to apply the changes so that they are visible for the app. When merely re-running the app, the changes are not applied and accessing http://localhost/data.txt shows the old version of the file.

Is there a possibility that the resources are automatically reloaded/updated with every run of the Shiny app?

Hi @drzamich, this sounds like an issue introduced by shiny v1.3, see here for more info --

This topic was automatically closed 54 days after the last reply. New replies are no longer allowed.