NativeScript / NativeScript/nativescript-cli
If you make multiple file changes in --debug-brk a livesync error will be thrown
还没有人认领这个 Issue。
- 主要语言
- JavaScript
- 星标
- 1.1k
- 派生
- 204
- 平均合并
- 1 天 9 小时
- 30 天内合并 PR
- 8
描述
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.
贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
调研方向
使用 tns debug android --debug-brk 重现,打开提供的 DevTools URL,在断点处等待,并修改多个应用文件。观察两次 livesync 操作以及 internal/livesync.js 中的错误;当更改成功应用且应用仍停在第一行时,即表示完成。
由索引模型根据 Issue 内容生成。
评估
- 技术栈
- android, javascript
- 领域
- cli, mobile-dev
- Issue 类型
- 缺陷
- 难度
- 4/5
- 预计耗时
- 3-5 天
- 活跃度
- 停滞
- 描述清晰度
- 基本清楚
- 新手友好度
- 35/100