Skip to content

Commit

Permalink
mergeOptions inputOptions includes config.watch option.
Browse files Browse the repository at this point in the history
Fixes #1596
  • Loading branch information
btakita committed Aug 30, 2017
1 parent 0c85e2c commit 4eda626
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion bin/src/run/mergeOptions.js
Expand Up @@ -17,7 +17,8 @@ export default function mergeOptions ( config, command ) {
context: config.context,
moduleContext: config.moduleContext,
plugins: config.plugins,
onwarn: config.onwarn
onwarn: config.onwarn,
watch: config.watch
};

// legacy, to ensure e.g. commonjs plugin still works
Expand Down

0 comments on commit 4eda626

Please sign in to comment.