Skip to content

Commit 00a598f

Browse files
authored
fix: remove the SIGINT listener (#2114)
1 parent defa5d4 commit 00a598f

File tree

1 file changed

+0
-6
lines changed

1 file changed

+0
-6
lines changed

packages/shared/src/utils.ts

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -283,12 +283,6 @@ export const getProgressColor = (index: number) =>
283283

284284
export function onExitProcess(listener: NodeJS.ExitListener) {
285285
process.on('exit', listener);
286-
287-
// listen to 'SIGINT' and trigger a exit
288-
// 'SIGINT' from the terminal is supported on all platforms, and can usually be generated with Ctrl + C
289-
process.on('SIGINT', () => {
290-
process.exit(0);
291-
});
292286
}
293287

294288
export const isHtmlDisabled = (

0 commit comments

Comments
 (0)