I'm using drake
to orchestrate a workflow where if an external shiny app (stored in project_dir/shiny/app.R
) changes, I want to trigger a docker build.
shiny_plan <- drake_plan(
docker_build = system(command = "docker build shiny/. -t docker.com/my-dash")
)
How do I detect a change in app.R
to trigger target docker_build
, given that drake
does not help create app.R
?
Best