From 08d7b8fd1020301351ccc632b6fc54a9e6c6f683 Mon Sep 17 00:00:00 2001 From: Ryan Cavanaugh Date: Thu, 12 Jul 2018 10:36:58 -0700 Subject: [PATCH] When running with -w, do an initial compilation --- src/compiler/tsbuild.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/src/compiler/tsbuild.ts b/src/compiler/tsbuild.ts index 695b9f8622f7d..5c9c7086db872 100644 --- a/src/compiler/tsbuild.ts +++ b/src/compiler/tsbuild.ts @@ -488,6 +488,7 @@ namespace ts { } if (watch) { + builder.buildAllProjects(); builder.startWatching(); return undefined; }