turbo
4e461236 - send a SIGTERM on unix rather than just killing the process (#4276)

Commit
2 years ago
send a SIGTERM on unix rather than just killing the process (#4276) ### Description In attempting to fix a zombie process on windows, we accidentally introduced a similar issue on unix. This makes sure to gracefully stop the go binary so that it may in turn gracefully stop its children rather than leave them hanging. ### Testing Instructions Check out front. On 1.8.4 running multiple `turbo dev --filter vercel-site` can sometimes cause a race condition where the node process is left hanging causing errors regarding ports being used. It seems to happen in a bout 1 in 5 or so runs and only when quitting at specific times. Checking out this PR, you can observe that crtl-c works as expected, and the existing, correct, windows behaviour still works.
Author
Parents
Loading