Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-14425] LiveView: iOS simulator is no longer updated once Android emulator is terminated when both are run with LiveView

GitHub Issuen/a
TypeBug
PriorityCritical
StatusClosed
ResolutionFixed
Resolution Date2013-07-10T00:53:35.000+0000
Affected Version/sRelease 3.1.1
Fix Version/s2013 Sprint 15 Tooling, 2013 Sprint 15, Release 3.2.0
ComponentsLiveView
Labelsn/a
ReporterMichael Xia
AssigneeChristian Sullivan
Created2013-06-27T23:28:08.000+0000
Updated2013-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.

Comments

  1. Christian Sullivan 2013-07-10

    Resolved in https://github.com/appcelerator/liveview/releases/0.1.27
  2. Michael Xia 2013-08-07

    Verified fixed in Appcelerator Studio, build: 3.1.2.201307311816 with LiveView feature 1.0.0.201307311815 (LiveView 0.1.30).

JSON Source