Skip to content

iOS app is restarted few times on HMR crash #4466

Open
@DimitarTachev

Description

@DimitarTachev

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

  1. tns create jsApp --js && cd jsApp
  2. tns run ios --hmr
  3. Crash the app (e.g. edint app.js and require /application instead of tns-core-modules/application)
  4. 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)

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions