We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 871ea65 commit 7b59080Copy full SHA for 7b59080
lib/child-require-hook.js
@@ -115,8 +115,9 @@ if (readyFile) {
115
116
if (exitChild) {
117
process.on('SIGTERM', function() {
118
+ // This is to make sure debuggers (e.g. Chrome) close
119
console.log('Child got SIGTERM, exiting.')
- process.exit()
120
+ process.kill(process.pid, 'SIGINT')
121
})
122
}
123
0 commit comments