aboutsummaryrefslogtreecommitdiff
path: root/node_modules/flagged-respawn/lib/respawn.js
diff options
context:
space:
mode:
Diffstat (limited to 'node_modules/flagged-respawn/lib/respawn.js')
-rw-r--r--node_modules/flagged-respawn/lib/respawn.js1
1 files changed, 1 insertions, 0 deletions
diff --git a/node_modules/flagged-respawn/lib/respawn.js b/node_modules/flagged-respawn/lib/respawn.js
index 086585300..c5dd4047c 100644
--- a/node_modules/flagged-respawn/lib/respawn.js
+++ b/node_modules/flagged-respawn/lib/respawn.js
@@ -4,6 +4,7 @@ module.exports = function (argv) {
var child = spawn(argv[0], argv.slice(1), { stdio: 'inherit' });
child.on('exit', function (code, signal) {
process.on('exit', function () {
+ /* istanbul ignore if */
if (signal) {
process.kill(process.pid, signal);
} else {