Thought on Better HMR url default #8304
onichandame
started this conversation in
General
Replies: 1 comment 1 reply
-
#7977 seems to implement that behavior. |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
I am only talking about the default values here. I know the hmr url can be customized in config.
The current hmr url is composed as
protocol
://host
:port
. The protocol seems to be dynamically determined at frontend, but the port is hard-coded to theport
passed to the dev server. I wonder if it makes sense to let the port be dynamically determined as well? The current default is broken in case the dev server sits behind a reverse proxy, where theport
passed to the dev server does not neccessarily match the external port.related #7849
Beta Was this translation helpful? Give feedback.
All reactions