NativeScript / NativeScript/nativescript-cli
snapshot generation is executed twice if you have both emulator and device attached
未關閉
還沒有人認領這個 Issue。
bug
- 主要語言
- JavaScript
- 星號
- 1.1k
- 分支
- 204
- 平均合併
- 1 天 9 小時
- 30 天內合併 PR
- 8
描述
Environment
- CLI: 6.2.1
To Reproduce
tns create js_app --jstns run android --release --key-store-path {} --key-store-password {} --key-store-alias {} --key-store-alias-password {} --env.uglify --env.snapshot- In the logs you can see that snapshot generation and build are executed twice. Expected they should be executed only once.
Note: it is reproducible with --release build in general, not only with snapshot
貢獻指南
從這裡開始
- 先讀完整個 Issue,再讀專案的貢獻指南。
- 在 Issue 下留言說明你要接手 —— 這能避免兩個人做同樣的事。
- Fork 儲存庫,在一個分支上完成修改。
- 送出 Pull Request,並在描述裡引用這個 Issue 編號。
研究方向
在模擬器和裝置都已連線的情況下,使用 tns create js_app --js 以及提供的 tns run android --release ... --env.snapshot 命令重現此問題。首先比較每個目標的記錄,並追蹤負責安排 release 建置和 snapshot 產生的 CLI 進入點。完成條件是 release 建置和 snapshot 產生各自只執行一次。
由索引模型根據 Issue 內容生成。
評估
- 技術堆疊
- javascript
- 領域
- cli, mobile
- Issue 類型
- 缺陷
- 難度
- 4/5
- 預估耗時
- 3-5 天
- 活躍度
- 停滯
- 描述清晰度
- 基本清楚
- 新手友好度
- 35/100