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

Disable Hot Code Push

Open ltlbsteed opened this issue 6 years ago • 1 comments

I have a need to debug some issues against our production server. Is there a way to disable Hot Code Push I'm missing?

With our web version, we can arrest a hot code push with Reload_onMigrate, but that doesn't seem to affect the behavior of the electron version. I've found code in the skeleton app that looks to be controlling this, but I don't want to modify the meteor-desktop npm package unnecessarily.

Any pointers would be appreciated.

ltlbsteed avatar Feb 08 '19 17:02 ltlbsteed

I believe Reload._onMigrate should allow to configure this behavior in Meteor Desktop as well.

We recently started using the reload on resume package, which defers restarting after a HCP until the app is resumed in Cordova (Android/IOS).

The resume event, I think, doesn't exist in Electron, so when using this package it will only update when the application is restarted.

KoenLav avatar Apr 28 '19 06:04 KoenLav