[ALOY-1151] Alloy: Support async build hooks
| GitHub Issue | n/a |
|---|---|
| Type | Improvement |
| Priority | Medium |
| Status | Open |
| Resolution | Unresolved |
| Affected Version/s | n/a |
| Fix Version/s | n/a |
| Components | Models |
| Labels | TCSupport, alloy, build, cli, compile, jmk |
| Reporter | Fokke Zandbergen |
| Assignee | Unknown |
| Created | 2014-09-28T11:07:23.000+0000 |
| Updated | 2020-04-27T13:37:42.000+0000 |
Description
I love using [Alloy build hooks](http://docs.appcelerator.com/titanium/latest/#!/guide/Build_Configuration_File_(alloy.jmk)) through
alloy.jmk files. However, I'd like to also start async processes and block the compile process from continuing until they are done.
Example
task("pre:load",function(event,logger,done){
require('ticons').assets({
minDpi: 320
}, done);
});
[~tlukasavage]: Can you please assign [~fokke] as reporter? The system continues to assign myself as the original reporter when I move this bugs. Thanks.
[~cng] Bump! We should look into this for an upcoming release.