You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
15 lines
335 B
15 lines
335 B
2 years ago
|
"use strict";
|
||
|
/**
|
||
|
* @param {BrowserSync} browserSync
|
||
|
* @returns {Function}
|
||
|
*/
|
||
|
module.exports = function (browserSync) {
|
||
|
function exit() {
|
||
|
if (browserSync.active) {
|
||
|
browserSync.events.emit("service:exit");
|
||
|
browserSync.cleanup();
|
||
|
}
|
||
|
}
|
||
|
return exit;
|
||
|
};
|
||
|
//# sourceMappingURL=exit.js.map
|