Skip to content

command gets re-executed even with no change in input files #262

Description

@SanderElias

This might be me misunderstanding the nuances in the config. However, the command gets called every time I run npm run buildDeps

     "buildServer": {
      "command": "tsc --pretty --project server/tsconfig.server.json",
      "clean": "if-file-deleted",
      "files": [  "./server/**/*.mts", "./server/**/*.html",  "./server/tsconfig.server.json"  ],
      "output": [  "./dist/server" ]
    },
    "sharedSock": {
      "command": "ng build --configuration production sharedSock",
      "clean": true,
      "files": [ "./projects/shared-sock/src/lib/**/*.ts"  ],
      "output": [ "./dist/shared-sock"  ]
    },
    "buildDeps": {
      "dependencies": [  "buildServer", "sharedSock"  ]
    },

I tried quite a number of things, but the command for the "sharedSock" dependency gets executed every time.
It might be me misunderstanding the setup, but it should skip the command if there is no change in the files of the "sharedSock" right?
I looked at #238 which pointed me to #245, but I seem to already have taken those steps?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions