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