Log the config of the project

This commit is contained in:
Sheetal Nandi
2019-06-21 13:54:06 -07:00
parent 0adab8934a
commit c97be16fa1

View File

@@ -1757,6 +1757,12 @@ namespace ts.server {
configFileErrors.push(...parsedCommandLine.errors);
}
this.logger.info(`Config: ${configFilename} : ${JSON.stringify({
rootNames: parsedCommandLine.fileNames,
options: parsedCommandLine.options,
projectReferences: parsedCommandLine.projectReferences
}, /*replacer*/ undefined, " ")}`);
Debug.assert(!!parsedCommandLine.fileNames);
const compilerOptions = parsedCommandLine.options;