diff --git a/ts/index.ts b/ts/index.ts index 5389586..92e57a2 100644 --- a/ts/index.ts +++ b/ts/index.ts @@ -59,6 +59,7 @@ export class SmartExit { process.on('SIGINT', async () => { ora.text('Ctrl-C... or SIGINT signal received!'); await this.killAll(); + process.exit(0); }); //catch uncaught exceptions, trace, then exit normally