wip: watch select .git files in watcher

This commit is contained in:
Adam
2025-09-25 06:38:59 -05:00
parent fd322e28e8
commit 0d05ab5be7
3 changed files with 5 additions and 5 deletions
+1
View File
@@ -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,
})
},