Debugging with HMR
DimitarTachev opened this issue · comments
Environment
- CLI: next (v)
- Cross-platform modules: 5.0.0
- iOS Runtime: 5.0.0
Describe the bug
When a file is updated with HMR, the dev tools are not updated and the breakpoints are not working anymore.
To Reproduce
- tns create newApp --js
- cd newApp
- tns debug ios --hmr
- open chrome dev tools and set a breakpoint
- change a js file
- the change will not be applied in the dev tools and the breakpoint will not be hit anymore
Expected behavior
The dev tools code should be updated and the breakpoint should be refreshed and hit after livesync. (try the tns debug android --hmr
behavior)
Issue moved to NativeScript/nativescript-cli #4230 via ZenHub