NativeScript / NativeScript/nativescript-cli
LiveSync related commands hang when devices for sync are disconnected
Dieses Issue hat noch niemand übernommen.
- Vorherrschende Sprache
- JavaScript
- Sterne
- 1.1k
- Forks
- 204
- Ø Merge
- 1 T. 9 Std.
- Gemergte PRs (30 T.)
- 8
Beschreibung
Environment
Provide version numbers for the following components (information can be retrieved by running tns info in your project folder or by inspecting the package.json of the project):
- CLI: 5.3.0
- Cross-platform modules: Not applicable
- Android Runtime: Not applicable
- iOS Runtime: Not applicable
- Plugin(s):Not applicable
Describe the bug
Whenever all devices/emulators/simulators that we are using for LiveSync operation are disconnected or CLI is unable to sync changes on them, the command (tns debug, tns run, tns test...) should exit. Instead, it continues its execution and prepares the application.
To Reproduce
- Run
tns run <platform> - When the operation is running, disconnect all devices/stop all emulators/simulators on which you are syncing.
- Command should exit.
Instead it continues its execution.
Expected behavior
Once all devices used for liveSync are disconnected (or we have errors when trying to sync on them), command should exit and does not give incorrect impression that it still liveSyncs your project.
Beitragsleitfaden
Erste Schritte
- Lies das ganze Issue und danach den Beitragsleitfaden des Projekts.
- Schreib ins Issue, dass du es übernimmst — das erspart doppelte Arbeit.
- Forke das Repository und arbeite in einem Branch.
- Öffne einen Pull Request, der die Issue-Nummer nennt.
Rechercherichtung
Reproduzieren Sie das Problem mit tns run <platform> und vergleichen Sie anschließend, wie tns debug, tns run und tns test mit LiveSync umgehen, wenn die Verbindung zu allen Geräten, Emulatoren oder Simulatoren getrennt wird. Verfolgen Sie den LiveSync-Vorgang vom Einstiegspunkt des Befehls aus und prüfen Sie, dass Fehler oder der Verlust aller Synchronisierungsziele dazu führen, dass der Befehl beendet wird, anstatt mit der Vorbereitung fortzufahren.
Vom Indexierungsmodell aus dem Issue-Text verfasst.
Bewertung
- Tech-Stack
- javascript
- Bereich
- cli, mobile
- Issue-Typ
- Bug
- Schwierigkeit
- 4/5
- Geschätzter Aufwand
- 3-5 Tage
- Aktivitätsstatus
- Veraltet
- Klarheit
- Größtenteils klar
- Anfängerfreundlichkeit
- 42/100