Lorin Beer created CB-6250:
------------------------------
Summary: [CLI] Cordova build doesn't return anything
Key: CB-6250
URL: https://issues.apache.org/jira/browse/CB-6250
Project: Apache Cordova
Issue Type: Bug
Components: CLI
Reporter: Lorin Beer
The CLI Build functionality implicitly calls before build hooks, prepare,
compile, and afterbuild hooks. Promises are used to time the events.
By not returning a promise, or observing the callback api, projects depending
on the cli don't know when to run local code depending on the promises
executing.
I'd like to see the cli both returning a promise or executing a callback. The
behaviour is simple to implement and observed in several major projects.
This would prevent subprojects and scripts from being forced to adopt promises.
--
This message was sent by Atlassian JIRA
(v6.2#6252)