Need to clarify how gitignore would affect nx inputs
Documentation issue
- [ ] Reporting a typo
- [ ] Reporting a documentation bug
- [x] Documentation improvement
- [ ] Documentation feedback
Is there a specific documentation page you are reporting?
https://nx.dev/reference/inputs
Additional context or description
will the inputs exclude items in gitignore automatically?
@claude Clarify this in the docs that .gitiignored files are excluded from inputs.
Claude finished @FrozenPandaz's task —— View job • claude/issue-31574-20250613_141810 • Create PR ➔
Task: Clarify gitignore behavior in Nx inputs documentation
Successfully added clarification to the Nx inputs documentation that .gitignored files are excluded from inputs.
Todo List:
- [x] Find the inputs documentation source file
- [x] Read current documentation content for context
- [x] Add clarification about gitignore exclusion behavior
- [x] Commit changes to branch
- [x] Provide PR creation link
Changes Made:
Added a callout box to the inputs documentation (docs/shared/reference/inputs.md) explaining that:
- Files listed in
.gitignoreare automatically excluded from inputs - Nx won't consider gitignored files when computing task hashes
- Changes to ignored files won't invalidate the cache
This issue has been closed for more than 30 days. If this issue is still occuring, please open a new issue with more recent context.