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

Liveview: Recompiling an Alloy app fails when Alloy is not installed globally

    Details

    • Type: Bug
    • Status: Closed
    • Priority: High
    • Resolution: Fixed
    • Affects Version/s: Release 4.0.0
    • Fix Version/s: Release 4.0.0
    • Component/s: LiveView
    • Labels:
    • Environment:

      Mac OSX 10.10.2
      Appc Studio: 4.0.0.201504080927
      Titanium SDK build: 4.0.0.v20150402073415
      Appc CLI (NPM): 0.3.37
      Appc CLI (Registry): 0.2.23
      Liveview: 1.0.7

    • Sprint:
      2015 Sprint 07 Tooling, 2015 Sprint 08 Tooling

      Description

      Description

      When building an alloy project with Liveview enabled, when making changes to an app the re-compile of the app fails with the below

      [LiveView] Alloy recompile initiated for ios
      [LiveView] /bin/sh: alloy: command not found
      

      This is because at line 451 in fserver.js to recompile the app the alloy command line is used, this should be changed to appc alloy so that we are using the alloy installed in the CLI.

      Steps To Reproduce

      1. Make sure you have no global install of Alloy
      2. From Studio build an Alloy app with Liveview enabled
      3. When the app has opened make changes and save the file

      Actual Result

      The recompile will fail with the above error

      Expected Result

      The recompile should work with no issues

        Attachments

          Activity

            People

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

              Dates

              • Created:
                Updated:
                Resolved:

                Backbone Issue Sync

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

                  Git Source Code