webpack-serve
: https://github.com/webpack-contrib/webpack-serve
webpack-dev-server
: https://github.com/webpack/webpack-dev-server
They both state they're a dev server for webpack. How are they different?
webpack-serve
: https://github.com/webpack-contrib/webpack-serve
webpack-dev-server
: https://github.com/webpack/webpack-dev-server
They both state they're a dev server for webpack. How are they different?
I have not used webpack-serve but by looking at documents initial take is that it is relatively new repo (7 releases againest webpack-dev-server 70+) and focus is to use a browsers native WebSocket to fetch assets instead of polling mechanism. My guess is that would obviously make webpack-serve work better and faster while working in dev mode than webpack-dev-server.
This made curious about it. I would give it a try on my current setup and will try to get back with findings.
Sources
https://www.reddit.com/r/javascript/comments/7pg2rq/webpackdevserver_is_now_in_maintenance_mode/dsgwxjd/?st=jf286v37&sh=0336089c