MyRepo-Ums/node_modules/browser-sync/dist/cli/transforms/addCwdToWatchOptions.js
2024-01-19 11:09:11 +01:00

11 lines
418 B
JavaScript

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