-
Notifications
You must be signed in to change notification settings - Fork 2.5k
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
HMR does not work when specifying a port #5834
Comments
Yea for Also adding better output for the dev server is on my list of things to do. Something like: App server: localhost:4444
Dev server websocket port: 3001
Waiting for app server... 👆 to make it crystal clear what ports are being used and for what purpose. That said, you should be able to use the |
That's great! I'll give that a shot next time I get in front of the keyboard. I guess we can leave this open as an issue to document this in |
Oh and I should mention that you can also set the app server port in module.exports = {
unstable_dev: {
appServerPort: 4444
}
} or via flag as mentioned previously. Your choice. All configurable options are detailed in the release notes for v1.12.0, though still need to write up some better docs. |
Awesome. I've also added |
🤖 Hello there, We just published version Thanks! |
I recorded a loom to demonstrate the issue: https://www.loom.com/share/b9a88877d0a642cdbe305605212d1695
I tried a bunch of different combinations and it just appears that if you specify a
PORT
environment variable or use the-p
flag, HMR will not work.The text was updated successfully, but these errors were encountered: