Skip to content

Debugging with HMR #1026

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
DimitarTachev opened this issue Dec 3, 2018 · 1 comment
Closed

Debugging with HMR #1026

DimitarTachev opened this issue Dec 3, 2018 · 1 comment
Assignees

Comments

@DimitarTachev
Copy link
Contributor

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)

@tsonevn
Copy link

tsonevn commented Dec 13, 2018

Issue moved to NativeScript/nativescript-cli #4230 via ZenHub

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants