Skip to content

Debugging with HMR #4230

@tsonevn

Description

@tsonevn

@DimitarTachev commented on Mon Dec 03 2018

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

  1. tns create newApp --js
  2. cd newApp
  3. tns debug ios --hmr
  4. open chrome dev tools and set a breakpoint
  5. change a js file
  6. 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)

Metadata

Metadata

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions