Repository navigation
Upgrade detect-port - #2126
Upgrade detect-port#2126Timer wants to merge 1 commit into
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).