From 13b7af6ea0f05be0e3deadab36e0bcad8662e082 Mon Sep 17 00:00:00 2001 From: Suhas Date: Mon, 17 Jun 2019 23:14:02 -0700 Subject: [PATCH] fix tsserver picking hidden files created by emacs Saw this good for first timers. I followed what @sheetalkamat suggested. #31916 --- src/compiler/sys.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/compiler/sys.ts b/src/compiler/sys.ts index b1923a73a27..5abc19cdbc4 100644 --- a/src/compiler/sys.ts +++ b/src/compiler/sys.ts @@ -330,7 +330,7 @@ namespace ts { } /*@internal*/ - export const ignoredPaths = ["/node_modules/.", "/.git"]; + export const ignoredPaths = ["/node_modules/.", "/.git", "/.#"]; /*@internal*/ export interface RecursiveDirectoryWatcherHost {