Automatically start react-native metro packager when “running / building” in Xcode
up vote
0
down vote
favorite
I recently switched to using react-native via CocoaPods:
https://facebook.github.io/react-native/docs/integration-with-existing-apps
Prior to this change whenever I ran / built my app in Xcode it automatically started metro packager, which was very convenient.
After the change this is no longer the case, hence I wanted to know if it is possible to somehow start packager again.
Packager can be started manually via following script, perhaps there is a way to add this in Xcode somehow? Also would I need to only run packager in Debug mode or Release as well?
./node_modules/.bin/react-native start --reset-cache
xcode react-native
add a comment |
up vote
0
down vote
favorite
I recently switched to using react-native via CocoaPods:
https://facebook.github.io/react-native/docs/integration-with-existing-apps
Prior to this change whenever I ran / built my app in Xcode it automatically started metro packager, which was very convenient.
After the change this is no longer the case, hence I wanted to know if it is possible to somehow start packager again.
Packager can be started manually via following script, perhaps there is a way to add this in Xcode somehow? Also would I need to only run packager in Debug mode or Release as well?
./node_modules/.bin/react-native start --reset-cache
xcode react-native
hello. i get a problem with stuck metro bundler (but auto starting) with last version of Xcode 10. try this maybe stackoverflow.com/questions/53204259/…
– AlainIb
2 days ago
Thanks @AlainIb but issue there is different to one i'm experiencing.
– Ilja
yesterday
add a comment |
up vote
0
down vote
favorite
up vote
0
down vote
favorite
I recently switched to using react-native via CocoaPods:
https://facebook.github.io/react-native/docs/integration-with-existing-apps
Prior to this change whenever I ran / built my app in Xcode it automatically started metro packager, which was very convenient.
After the change this is no longer the case, hence I wanted to know if it is possible to somehow start packager again.
Packager can be started manually via following script, perhaps there is a way to add this in Xcode somehow? Also would I need to only run packager in Debug mode or Release as well?
./node_modules/.bin/react-native start --reset-cache
xcode react-native
I recently switched to using react-native via CocoaPods:
https://facebook.github.io/react-native/docs/integration-with-existing-apps
Prior to this change whenever I ran / built my app in Xcode it automatically started metro packager, which was very convenient.
After the change this is no longer the case, hence I wanted to know if it is possible to somehow start packager again.
Packager can be started manually via following script, perhaps there is a way to add this in Xcode somehow? Also would I need to only run packager in Debug mode or Release as well?
./node_modules/.bin/react-native start --reset-cache
xcode react-native
xcode react-native
edited yesterday
Cœur
16.9k9102139
16.9k9102139
asked 2 days ago
Ilja
9,00847141262
9,00847141262
hello. i get a problem with stuck metro bundler (but auto starting) with last version of Xcode 10. try this maybe stackoverflow.com/questions/53204259/…
– AlainIb
2 days ago
Thanks @AlainIb but issue there is different to one i'm experiencing.
– Ilja
yesterday
add a comment |
hello. i get a problem with stuck metro bundler (but auto starting) with last version of Xcode 10. try this maybe stackoverflow.com/questions/53204259/…
– AlainIb
2 days ago
Thanks @AlainIb but issue there is different to one i'm experiencing.
– Ilja
yesterday
hello. i get a problem with stuck metro bundler (but auto starting) with last version of Xcode 10. try this maybe stackoverflow.com/questions/53204259/…
– AlainIb
2 days ago
hello. i get a problem with stuck metro bundler (but auto starting) with last version of Xcode 10. try this maybe stackoverflow.com/questions/53204259/…
– AlainIb
2 days ago
Thanks @AlainIb but issue there is different to one i'm experiencing.
– Ilja
yesterday
Thanks @AlainIb but issue there is different to one i'm experiencing.
– Ilja
yesterday
add a comment |
active
oldest
votes
active
oldest
votes
active
oldest
votes
active
oldest
votes
active
oldest
votes
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f53359432%2fautomatically-start-react-native-metro-packager-when-running-building-in-xco%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
hello. i get a problem with stuck metro bundler (but auto starting) with last version of Xcode 10. try this maybe stackoverflow.com/questions/53204259/…
– AlainIb
2 days ago
Thanks @AlainIb but issue there is different to one i'm experiencing.
– Ilja
yesterday