Skip to content

Commit

Permalink
Remove process.exit(1) from babel-node (#9758)
Browse files Browse the repository at this point in the history
Because it breaked graceful shutdown of the sub process.
  • Loading branch information
dword-design authored and JLHwung committed Sep 6, 2019
1 parent 7e4f481 commit fc8e142
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions packages/babel-node/src/babel-node.js
Expand Up @@ -93,9 +93,6 @@ getV8Flags(function(err, v8Flags) {
}
});
});
process.on("SIGINT", () => {
proc.kill("SIGINT");
process.exit(1);
});
process.on("SIGINT", () => proc.kill("SIGINT"));
}
});

0 comments on commit fc8e142

Please sign in to comment.