Skip to content

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

Merged
devongovett merged 2 commits into
parcel-bundler:v2from
remotezygote:patch-1
May 24, 2022
Merged

Add --hmr-host option to set HMR host#8101
devongovett merged 2 commits into
parcel-bundler:v2from
remotezygote:patch-1

Conversation

@remotezygote

Copy link
Copy Markdown
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.

2 participants