summaryrefslogtreecommitdiffhomepage
path: root/packages/opencode/src/file/watcher.ts
diff options
context:
space:
mode:
Diffstat (limited to 'packages/opencode/src/file/watcher.ts')
-rw-r--r--packages/opencode/src/file/watcher.ts1
1 files changed, 1 insertions, 0 deletions
diff --git a/packages/opencode/src/file/watcher.ts b/packages/opencode/src/file/watcher.ts
index 84a80c0fb..652cb7853 100644
--- a/packages/opencode/src/file/watcher.ts
+++ b/packages/opencode/src/file/watcher.ts
@@ -30,6 +30,7 @@ export namespace FileWatcher {
ignoreInitial: true,
ignored: (filepath) => {
return FileIgnore.match(filepath, {
+ whitelist: [new Bun.Glob("**/.git/{index,logs/HEAD}")],
extra: ignore,
})
},