Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Disable Hot Code Push #226

Open
ltlbsteed opened this issue Feb 8, 2019 · 1 comment
Open

Disable Hot Code Push #226

ltlbsteed opened this issue Feb 8, 2019 · 1 comment

Comments

@ltlbsteed
Copy link

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.

@KoenLav
Copy link
Contributor

KoenLav commented Apr 28, 2019

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants