This repository has been archived by the owner on Feb 7, 2022. It is now read-only.
CTRL-C with --max-retries=0
doesn't kill all processes
#38
Labels
I'm running four webpack builds in parallel and occasionally have to terminate early by pressing CTRL-C.
When I press CTRL-C, I see the output about forcefully shutting down the child processes, but the main process stays alive and hangs without exiting. I need to press CTRL-C 1-2 more times to kill everything. I can verify that
--max-retries=0
is getting correctly passed in. FWIW, one of my builds finishes rather quickly and the other three are longer running, so usually the SIGINT is sent after the first one is complete. Looks like if I CTRL-C quick enough before any builds have finished, the processes all terminate as expected.Here is some example output from CTRL-C'ing later in the build:
This is more of an annoyance than anything else most of the time, but sometimes results in stray processes left running. Not sure if this is an issue with worker farm or
parallel-webpack
's own worker management.The text was updated successfully, but these errors were encountered: