Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add --hmr-host option to set HMR host #8101

Merged
merged 2 commits into from May 24, 2022

Conversation

remotezygote
Copy link
Contributor

↪️ Pull Request

This simply allows setting of HMR host from the command line, just like you can set the port currently.

💻 Examples

In my instance, I have my services behind an application gateway, so the listen host is not at all the same host that the front-end needs to address it at.

See also #5268

🚨 Test instructions

Run your serve command with an --hmr-host option and see it connecting to that host.

✔️ PR Todo

  • Added/updated unit tests for this change
  • Filled out test instructions (In case there aren't any unit tests)
  • Included links to related issues/PRs

@devongovett devongovett merged commit c1f3bb1 into parcel-bundler:v2 May 24, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants