We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2f98aa7 commit eec4fd3Copy full SHA for eec4fd3
packages/@ngtools/webpack/src/angular_compiler_plugin.ts
@@ -433,7 +433,10 @@ export class AngularCompilerPlugin implements Tapable {
433
this._JitMode, this._tsFilenames));
434
435
// Cleanup.
436
- const killTypeCheckerProcess = () => treeKill(this._typeCheckerProcess.pid, 'SIGTERM');
+ const killTypeCheckerProcess = () => {
437
+ treeKill(this._typeCheckerProcess.pid, 'SIGTERM');
438
+ process.exit();
439
+ };
440
process.on('exit', killTypeCheckerProcess);
441
process.on('SIGINT', killTypeCheckerProcess);
442
process.on('uncaughtException', killTypeCheckerProcess);
0 commit comments