Skip to content

livescync stops working with --no-hmr if changes are reverted #5132

Closed
@endarova

Description

@endarova

Environment

  • CLI: 6.2.1
  • Cross-platform modules:
  • Android Runtime:
  • iOS Runtime:
  • Plugin(s):

Describe the bug
When run with --no-hmr flag after same changes which are synced if you revert the app to initial state this change is not synced.

To Reproduce

  1. tns create TestApp --ng
  2. tns run android --path TestApp --no-hmr
  3. make some set of changes - they are synced
  4. Revert the changes - the last change which applies the app's initial state wont be synced
    Log:
Hash: 569f7f6a75c9f70ac865
Version: webpack 4.27.1
Time: 123ms
Built at: 11/14/2019 3:06:48 PM
    Asset      Size  Chunks             Chunk Names
bundle.js  40.9 KiB  bundle  [emitted]  bundle
 + 2 hidden assets
Entrypoint bundle = runtime.js vendor.js bundle.js
[../$$_lazy_route_resource lazy recursive] ../$$_lazy_route_resource lazy namespace object 160 bytes {bundle} [built]
[./app.css] 2.01 KiB {bundle} [built]
    + 541 hidden modules
Webpack compilation complete. Watching for file changes.
Webpack build done! ```
 

And nothing is synced

**Expected behavior**
All change should be synced

Metadata

Metadata

Assignees

Labels

bugno-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