Disabling HCP feature

For some reasons, i have to disable meteor Hot Code Push(HCP) feature from my app.

My code-

Reload._onMigrate(“LiveUpdate”, function() {
return [false];
});

i put this code on clients/main.js file

is this the right way to disable HCP? is this safe to disabling HCP on a meteor app?

1 Like