@zohodesk/client_build_tool
Version:
A CLI tool to build web applications and client libraries
17 lines (14 loc) • 420 B
JavaScript
;
Object.defineProperty(exports, "__esModule", {
value: true
});
exports.preProcessor = preProcessor;
var _runPreProcess = require("../../shared/pre_process/runPreProcess");
function preProcessor(options) {
const {
extraArgs = []
} = options;
const index = extraArgs.indexOf('-w');
const canWatch = index !== -1;
(0, _runPreProcess.runPreProcess)(options, canWatch ? 'nodemon' : 'node');
}