Skip to content
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

fix(pirateship): Search for a free port before starting bundler #824

Closed
wants to merge 3 commits into from

Conversation

Cauldrath
Copy link

When running ship:run-ios or ship:run-android, it will search for the first free port starting at 8081 and run against that.

This requires an upgrade to RN 0.60 to work, because there are a number of places in RN where the port is hardcoded and the app will not connect to the bundler:
facebook/react-native@a916dd6
facebook/react-native#9145

@Cauldrath Cauldrath added the do not merge holding for a fix label Sep 18, 2019
@bweissbart
Copy link
Member

@Cauldrath - do we want to do anything with this now that we're on RN 61?

@Cauldrath
Copy link
Author

It should theoretically work without any further changes, but it isn't a very easy thing to test.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
do not merge holding for a fix
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants