Skip to content

Commit

Permalink
fix(core): exit with sigint when sigint is received (nrwl#21336)
Browse files Browse the repository at this point in the history
  • Loading branch information
FrozenPandaz authored Jan 25, 2024
1 parent 5208d6d commit f4011ec
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/nx/src/tasks-runner/forked-process-task-runner.ts
Original file line number Diff line number Diff line change
Expand Up @@ -484,7 +484,7 @@ export class ForkedProcessTaskRunner {
}
});
// we exit here because we don't need to write anything to cache.
process.exit();
process.exit(this.signalToCode('SIGINT'));
});
process.on('SIGTERM', () => {
this.processes.forEach((p) => {
Expand Down

0 comments on commit f4011ec

Please sign in to comment.