Uploaded image for project: 'Titanium SDK/CLI'
  1. Titanium SDK/CLI
  2. TIMOB-16387

LiveView: unexpected behavior when running LiveView on device without terminating the existing launch




      If I build an Android project to device from Studio with LiveView enabled then everything works fine. Code changes are acknowledged and the device updates accordingly.

      However if I was to switch to another project without disabling LiveView the new project will not work as expected. Either I get an error in the console, or the previous application will install again in place of the new project.

      On top of this a new node process is created without killing the previous node process.
      Because that process is still running I get the following error information in the console:

      [LiveView] version 1.0.2
      [LiveView] {[Error: listen EADDRINUSE] code: 'EADDRINUSE', errno: 'EADDRINUSE', syscall: 'listen' }
      [LiveView] File Server Started on Port 8324
      Address in use, retrying...
      [LiveView] [Error: Not running]

      Steps To Reproduce

      1. Create an alloy project
      2. Enable LiveView and run on device
      3. Create a classic project
      4. With LiveView still enabled, run the classic application on device

      Expected Result

      The classic app should be running on the phone

      Actual Result

      Either I get the above error, or the alloy project continues to display on the phone.

      Extra Information
      This happens on both Android and iOS on both Windows and Mac.

      Even More Information!
      Windows 8.1 32bit
      1) Appcelerator Studio 3.2.0
      Node processes are not killed
      2) Appcelerator Studio 3.2.1
      Node processes are not killed

      Mac OSX 10.9.1
      1) Appcelerator Studio 3.2.0
      Node processes are killed
      2) Appcelerator Studio 3.2.1
      Node processes are not killed




            • Assignee:
              csullivan Christian Sullivan
              sdowse Samuel Dowse
              Michael Xia
            • Watchers:
              0 Start watching this issue


              • Created:

                Backbone Issue Sync

                • Titanium SDK/CLI <> Titanium Mobile
                  Synced with:
                  Sync status:
                  Last received:
                  Last sent:

                  Git Integration