NativeScript / NativeScript/nativescript-cli

If you make multiple file changes in --debug-brk a livesync error will be thrown

オープン
#4,025 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る

まだ誰も着手していません。

bug debug severity: low
主要言語
JavaScript
スター
1.1k
フォーク
204
平均マージ
1日 9時間
マージ済み PR(30日)
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 thrown Unable to apply changes for device: 013510615ed33b0a. Error is: Sync operation is taking too long.. If you reconnect the DevTools an error will be thrown Error 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.

コントリビューションガイド

コントリビューションガイドを開く

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

調査の方向性

tns debug android --debug-brk で再現し、提供された DevTools URL を開き、ブレークポイントで待機して、複数のアプリファイルを変更します。2 つの livesync 操作と internal/livesync.js のエラーを確認します。変更が正常に適用され、アプリが最初の行で停止したままになれば完了です。

索引モデルが issue の本文から書いたものです。

評価

技術スタック
android, javascript
領域
cli, mobile-dev
issue の種類
バグ
難易度
4/5
見積もり時間
3〜5日
活発さ
停滞
明瞭さ
おおむね明確
初心者へのやさしさ
35/100

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。