HMR updates not synced on initial app start
DimitarTachev opened this issue · 0 comments
DimitarTachev commented
Environment
Provide version numbers for the following components (information can be retrieved by running tns info in your project folder or by inspecting the package.json of the project):
- CLI: 6.1.2
- Cross-platform modules: 6.1.0
- Android Runtime: 6.1.0
- iOS Runtime: 6.1.0
To Reproduce
tns create testHMRJs --js && cd testHMRJstns run android- update something (e.g. the
counterinmain-view-model.js) - a hot update will be generated and the counter value will be changed
- manually restart the app on the device
- the counter value will reset to its initial state
Expected behavior
The counter value should be the one from the hot updates.