lunaisadev-website-old/node_modules/browser-sync/dist/public/exit.js

15 lines
335 B
JavaScript
Raw Normal View History

2021-07-28 01:40:12 +00:00
"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