NativeScript / NativeScript/nativescript-cli
iOS app is restarted few times on HMR crash
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: 5.3.0
- iOS Runtime: 5.3.0
Describe the bug
To Reproduce
tns create jsApp --js && cd jsApptns run ios --hmr- Crash the app (e.g. edint app.js and require
/applicationinstead oftns-core-modules/application) - The app will try to start 5 times before the livesync process stop.
Expected behavior
The app should try to start 2 times (1 for the HMR sync and 1 for the HMR crash fallback)
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
Reproduziere das Verhalten mit tns create jsApp --js, danach tns run ios --hmr und der dokumentierten Änderung des application-Imports. Verfolge die Behandlung des Neustarts von HMR und livesync; abgeschlossen ist die Aufgabe, wenn ein Absturz zwei Startversuche statt fünf verursacht, bevor livesync stoppt.
Vom Indexierungsmodell aus dem Issue-Text verfasst.
Bewertung
- Tech-Stack
- ios, javascript
- Bereich
- cli, mobile-dev
- Issue-Typ
- Bug
- Schwierigkeit
- 3/5
- Geschätzter Aufwand
- 1-2 Tage
- Aktivitätsstatus
- Veraltet
- Klarheit
- Größtenteils klar
- Anfängerfreundlichkeit
- 42/100