WatchCompilerHostOfFilesAndCompilerOptions
Host to create watch with root files and options
Properties
If provided, callback to invoke after every new program creation
If provided, will be used to reset existing delayed compilation
Used to create the program when need for program creation or recreation detected
If provided, used for module resolution as well as to handle directory structure
If provided, used in resolutions as well as handling directory structure
If provided is used to get the environment variable
Returns the module resolution cache used by a provided resolveModuleNames
implementation so that any non-name module resolution operations (eg, package.json lookup) can reuse it
If provided, use this method to get parsed command lines for referenced projects
If provided along with custom resolveModuleNames or resolveTypeReferenceDirectives, used to determine if unchanged file path needs to re-resolve modules/type reference directives
If provided, called with Diagnostic message that informs about change in watch status
Compiler options
Project References
If provided, used to cache and handle directory structure modifications
root files to use to generate program
If provided, will be used to set delayed compilation, so that multiple changes in short span are compiled together
Instead of using output d.ts file from project reference, use its source file
Functions
Use to check file presence for source files and if resolveModuleNames is not provided (complier is in charge of module resolution) then module files as well
Used to watch resolved module's failed lookup locations, config file specs, type roots where auto type reference directives are added
Used to watch changes in source files, missing files needed to update the program or config file