diff --git a/index.js b/index.js index 4a578ce..cb3c59c 100644 --- a/index.js +++ b/index.js @@ -125,7 +125,7 @@ module.exports = function (options, wp, done) { config.entry = config.entry || entry; config.output.path = config.output.path || process.cwd(); - config.output.filename = config.output.filename || '[contenthash].js'; + config.watch = options.watch; entry = []; if (!config.entry || config.entry.length < 1) {