Uploaded image for project: 'Appcelerator CLI'
  1. Appcelerator CLI
  2. CLI-1366

Studio restarts daemon during the appc use switching

    Details

    • Type: Bug
    • Status: Closed
    • Priority: High
    • Resolution: Fixed
    • Affects Version/s: appcelerator 4.2.14, appcelerator 4.2.13
    • Fix Version/s: CLI Release 7.1.1
    • Component/s: Installer
    • Labels:
      None
    • Severity:
      Major
    • Sprint:
      2019 Sprint 17

      Description

      Description

      When the appc cli switches a CLI core via appc use it will kill the running daemon process, write the new version and then exit. If a user has Studio open when switching the CLI (i.e it's installed via Studio) then Studio will attempt to restart the daemon as soon as it stops, and because the appc use process is to kill the daemon -> write the new version, Studio swoops in and starts the daemon before the cli process can write the new version.

      Steps to reproduce

      1. Open Studio fully
      2. Ensure the daemon is running appc appcd status if not appc appcd start
      3. Switch to another CLI version appc use 7.1.1-master.2
      4. Check the daemon status using appc appcd status

      Actual

      On step 4 the paths to the daemon plugins point to initial CLI version

      Expected

      On step 4 the paths to the daemon plugins should point to the new CLI version passed to appc use

        Attachments

          Activity

            People

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

              Dates

              • Created:
                Updated:
                Resolved:

                Git Source Code