diff --git a/src/main/git/huge-folder-ignore.ts b/src/main/git/huge-folder-ignore.ts index 15cdb5f03f0..bf003e3d1a7 100644 --- a/src/main/git/huge-folder-ignore.ts +++ b/src/main/git/huge-folder-ignore.ts @@ -5,7 +5,18 @@ import { checkIgnoredPaths } from './source-control/check-ignored-paths' import type { GitRuntimeOptions } from './git-runtime-options' // Offer common dependency/build folders when unignored content saturates status. -const KNOWN_HUGE_FOLDER_NAMES = ['node_modules', '.next', 'dist', 'build', 'target', 'vendor'] +const KNOWN_HUGE_FOLDER_NAMES = [ + 'node_modules', + '.next', + 'dist', + 'build', + 'target', + 'vendor', + '.dart_tool', + '.gradle', + '.turbo', + 'Pods' +] export async function findKnownHugeFolderPathsToIgnore( worktreePath: string, diff --git a/src/main/ipc/filesystem/watchers/filesystem-watcher-ignore.ts b/src/main/ipc/filesystem/watchers/filesystem-watcher-ignore.ts index 1ea8daa7fad..3f125f71142 100644 --- a/src/main/ipc/filesystem/watchers/filesystem-watcher-ignore.ts +++ b/src/main/ipc/filesystem/watchers/filesystem-watcher-ignore.ts @@ -8,7 +8,10 @@ export const WATCHER_IGNORE_DIRS: string[] = [ '.cache', 'target', '.venv', - '__pycache__' + '__pycache__', + '.dart_tool', + '.gradle', + '.turbo' ] // FSEvents rejects all exclusions above eight paths; regex filtering covers the remaining names at every depth.