-
Notifications
You must be signed in to change notification settings - Fork 906
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
fix: Replace calling internal React Native scripts for launching Metro with CLI's script #1812
fix: Replace calling internal React Native scripts for launching Metro with CLI's script #1812
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you very much for opening this PR! 🚀🥳
It's something I cannot wait for!
packages/cli-platform-android/src/commands/buildAndroid/index.ts
Outdated
Show resolved
Hide resolved
packages/cli-platform-android/src/commands/buildAndroid/startServerInNewWindow.ts
Outdated
Show resolved
Hide resolved
packages/cli-platform-android/src/commands/buildAndroid/startServerInNewWindow.ts
Outdated
Show resolved
Hide resolved
e364ad1
to
d6d00ee
Compare
Can we verify if moving |
packages/cli-platform-android/src/commands/buildAndroid/startServerInNewWindow.ts
Outdated
Show resolved
Hide resolved
packages/cli-platform-android/src/commands/buildAndroid/startServerInNewWindow.ts
Show resolved
Hide resolved
Hey @tido64, I updated my code. Could you please take a look at it again? 🙏 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good to me! Thanks for fixing this, @szymonrybczak ❤️
packages/cli-platform-android/src/commands/buildAndroid/startServerInNewWindow.ts
Outdated
Show resolved
Hide resolved
…erverInNewWindow.ts Co-authored-by: Tommy Nguyen <4123478+tido64@users.noreply.github.com>
8b93fc8
to
d35714c
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
packages/cli-platform-android/src/commands/buildAndroid/startServerInNewWindow.ts
Outdated
Show resolved
Hide resolved
Looks good. This creates a discrepancy between running packager from CLI vs Xcode. Let's make sure we followup with changes to |
ca41ad7
to
a3f8681
Compare
Summary:
Closes #1799
Replace calling internal React Native scripts for launching Metro with CLI's script.
Also this PR, changes the logic and right now it isn't starting packager from relative path, but it launches packager from
config.root
.Test Plan:
yarn react-native run-android
- should run correctly metro