Automatically reloading shiny app when add changes

2019-04-09 21:42发布

I would like to have an option (when working locally) which allows me to see changes in my shiny app automatically after I put some changes in server.R or ui.R file. It is really annoying to manually rerun runApp function every time I add a new thing.

The optimal solution which I really like is xaringan::inifinite_moon_reader function which is extremely helpful.

Is there any solution which do this stuff?

You can find analogical solution here. On the right, the code was modified and saved, on the left, the content of page was updated.

标签: r shiny xaringan
1条回答
别忘想泡老子
2楼-- · 2019-04-09 22:27

Executing

options(shiny.autoreload = TRUE)
should do the trick.
查看更多
登录 后发表回答