Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix for webpack 5 watch mode deprecation: DEP_WEBPACK_WATCH_WITHOUT_CALLBACK #232

Merged
merged 1 commit into from Dec 6, 2020

Conversation

shama
Copy link
Owner

@shama shama commented Dec 6, 2020

Fixes GH-230
Alternative to GH-231

@cowwoc how about this solution? That way those who still want to use the webpack watch option can.

If you're calling webpack.watch() (which this lib does with watch: true), then you don't need to additionally supply watch: true to the webpack config: webpack/webpack-cli#1918 (comment)

@shama shama self-assigned this Dec 6, 2020
@cowwoc
Copy link

cowwoc commented Dec 6, 2020

Yes, go for it. This PR should work as well.

@shama shama merged commit bbe9d9e into master Dec 6, 2020
@shama shama deleted the webpack-watch branch December 6, 2020 23:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Webpack 5 warns about a deprecation in watch mode
2 participants