Fix duplicate value of watch option Array (#1733)

This commit is contained in:
Patrick Vézina
2016-10-05 19:51:10 -04:00
committed by QWp6t
parent a87cd047cc
commit b5a321fb45

View File

@@ -27,10 +27,7 @@ const config = mergeWithConcat({
watcher: !!argv.watch,
uglifyJs: !(argv.p || argv.optimizeMinimize),
},
watch: [
'templates/**/*.php',
'src/**/*.php',
],
watch: [],
}, userConfig);
Object.keys(config.entry).forEach(id =>