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:
Ruben R 2022-05-02 20:36:06 -05:00 committed by GitHub
parent a71936e395
commit 7dee5179cb
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -14,3 +14,4 @@ const handleTerminationSignal = (signal) =>
handleTerminationSignal('SIGINT');
handleTerminationSignal('SIGTERM');
handleTerminationSignal('SIGUSR2');