work.suroh.tk/node_modules/browser-sync/dist/cli/transforms/addCwdToWatchOptions.js

10 lines
385 B
JavaScript

"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
function addCwdToWatchOptions(incoming) {
var output = incoming.updateIn(['watchOptions', 'cwd'], function (watchCwd) {
return watchCwd || incoming.get('cwd');
});
return [output, []];
}
exports.addCwdToWatchOptions = addCwdToWatchOptions;
//# sourceMappingURL=addCwdToWatchOptions.js.map