Skip to content
This repository has been archived by the owner on Oct 30, 2023. It is now read-only.

Commit

Permalink
Handle SIGUSR2 (electron#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 authored and khalwa committed Feb 22, 2023
1 parent e243fe9 commit 0cc6f18
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 0cc6f18

Please sign in to comment.