[TIMOB-13733] Liveview: Hook evals commands for "--liveview" and this causes "ti build -h" to not show liveview flag info
GitHub Issue | n/a |
---|---|
Type | Bug |
Priority | High |
Status | Closed |
Resolution | Fixed |
Resolution Date | 2013-05-01T21:24:50.000+0000 |
Affected Version/s | Release 3.1.1 |
Fix Version/s | Release 3.1.2 |
Components | LiveView |
Labels | liveview, qe-3.1.1, qe-testadded |
Reporter | Eric Merriman |
Assignee | Christian Sullivan |
Created | 2013-05-01T18:11:05.000+0000 |
Updated | 2013-09-23T09:39:35.000+0000 |
Description
Description:
Liveview does not appear in "ti build -h", this seems to be caused by the line:
if (process.argv.indexOf('--liveview') === -1) { return; }
In the file: /Applications/Appcelerator Studio/plugins/com.appcelerator.titanium.liveview.core_1.0.0.1367297126/node_modules/liveview/hook/lvhook.js
Fixed on master https://github.com/appcelerator/liveview/commit/a15ef5157bb7e670aa361bb73cae0d05e5ba85a1
Verified with LiveView 0.1.32 included in Appcelerator Studio, build: 3.1.2.201308091728 that running "ti build -h" shows the info on --liveview flag. Closing.