Skip to content

Allow reload plugin to continue restarting master after syntax errors are fixed. #137

wants to merge 2 commits into from

1 participant

jdeal commented Jul 31, 2011

The reload plugin gets stuck if there's a syntax error. The master can't re-spawn since there's a syntax error, and the reload plugin won't try again, because the restarting flag gets set to true. This fork watches for the master process to exit and then emits an 'exit' event for the master. This way, the reload plugin can watch for the 'exit' event and reset its restarting flag.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.