( project: string, options: api.CompilerOptions, consoleError: (s: string) => void, )
| 212 | } |
| 213 | |
| 214 | export function watchMode( |
| 215 | project: string, |
| 216 | options: api.CompilerOptions, |
| 217 | consoleError: (s: string) => void, |
| 218 | ) { |
| 219 | return performWatchCompilation( |
| 220 | createPerformWatchHost( |
| 221 | project, |
| 222 | (diagnostics) => { |
| 223 | printDiagnostics(diagnostics, options, consoleError); |
| 224 | }, |
| 225 | options, |
| 226 | undefined, |
| 227 | ), |
| 228 | ); |
| 229 | } |
| 230 | |
| 231 | function printDiagnostics( |
| 232 | diagnostics: ReadonlyArray<ts.Diagnostic>, |
no test coverage detected
searching dependent graphs…