Skip to content

Commit 13b7af6

Browse files
suhasdeshpandeSuhas Deshpande
authored andcommitted
fix tsserver picking hidden files created by emacs
Saw this good for first timers. I followed what @sheetalkamat suggested. #31916
1 parent 7ed3896 commit 13b7af6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/compiler/sys.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -330,7 +330,7 @@ namespace ts {
330330
}
331331

332332
/*@internal*/
333-
export const ignoredPaths = ["/node_modules/.", "/.git"];
333+
export const ignoredPaths = ["/node_modules/.", "/.git", "/.#"];
334334

335335
/*@internal*/
336336
export interface RecursiveDirectoryWatcherHost {

0 commit comments

Comments
 (0)