Skip to content

NS and Vue --hmr stops listening to changes #3927

@seivad

Description

@seivad

Did you verify this is a real problem by searching [Stack Overflow]

Yes, this is the new --hmr feature added in 2.0

Tell us about the problem

After making a small handful of changes in NS in Vue.js, the --hmr option stops actually reloading the iOS simulators screen, leaving outdated content. This can be reproduced by adding new modules and/or removing those modules, it'll just stop after you do it a few times. The only way to get it back is to ctrl + c in the terminal and run tns run ios --hmr again

Which platform(s) does your issue occur on?

iOS

Please provide the following version numbers that your issue occurs with:

  • CLI: 5.0.0-2018-09-21-12288
  • Cross-platform modules: 4.2.1
  • Runtime(s): 4.2.0

Please tell us how to recreate the issue in as much detail as possible.

vue init nativescript-vue/vue-cli-template myapp

Then make a new Vue component and import it into the App.vue, make some minor changes (CSS, Text, Add a Button, whatever) and the hot reloading stops, it still reloads in terminal but no changes are reflected in the iOS Simulator.

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