Skip to content

Commit

Permalink
Merge pull request #1597 from btakita/fix-issue-1596
Browse files Browse the repository at this point in the history
mergeOptions inputOptions includes config.watch option.
  • Loading branch information
Rich-Harris committed Sep 8, 2017
2 parents c90b01e + 4eda626 commit db82567
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 db82567

Please sign in to comment.