Remove process.exit(1) from babel-node (#9758)
Because it breaked graceful shutdown of the sub process.
This commit is contained in:
parent
7e4f48139c
commit
fc8e14264c
@ -93,9 +93,6 @@ getV8Flags(function(err, v8Flags) {
|
|||||||
}
|
}
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
process.on("SIGINT", () => {
|
process.on("SIGINT", () => proc.kill("SIGINT"));
|
||||||
proc.kill("SIGINT");
|
|
||||||
process.exit(1);
|
|
||||||
});
|
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user