(rootFiles: string[], options: tstl.CompilerOptions)
| 142 | } |
| 143 | |
| 144 | function createWatchOfFilesAndCompilerOptions(rootFiles: string[], options: tstl.CompilerOptions): void { |
| 145 | const watchCompilerHost = ts.createWatchCompilerHost( |
| 146 | rootFiles, |
| 147 | options, |
| 148 | ts.sys, |
| 149 | ts.createSemanticDiagnosticsBuilderProgram, |
| 150 | undefined, |
| 151 | createWatchStatusReporter(options) |
| 152 | ); |
| 153 | |
| 154 | updateWatchCompilationHost(watchCompilerHost, options); |
| 155 | ts.createWatchProgram(watchCompilerHost); |
| 156 | } |
| 157 | |
| 158 | function updateWatchCompilationHost( |
| 159 | host: ts.WatchCompilerHost<ts.SemanticDiagnosticsBuilderProgram>, |
no test coverage detected