Commit 8874263
committed
fix: return discovered port when packager is already running on a different port
When the default port is unavailable and `getNextPort` finds a packager
already running on a different port for the same project,
`handlePortUnavailable` correctly logs the discovered port but returns
the original (unavailable) port. This causes the build to pass the wrong
port to gradle/xcodebuild.1 parent 2361e61 commit 8874263
1 file changed
Lines changed: 1 addition & 0 deletions
File tree
- packages/cli-tools/src
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
18 | 18 | | |
19 | 19 | | |
20 | 20 | | |
| 21 | + | |
21 | 22 | | |
22 | 23 | | |
23 | 24 | | |
| |||
0 commit comments