Handle SIGUSR2 (#33589)
`start-server-webpack-plugin` uses `SIGUSR2` to signal an HMR update to a server process: https://github.com/ericclemmons/start-server-webpack-plugin/blob/master/src/StartServerPlugin.js#L70 Note that this signal does not actually kill the child process, but merely functions as a message-passing system.
This commit is contained in:
parent
a71936e395
commit
7dee5179cb
1 changed files with 1 additions and 0 deletions
|
@ -14,3 +14,4 @@ const handleTerminationSignal = (signal) =>
|
||||||
|
|
||||||
handleTerminationSignal('SIGINT');
|
handleTerminationSignal('SIGINT');
|
||||||
handleTerminationSignal('SIGTERM');
|
handleTerminationSignal('SIGTERM');
|
||||||
|
handleTerminationSignal('SIGUSR2');
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue