nordnet / cordova-hot-code-push-local-dev-addon

[DEPRECATED] - Cordova plugin that adds local development feature to the Hot Code Push plugin.
https://github.com/nordnet/cordova-hot-code-push-local-dev-addon/issues/29
MIT License
24 stars 30 forks source link

Added release flag check #9

Closed robario closed 8 years ago

robario commented 8 years ago

When $ cordova build --release -- chcp-development then the consoleOptions is { release: true, argv: [ 'chcp-development' ] } and isBuildingForRelease returns false.

nikDemyankov commented 8 years ago

Merged, thanks! The problem is that hook uses old Cordova format. As mentioned in documentation - you should remove this plugin from your production release anyway.

robario commented 8 years ago

@nikDemyankov Thank you for merging.

When the app is ready and you are prepared for release - don't forget to delete it.

I did not notice the document. It is difficult for me to use chcp-local-dev-addon and chcp-* because of these not be wanted configuration and behavior...