MCPcopy Index your code
hub / github.com/TypeScriptToLua/TypeScriptToLua / createWatchOfConfigFile

Function createWatchOfConfigFile

src/tstl.ts:130–142  ·  view source on GitHub ↗
(configFileName: string, optionsToExtend: tstl.CompilerOptions)

Source from the content-addressed store, hash-verified

128}
129
130function 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
144function createWatchOfFilesAndCompilerOptions(rootFiles: string[], options: tstl.CompilerOptions): void {
145 const watchCompilerHost = ts.createWatchCompilerHost(

Callers 1

executeCommandLineFunction · 0.85

Calls 2

Tested by

no test coverage detected