This repository has been archived by the owner on Oct 12, 2022. It is now read-only.
Build instead of Prepare #92
Comments
That makes sense. I guess one way we could get it to work could be a CLI flag eg. |
Sounds good to me! |
So does Ionic 2 add before/after build hooks to Cordova which trigger your Gulp scripts? If so, it definitely seems like a great solution for us to allow triggering |
Yes, ionic 2 only triggers an update of the platform's www folder on |
OK cool, we'll take care of this change this week. Apologies for the inconvenience! |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Normally
cordova prepare
would be enough however, for example, Ionic 2 requires a compilation step to compile (using gulp) TypeScript and SCSS to create the www directory.When using the
code-push release-cordova
command it runscordova prepare
for you, however with Ionic 2 no new changes would be compiled into the platform's www directory.Maybe think about running a complete
cordova build
step in order to ensure all scripts and everything is ready for the appropriate platform for the release-cordova command?The text was updated successfully, but these errors were encountered: