Skip to content

Commit 08d7b8f

Browse files
committed
When running with -w, do an initial compilation
1 parent 66e9aaa commit 08d7b8f

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/compiler/tsbuild.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -488,6 +488,7 @@ namespace ts {
488488
}
489489

490490
if (watch) {
491+
builder.buildAllProjects();
491492
builder.startWatching();
492493
return undefined;
493494
}

0 commit comments

Comments
 (0)