lunaisadev-website-old/node_modules/browser-sync/dist/cli/transforms/addCwdToWatchOptions.js

10 lines
385 B
JavaScript
Raw Normal View History

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