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?