()
| 368 | } |
| 369 | |
| 370 | func (w *Watcher) compileAndEmit() tsc.CompileAndEmitResult { |
| 371 | return tsc.EmitFilesAndReportErrors(tsc.EmitInput{ |
| 372 | Sys: w.sys, |
| 373 | ProgramLike: w.program, |
| 374 | Program: w.program.GetProgram(), |
| 375 | Config: w.config, |
| 376 | ReportDiagnostic: w.reportDiagnostic, |
| 377 | ReportErrorSummary: w.reportErrorSummary, |
| 378 | Writer: w.sys.Writer(), |
| 379 | CompileTimes: &tsc.CompileTimes{}, |
| 380 | Testing: w.testing, |
| 381 | }) |
| 382 | } |
| 383 | |
| 384 | func (w *Watcher) recheckTsConfig() bool { |
| 385 | if w.configFileName == "" { |
no test coverage detected