You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
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?
@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)
Activity
sis0k0 commentedon Oct 11, 2018
related to NativeScript/NativeScript#6398
farfromrefug commentedon Oct 15, 2018
@sis0k0 any news on this one ? I am facing that issue on my vue project
vchimev commentedon Feb 18, 2019
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!
farfromrefug commentedon Feb 18, 2019
@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)
vchimev commentedon Apr 25, 2019
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!