Commit 7a7d3a1
committed
bug #943 Do not allow webpack-dev-server to find an open port (weaverryan)
This PR was merged into the main branch.
Discussion
----------
Do not allow webpack-dev-server to find an open port
Addresses on issue on #941
This disallows the "find an open port" feature in webpack-dev-server. This is unfortunate, as this is a nice feature of webpack-dev-server where if port 8080 is open, it will try 8081, etc.
However, because we need to build a manifest.json file, we need to know what
the port is for sure at Webpack config build time. Even going through the same
async process of using the "find-port" package isn't really doable... as it
would make the entire config generation async (this may be possible, but would
change a ton of things in Encore & in userland `webpack.config.js` files).
Cheers!
Commits
-------
da17b90 Do not allow webpack-dev-server to find an open port1 file changed
+5
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
606 | 606 | | |
607 | 607 | | |
608 | 608 | | |
609 | | - | |
| 609 | + | |
| 610 | + | |
| 611 | + | |
| 612 | + | |
| 613 | + | |
610 | 614 | | |
611 | 615 | | |
612 | 616 | | |
| |||
0 commit comments