mirror of
https://gitea.toothfairyai.com/ToothFairyAI/tf_code.git
synced 2026-04-07 01:08:58 +00:00
wip: watch select .git files in watcher
This commit is contained in:
@@ -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,
|
||||
})
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user