Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
process.on('exit', () => {
browserSync.exit();
});
setTimeout(() => {
browserSync.exit();
done()
process.exit(0);
}, 10000)
});
process.on('exit', () => browserSync.exit());
});
BrowserSync.prototype.teardown = function browserSyncTeardown() {
if (browserSync.active) {
browserSync.exit();
}
};
process.on('exit', function() {
browserSync.exit();
});