Description
- [ x ] I have reviewed the documentation
- [ x ] I have searched existing issues
- [ x ] I am using the latest React Native version
Hot Reloading is not updating the view in Android device even we have made changes. It happens after a Reload triggered from the device.
I have tested this issue in v0.55.2, 0.54.0 and 0.53.3. The only version that has hot reload still functioning well is 0.53.3, this problem starts occuring from 0.54.0
Environment
OS: Windows 10
Node: 6.11.5
Yarn: 1.3.2
npm: 4.6.1
Watchman: Not Found
Xcode: N/A
Android Studio: Version 3.0.0.0 AI-171.4443003
Packages: (wanted => installed)
react: 16.3.1 => 16.3.1
react-native: 0.55.2 => 0.55.2
Steps to Reproduce
- Run
react-native init NoHotLoad
- Run
react-native run-android
- When the project loaded, enable the Hot Reloading
- Make changes to the App.js, like editing the text. The change should appear in the device.
- Do Reload on the device
- Repeat step 4, but the change won't appear at the device. Just a toast of Hot reloading appears.
Another scenario: after installing the app to the device, replace step 2 above with npm start
should also reproduces this problem.
Expected Behavior
The Hot Reloading should be able to hot-reload all the changes, regardless number of attempts of reload.
Actual Behavior
The Hot Reloading only works before a Reload action triggerred