Skip to content
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

Debugging with HMR #4230

Closed
tsonevn opened this issue Dec 13, 2018 · 2 comments
Closed

Debugging with HMR #4230

tsonevn opened this issue Dec 13, 2018 · 2 comments
Assignees
Milestone

Comments

@tsonevn
Copy link
Contributor

tsonevn commented Dec 13, 2018

@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)

@sis0k0
Copy link
Contributor

sis0k0 commented Dec 13, 2018

related to NativeScript/NativeScript#6398

@rosen-vladimirov
Copy link
Contributor

NOTE: The fix is available in CLI's rc version. It requires testing all features and behavior inside Chrome DevTools for iOS as we have changed the version of the DevTools that's used for debugging.

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

No branches or pull requests

4 participants