[
https://issues.apache.org/jira/browse/CB-3462?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Filip Maj resolved CB-3462.
---------------------------
Resolution: Fixed
Fix Version/s: 2.9.0
Fixed and pushed to npm as 2.8.13.
> Build command callback is not respected
> ---------------------------------------
>
> Key: CB-3462
> URL: https://issues.apache.org/jira/browse/CB-3462
> Project: Apache Cordova
> Issue Type: Bug
> Components: CLI
> Affects Versions: 2.8.0
> Environment:
> https://github.com/apache/cordova-cli/blob/72e72659fba59ccb38f93b2760922b2a3cebffc8/cordova.js#L70-L71
> Reporter: Michael Brooks
> Assignee: Filip Maj
> Fix For: 2.9.0
>
>
> The callback function is fired incorrectly in {{cordova.build(platforms,
> callback);}}
> Currently, the callback is fired after {{prepare}} and never after
> {{compile}}.
> It should only fire after {{compile}}.
> See [line 70-71 of
> cordova.js|https://github.com/apache/cordova-cli/blob/72e72659fba59ccb38f93b2760922b2a3cebffc8/cordova.js#L70-L71].
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira