Browse Source

fix(ui-devkit): Add call to exit in sigint handler (#2558)

Required exit because the default node handler is removed
Fred Cox 2 years ago
parent
commit
bfd928177a
1 changed files with 1 additions and 0 deletions
  1. 1 0
      packages/ui-devkit/src/compiler/compile.ts

+ 1 - 0
packages/ui-devkit/src/compiler/compile.ts

@@ -267,6 +267,7 @@ function runWatchMode({
         if (buildProcess) {
             buildProcess.kill();
         }
+        process.exit();
     };
 
     process.on('SIGINT', close);