meteor-vue / vue-meteor

🌠 Vue first-class integration in Meteor
898 stars 111 forks source link

Autoreloading still triggers despite me disabling it #229

Open mitar opened 7 years ago

mitar commented 7 years ago

I have the following code to disable autoreloading:

Meteor._reload.onMigrate(function () {
  return [false];
});

But at least based on console log vue still reloads the app's components:

[HMR] Reload request received
[HMR] Reloading app...

Not sure if it really does anything though.

Akryum commented 7 years ago

See dev-client

danielsvane commented 6 years ago

If you're trying to disable Meteors hot reloading, run it with meteor --once instead.

thewebkid commented 6 years ago

I am not understanding how hot reload works in my project (slowly migrating to vue). If I run with meteor --once, then I do not see the dev-client reloading anything and even if I refresh the page, nothing changes. If I run without --once, I have to wait the 45secs it takes meteor to reload/transpile my entire app. Is there a configuration that will make it hot-reload the way a pure vue/babel client app runs (very fast)?

I can not understate how much I would appreciate the kind developer who helps me speed up development. 45 seconds to see a change is the worst!

educob commented 5 years ago

I have to wait the 45secs it takes meteor to reload/transpile my entire app.

This slow transpiling was happening to me. I switched from windows to linux and now it's almost instantaneous.

My app reloads every second or 2 seconds like crazy. Nothing helps. I think it's been like that since I updated to meteor 1.8.