Skip to content

Commit

Permalink
Handle SIGUSR2 (#33589)
Browse files Browse the repository at this point in the history
`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.
  • Loading branch information
cha0s committed May 3, 2022
1 parent a71936e commit 7dee517
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions script/start.js
Expand Up @@ -14,3 +14,4 @@ const handleTerminationSignal = (signal) =>

handleTerminationSignal('SIGINT');
handleTerminationSignal('SIGTERM');
handleTerminationSignal('SIGUSR2');

0 comments on commit 7dee517

Please sign in to comment.