Skip to content

Commit

Permalink
fix(ui-devkit): Add call to exit in sigint handler (#2558)
Browse files Browse the repository at this point in the history
Required exit because the default node handler is removed
  • Loading branch information
mcfedr authored Dec 1, 2023
1 parent c5d0ea2 commit bfd9281
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions packages/ui-devkit/src/compiler/compile.ts
Original file line number Diff line number Diff line change
Expand Up @@ -267,6 +267,7 @@ function runWatchMode({
if (buildProcess) {
buildProcess.kill();
}
process.exit();
};

process.on('SIGINT', close);
Expand Down

0 comments on commit bfd9281

Please sign in to comment.