We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 8d6c2bc commit 3512511Copy full SHA for 3512511
1 file changed
src/compiler/watch.ts
@@ -74,11 +74,15 @@ namespace ts {
74
system.write(output);
75
} :
76
(diagnostic, newLine, options) => {
77
+ let output = "";
78
+
79
if (!clearScreenIfNotWatchingForFileChanges(system, diagnostic, options)) {
- system.write(newLine);
80
+ output += newLine;
81
}
- let output = `${new Date().toLocaleTimeString()} - `;
82
83
+ output += `${new Date().toLocaleTimeString()} - `;
84
output += `${flattenDiagnosticMessageText(diagnostic.messageText, system.newLine)}${getPlainDiagnosticFollowingNewLines(diagnostic, newLine)}`;
85
86
87
};
88
0 commit comments