NativeScript / NativeScript/nativescript-cli
If you make multiple file changes in --debug-brk a livesync error will be thrown
Nobody has claimed this yet.
- Dominant language
- JavaScript
- Stars
- 1.1k
- Forks
- 204
- Avg merge
- 1d 9h
- Merged PRs (30d)
- 8
Description
Environment
- CLI: 5.0.0-2018-10-12-12475
- Cross-platform modules:
- Android Runtime: 5.0.0-2018-10-12-112221-01
Describe the bug
If you make multiple file changes in --debug-brk a livesync error will be thrown
To Reproduce
-
tns debug android --debug-brk
-
Open DevTool with the provided URL
-
Wait on the breakpoint
-
Make changes to the app files
Actual: Two livesyncs are going to be triggered. An error will be thrownUnable to apply changes for device: 013510615ed33b0a. Error is: Sync operation is taking too long.. If you reconnect the DevTools an error will be thrownError running script /data/user/0/org.nativescript.templatehelloworldjs/files/internal/livesync.js
Expected: The changes to be applied and the app to have a breakpoint on the first line of the app.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Reproduce with tns debug android --debug-brk, open the provided DevTools URL, wait at the breakpoint, and change multiple app files. Observe the two livesync operations and the errors in internal/livesync.js; done means the changes apply successfully and the app remains stopped at the first line.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- android, javascript
- Domain
- cli, mobile-dev
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100