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

[dev] child process now close properly. #654

Closed
wants to merge 4 commits into from
Closed

[dev] child process now close properly. #654

wants to merge 4 commits into from

Conversation

waynevanson
Copy link

@waynevanson waynevanson commented Dec 14, 2019

closes #653

- Summary

Basically when I'd run parcel src/index.html via netlify dev -c, pressing CTRL + C (SIGTERM) would not shut down the process.

- Test plan

Run netlify dev and cancel it over and over again, even if it doesn't start completely. If it doesnt break, it works.

- Description for the changelog
Child processes now exit when SIGTERM command (CTRL + C) is issued.

- A picture of a cute animal (not mandatory but encouraged)

Have some hot diggity dogs.

Wayne Van Son added 4 commits December 14, 2019 19:59
The strings show 'SIGINT' and 'SIGTERM',
which are not part of the execa API as far as I can see.
These are available on process.on(),
which is why they've been switched around.
@waynevanson waynevanson marked this pull request as ready for review December 14, 2019 10:33
@RaeesBhatti
Copy link
Contributor

Thanks for the PR @waynevanson. This was a broader issue and has been addressed in the latest release (64d6e67). Please update and provide feedback if it is still a problem.

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

Successfully merging this pull request may close these issues.

[dev] pass process.exit() to child processes
2 participants