[TIMOB-14425] LiveView: iOS simulator is no longer updated once Android emulator is terminated when both are run with LiveView
GitHub Issue | n/a |
---|---|
Type | Bug |
Priority | Critical |
Status | Closed |
Resolution | Fixed |
Resolution Date | 2013-07-10T00:53:35.000+0000 |
Affected Version/s | Release 3.1.1 |
Fix Version/s | 2013 Sprint 15 Tooling, 2013 Sprint 15, Release 3.2.0 |
Components | LiveView |
Labels | n/a |
Reporter | Michael Xia |
Assignee | Christian Sullivan |
Created | 2013-06-27T23:28:08.000+0000 |
Updated | 2013-08-07T00:08:04.000+0000 |
Description
1. Create a mobile project (e.g. the default two-tab classic project);
2. Run iPhone simulator with LiveView;
3. Run Android emulator with LiveView;
4. Updating app.js and confirm LiveView is working for both;
5. Exit Android emulator;
6. Updating app.js.
Expected result: iPhone simulator will continue to update the app.
Actual result: iPhone simulator no longer updates.
Here is the end of the log:
[LiveView] Client disconnected
[LiveView] Client connected
[LiveView] Client disconnected
[LiveView] Reload Triggered
-REASON: File Changed
-FILE: /Users/mxia/Documents/Appcelerator_Studio_Workspace/testLiveView/Resources/app.js
[LiveView] Reload Triggered
-REASON: File Changed
-FILE: /Users/mxia/Documents/Appcelerator_Studio_Workspace/testLiveView/Resources/app.js
[LiveView] Reload Triggered
-REASON: File Changed
-FILE: /Users/mxia/Documents/Appcelerator_Studio_Workspace/testLiveView/Resources/app.js
It appears the LiveView server got disconnected when Android emulator exited, but it didn't try to re-launch the server, and future reload events, although fired, could not update the app.
Resolved in https://github.com/appcelerator/liveview/releases/0.1.27
Verified fixed in Appcelerator Studio, build: 3.1.2.201307311816 with LiveView feature 1.0.0.201307311815 (LiveView 0.1.30).