Closed ivanbacher closed 3 years ago
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:
target: 'web'
Awesome!
Webpack doc said target:web is the default :sweat: No idea how did they break this.
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.