[TIMOB-13754] Liveview reloads the changes even if the app is not launched with liveview
GitHub Issue | n/a |
---|---|
Type | Bug |
Priority | High |
Status | Closed |
Resolution | Fixed |
Resolution Date | 2013-05-06T22:00:44.000+0000 |
Affected Version/s | Release 3.1.1 |
Fix Version/s | Release 3.1.2 |
Components | LiveView |
Labels | n/a |
Reporter | Praveen Innamuri |
Assignee | Christian Sullivan |
Created | 2013-05-03T18:49:46.000+0000 |
Updated | 2013-08-14T21:39:49.000+0000 |
Description
Steps to reproduce :
1) Launch a app on Android emulator using liveview flag (in launch configuration) - This starts the liveview server
2) Terminate the launch session.
3) Modify the launch configuration to disable liveview and then launch the app.
Actual:
Liveview server still reloads the modified file on the emulator.
Expected:
Liveview server should not monitor the files as the app is launched without liveview flag.
Here is the command that Studio invoked for launching app on android emulator and the liveview still monitor the changes :
"/usr/local/bin/titanium" "--no-colors" "--no-prompt" "build" "--platform" "android" "--sdk" "3.1.1.v20130430164508" "--log-level" "trace" "--target" "emulator" "--android-sdk" "/Users/pinnamuri/Work/android-sdk-macosx" "--avd-id" "1" "--avd-abi" "armeabi" "--avd-skin" "WVGA854" "--skip-js-minify"
If you no longer want the liveview watcher to run studio should run
$ liveview server stop
.FIXED IN https://github.com/appcelerator/liveview/tree/0.1.13
Verified fixed on Appcelerator Studio, build: 3.1.2.201308091728, OSX 10.8.3. The app does not get reloaded with change when it is not run with LiveView.