[TIMOB-24577] CLI - Building with deploy type flag is ignored when using Liveview
GitHub Issue | n/a |
---|---|
Type | Bug |
Priority | Critical |
Status | Closed |
Resolution | Won't Fix |
Resolution Date | 2019-08-05T18:19:03.000+0000 |
Affected Version/s | n/a |
Fix Version/s | n/a |
Components | CLI |
Labels | appc, build, cli, deploy, deployment, liveview, run |
Reporter | Clément Blanco |
Assignee | Unknown |
Created | 2017-04-06T11:22:21.000+0000 |
Updated | 2019-08-05T18:19:03.000+0000 |
Description
If I use
\-\-liveview
for building using the CLI, \-\-deploy-type
gets ignored and the build will always be using the development
“deploy-type”, no matter what.
Hello, Which platform is this happening for you?
macOS Sierra
Hello, Please try with the below command
Should run in device.
Pretty interesting, so this is the one which didn't work:
appc run --developer-name "XXXX" --pp-uuid XXXX --device-id XXXX --deploy-type test --liveview
But this one works:appc run --developer-name "XXXX" --pp-uuid XXXX --device-id XXXX -p ios -T device -D test --liveview
Which I thought was the same as:appc run --developer-name "XXXX" --pp-uuid XXXX --device-id XXXX --platform ios --target device --deploy-type test --liveview
Ok so now no matter what,
development
env is always used after the 2nd liveview refresh.Hello, So this works for you?
For "--deploy-type" use "-D test" for device build. Thanks.
Yes but only for the first build. As soon as I change something in the code and liveview refresh the build the environment is back from
test
todevelopment
. Isn't\-D
and alias for\-\-deploy-type
?Yes, Seems a valid bug. Moving to engineering. Thanks.