Skip to content

App is refreshed from multiple initial hot updates on HMR restart #5161

Closed
@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: 6.2.2
  • Cross-platform modules: 6.2.0
  • Android Runtime: 6.2.0
  • iOS Runtime: 6.2.0
  • Plugin(s): 6.2.0

To Reproduce

  1. Clone the Worker Plugin repository - https://github.com/NativeScript/worker-loader/
  2. Run its demo app
  3. Make a few changes in app.component.ts
  4. Make a change in typescript.worker.ts
  5. The Inside TS Worker log will be shown multiple times

Expected Behavior
The log should be shown once.

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