Reputation: 13138
r
restarts the Metro Bundler, but I have to shake my device and choose reload to restart the app on my device without restarting the entire bundler. I have to do this about 200 times a day and I'm going to get a repetitive strain injury if I don't find a better way.
Simply using "Live Reload" doesn't work for me because Expo's KeepAwake module no longer works and the device doesn't receive the signal to reload when the screen is off. The two-finger press that works on iOS doesn't work on Android.
Edit: This is not a duplicate. What works for React Native in general does not necessarily work for Expo. This is one of those cases.
Upvotes: 3
Views: 4891
Reputation: 13138
Theoretically this is now possible in SDK 43, but I've not yet tried it.
You can now press r to reload your app in Expo Go. Xcode 12 introduced the
⌘+r
simulator shortcut for “Record Screen”, and so to avoid clashing with that shortcut you can now reload by just pressingr
(as long as a text input is not focused).⌘+r
will also continue to work. -- Source
Upvotes: 1