Skip to content

Commit

Permalink
[@babel/node] Forward the signal SIGTERM as well (#13784)
Browse files Browse the repository at this point in the history
  • Loading branch information
julienw committed Sep 25, 2021
1 parent 8960f9e commit 6818b22
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions packages/babel-node/src/babel-node.js
Expand Up @@ -104,5 +104,6 @@ getV8Flags(async function (err, v8Flags) {
proc.on("message", message => process.send(message));
}
process.on("SIGINT", () => proc.kill("SIGINT"));
process.on("SIGTERM", () => proc.kill("SIGTERM"));
}
});

0 comments on commit 6818b22

Please sign in to comment.