(configFileName: string, optionsToExtend: tstl.CompilerOptions)
| 128 | } |
| 129 | |
| 130 | function createWatchOfConfigFile(configFileName: string, optionsToExtend: tstl.CompilerOptions): void { |
| 131 | const watchCompilerHost = ts.createWatchCompilerHost( |
| 132 | configFileName, |
| 133 | optionsToExtend, |
| 134 | ts.sys, |
| 135 | ts.createSemanticDiagnosticsBuilderProgram, |
| 136 | undefined, |
| 137 | createWatchStatusReporter(optionsToExtend) |
| 138 | ); |
| 139 | |
| 140 | updateWatchCompilationHost(watchCompilerHost, optionsToExtend); |
| 141 | ts.createWatchProgram(watchCompilerHost); |
| 142 | } |
| 143 | |
| 144 | function createWatchOfFilesAndCompilerOptions(rootFiles: string[], options: tstl.CompilerOptions): void { |
| 145 | const watchCompilerHost = ts.createWatchCompilerHost( |
no test coverage detected