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
If visiting http://localhost:8080, then HMR requests should be directed to localhost:8080.
If visiting http://192.168.x.x, then HMR requests should be directed to 192.168.x.x:8080.
If I have a proxy and visiting http://my.domain.com, then HMR requests should be directed to my.domain.com.
What is actually happening?
HMR requests are always directed to 192.168.x.x:8080, regardless of current host.
See screenshots.
I know it is possible to configure the webpack dev server to use a specific host and port, but I don't see why it shouldn't be dynamic. Especially when using --host 0.0.0.0.
I hope I'm not missing anything obvious.
The text was updated successfully, but these errors were encountered:
Version
4.5.13
Environment info
Steps to reproduce
Create a new project with vue ui.
$npm run serve
App running at:
What is expected?
If visiting http://localhost:8080, then HMR requests should be directed to localhost:8080.
If visiting http://192.168.x.x, then HMR requests should be directed to 192.168.x.x:8080.
If I have a proxy and visiting http://my.domain.com, then HMR requests should be directed to my.domain.com.
What is actually happening?
HMR requests are always directed to 192.168.x.x:8080, regardless of current host.
See screenshots.
I know it is possible to configure the webpack dev server to use a specific host and port, but I don't see why it shouldn't be dynamic. Especially when using --host 0.0.0.0.
I hope I'm not missing anything obvious.
The text was updated successfully, but these errors were encountered: