You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is your feature request related to a problem? Please describe.
If I'm working on a server, then main starts the server and sleeps indefinitely e.g. until ctrl+c or enter. If I make changes I'd like the server to restart. run --watch would almost work perfectly except it only works if the process is already terminated i.e. it will not kill/restart a currently running process.
Describe the solution you'd like
If run --watch detects changes, it kills the currently running process and restarts it.
Describe alternatives you've considered
For now, I manually terminate my server with enter and then scala-cli starts it again with the changes.
The text was updated successfully, but these errors were encountered:
Is your feature request related to a problem? Please describe.
If I'm working on a server, then
main
starts the server and sleeps indefinitely e.g. untilctrl+c
orenter
. If I make changes I'd like the server to restart.run --watch
would almost work perfectly except it only works if the process is already terminated i.e. it will not kill/restart a currently running process.Describe the solution you'd like
If
run --watch
detects changes, it kills the currently running process and restarts it.Describe alternatives you've considered
For now, I manually terminate my server with
enter
and then scala-cli starts it again with the changes.The text was updated successfully, but these errors were encountered: