-
Notifications
You must be signed in to change notification settings - Fork 2.1k
Closed
Description
What version of Turborepo are you using?
1.4.6
What package manager are you using / does the bug impact?
Yarn v2/v3 (node_modules linker only)
What operating system are you using?
Linux
Describe the Bug
I've defined a task in my pipeline as follows:
"lint": {
"dependsOn": [],
"inputs": [
"!(build)/**/*.{ts,json}",
// The style based linting tasks depend on the corresponding configuration in the repo root
"../../.eslintrc.js",
"../../.eslintignore",
"../../.prettierrc.js",
"../../.prettierignore",
"../../tsconfig.eslint.json"
],
"outputs": []
},
which is supposed to make the workspace tasks depend on the global configuration in the repo root.
According to #1064, this is supposed to be working, but even after changing .prettierrc.js, I'm getting cache hits instead of re-running the tasks.
Expected Behavior
The tasks should be re-run.
To Reproduce
- Have a task in a workspace depend on files outside the workspace.
- Run the task
- Change one of the referenced files outside the workspace
- Run the task again, see cache hit.
Metadata
Metadata
Assignees
Labels
No labels