Skip to content

Commit 6a2ffec

Browse files
Merge pull request #25610 from RyanCavanaugh/buildOnWatchStartup
When running with -w, do an initial compilation
2 parents 0f8b6fc + 08d7b8f commit 6a2ffec

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/compiler/tsbuild.ts

+1
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)