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

LiveView: Running liveview-server status shows that LiveView servers are running when they are not

    Details

    • Type: Bug
    • Status: Open
    • Priority: Medium
    • Resolution: Unresolved
    • Affects Version/s: Release 3.5.1, Release 8.3.0
    • Fix Version/s: None
    • Component/s: LiveView, Tooling
    • Environment:

      Mac OSX 10.10.2
      Appcelerator Studio, build: 3.4.2.201502181619
      Titanium SDK build: 3.5.1.v20150219140555
      Titanium CLI, build: 3.4.2-alpha
      Alloy: 1.5.1
      LiveView 1.0.7

      Description

      Description

      When navigating to the LiveView folder within the Studio plugins and running the command ./liveview-server status all the LiveView servers that have been started since LiveView was installed are listed.

      However if you run ps aux | grep node it will show only one or none LiveView processes running.

      If you try to kill the servers using ./liveview-server stop then it will attempt to kill the servers and will print out the following for each server.

      [LiveView]  Closing file/event server process id: 10716
      [LiveView]  Error closing server { [Error: kill ESRCH] code: 'ESRCH', errno: 'ESRCH', syscall: 'kill' }
      

      Steps To Reproduce

      1. From Studio build a few projects with LiveView enabled, making sure to terminate them once the app has launched and LiveView has connected
      2. Navigate to the LiveView folder at /Applications/Appcelerator_Studio/plugins/com.appcelerator.titanium.liveview.core_1.1.0.1424300841/node_modules/liveview/bin

      3. Run ./liveview-server status
      4. Run .ps aux | grep node
      5. Run ./liveview-server stop

      Actual Result

      3. Multiple liveview servers will be listed
      4. Only one liveview server will be shown as running, as expected
      5. LiveView will attempt to kill the servers but it will fail

      Expected Result

      LiveView should not list inactive servers as active

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              eharris Ewan Harris
            • Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:

                Backbone Issue Sync

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

                  Git Source Code