Opal-Estate-Pro/node_modules/browser-sync/dist/public/exit.js
2019-09-13 11:27:52 +07:00

15 lines
335 B
JavaScript

"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