fix(core): bound recursive file watching (#35323)

This commit is contained in:
Kit Langton 2026-07-04 11:55:05 -04:00 committed by GitHub
commit 945d1c8cb2
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
4 changed files with 57 additions and 8 deletions

View file

@ -749,12 +749,12 @@ You can configure file watcher ignore patterns through the `watcher` option.
{
"$schema": "https://opencode.ai/config.json",
"watcher": {
"ignore": ["node_modules/**", "dist/**", ".git/**"]
"ignore": ["**/generated/**"]
}
}
```
Patterns follow glob syntax. Use this to exclude noisy directories from file watching.
Patterns follow glob syntax. Common dependency, VCS, build, and cache directories are ignored automatically at any depth.
---