Problem description
When modifying an Alloy project, LiveView is triggering the 'alloy compile' command in order to recompile the Alloy code and then update the running app.
However, the correct compile command should be always passed specifying the platform, for ex. alloy compile --config platform=ios
For this reason, with Alloy 1.2.0, the 'alloy compile' command is returning an error and in this case LiveView is not working at all.
Steps to reproduce
1. Modify an Alloy project running LiveView
Result: App is not updated.
Error log:
[LiveView] Alloy recompile initiated
[LiveView] [34m .__ .__
_____ | | | | ____ ___.__.
\__ \ | | | | / _ < | |
/ __ \| |_| |_( <_> )___ |
(____ /____/____/\____// ____|
\/ \/[39m
[37mAlloy by Appcelerator. The MVC app framework for Titanium.
[39m
[90m[DEBUG] [39m[36m----- CONFIGURATION -----[39m
[90m[DEBUG] [39m[36mdeploytype = development[39m
[90m[DEBUG] [39m[36mproject path = /Users/fcasali/Documents/Appcelerator_Studio_Workspace_4/alloyDefaultProject[39m
[90m[DEBUG] [39m[36mapp path = /Users/fcasali/Documents/Appcelerator_Studio_Workspace_4/alloyDefaultProject/app[39m
[90m[DEBUG] [39m[36m[39m
[90m[ERROR] [39m[31mYou must define a target platform for the alloy compile command[39m
resolved in [master] https://github.com/appcelerator/liveview/commit/279acdef30f3da3d43f38de078df0d8c9960d2ec
Tested Environment: Appcelerator Studio: 3.2.0.201312171913 SDK:3.2.0.v20131217190633 alloy: 1.3.0-cr2 acs: 1.0.10 npm: 1.3.2 titanium: 3.2.0-cr3 titanium-code-processor: 1.1.0-cr2 Xcode:5.0.2 OS: Mac OSX 10.9 Device: HTC Desire(v4.0.3) and Iphone5C(v7.0.4) liveView:1.0.1 Tested with both classic and alloy app. LiveView works fine and app gets relaunched with changes itself. Hence Closing the issue