You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Apr 8, 2019. It is now read-only.
{content: [__dirname],add: (app,middleware,options)=>{// since we're manipulating the order of middleware added, we need to handle// adding these two internal middleware functions.middleware.webpack();middleware.content();// router *must* be the last middleware addedapp.use(router.routes());},}
This issue is for a:
Code
from https://github.com/webpack-contrib/webpack-serve/blob/master/docs/addons/proxy-router.config.js
CLI Command
$ webpack-serve
webpack.config.js
no matter
Expected Behavior
Autosearch available ports should be work.
Actual Behavior
First we run
add
https://github.com/webpack-contrib/webpack-serve/blob/master/lib/server.js#L88 (inadd
re callmiddleware.webpack()
), but in this moment option port is8080
and for hot is8081
. Detecting available ports happens only here https://github.com/webpack-contrib/webpack-serve/blob/master/lib/server.js#L124. I.E. initializationwebpack-hot-client
always use8081
port.I can't run multiple
webpack-server
in this case.How Do We Reproduce?
Try to run two examples https://github.com/webpack-contrib/webpack-serve/blob/master/lib/server.js#L88
The text was updated successfully, but these errors were encountered: