From d6f768d3ee7b34f2c5f3520469a2a09a37dfbecc Mon Sep 17 00:00:00 2001 From: Sheetal Nandi Date: Fri, 9 Aug 2019 14:00:40 -0700 Subject: [PATCH] Update src/compiler/sys.ts Co-Authored-By: Nathan Shively-Sanders <293473+sandersn@users.noreply.github.com> --- 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 45a67a8fee3..96204e2a751 100644 --- a/src/compiler/sys.ts +++ b/src/compiler/sys.ts @@ -1109,7 +1109,7 @@ namespace ts { function callbackChangingToMissingFileSystemEntry(event: "rename" | "change", relativeName: string | undefined) { // because relativeName is not guaranteed to be correct we need to check on each rename with few combinations - // Eg on ubuntoo while watchin app/node_modules the relativeName is "node_modules" which is neither relative nor full path + // Eg on ubuntu while watching app/node_modules the relativeName is "node_modules" which is neither relative nor full path return event === "rename" && (!relativeName || relativeName === lastDirectoryPart ||