-
-
Notifications
You must be signed in to change notification settings - Fork 18
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
Webpack 5 live reload not working #49
Comments
Somehow, webpack 5 is released quite a while, but webpack-dev-server for webpack 5 is still not for production. |
The beta webpack-dev-server seems caused some issue on CI. I will investigate when I got more time. |
dev-server v4 beta caused lot more problem. I will revert to v3 for now. |
webpack-dev-server v3 supposes to work with webpack 5. (v3 added webpack5 support since v3.10.0). This failed watch mode might be due to some new version of webpack/webpack-cli/webpack-dev-server. |
Somehow with latest v3 dev-server, there is no more [WDS] websocket connection in browser, that's probably why live reload is not working. I have not find the combination of webpack/webpack-dev-server versions to bring it back to normal. |
Thanks for taking a look. Adding the following to webpack config seems to work:
|
Awesome! |
Webpack doc said target:web is the default 😓 |
closed by #52 |
Created a new app using
npx makes aurelia
and picked the template with routes. Live reload doesn't seem to be working. Reading the webpack 5 docs it should be turned on by default.The text was updated successfully, but these errors were encountered: