Skip to content

Commit f3c735b

Browse files
authored
docs: Clarify passtrhough args cache miss (#11026)
Update documentation on passthrough args interaction with dependency tasks hash, following #11025
1 parent 94adf33 commit f3c735b

File tree

1 file changed

+1
-1
lines changed
  • docs/site/content/docs/crafting-your-repository

1 file changed

+1
-1
lines changed

docs/site/content/docs/crafting-your-repository/caching.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -169,7 +169,7 @@ Under the hood, Turborepo creates two hashes: a global hash and a task hash. If
169169
| [`globalDependencies`](/docs/reference/configuration#globaldependencies) file contents | Changing `./.env` when it is listed in `globalDependencies` will cause **all** tasks to miss cache |
170170
| Values of variables listed in [`globalEnv`](/docs/reference/configuration#globalenv) | Changing the value of `GITHUB_TOKEN` when it is listed in `globalEnv` |
171171
| Flag values that affect task runtime | Using behavior-changing flags like `--cache-dir`, `--framework-inference`, or `--env-mode` |
172-
| Arbitrary passthrough arguments | `turbo build -- --arg=value` will miss cache when compared to either `turbo build` or `turbo build -- --arg=diff` |
172+
| Arbitrary passthrough arguments | `turbo build -- --arg=value` will cause **all** tasks to miss cache when compared to either `turbo build` or `turbo build -- --arg=diff` (including dependencies of `build` that did not receive `--arg=value`) |
173173

174174
### Package hash inputs
175175

0 commit comments

Comments
 (0)