Remove process.exit(1) from babel-node (#9758)

Because it breaked graceful shutdown of the sub process.
This commit is contained in:
Dword 2019-09-06 20:32:45 +02:00 committed by Huáng Jùnliàng
parent 7e4f48139c
commit fc8e14264c

View File

@ -93,9 +93,6 @@ getV8Flags(function(err, v8Flags) {
}
});
});
process.on("SIGINT", () => {
proc.kill("SIGINT");
process.exit(1);
});
process.on("SIGINT", () => proc.kill("SIGINT"));
}
});