Run application in development mode with automatic rebuilding and reloading.
devmode(
build_sass = TRUE,
build_js = TRUE,
run_r_unit_tests = TRUE,
auto_test_r_args = list(reporter = NULL, filter = NULL, hash = TRUE),
...
)
None. This function is called for side effects.
Boolean. Rebuild Sass automatically in the background?
Boolean. Rebuild JavaScript automatically in the background?
Boolean. Run R unit tests automatically in the background?
List. Additional arguments passed to auto_test_r()
.
Additional arguments passed to shiny::runApp()
.
This function will launch the Shiny app in
development mode
(as if options(shiny.devmode = TRUE)
was set).
The app will be automatically reloaded whenever the sources change.
Additionally, Rhino will automatically rebuild JavaScript and Sass in the background
and run R unit tests with the auto_test_r()
function.
Please note that this feature requires Node.js.