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
+1 -1
View File
@@ -45,7 +45,7 @@ const FILES = [
"**/.nyc_output/**",
]
export const PATTERNS = [...FILES, ...FOLDERS]
export const PATTERNS = [...FILES, ...FOLDERS, `**/{${Array.from(FOLDERS).join(",")}}/**`]
export function match(filepath: string, opts?: { extra?: string[]; whitelist?: string[] }) {
for (const pattern of opts?.whitelist || []) {