I'm running a react-native app in an Android emulator through Android Studio. I want to redeploy code changes fast. Is there some way to force a hot reload into the emulator? Here's what I've tried so far:
- Double tap
rusually works. If a text field is selected, it doesn't work (it just types rr). I haven't found any ways to deselect a text field without selecting another text field. - The
run appbutton in IDE doesn't work when modifying .js files. Android Studio does not recognize the .js files as part of the project, so it doesn't detect changes and refuses to hot reload the emulator. I've imported the project according to the instructions in react-native docs and I've also tried various other ways of setting up the project. It just won't recognize anything beyond the "android" directory.