Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
cli: fix watch options for array config
Issue #4594 points out that watch options aren't being honored when the Webpack config is an Array. In cases when it's an array, there may not be a firstOptions.watchOptions, but there will be an options.watchOptions. In the current implementation, when the Webpack compiler watch method is called with watchOptions and the Webpack config is an array, watchOptions will be `true` and not an object.
- Loading branch information