Newer
Older
vmk-demo-bot / frontend / node_modules / browser-sync / dist / public / exit.js
@eugene-sukhodolskiy eugene-sukhodolskiy 19 days ago 335 bytes init
"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