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
commit 6a2ffec53d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

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