Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Reload app on minor changes #627

Closed
nvelden opened this issue Mar 17, 2021 · 3 comments
Closed

Reload app on minor changes #627

nvelden opened this issue Mar 17, 2021 · 3 comments

Comments

@nvelden
Copy link

nvelden commented Mar 17, 2021

My usual workflow for writing an App is to run the app and when I add for instance a control widget or add a CSS rule I hit refresh in the browser to see how things look. With a Golem App using modules this does not seem to work. For every small change do I need to stop the App and then restart by running the appdemo::run_app() in the run_dev.R file? Is there a better workflow?

@ColinFay
Copy link
Member

Hey,

Does this #263 (comment) answer your question ?

@nvelden
Copy link
Author

nvelden commented Mar 18, 2021

Thanks a lot. I followed the steps outlined in your description. I can see that the browser refreshes after adding an input in a module and press save but the change is not shown in the web browser. Only when I run the run_dev.R file again the change pops-up.

I guess it is related to an issue in Shiny:

rstudio/shiny#2711

I tried the proposed solution by referencing the module source file in the app_server.R but that did not work either.

@ColinFay
Copy link
Member

ColinFay commented Apr 2, 2021

Hey @nvelden,

I'm closing this as it is a duplicate of #263 and I feel like we should keep track of this feature in one place :)

Thanks for opening this issue,

Cheers,

Colin

@ColinFay ColinFay closed this as completed Apr 2, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants