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
parent 610e618bc5
commit 945d1c8cb2
4 changed files with 57 additions and 8 deletions
+2 -2
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.
---