[TIMOB-13851] LiveView: does not work when editing FSA 1.0 Alloy generated .js files within Studio
GitHub Issue | n/a |
---|---|
Type | Bug |
Priority | Critical |
Status | Closed |
Resolution | Fixed |
Resolution Date | 2013-05-17T06:01:02.000+0000 |
Affected Version/s | Release 3.1.1 |
Fix Version/s | 2013 Sprint 10 JS, 2013 Sprint 10, Release 3.1.1, Release 3.2.0 |
Components | Android, LiveView |
Labels | n/a |
Reporter | Matt Langston |
Assignee | Christian Sullivan |
Created | 2013-05-14T01:23:19.000+0000 |
Updated | 2013-08-14T22:18:24.000+0000 |
Description
LiveView does not work when editing FSA 1.0 Alloy generated .js files. I tried this both with and without the "app restart" logic from Allen with the same non-working Live View result. Steps to reproduce:
1. Enable Live View for FSA 1.0.
2. Open this Alloy generated file in Studio:
/Field-Service-App/Resources/alloy/controllers/my-service-outlets/myServiceOutlets.js
3. Insert this line under line 328:
Ti.API.info("MDL: LiveView detected my change.");
4. Save the file (File > Save) to trigger Live View.
5. Live View will claim to detect the change with this output from Studio's console:
[32m [LiveView][39m Reload Triggered
[90m -REASON:[39m File Changed
[90m -FILE:[39m /Users/matt/Documents/Appcelerator/src/titanium_mobile_repos/forks/field_service_app/Resources/alloy/controllers/my-service-outlets/myServiceOutlets.js
5. From within the FSA 1.0 app click the map icon next to "464 Hanover Street", which should trigger the output from step 3.
6. The output from step 3 is not in the logcat output, which can be verified by running this command from Terminal and not seeing the output from step #3:
adb logcat -d -v threadtime | grep "MDL: LiveView detected my change."
Unable to replicate with LiveView 0.1.21/Studio 3.1.1.201305151653. I see the following in my log output:
Verified on Appcelerator Studio, build: 3.1.2.201308091728, OSX 10.8.3 that I'm able to run FSA with LiveView and have the app correctly reloaded when there is a change.