Skip to content

Commit

Permalink
fix(core): dont override sigint
Browse files Browse the repository at this point in the history
  • Loading branch information
vsavkin authored and FrozenPandaz committed Aug 19, 2020
1 parent 464d13e commit 4f22832
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions packages/cli/lib/run-cli.ts
Expand Up @@ -95,11 +95,7 @@ function setUpOutputWatching(captureStderr: boolean, forwardOutput: boolean) {
}
});

process.on('SIGINT', () => {
writeToDisk(forwardOutput, outWithErr);
});

process.on('SIGTERM', () => {
writeToDisk(forwardOutput, outWithErr);
process.exit(15);
});
}

0 comments on commit 4f22832

Please sign in to comment.