When I make changes and save them, the app in my emulator is not being refreshed; the emulator is not connected to the metro server I think.
I tried to clear cache by running expo -r -c, but this didn't do any thing.
When I make changes and save them, the app in my emulator is not being refreshed; the emulator is not connected to the metro server I think.
I tried to clear cache by running expo -r -c, but this didn't do any thing.
Did you try to enable the fast refreshing? I was having the same issue, but after I enable the "Fast Refresh" the auto refreshing started working again. To enable the fast refresh you just have to shake your smartphone and tap on "Enable Fast Refresh".
If the above solution won't work(Shake or refresh the entire Expo server) another 2 alternative are :
First option:
While being in the project directory where server is running Press:
r
ā --> it will reload the app
2 Option: Go to your device Settings find Expo Go and force stop then reopen it
iOS Simulator: Hit Ctrl-Cmd-Z on a Mac in the emulator to simulate the shake gesture, or press Cmd+D. Then enable fast refresh in the menu
Android Emulator: Hit Cmd+M, then enable fast refresh in the menu.
That would do the trick
Enable auto save if you are working von VS Code. It worked with me. 1- click on (file) at the top. 2- Click on (Auto Save).