[ALOY-683] CFG.js not being regenerated with changes to config.json
GitHub Issue | n/a |
---|---|
Type | Bug |
Priority | High |
Status | Closed |
Resolution | Invalid |
Resolution Date | 2014-01-20T21:31:57.000+0000 |
Affected Version/s | n/a |
Fix Version/s | Alloy 1.3.0, 2014 Sprint 02 |
Components | n/a |
Labels | alloy, config |
Reporter | Neville Dastur |
Assignee | Tim Poulsen |
Created | 2013-05-31T13:06:37.000+0000 |
Updated | 2014-01-28T23:55:19.000+0000 |
This is working fine with Alloy 1.3 and Titanium 3.2.0.GA Test procedure 1. Create a new Alloy app 2. To app/controllers/index.js, add
3. Update app/config.json to read:
4. Build app. Logging message is
[INFO] : Alloy.CFG.foo = bar
and contents of Resources/CFG.js ismodule.exports={"dependencies":{},"foo":"bar"};
5. Modify config.json, setting foo equal toDarth Vader
. 6. Build app. Logging message is[INFO] : Alloy.CFG.foo = Darth Vader
and contents of Resources/CFG.js ismodule.exports={"dependencies":{},"foo":"Darth Vader"};