-
-
Notifications
You must be signed in to change notification settings - Fork 27k
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
Upgrade detect-port #2126
Upgrade detect-port #2126
Conversation
Weird.. I wonder what differs between our macs. |
The stack is weird, isn't it? Doesn't seem to be inside the initial promise code. |
This doesn't work for me: // 1. check 0.0.0.0
listen(port, null, (err, realPort) => { This does: // 1. check 0.0.0.0
listen(port, '0.0.0.0', (err, realPort) => { |
Ooo. Maybe the latest release introduced a regression. To be fair, I ran the first application using an older CRA. |
Yeah, that's because I asked again for the original request, which is to let us explicitly pass which host we'd like to check. The testing was my bad, it was because the old CRA version bound to a different address (which let |
What's the conclusion? How do we fix? |
We can either revert this behavior entirely (breaking |
We could also just fork |
I'm okay with temporarily forking. |
Upgrades detect port to resolve #2112.
Test plan: start two servers and expect the duplicate message, do the same with a different
HOST
.It works.
I'm not sure about edge cases (like binding to a hostname instead of address, e.g.
boop.local
).