We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 03314f7 + 495dd4f commit 6dbb48cCopy full SHA for 6dbb48c
bin/lab
@@ -44,6 +44,11 @@ if (process.env.NODE_DEBUG_OPTION || inspectArg) {
44
process.exit(code);
45
});
46
47
+ process.on('SIGTERM', () => {
48
+
49
+ childLab.kill();
50
+ });
51
52
return;
53
}
54
test/cli.js
@@ -252,7 +252,7 @@ describe('CLI', () => {
252
253
expect(combinedOutput).to.contain('Debugger listening on').and.to.contain(port.toString());
254
if (!cli.killed) {
255
- cli.kill();
+ cli.kill('SIGTERM');
256
257
258
resolve();
0 commit comments