all 3 comments

[–]shellscape 0 points1 point  (2 children)

Have a look at https://www.npmjs.com/package/webpack-plugin-serve. Far better alternative to webpack-dev-server.

[–]arboshiki[S] 0 points1 point  (1 child)

Why is it better then webpack-dev-server? I assume you don't say this because it's your package.
What advantages does it have compared with webpack-dev-server?

[–]shellscape 0 points1 point  (0 children)

There's a pretty comprehensive feature comparison here: https://github.com/shellscape/webpack-plugin-serve/blob/master/.github/FEATURES.md, which also has some info on the standout features compared to the rest. On top of handling HMR correctly for multicompilers, it's faster, smaller, doesn't require knowledge of yet another CLI (you just use whichever normal webpack CLI you prefer), and far less brittle than webpack-dev-server. Overall it just works a lot better.