Uploaded image for project: 'Appcelerator Studio'
  1. Appcelerator Studio
  2. TISTUD-9173

Studio should not rebuild workspace when a file under "build" directory has changed

    Details

    • Type: Improvement
    • Status: Open
    • Priority: Low
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: None
    • Labels:
      None

      Description

      Summary:
      Appc Studio monitors all file changes under the project's directory tree. When any file has been added/removed/changed, it'll display "Building Workspace".

      Appc Studio is also monitoring the project's "build" subdirectory as well, when it shouldn't. This means doing an app build will trigger the "Building Workspace" several several times in the middle of the build process. Studio should be modified to not monitor the "build" subdirectory.

      Steps to reproduce:

      1. Build and run a project in Studio to Android or iOS.
      2. Notice that "Building Workspace" is shown in Studio's status bar until the build ends.
      3. Go to your project directory in Finder or Windows Explorer.
      4. Go to subdirectory "build/android" or "build/ios".
      5. Modify one of the build files.
      6. Notice that "Building Workspace" is shown in Studio's status bar.

      Note 1:
      The rebuilding of the workspace for project file changes is actually very fast in Studio and does not beachball the app. So, resolving this issue is more for eliminating the noise that ends up being displayed.

      Note 2:
      Perhaps Studio should ignore the "Resources" directory for Alloy projects as well? This is because building an Alloy app will generate files under this directory.

        Attachments

          Activity

            People

            • Assignee:
              amukherjee Abir Mukherjee
              Reporter:
              jquick Joshua Quick
            • Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated: