Merge pull request #25610 from RyanCavanaugh/buildOnWatchStartup

When running with -w, do an initial compilation
This commit is contained in:
Ryan Cavanaugh
2018-07-12 12:51:16 -07:00
committed by GitHub

View File

@@ -488,6 +488,7 @@ namespace ts {
}
if (watch) {
builder.buildAllProjects();
builder.startWatching();
return undefined;
}