Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-13733] Liveview: Hook evals commands for "--liveview" and this causes "ti build -h" to not show liveview flag info

GitHub Issuen/a
TypeBug
PriorityHigh
StatusClosed
ResolutionFixed
Resolution Date2013-05-01T21:24:50.000+0000
Affected Version/sRelease 3.1.1
Fix Version/sRelease 3.1.2
ComponentsLiveView
Labelsliveview, qe-3.1.1, qe-testadded
ReporterEric Merriman
AssigneeChristian Sullivan
Created2013-05-01T18:11:05.000+0000
Updated2013-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

Steps to reproduce:

1) Use terminal command "ti build -h"

Result:

Liveview is not represented

Expected Result:

Details of "--liveview" flag appear

Comments

  1. Christian Sullivan 2013-05-01

    Fixed on master https://github.com/appcelerator/liveview/commit/a15ef5157bb7e670aa361bb73cae0d05e5ba85a1
  2. Michael Xia 2013-08-14

    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.

JSON Source