Skip to content

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

Closed

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.

Activity

  1. sis0k0 commented on Oct 11, 2018

    @sis0k0
    Contributor
  2. farfromrefug commented on Oct 15, 2018

    @farfromrefug
    Contributor

    @sis0k0 any news on this one ? I am facing that issue on my vue project

  3. vchimev commented on Feb 18, 2019

    @vchimev

    Hey @seivad and @farfromrefug,

    I'd like to move forward on this issue, however, I'm not sure that I'm properly reproducing it. Could you please, guys, share a little sample app that demonstrates it along with a few exact changes to make?

    Thank you very much!

  4. farfromrefug commented on Feb 18, 2019

    @farfromrefug
    Contributor

    @vchimev thanks for bumping this. Actually HMR does not work at all for me anymore. Will try and create a very simple example (need to create one for another issue)

  5. vchimev commented on Apr 25, 2019

    @vchimev

    Hey @seivad and @farfromrefug,

    I'm closing this issue due to inactivity. Please, reopen if still experience the problem along with a sample project.

    Thank you!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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