Skip to content

hmr restarts application when syncing on both platforms #5080

Closed
@endarova

Description

@endarova

Environment

  • CLI: next
  • Plugin(s): nativescript-dev-webpack@next

Describe the bug
When livesyncing on both platforms changes in js, xml, css files cause the application to restart

To Reproduce

  1. tns create my_app --js
  2. npm i nativescript-dev-webpack@next --save-dev --save-exact
  3. node_modules/.bin/update-ns-webpack" --deps --configs
  4. Start android emulator and ios simulator
  5. tns run
  6. change something in main-view-model.js file
    Result: the application restarts when applying the changes, sometimes on both devices, sometimes on one of them

Expected behavior
Changes in js, css, xml files should not cause app restart

Metadata

Metadata

Assignees

Labels

bughmrno-changelogThe issue is present only in `next` versions and was not included in official version.

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions