statianzo / webpack-livereload-plugin

LiveReload during webpack --watch
ISC License
204 stars 51 forks source link

Feature: port 0 will search for a free port, like webpack-dev-server #51

Closed wbern closed 5 years ago

wbern commented 6 years ago

If you run multiple webpack configurations in parallel and want to have livereload available in all of them, you need to specify a unique port for each of them. If you have a general solution for deploying micro-frontends with a variable number of webpack instances, this is not ideal.

This PR mimics the webpack-dev-server behavior down to the package dependency (portfinder). code found here: https://github.com/webpack/webpack-dev-server/blob/474022476dc14756f437c1a3f7397f178135453d/bin/webpack-dev-server.js

wbern commented 5 years ago

@statianzo bump

goodmorninggoaway commented 5 years ago

This one is better than mine

jraoult commented 5 years ago

That's a cool feature. Reading the doc I was under the impression that it was released but then I realized it was pending. @statianzo are you planning a release soon?

statianzo commented 5 years ago

@jraoult 2.2.0 released. :christmas_tree: