When running with -w, do an initial compilation

This commit is contained in:
Ryan Cavanaugh
2018-07-12 10:36:58 -07:00
parent 66e9aaac18
commit 08d7b8fd10
+1
View File
@@ -488,6 +488,7 @@ namespace ts {
}
if (watch) {
builder.buildAllProjects();
builder.startWatching();
return undefined;
}