🐛 bug report
I'm trying to configure the host that hot module replacement responds, since I am developing in a remote machine but accessing from local browser.
🎛 Configuration (.babelrc, package.json, cli command)
Zero configuration
🤔 Expected Behavior
Running parcel serve ... --host 0.0.0.0 --hot-host 12.34.56.78 should make the hot module replacement connect to the socket in wss://12.34.56.78:1234 instead of wss://127.0.0.1:1234 or wss://0.0.0.0:1234
😯 Current Behavior
It errors with
error: unknown option '--hot-host'
Even if prepending --hot it does not work:
error: unknown option '--hot-host'
However, the README states those flags exist, and I see that HMRRuntime.js tries to use these. I assume that --hot-port will also not work.
🌍 Your Environment
| Software |
Version(s) |
| Parcel |
v2.0.0-nightly.429 |
| Node |
v14.12.0 |
| npm/Yarn |
v1.22.5 |
| Operating System |
Ubuntu 20.04.1 LTS |
🐛 bug report
I'm trying to configure the host that hot module replacement responds, since I am developing in a remote machine but accessing from local browser.
🎛 Configuration (.babelrc, package.json, cli command)
Zero configuration
🤔 Expected Behavior
Running
parcel serve ... --host 0.0.0.0 --hot-host 12.34.56.78should make the hot module replacement connect to the socket inwss://12.34.56.78:1234instead ofwss://127.0.0.1:1234orwss://0.0.0.0:1234😯 Current Behavior
It errors with
Even if prepending
--hotit does not work:However, the README states those flags exist, and I see that
HMRRuntime.jstries to use these. I assume that--hot-portwill also not work.🌍 Your Environment