mirror of
https://github.com/microsoft/TypeScript.git
synced 2026-11-18 20:11:14 +00:00
Fix casing for wild card keys for implicit globs to get wild card directories to watch (#39049)
* Test showing how wild card directory is not watched because of mismatch in key case * Fix casing for wild card keys for implicit globs Fixes #36532
This commit is contained in:
1 parent
b4735c0b3b
commit
f628bf8e24
3 files changed
+152
-1
No files matched your search
@@ -3120,7 +3120,10 @@ namespace ts {
|
||||
};
|
||||
}
|
||||
if (isImplicitGlob(spec)) {
|
||||
return { key: spec, flags: WatchDirectoryFlags.Recursive };
|
||||
return {
|
||||
key: useCaseSensitiveFileNames ? spec : toFileNameLowerCase(spec),
|
||||
flags: WatchDirectoryFlags.Recursive
|
||||
};
|
||||
}
|
||||
return undefined;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user