Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

stop server if gulp exits abnormally #54

Open
skarfacegc opened this issue Feb 27, 2016 · 4 comments
Open

stop server if gulp exits abnormally #54

skarfacegc opened this issue Feb 27, 2016 · 4 comments

Comments

@skarfacegc
Copy link

Is there a straight forward way to stop the sever if gulp exits abnormally? I really don't mind the exceptions getting through and killing gulp in some cases, and I don't know that I'd do anything more than rethrow in most cases BUT, I'd love for my test server to get cleaned up on exit.

@reimertz
Copy link

👍

@raduchiriac
Copy link

Any solution on this?

@PhilippCh
Copy link

Would be very much appreciated!

@andrewiggins
Copy link

Hmm gulp-connect adds a listener for process exit and SIGINT. Does doing the same in gulp-live-server (similarly to this line of code) resolve your issue?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

6 participants