Skip to content

Commit b6604a0

Browse files
committed
fix(exit): don't listen to SIGINT - closes #813, #775
1 parent d1c2614 commit b6604a0

2 files changed

Lines changed: 0 additions & 3 deletions

File tree

index.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -350,7 +350,6 @@ module.exports.reset = function () {
350350
singletonPlugins = [];
351351
singletonEmitter = false;
352352
singleton = false;
353-
process.removeAllListeners("SIGINT");
354353
};
355354

356355
/**

lib/public/exit.js

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,5 @@ module.exports = function (browserSync) {
1313
}
1414
}
1515

16-
process.on("SIGINT", exit);
17-
1816
return exit;
1917
};

0 commit comments

Comments
 (0)