if you build Webpack configuration with version 5, and the Hot Module Replacement (HMR) or Live Reload doesn’t work even though the compiler is working fine. The workaround is to add target: 'web' to the config.
There’s a bug in webpack-dev-server that use Browserslist configuration, you can upgrade to webpack-dev-server version 4, but it’s still in beta (at the time I’m writing this). And be aware if you do that, because there’s a lot of breaking change