vue-meteor icon indicating copy to clipboard operation
vue-meteor copied to clipboard

Autoreloading still triggers despite me disabling it

Open mitar opened this issue 7 years ago • 4 comments

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.

mitar avatar Jul 18 '17 11:07 mitar

See dev-client

Akryum avatar Jul 18 '17 11:07 Akryum

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

danielsvane avatar Oct 10 '17 11:10 danielsvane

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!

thewebkid avatar Dec 28 '17 19:12 thewebkid

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.

educob avatar Oct 16 '18 19:10 educob