sbt / sbt-remote-control

Create and manage sbt process using unicorns and forks
Other
74 stars 14 forks source link

Introduces a special server mode for when the build fails. #225

Closed henrikengstrom closed 9 years ago

henrikengstrom commented 9 years ago

Instead of just exiting on a failed load this code puts the server in a wait mode. The only way to get out of this mode is to either exit or send a reboot command. For all other commands the server will just continue in the wait mode. Comments are welcome as there might be something I have missed in terms of error handling etc.

jsuereth commented 9 years ago

LGTM

havocp commented 9 years ago

if we try to execute a task during this state we need to send an ExecutionFailed (since we guarantee that any ExecutionStarted gets a matching end event)