After restarting sbt on file changes - equivalent to `~ compile` for` run`
I know it is possible to recompile or rerun tests for file changes. I want to know if it is possible to accomplish something like this for a command run
. ~ run
does not work. (This makes sense since the run never ends.)
Is there a way to create a task that monitors file changes, exit the running server, and restart it?
If not for some other tool, would you suggest getting the same behavior?
+4
source to share