From e91450c25f5dba8dd249cdbbe59b651dbe501353 Mon Sep 17 00:00:00 2001 From: Wesley Wigham Date: Fri, 22 Mar 2024 22:45:09 -0700 Subject: [PATCH 1/5] I cant believe its not eval --- src/compiler/commandLineParser.ts | 181 ++++++++++---- src/compiler/core.ts | 6 + src/compiler/program.ts | 2 +- src/compiler/tsbuildPublic.ts | 3 +- src/compiler/types.ts | 43 ++++ src/executeCommandLine/executeCommandLine.ts | 2 +- src/services/transpile.ts | 3 +- src/testRunner/projectsRunner.ts | 4 +- .../unittests/config/commandLineParsing.ts | 4 +- tests/baselines/reference/api/typescript.d.ts | 229 ++++++++++++++++++ 10 files changed, 426 insertions(+), 51 deletions(-) diff --git a/src/compiler/commandLineParser.ts b/src/compiler/commandLineParser.ts index ade646ba086d0..d29826882a9dd 100644 --- a/src/compiler/commandLineParser.ts +++ b/src/compiler/commandLineParser.ts @@ -16,12 +16,14 @@ import { CompilerOptions, CompilerOptionsValue, computedOptions, + concatenate, ConfigFileSpecs, containsPath, convertToRelativePath, createCompilerDiagnostic, createDiagnosticForNodeInSourceFile, createGetCanonicalFileName, + createProgram, Debug, Diagnostic, DiagnosticArguments, @@ -63,8 +65,12 @@ import { getTextOfPropertyName, getTsConfigPropArrayElementValue, hasExtension, + hasJSFileExtension, hasProperty, + hasTSFileExtension, ImportsNotUsedAsValues, + InternalSymbolName, + IntrinsicType, isArray, isArrayLiteralExpression, isComputedNonLiteralName, @@ -77,6 +83,7 @@ import { JsonSourceFile, JsxEmit, length, + LiteralType, map, mapDefined, mapIterator, @@ -107,6 +114,7 @@ import { some, startsWith, StringLiteral, + symbolName, SyntaxKind, sys, toFileNameLowerCase, @@ -114,7 +122,11 @@ import { tracing, TsConfigOnlyOption, TsConfigSourceFile, + Type, TypeAcquisition, + TypeChecker, + TypeFlags, + TypeReference, unescapeLeadingUnderscores, WatchDirectoryFlags, WatchDirectoryKind, @@ -129,13 +141,17 @@ export const compileOnSaveCommandLineOption: CommandLineOption = { defaultValueDescription: false, }; -const jsxOptionMap = new Map(Object.entries({ +function strongMap>(input: T): Map { + return new Map(Object.entries(input)) as Map; +} + +const jsxOptionMap = strongMap({ "preserve": JsxEmit.Preserve, "react-native": JsxEmit.ReactNative, "react": JsxEmit.React, "react-jsx": JsxEmit.ReactJSX, "react-jsxdev": JsxEmit.ReactJSXDev, -})); +}); /** @internal */ export const inverseJsxOptionMap = new Map(mapIterator(jsxOptionMap.entries(), ([key, value]: [string, JsxEmit]) => ["" + value, key] as const)); @@ -147,7 +163,7 @@ export const inverseJsxOptionMap = new Map(mapIterator(jsxOptionMap.entries(), ( // NOTE: We must reevaluate the target for upcoming features when each successive TC39 edition is ratified in // June of each year. This includes changes to `LanguageFeatureMinimumTarget`, `ScriptTarget`, // transformers/esnext.ts, commandLineParser.ts, and the contents of each lib/esnext.*.d.ts file. -const libEntries: [string, string][] = [ +const libEntries = [ // JavaScript only ["es5", "lib.es5.d.ts"], ["es6", "lib.es2015.d.ts"], @@ -237,7 +253,7 @@ const libEntries: [string, string][] = [ ["esnext.regexp", "lib.esnext.regexp.d.ts"], ["decorators", "lib.decorators.d.ts"], ["decorators.legacy", "lib.decorators.legacy.d.ts"], -]; +] as const satisfies [string, string][]; /** * An array of supported "lib" reference file names used to determine the order for inclusion @@ -246,7 +262,7 @@ const libEntries: [string, string][] = [ * * @internal */ -export const libs = libEntries.map(entry => entry[0]); +export const libs: string[] = libEntries.map(entry => entry[0]); /** * A map of lib names to lib files. This map is used both for parsing the "lib" command line @@ -261,38 +277,38 @@ export const libMap = new Map(libEntries); export const optionsForWatch: CommandLineOption[] = [ { name: "watchFile", - type: new Map(Object.entries({ + type: strongMap({ fixedpollinginterval: WatchFileKind.FixedPollingInterval, prioritypollinginterval: WatchFileKind.PriorityPollingInterval, dynamicprioritypolling: WatchFileKind.DynamicPriorityPolling, fixedchunksizepolling: WatchFileKind.FixedChunkSizePolling, usefsevents: WatchFileKind.UseFsEvents, usefseventsonparentdirectory: WatchFileKind.UseFsEventsOnParentDirectory, - })), + }), category: Diagnostics.Watch_and_Build_Modes, description: Diagnostics.Specify_how_the_TypeScript_watch_mode_works, defaultValueDescription: WatchFileKind.UseFsEvents, }, { name: "watchDirectory", - type: new Map(Object.entries({ + type: strongMap({ usefsevents: WatchDirectoryKind.UseFsEvents, fixedpollinginterval: WatchDirectoryKind.FixedPollingInterval, dynamicprioritypolling: WatchDirectoryKind.DynamicPriorityPolling, fixedchunksizepolling: WatchDirectoryKind.FixedChunkSizePolling, - })), + }), category: Diagnostics.Watch_and_Build_Modes, description: Diagnostics.Specify_how_directories_are_watched_on_systems_that_lack_recursive_file_watching_functionality, defaultValueDescription: WatchDirectoryKind.UseFsEvents, }, { name: "fallbackPolling", - type: new Map(Object.entries({ + type: strongMap({ fixedinterval: PollingWatchKind.FixedInterval, priorityinterval: PollingWatchKind.PriorityInterval, dynamicpriority: PollingWatchKind.DynamicPriority, fixedchunksize: PollingWatchKind.FixedChunkSize, - })), + }), category: Diagnostics.Watch_and_Build_Modes, description: Diagnostics.Specify_what_approach_the_watcher_should_use_if_the_system_runs_out_of_native_file_watchers, defaultValueDescription: PollingWatchKind.PriorityInterval, @@ -331,7 +347,7 @@ export const optionsForWatch: CommandLineOption[] = [ ]; /** @internal */ -export const commonOptionsWithBuild: CommandLineOption[] = [ +export const commonOptionsWithBuild = [ { name: "help", shortName: "h", @@ -516,13 +532,13 @@ export const commonOptionsWithBuild: CommandLineOption[] = [ description: Diagnostics.Set_the_language_of_the_messaging_from_TypeScript_This_does_not_affect_emit, defaultValueDescription: Diagnostics.Platform_specific, }, -]; +] as const satisfies CommandLineOption[]; /** @internal */ -export const targetOptionDeclaration: CommandLineOptionOfCustomType = { +export const targetOptionDeclaration = { name: "target", shortName: "t", - type: new Map(Object.entries({ + type: strongMap({ es3: ScriptTarget.ES3, es5: ScriptTarget.ES5, es6: ScriptTarget.ES2015, @@ -535,7 +551,7 @@ export const targetOptionDeclaration: CommandLineOptionOfCustomType = { es2021: ScriptTarget.ES2021, es2022: ScriptTarget.ES2022, esnext: ScriptTarget.ESNext, - })), + }), affectsSourceFile: true, affectsModuleResolution: true, affectsEmit: true, @@ -546,13 +562,13 @@ export const targetOptionDeclaration: CommandLineOptionOfCustomType = { category: Diagnostics.Language_and_Environment, description: Diagnostics.Set_the_JavaScript_language_version_for_emitted_JavaScript_and_include_compatible_library_declarations, defaultValueDescription: ScriptTarget.ES5, -}; +} as const satisfies CommandLineOptionOfCustomType; /** @internal */ -export const moduleOptionDeclaration: CommandLineOptionOfCustomType = { +export const moduleOptionDeclaration = { name: "module", shortName: "m", - type: new Map(Object.entries({ + type: strongMap({ none: ModuleKind.None, commonjs: ModuleKind.CommonJS, amd: ModuleKind.AMD, @@ -566,7 +582,7 @@ export const moduleOptionDeclaration: CommandLineOptionOfCustomType = { node16: ModuleKind.Node16, nodenext: ModuleKind.NodeNext, preserve: ModuleKind.Preserve, - })), + }), affectsSourceFile: true, affectsModuleResolution: true, affectsEmit: true, @@ -576,9 +592,9 @@ export const moduleOptionDeclaration: CommandLineOptionOfCustomType = { category: Diagnostics.Modules, description: Diagnostics.Specify_what_module_code_is_generated, defaultValueDescription: undefined, -}; +} as const satisfies CommandLineOptionOfCustomType; -const commandOptionsWithoutBuild: CommandLineOption[] = [ +const commandOptionsWithoutBuild = [ // CommandLine only options { name: "all", @@ -787,11 +803,11 @@ const commandOptionsWithoutBuild: CommandLineOption[] = [ }, { name: "importsNotUsedAsValues", - type: new Map(Object.entries({ + type: strongMap({ remove: ImportsNotUsedAsValues.Remove, preserve: ImportsNotUsedAsValues.Preserve, error: ImportsNotUsedAsValues.Error, - })), + }), affectsEmit: true, affectsSemanticDiagnostics: true, affectsBuildInfo: true, @@ -1002,7 +1018,7 @@ const commandOptionsWithoutBuild: CommandLineOption[] = [ // Module Resolution { name: "moduleResolution", - type: new Map(Object.entries({ + type: strongMap({ // N.B. The first entry specifies the value shown in `tsc --init` node10: ModuleResolutionKind.Node10, node: ModuleResolutionKind.Node10, @@ -1010,7 +1026,7 @@ const commandOptionsWithoutBuild: CommandLineOption[] = [ node16: ModuleResolutionKind.Node16, nodenext: ModuleResolutionKind.NodeNext, bundler: ModuleResolutionKind.Bundler, - })), + }), deprecatedKeys: new Set(["node"]), affectsSourceFile: true, affectsModuleResolution: true, @@ -1309,10 +1325,10 @@ const commandOptionsWithoutBuild: CommandLineOption[] = [ }, { name: "newLine", - type: new Map(Object.entries({ + type: strongMap({ crlf: NewLineKind.CarriageReturnLineFeed, lf: NewLineKind.LineFeed, - })), + }), affectsEmit: true, affectsBuildInfo: true, paramType: Diagnostics.NEWLINE, @@ -1554,11 +1570,11 @@ const commandOptionsWithoutBuild: CommandLineOption[] = [ }, { name: "moduleDetection", - type: new Map(Object.entries({ + type: strongMap({ auto: ModuleDetectionKind.Auto, legacy: ModuleDetectionKind.Legacy, force: ModuleDetectionKind.Force, - })), + }), affectsSourceFile: true, affectsModuleResolution: true, description: Diagnostics.Control_what_method_is_used_to_detect_module_format_JS_files, @@ -1570,31 +1586,31 @@ const commandOptionsWithoutBuild: CommandLineOption[] = [ type: "string", defaultValueDescription: undefined, }, -]; +] as const satisfies CommandLineOption[]; /** @internal */ -export const optionDeclarations: CommandLineOption[] = [ +export const optionDeclarations = [ ...commonOptionsWithBuild, ...commandOptionsWithoutBuild, -]; +] as const satisfies CommandLineOption[]; /** @internal */ -export const semanticDiagnosticsOptionDeclarations: readonly CommandLineOption[] = optionDeclarations.filter(option => !!option.affectsSemanticDiagnostics); +export const semanticDiagnosticsOptionDeclarations: readonly CommandLineOption[] = optionDeclarations.filter((option: CommandLineOption) => !!option.affectsSemanticDiagnostics); /** @internal */ -export const affectsEmitOptionDeclarations: readonly CommandLineOption[] = optionDeclarations.filter(option => !!option.affectsEmit); +export const affectsEmitOptionDeclarations: readonly CommandLineOption[] = optionDeclarations.filter((option: CommandLineOption) => !!option.affectsEmit); /** @internal */ -export const affectsDeclarationPathOptionDeclarations: readonly CommandLineOption[] = optionDeclarations.filter(option => !!option.affectsDeclarationPath); +export const affectsDeclarationPathOptionDeclarations: readonly CommandLineOption[] = optionDeclarations.filter((option: CommandLineOption) => !!option.affectsDeclarationPath); /** @internal */ -export const moduleResolutionOptionDeclarations: readonly CommandLineOption[] = optionDeclarations.filter(option => !!option.affectsModuleResolution); +export const moduleResolutionOptionDeclarations: readonly CommandLineOption[] = optionDeclarations.filter((option: CommandLineOption) => !!option.affectsModuleResolution); /** @internal */ -export const sourceFileAffectingCompilerOptions: readonly CommandLineOption[] = optionDeclarations.filter(option => !!option.affectsSourceFile || !!option.affectsBindDiagnostics); +export const sourceFileAffectingCompilerOptions: readonly CommandLineOption[] = optionDeclarations.filter((option: CommandLineOption) => !!option.affectsSourceFile || !!option.affectsBindDiagnostics); /** @internal */ -export const optionsAffectingProgramStructure: readonly CommandLineOption[] = optionDeclarations.filter(option => !!option.affectsProgramStructure); +export const optionsAffectingProgramStructure: readonly CommandLineOption[] = optionDeclarations.filter((option: CommandLineOption) => !!option.affectsProgramStructure); /** @internal */ export const transpileOptionValueCompilerOptions: readonly CommandLineOption[] = optionDeclarations.filter(option => hasProperty(option, "transpileOptionValue")); @@ -2070,7 +2086,17 @@ export function getParsedCommandLineOfConfigFile( watchOptionsToExtend?: WatchOptions, extraFileExtensions?: readonly FileExtensionInfo[], ): ParsedCommandLine | undefined { - const configFileText = tryReadFile(configFileName, fileName => host.readFile(fileName)); + const typeConfig = hasTSFileExtension(configFileName) || hasJSFileExtension(configFileName) ? loadConfigFromDefaultType( + configFileName, + optionsToExtend, + host, + extendedConfigCache, + watchOptionsToExtend, + extraFileExtensions + ) : undefined; + const configFileText = typeConfig + ? typeConfig.configText + : tryReadFile(configFileName, fileName => host.readFile(fileName)); if (!isString(configFileText)) { host.onUnRecoverableConfigFileDiagnostic(configFileText); return undefined; @@ -2081,7 +2107,7 @@ export function getParsedCommandLineOfConfigFile( result.path = toPath(configFileName, cwd, createGetCanonicalFileName(host.useCaseSensitiveFileNames)); result.resolvedPath = result.path; result.originalFileName = result.fileName; - return parseJsonSourceFileConfigFileContent( + const parsedResult = parseJsonSourceFileConfigFileContent( result, host, getNormalizedAbsolutePath(getDirectoryPath(configFileName), cwd), @@ -2092,6 +2118,75 @@ export function getParsedCommandLineOfConfigFile( extendedConfigCache, watchOptionsToExtend, ); + parsedResult.errors = concatenate(parsedResult.errors, typeConfig?.errors); + return parsedResult; +} + +export function loadConfigFromDefaultType( + configFileName: string, + _optionsToExtend: CompilerOptions | undefined, + _host: ParseConfigFileHost, + _extendedConfigCache?: Map, + _watchOptionsToExtend?: WatchOptions, + _extraFileExtensions?: readonly FileExtensionInfo[], +): { configText: string, errors: Diagnostic[] } | undefined { + const program = createProgram({ + rootNames: [configFileName], + options: { + strict: true, + exactOptionalPropertyTypes: true, + noEmit: true, + module: ModuleKind.NodeNext, + target: ScriptTarget.Latest, + allowJs: true, + resolveJsonModule: true, + allowArbitraryExtensions: true, + lib: ["esnext"], + types: [], + moduleDetection: ModuleDetectionKind.Force, + }, + }); + const file = Debug.checkDefined(program.getSourceFile(configFileName)); + const checker = program.getTypeChecker(); + const defaultMember = checker.tryGetMemberInModuleExports(InternalSymbolName.Default, file.symbol); + if (!defaultMember) { + return undefined; // TODO: issue diagnostic + } + const type = checker.getTypeOfSymbol(defaultMember); + const raw = convertTypeIntoRawConfig(checker, type); + + // And to save on API work, just serialize the raw value into a string and send it through the usual path + return { + errors: program.getSemanticDiagnostics(file).slice(), + configText: JSON.stringify(raw) + }; +} + +function convertTypeIntoRawConfig(checker: TypeChecker, type: Type): any { + return convertType(type); + + function convertType(type: Type): any { + if (type.flags & TypeFlags.BooleanLiteral) { + return (type as IntrinsicType).intrinsicName === "true" ? true : false; + } + if (type.flags & TypeFlags.NumberLiteral || type.flags & TypeFlags.StringLiteral) { + return (type as LiteralType).value; + } + if (checker.isTupleType(type)) { + const args = checker.getTypeArguments(type as TypeReference); + return map(args, convertType); + } + if (type.flags & TypeFlags.Object) { + const result: Record = {}; + const members = checker.getPropertiesOfType(type); + for (const member of members) { + const name = symbolName(member); + result[name] = convertType(checker.getTypeOfSymbol(member)); + } + return result; + } + return undefined; // TODO: Issue diagnostic + } } /** @@ -2722,8 +2817,8 @@ export function generateTSConfig(options: CompilerOptions, fileNames: readonly s categorizedOptions.set(Diagnostics.Completeness, []); for (const option of optionDeclarations) { if (isAllowedOptionForOutput(option)) { - let listForCategory = categorizedOptions.get(option.category!); - if (!listForCategory) categorizedOptions.set(option.category!, listForCategory = []); + let listForCategory = categorizedOptions.get((option as CommandLineOption).category!); + if (!listForCategory) categorizedOptions.set((option as CommandLineOption).category!, listForCategory = []); listForCategory.push(option); } } diff --git a/src/compiler/core.ts b/src/compiler/core.ts index d9cc63c998800..3432a09e51b06 100644 --- a/src/compiler/core.ts +++ b/src/compiler/core.ts @@ -6,6 +6,7 @@ import { EqualityComparer, MapLike, Queue, + RawTSConfig, SortedArray, SortedReadonlyArray, TextSpan, @@ -2716,3 +2717,8 @@ export function isNodeLikeSystem(): boolean { && !(process as any).browser && typeof require !== "undefined"; } + +export function config(config: T): T { + Debug.fail("This function does nothing at runtime."); + return config; +} diff --git a/src/compiler/program.ts b/src/compiler/program.ts index c46e910a53d2b..91541e0977744 100644 --- a/src/compiler/program.ts +++ b/src/compiler/program.ts @@ -1147,7 +1147,7 @@ export function getLibraryNameFromLibFileName(libFileName: string) { function getLibFileNameFromLibReference(libReference: FileReference) { const libName = toFileNameLowerCase(libReference.fileName); - const libFileName = libMap.get(libName); + const libFileName = libMap.get(libName as Parameters<(typeof libMap)["get"]>[0]); return { libName, libFileName }; } diff --git a/src/compiler/tsbuildPublic.ts b/src/compiler/tsbuildPublic.ts index a44e6a6bc428d..df7677f818c3c 100644 --- a/src/compiler/tsbuildPublic.ts +++ b/src/compiler/tsbuildPublic.ts @@ -11,6 +11,7 @@ import { closeFileWatcher, closeFileWatcherOf, combinePaths, + CommandLineOption, commonOptionsWithBuild, CompilerHost, CompilerOptions, @@ -324,7 +325,7 @@ export function createSolutionBuilderWithWatchHost { + commonOptionsWithBuild.forEach((option: CommandLineOption) => { if (hasProperty(buildOptions, option.name)) result[option.name] = buildOptions[option.name]; }); return result; diff --git a/src/compiler/types.ts b/src/compiler/types.ts index 2845a322a0237..e489311c3257d 100644 --- a/src/compiler/types.ts +++ b/src/compiler/types.ts @@ -9,6 +9,7 @@ import { ModuleResolutionCache, MultiMap, NodeFactoryFlags, + optionDeclarations, OptionsNameMap, PackageJsonInfo, PackageJsonInfoCache, @@ -9912,6 +9913,48 @@ export interface PragmaMap extends Map(value: PragmaPseudoMap[TKey] | PragmaPseudoMap[TKey][], key: TKey, map: PragmaMap) => void): void; } +type IntoCompilerOptionsValue = + T["type"] extends "string" + ? string + : T["type"] extends "number" + ? number + : T["type"] extends "boolean" + ? boolean + : T["type"] extends "object" + ? Record + : T["type"] extends "list" + ? IntoCompilerOptionsValue["element"]>[] + : T["type"] extends "listOrElement" + ? IntoCompilerOptionsValue["element"]>[] | IntoCompilerOptionsValue["element"]> + : T["type"] extends Map + ? InputKeyTypes + : never; + +type IntoCompilerOptionsNameValuePair = { + [K in T["name"]]?: IntoCompilerOptionsValue; +}; + +type IntoCompilerOptionsNameValuePairs = T extends T ? IntoCompilerOptionsNameValuePair : never; + +type IntoCompilerOptionsDefinitionWorker = UnionToIntersection>; + +type IntoCompilerOptionsDefinition = IntoCompilerOptionsDefinitionWorker extends infer U ? {[K in keyof U]: U[K]} : never; + +export const _optionsType = [undefined! as IntoCompilerOptionsDefinition | undefined][0]; + +/** + * An unprocessed TSConfig object, suitable to read as JSON and transform into command line options + */ +export interface RawTSConfig { + extends?: string | string[]; + compilerOptions?: NonNullable; + references?: { path: string }[]; + files?: string[]; + include?: string[]; + exclude?: string[]; + compileOnSave?: boolean; +} + /** @internal */ export interface CommentDirectivesMap { getUnusedExpectations(): CommentDirective[]; diff --git a/src/executeCommandLine/executeCommandLine.ts b/src/executeCommandLine/executeCommandLine.ts index 16d02310b5eb7..de1b69e79abcf 100644 --- a/src/executeCommandLine/executeCommandLine.ts +++ b/src/executeCommandLine/executeCommandLine.ts @@ -169,7 +169,7 @@ function getOptionsForHelp(commandLine: ParsedCommandLine) { // Sort our options by their names, (e.g. "--noImplicitAny" comes before "--watch") return !!commandLine.options.all ? sort(optionDeclarations, (a, b) => compareStringsCaseInsensitive(a.name, b.name)) : - filter(optionDeclarations.slice(), v => !!v.showInSimplifiedHelpView); + filter(optionDeclarations.slice(), (v: CommandLineOption) => !!v.showInSimplifiedHelpView); } function printVersion(sys: System) { diff --git a/src/services/transpile.ts b/src/services/transpile.ts index 084413a701b2f..106656dcd093b 100644 --- a/src/services/transpile.ts +++ b/src/services/transpile.ts @@ -1,6 +1,7 @@ import { addRange, cloneCompilerOptions, + CommandLineOption, CommandLineOptionOfCustomType, CompilerHost, CompilerOptions, @@ -169,7 +170,7 @@ let commandLineOptionsStringToEnum: CommandLineOptionOfCustomType[]; export function fixupCompilerOptions(options: CompilerOptions, diagnostics: Diagnostic[]): CompilerOptions { // Lazily create this value to fix module loading errors. commandLineOptionsStringToEnum = commandLineOptionsStringToEnum || - filter(optionDeclarations, o => typeof o.type === "object" && !forEachEntry(o.type, v => typeof v !== "number")) as CommandLineOptionOfCustomType[]; + filter(optionDeclarations, (o: CommandLineOption) => typeof o.type === "object" && !forEachEntry(o.type, v => typeof v !== "number")) as CommandLineOptionOfCustomType[]; options = cloneCompilerOptions(options); diff --git a/src/testRunner/projectsRunner.ts b/src/testRunner/projectsRunner.ts index 444304533255e..14e69642dc5d9 100644 --- a/src/testRunner/projectsRunner.ts +++ b/src/testRunner/projectsRunner.ts @@ -472,13 +472,13 @@ function createCompilerOptions(testCase: ProjectRunnerTestCase & ts.CompilerOpti const optionNameMap = ts.arrayToMap(ts.optionDeclarations, option => option.name); for (const name in testCase) { if (name !== "mapRoot" && name !== "sourceRoot") { - const option = optionNameMap.get(name); + const option = optionNameMap.get(name as Parameters<(typeof optionNameMap)["get"]>[0]); if (option) { const optType = option.type; let value = testCase[name] as any; if (!ts.isString(optType)) { const key = value.toLowerCase(); - const optTypeValue = optType.get(key); + const optTypeValue = optType.get(key as never); if (optTypeValue) { value = optTypeValue; } diff --git a/src/testRunner/unittests/config/commandLineParsing.ts b/src/testRunner/unittests/config/commandLineParsing.ts index 2187978de3898..89c6b2157c1f0 100644 --- a/src/testRunner/unittests/config/commandLineParsing.ts +++ b/src/testRunner/unittests/config/commandLineParsing.ts @@ -253,9 +253,9 @@ describe("unittests:: config:: commandLineParsing:: parseBuildOptions", () => { describe("unittests:: config:: commandLineParsing:: optionDeclarations", () => { it("should have affectsBuildInfo true for every option with affectsSemanticDiagnostics", () => { for (const option of ts.optionDeclarations) { - if (option.affectsSemanticDiagnostics) { + if ((option as ts.CommandLineOption).affectsSemanticDiagnostics) { // semantic diagnostics affect the build info, so ensure they're included - assert(option.affectsBuildInfo ?? false, option.name); + assert((option as ts.CommandLineOption).affectsBuildInfo ?? false, option.name); } } }); diff --git a/tests/baselines/reference/api/typescript.d.ts b/tests/baselines/reference/api/typescript.d.ts index 7f7bf51496508..fc84252bc6b09 100644 --- a/tests/baselines/reference/api/typescript.d.ts +++ b/tests/baselines/reference/api/typescript.d.ts @@ -3574,6 +3574,7 @@ declare namespace ts { interface SortedArray extends Array { " __sortedArrayBrand": any; } + function config(config: T): T; type Path = string & { __pathBrand: any; }; @@ -8140,6 +8141,230 @@ declare namespace ts { */ ParseForTypeInfo = 3, } + const _optionsType: { + help?: boolean | undefined; + watch?: boolean | undefined; + preserveWatchOutput?: boolean | undefined; + listFiles?: boolean | undefined; + explainFiles?: boolean | undefined; + listEmittedFiles?: boolean | undefined; + pretty?: boolean | undefined; + traceResolution?: boolean | undefined; + diagnostics?: boolean | undefined; + extendedDiagnostics?: boolean | undefined; + generateCpuProfile?: string | undefined; + generateTrace?: string | undefined; + incremental?: boolean | undefined; + declaration?: boolean | undefined; + declarationMap?: boolean | undefined; + emitDeclarationOnly?: boolean | undefined; + sourceMap?: boolean | undefined; + inlineSourceMap?: boolean | undefined; + assumeChangesOnlyAffectDirectDependencies?: boolean | undefined; + locale?: string | undefined; + target?: "es3" | "es5" | "es6" | "es2015" | "es2016" | "es2017" | "es2018" | "es2019" | "es2020" | "es2021" | "es2022" | "esnext" | undefined; + module?: "preserve" | "es6" | "es2015" | "es2020" | "es2022" | "esnext" | "none" | "commonjs" | "amd" | "system" | "umd" | "node16" | "nodenext" | undefined; + all?: boolean | undefined; + version?: boolean | undefined; + init?: boolean | undefined; + project?: string | undefined; + build?: boolean | undefined; + showConfig?: boolean | undefined; + listFilesOnly?: boolean | undefined; + lib?: + | ( + | "es5" + | "es6" + | "es2015" + | "es2016" + | "es2017" + | "es2018" + | "es2019" + | "es2020" + | "es2021" + | "es2022" + | "esnext" + | "es7" + | "es2023" + | "dom" + | "dom.iterable" + | "dom.asynciterable" + | "webworker" + | "webworker.importscripts" + | "webworker.iterable" + | "webworker.asynciterable" + | "scripthost" + | "es2015.core" + | "es2015.collection" + | "es2015.generator" + | "es2015.iterable" + | "es2015.promise" + | "es2015.proxy" + | "es2015.reflect" + | "es2015.symbol" + | "es2015.symbol.wellknown" + | "es2016.array.include" + | "es2016.intl" + | "es2017.date" + | "es2017.object" + | "es2017.sharedmemory" + | "es2017.string" + | "es2017.intl" + | "es2017.typedarrays" + | "es2018.asyncgenerator" + | "es2018.asynciterable" + | "es2018.intl" + | "es2018.promise" + | "es2018.regexp" + | "es2019.array" + | "es2019.object" + | "es2019.string" + | "es2019.symbol" + | "es2019.intl" + | "es2020.bigint" + | "es2020.date" + | "es2020.promise" + | "es2020.sharedmemory" + | "es2020.string" + | "es2020.symbol.wellknown" + | "es2020.intl" + | "es2020.number" + | "es2021.promise" + | "es2021.string" + | "es2021.weakref" + | "es2021.intl" + | "es2022.array" + | "es2022.error" + | "es2022.intl" + | "es2022.object" + | "es2022.sharedmemory" + | "es2022.string" + | "es2022.regexp" + | "es2023.array" + | "es2023.collection" + | "es2023.intl" + | "esnext.array" + | "esnext.collection" + | "esnext.symbol" + | "esnext.asynciterable" + | "esnext.intl" + | "esnext.disposable" + | "esnext.bigint" + | "esnext.string" + | "esnext.promise" + | "esnext.weakref" + | "esnext.decorators" + | "esnext.object" + | "esnext.regexp" + | "decorators" + | "decorators.legacy" + )[] + | undefined; + allowJs?: boolean | undefined; + checkJs?: boolean | undefined; + jsx?: "preserve" | "react-native" | "react" | "react-jsx" | "react-jsxdev" | undefined; + outFile?: string | undefined; + outDir?: string | undefined; + rootDir?: string | undefined; + composite?: boolean | undefined; + tsBuildInfoFile?: string | undefined; + removeComments?: boolean | undefined; + noEmit?: boolean | undefined; + importHelpers?: boolean | undefined; + importsNotUsedAsValues?: "preserve" | "remove" | "error" | undefined; + downlevelIteration?: boolean | undefined; + isolatedModules?: boolean | undefined; + verbatimModuleSyntax?: boolean | undefined; + strict?: boolean | undefined; + noImplicitAny?: boolean | undefined; + strictNullChecks?: boolean | undefined; + strictFunctionTypes?: boolean | undefined; + strictBindCallApply?: boolean | undefined; + strictPropertyInitialization?: boolean | undefined; + noImplicitThis?: boolean | undefined; + useUnknownInCatchVariables?: boolean | undefined; + alwaysStrict?: boolean | undefined; + noUnusedLocals?: boolean | undefined; + noUnusedParameters?: boolean | undefined; + exactOptionalPropertyTypes?: boolean | undefined; + noImplicitReturns?: boolean | undefined; + noFallthroughCasesInSwitch?: boolean | undefined; + noUncheckedIndexedAccess?: boolean | undefined; + noImplicitOverride?: boolean | undefined; + noPropertyAccessFromIndexSignature?: boolean | undefined; + moduleResolution?: "node16" | "nodenext" | "node10" | "node" | "classic" | "bundler" | undefined; + baseUrl?: string | undefined; + paths?: Record | undefined; + rootDirs?: string[] | undefined; + typeRoots?: string[] | undefined; + types?: string[] | undefined; + allowSyntheticDefaultImports?: boolean | undefined; + esModuleInterop?: boolean | undefined; + preserveSymlinks?: boolean | undefined; + allowUmdGlobalAccess?: boolean | undefined; + moduleSuffixes?: string[] | undefined; + allowImportingTsExtensions?: boolean | undefined; + resolvePackageJsonExports?: boolean | undefined; + resolvePackageJsonImports?: boolean | undefined; + customConditions?: string[] | undefined; + sourceRoot?: string | undefined; + mapRoot?: string | undefined; + inlineSources?: boolean | undefined; + experimentalDecorators?: boolean | undefined; + emitDecoratorMetadata?: boolean | undefined; + jsxFactory?: string | undefined; + jsxFragmentFactory?: string | undefined; + jsxImportSource?: string | undefined; + resolveJsonModule?: boolean | undefined; + allowArbitraryExtensions?: boolean | undefined; + out?: string | undefined; + reactNamespace?: string | undefined; + skipDefaultLibCheck?: boolean | undefined; + charset?: string | undefined; + emitBOM?: boolean | undefined; + newLine?: "crlf" | "lf" | undefined; + noErrorTruncation?: boolean | undefined; + noLib?: boolean | undefined; + noResolve?: boolean | undefined; + stripInternal?: boolean | undefined; + disableSizeLimit?: boolean | undefined; + disableSourceOfProjectReferenceRedirect?: boolean | undefined; + disableSolutionSearching?: boolean | undefined; + disableReferencedProjectLoad?: boolean | undefined; + noImplicitUseStrict?: boolean | undefined; + noEmitHelpers?: boolean | undefined; + noEmitOnError?: boolean | undefined; + preserveConstEnums?: boolean | undefined; + declarationDir?: string | undefined; + skipLibCheck?: boolean | undefined; + allowUnusedLabels?: boolean | undefined; + allowUnreachableCode?: boolean | undefined; + suppressExcessPropertyErrors?: boolean | undefined; + suppressImplicitAnyIndexErrors?: boolean | undefined; + forceConsistentCasingInFileNames?: boolean | undefined; + maxNodeModuleJsDepth?: number | undefined; + noStrictGenericChecks?: boolean | undefined; + useDefineForClassFields?: boolean | undefined; + preserveValueImports?: boolean | undefined; + keyofStringsOnly?: boolean | undefined; + plugins?: Record[] | undefined; + moduleDetection?: "auto" | "legacy" | "force" | undefined; + ignoreDeprecations?: string | undefined; + } | undefined; + /** + * An unprocessed TSConfig object, suitable to read as JSON and transform into command line options + */ + interface RawTSConfig { + extends?: string | string[]; + compilerOptions?: NonNullable; + references?: { + path: string; + }[]; + files?: string[]; + include?: string[]; + exclude?: string[]; + compileOnSave?: boolean; + } interface UserPreferences { readonly disableSuggestions?: boolean; readonly quotePreference?: "auto" | "double" | "single"; @@ -9066,6 +9291,10 @@ declare namespace ts { * Reads the config file, reports errors if any and exits if the config file cannot be found */ function getParsedCommandLineOfConfigFile(configFileName: string, optionsToExtend: CompilerOptions | undefined, host: ParseConfigFileHost, extendedConfigCache?: Map, watchOptionsToExtend?: WatchOptions, extraFileExtensions?: readonly FileExtensionInfo[]): ParsedCommandLine | undefined; + function loadConfigFromDefaultType(configFileName: string, _optionsToExtend: CompilerOptions | undefined, _host: ParseConfigFileHost, _extendedConfigCache?: Map, _watchOptionsToExtend?: WatchOptions, _extraFileExtensions?: readonly FileExtensionInfo[]): { + configText: string; + errors: Diagnostic[]; + } | undefined; /** * Read tsconfig.json file * @param fileName The path to the config file From 0dccbd9c23eceb973afc3a21555bfa586e2d36e0 Mon Sep 17 00:00:00 2001 From: Wesley Wigham Date: Tue, 26 Mar 2024 13:20:25 -0700 Subject: [PATCH 2/5] Uncached LS support - needs a proper project and caching LS host --- src/compiler/commandLineParser.ts | 11 +---------- src/server/editorServices.ts | 24 +++++++++++++++++------- 2 files changed, 18 insertions(+), 17 deletions(-) diff --git a/src/compiler/commandLineParser.ts b/src/compiler/commandLineParser.ts index d29826882a9dd..33b712b863380 100644 --- a/src/compiler/commandLineParser.ts +++ b/src/compiler/commandLineParser.ts @@ -2088,11 +2088,6 @@ export function getParsedCommandLineOfConfigFile( ): ParsedCommandLine | undefined { const typeConfig = hasTSFileExtension(configFileName) || hasJSFileExtension(configFileName) ? loadConfigFromDefaultType( configFileName, - optionsToExtend, - host, - extendedConfigCache, - watchOptionsToExtend, - extraFileExtensions ) : undefined; const configFileText = typeConfig ? typeConfig.configText @@ -2124,11 +2119,6 @@ export function getParsedCommandLineOfConfigFile( export function loadConfigFromDefaultType( configFileName: string, - _optionsToExtend: CompilerOptions | undefined, - _host: ParseConfigFileHost, - _extendedConfigCache?: Map, - _watchOptionsToExtend?: WatchOptions, - _extraFileExtensions?: readonly FileExtensionInfo[], ): { configText: string, errors: Diagnostic[] } | undefined { const program = createProgram({ rootNames: [configFileName], @@ -2145,6 +2135,7 @@ export function loadConfigFromDefaultType( types: [], moduleDetection: ModuleDetectionKind.Force, }, + // TODO: Use passed-in host object instead of sys }); const file = Debug.checkDefined(program.getSourceFile(configFileName)); const checker = program.getTypeChecker(); diff --git a/src/server/editorServices.ts b/src/server/editorServices.ts index 1a27eae83c1cf..e6a02d62ba29f 100644 --- a/src/server/editorServices.ts +++ b/src/server/editorServices.ts @@ -19,11 +19,13 @@ import { convertCompilerOptionsForTelemetry, convertJsonOption, createCachedDirectoryStructureHost, + createDetachedDiagnostic, createDocumentRegistryInternal, createGetCanonicalFileName, createMultiMap, Debug, Diagnostic, + Diagnostics, directorySeparator, DirectoryStructureHost, DirectoryWatcherCallback, @@ -59,6 +61,7 @@ import { getSnapshotText, getWatchFactory, hasExtension, + hasJSFileExtension, hasProperty, hasTSFileExtension, HostCancellationToken, @@ -76,6 +79,7 @@ import { JSDocParsingMode, LanguageServiceMode, length, + loadConfigFromDefaultType, map, mapDefinedEntries, mapDefinedIterator, @@ -2243,13 +2247,13 @@ export class ProjectService { do { if (searchInDirectory) { const canonicalSearchPath = normalizedPathToPath(searchPath, this.currentDirectory, this.toCanonicalFileName); - const tsconfigFileName = asNormalizedPath(combinePaths(searchPath, "tsconfig.json")); - let result = action(combinePaths(canonicalSearchPath, "tsconfig.json") as NormalizedPath, tsconfigFileName); - if (result) return tsconfigFileName; - const jsconfigFileName = asNormalizedPath(combinePaths(searchPath, "jsconfig.json")); - result = action(combinePaths(canonicalSearchPath, "jsconfig.json") as NormalizedPath, jsconfigFileName); - if (result) return jsconfigFileName; + const defaultConfigFileNames = ["tsconfig.d.ts", "tsconfig.ts", "tsconfig.js", "tsconfig.json", "jsconfig.json"]; + for (const fileName of defaultConfigFileNames) { + const tsconfigFileName = asNormalizedPath(combinePaths(searchPath, fileName)); + const result = action(combinePaths(canonicalSearchPath, fileName) as NormalizedPath, tsconfigFileName); + if (result) return tsconfigFileName; + } // If we started within node_modules, don't look outside node_modules. // Otherwise, we might pick up a very large project and pull in the world, @@ -2576,8 +2580,14 @@ export class ProjectService { const cachedDirectoryStructureHost = configFileExistenceInfo.config?.cachedDirectoryStructureHost || createCachedDirectoryStructureHost(this.host, this.host.getCurrentDirectory(), this.host.useCaseSensitiveFileNames)!; + let compilerHost: true | undefined; + if (hasTSFileExtension(configFilename) || hasJSFileExtension(configFilename)) { + compilerHost = true; + } + // Read updated contents from disk - const configFileContent = tryReadFile(configFilename, fileName => this.host.readFile(fileName)); + const processedResult = compilerHost && loadConfigFromDefaultType(configFilename); + const configFileContent = compilerHost ? length(processedResult?.errors) ? processedResult!.errors[0] : processedResult ? processedResult.configText : createDetachedDiagnostic(configFilename, "", 0, 1, Diagnostics._0_expected, "typescript") : tryReadFile(configFilename, fileName => this.host.readFile(fileName)); const configFile = parseJsonText(configFilename, isString(configFileContent) ? configFileContent : "") as TsConfigSourceFile; const configFileErrors = configFile.parseDiagnostics as Diagnostic[]; if (!isString(configFileContent)) configFileErrors.push(configFileContent); From 50ab917acd6e628a960df4af38d3a2fff2b765d6 Mon Sep 17 00:00:00 2001 From: Wesley Wigham Date: Mon, 1 Apr 2024 07:59:42 -0700 Subject: [PATCH 3/5] Accept baselines --- src/compiler/commandLineParser.ts | 1 + tests/baselines/reference/api/typescript.d.ts | 4 - ...-added-later-through-finding-definition.js | 15 ++ ...olution-is-reused-from-different-folder.js | 30 ++++ .../loads-missing-files-from-disk.js | 69 ++++++++ .../when-calling-goto-definition-of-module.js | 12 ++ ...ed-from-two-different-drives-of-windows.js | 15 ++ ...-searching-for-inferred-project-again-2.js | 18 +++ ...en-searching-for-inferred-project-again.js | 18 +++ .../tsconfig-for-the-file-does-not-exist.js | 66 ++++++++ .../tsconfig-for-the-file-exists.js | 48 ++++++ .../when-projectRootPath-is-not-present.js | 45 ++++++ ...esent-but-file-is-not-from-project-root.js | 45 ++++++ ...onfig-file-in-a-folder-with-loose-files.js | 15 ++ ...er-old-one-without-file-being-in-config.js | 27 ++++ ...re-old-one-without-file-being-in-config.js | 27 ++++ ...er-old-one-without-file-being-in-config.js | 27 ++++ ...invoked,-ask-errors-on-it-after-old-one.js | 54 +++++++ ...re-old-one-without-file-being-in-config.js | 27 ++++ ...nvoked,-ask-errors-on-it-before-old-one.js | 54 +++++++ ...ject-if-it-is-referenced-from-root-file.js | 114 +++++++++++++ ...nclude-files-that-start-in-subDirectory.js | 27 ++++ ...s-file-is-included-by-module-resolution.js | 18 +++ ...s-file-is-included-by-module-resolution.js | 18 +++ ...re-jsconfig-creation-watcher-is-invoked.js | 48 ++++++ .../autoImportFileExcludePatterns_symlinks.js | 30 ++++ ...autoImportFileExcludePatterns_symlinks2.js | 60 +++++++ ...oImportFileExcludePatterns_windowsPaths.js | 30 ++++ .../autoImportProvider_globalTypingsCache.js | 63 ++++++++ .../tsserver/fourslashServer/brace01.js | 9 ++ .../callHierarchyContainerNameServer.js | 9 ++ .../completionEntryDetailAcrossFiles01.js | 15 ++ .../completionEntryDetailAcrossFiles02.js | 15 ++ .../tsserver/fourslashServer/completions01.js | 9 ++ .../tsserver/fourslashServer/completions02.js | 9 ++ .../tsserver/fourslashServer/completions03.js | 9 ++ ...mpletionsImport_sortingModuleSpecifiers.js | 15 ++ .../fourslashServer/configurePlugin.js | 15 ++ .../convertFunctionToEs6Class-server1.js | 9 ++ .../convertFunctionToEs6Class-server2.js | 9 ++ .../declarationMapGoToDefinition.js | 21 +++ ...ionMapsGoToDefinitionRelativeSourceRoot.js | 21 +++ ...oToDefinitionSameNameDifferentDirectory.js | 36 +++++ .../tsserver/fourslashServer/definition01.js | 9 ++ .../fourslashServer/documentHighlights01.js | 9 ++ .../fourslashServer/documentHighlights02.js | 15 ++ ...ghlightsTypeParameterInHeritageClause01.js | 9 ++ .../fixExtractToInnerFunctionDuplicaton.js | 9 ++ .../tsserver/fourslashServer/format01.js | 9 ++ .../formatBracketInSwitchCase.js | 9 ++ .../tsserver/fourslashServer/formatOnEnter.js | 9 ++ ...formatSpaceBetweenFunctionAndArrayIndex.js | 9 ++ .../tsserver/fourslashServer/formatonkey01.js | 9 ++ .../getJavaScriptSyntacticDiagnostics01.js | 9 ++ .../getJavaScriptSyntacticDiagnostics02.js | 9 ++ .../getOutliningSpansForComments.js | 9 ++ .../getOutliningSpansForRegions.js | 9 ++ ...tliningSpansForRegionsNoSingleLineFolds.js | 9 ++ .../fourslashServer/implementation01.js | 9 ++ .../fourslashServer/jsdocCallbackTag.js | 9 ++ .../jsdocCallbackTagNavigateTo.js | 9 ++ .../jsdocCallbackTagRename01.js | 9 ++ .../jsdocParamTagSpecialKeywords.js | 9 ++ .../fourslashServer/jsdocTypedefTag.js | 9 ++ .../fourslashServer/jsdocTypedefTag1.js | 9 ++ .../fourslashServer/jsdocTypedefTag2.js | 9 ++ .../jsdocTypedefTagGoToDefinition.js | 9 ++ .../jsdocTypedefTagNamespace.js | 9 ++ .../jsdocTypedefTagNavigateTo.js | 9 ++ .../jsdocTypedefTagRename01.js | 9 ++ .../jsdocTypedefTagRename02.js | 9 ++ .../jsdocTypedefTagRename03.js | 9 ++ .../jsdocTypedefTagRename04.js | 9 ++ .../tsserver/fourslashServer/navbar01.js | 9 ++ .../tsserver/fourslashServer/navto01.js | 9 ++ .../tsserver/fourslashServer/ngProxy1.js | 15 ++ .../tsserver/fourslashServer/ngProxy2.js | 15 ++ .../tsserver/fourslashServer/ngProxy3.js | 15 ++ .../tsserver/fourslashServer/ngProxy4.js | 15 ++ .../nodeNextModuleKindCaching1.js | 15 ++ .../tsserver/fourslashServer/occurrences01.js | 9 ++ .../tsserver/fourslashServer/occurrences02.js | 9 ++ .../fourslashServer/openFileWithSyntaxKind.js | 15 ++ .../tsserver/fourslashServer/projectInfo01.js | 27 ++++ .../tsserver/fourslashServer/quickinfo01.js | 9 ++ .../fourslashServer/quickinfoWrongComment.js | 9 ++ .../fourslashServer/referenceToEmptyObject.js | 9 ++ .../fourslashServer/referencesInEmptyFile.js | 9 ++ ...eferencesToNonPropertyNameStringLiteral.js | 9 ++ .../referencesToStringLiteralValue.js | 9 ++ .../tsserver/fourslashServer/rename01.js | 9 ++ .../semanticClassificationJs1.js | 9 ++ .../fourslashServer/signatureHelp01.js | 9 ++ .../signatureHelpJSDocCallbackTag.js | 9 ++ .../tsconfigComputedPropertyError.js | 9 ++ .../fourslashServer/tsxIncrementalServer.js | 9 ++ .../fourslashServer/typeReferenceOnServer.js | 9 ++ .../fourslashServer/typedefinition01.js | 9 ++ .../create-inferred-project.js | 9 ++ ...-project-created-while-opening-the-file.js | 39 +++++ ...project-if-useOneInferredProject-is-set.js | 150 ++++++++++++++++++ ...ting-inferred-project-has-no-root-files.js | 33 ++++ ...when-referencing-file-from-another-file.js | 30 ++++ ...-directives,-they-are-handled-correcrly.js | 9 ++ ...pened-right-after-closing-the-root-file.js | 144 +++++++++++++++++ .../ancestor-and-project-ref-management.js | 57 +++++++ ...-if-disableReferencedProjectLoad-is-set.js | 78 +++++++++ ...configured-project-that-will-be-removed.js | 36 +++++ ...-and-closed-affecting-multiple-projects.js | 9 ++ ...directory-watch-invoke-on-file-creation.js | 36 +++++ ...configured-project-that-will-be-removed.js | 60 +++++++ ...configured-project-that-will-be-removed.js | 36 +++++ .../reloadProjects/inferred-project.js | 27 ++++ ...ative-module-name-from-inferred-project.js | 27 ++++ .../npm-install-@types-works.js | 21 +++ ...estore-the-states-for-inferred-projects.js | 27 ++++ ...hould-remove-the-module-not-found-error.js | 15 ++ .../closed-script-infos.js | 9 ++ .../when-not-symlink-but-differs-in-casing.js | 108 +++++++++++++ ...otPath-is-provided-for-inferred-project.js | 15 ++ ...utions-pointing-to-js-on-typing-install.js | 42 +++++ .../inferred-project-watch-options-errors.js | 18 +++ ...ect-watch-options-in-host-configuration.js | 18 +++ .../inferred-project-watch-options.js | 18 +++ .../project-with-ascii-file-names-with-i.js | 9 ++ .../project-with-ascii-file-names.js | 9 ++ .../project-with-unicode-file-names.js | 9 ++ ...watching-files-with-network-style-paths.js | 60 +++++++ 128 files changed, 2935 insertions(+), 4 deletions(-) diff --git a/src/compiler/commandLineParser.ts b/src/compiler/commandLineParser.ts index 33b712b863380..7ec1a6a295170 100644 --- a/src/compiler/commandLineParser.ts +++ b/src/compiler/commandLineParser.ts @@ -2117,6 +2117,7 @@ export function getParsedCommandLineOfConfigFile( return parsedResult; } +/** @internal */ export function loadConfigFromDefaultType( configFileName: string, ): { configText: string, errors: Diagnostic[] } | undefined { diff --git a/tests/baselines/reference/api/typescript.d.ts b/tests/baselines/reference/api/typescript.d.ts index fc84252bc6b09..f4fe0ecb6ba16 100644 --- a/tests/baselines/reference/api/typescript.d.ts +++ b/tests/baselines/reference/api/typescript.d.ts @@ -9291,10 +9291,6 @@ declare namespace ts { * Reads the config file, reports errors if any and exits if the config file cannot be found */ function getParsedCommandLineOfConfigFile(configFileName: string, optionsToExtend: CompilerOptions | undefined, host: ParseConfigFileHost, extendedConfigCache?: Map, watchOptionsToExtend?: WatchOptions, extraFileExtensions?: readonly FileExtensionInfo[]): ParsedCommandLine | undefined; - function loadConfigFromDefaultType(configFileName: string, _optionsToExtend: CompilerOptions | undefined, _host: ParseConfigFileHost, _extendedConfigCache?: Map, _watchOptionsToExtend?: WatchOptions, _extraFileExtensions?: readonly FileExtensionInfo[]): { - configText: string; - errors: Diagnostic[]; - } | undefined; /** * Read tsconfig.json file * @param fileName The path to the config file diff --git a/tests/baselines/reference/tsserver/auxiliaryProject/file-is-added-later-through-finding-definition.js b/tests/baselines/reference/tsserver/auxiliaryProject/file-is-added-later-through-finding-definition.js index 593ad119a072c..e2dc7828c784f 100644 --- a/tests/baselines/reference/tsserver/auxiliaryProject/file-is-added-later-through-finding-definition.js +++ b/tests/baselines/reference/tsserver/auxiliaryProject/file-is-added-later-through-finding-definition.js @@ -66,6 +66,9 @@ Info seq [hh:mm:ss:mss] request: } Info seq [hh:mm:ss:mss] Search path: /user/users/projects/myproject Info seq [hh:mm:ss:mss] For info: /user/users/projects/myproject/index.ts :: No config files found. +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/users/projects/myproject/tsconfig.d.ts 2000 undefined WatchType: Config file for the inferred project root +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/users/projects/myproject/tsconfig.ts 2000 undefined WatchType: Config file for the inferred project root +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/users/projects/myproject/tsconfig.js 2000 undefined WatchType: Config file for the inferred project root Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/users/projects/myproject/tsconfig.json 2000 undefined WatchType: Config file for the inferred project root Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/users/projects/myproject/jsconfig.json 2000 undefined WatchType: Config file for the inferred project root Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/inferredProject1* @@ -116,8 +119,14 @@ After request PolledWatches:: /user/users/projects/myproject/jsconfig.json: *new* {"pollingInterval":2000} +/user/users/projects/myproject/tsconfig.d.ts: *new* + {"pollingInterval":2000} +/user/users/projects/myproject/tsconfig.js: *new* + {"pollingInterval":2000} /user/users/projects/myproject/tsconfig.json: *new* {"pollingInterval":2000} +/user/users/projects/myproject/tsconfig.ts: *new* + {"pollingInterval":2000} /user/users/projects/node_modules/@types: *new* {"pollingInterval":500} @@ -238,8 +247,14 @@ After request PolledWatches:: /user/users/projects/myproject/jsconfig.json: {"pollingInterval":2000} +/user/users/projects/myproject/tsconfig.d.ts: + {"pollingInterval":2000} +/user/users/projects/myproject/tsconfig.js: + {"pollingInterval":2000} /user/users/projects/myproject/tsconfig.json: {"pollingInterval":2000} +/user/users/projects/myproject/tsconfig.ts: + {"pollingInterval":2000} /user/users/projects/node_modules: *new* {"pollingInterval":500} /user/users/projects/node_modules/@types: diff --git a/tests/baselines/reference/tsserver/auxiliaryProject/resolution-is-reused-from-different-folder.js b/tests/baselines/reference/tsserver/auxiliaryProject/resolution-is-reused-from-different-folder.js index 2660bdc604b30..d213508a6888e 100644 --- a/tests/baselines/reference/tsserver/auxiliaryProject/resolution-is-reused-from-different-folder.js +++ b/tests/baselines/reference/tsserver/auxiliaryProject/resolution-is-reused-from-different-folder.js @@ -71,8 +71,14 @@ Info seq [hh:mm:ss:mss] request: } Info seq [hh:mm:ss:mss] Search path: /user/users/projects/myproject/some Info seq [hh:mm:ss:mss] For info: /user/users/projects/myproject/some/index.ts :: No config files found. +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/users/projects/myproject/some/tsconfig.d.ts 2000 undefined WatchType: Config file for the inferred project root +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/users/projects/myproject/some/tsconfig.ts 2000 undefined WatchType: Config file for the inferred project root +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/users/projects/myproject/some/tsconfig.js 2000 undefined WatchType: Config file for the inferred project root Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/users/projects/myproject/some/tsconfig.json 2000 undefined WatchType: Config file for the inferred project root Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/users/projects/myproject/some/jsconfig.json 2000 undefined WatchType: Config file for the inferred project root +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/users/projects/myproject/tsconfig.d.ts 2000 undefined WatchType: Config file for the inferred project root +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/users/projects/myproject/tsconfig.ts 2000 undefined WatchType: Config file for the inferred project root +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/users/projects/myproject/tsconfig.js 2000 undefined WatchType: Config file for the inferred project root Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/users/projects/myproject/tsconfig.json 2000 undefined WatchType: Config file for the inferred project root Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/users/projects/myproject/jsconfig.json 2000 undefined WatchType: Config file for the inferred project root Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/inferredProject1* @@ -142,10 +148,22 @@ PolledWatches:: {"pollingInterval":500} /user/users/projects/myproject/some/node_modules/@types: *new* {"pollingInterval":500} +/user/users/projects/myproject/some/tsconfig.d.ts: *new* + {"pollingInterval":2000} +/user/users/projects/myproject/some/tsconfig.js: *new* + {"pollingInterval":2000} /user/users/projects/myproject/some/tsconfig.json: *new* {"pollingInterval":2000} +/user/users/projects/myproject/some/tsconfig.ts: *new* + {"pollingInterval":2000} +/user/users/projects/myproject/tsconfig.d.ts: *new* + {"pollingInterval":2000} +/user/users/projects/myproject/tsconfig.js: *new* + {"pollingInterval":2000} /user/users/projects/myproject/tsconfig.json: *new* {"pollingInterval":2000} +/user/users/projects/myproject/tsconfig.ts: *new* + {"pollingInterval":2000} /user/users/projects/node_modules/@types: *new* {"pollingInterval":500} @@ -273,10 +291,22 @@ PolledWatches:: {"pollingInterval":500} /user/users/projects/myproject/some/node_modules/@types: {"pollingInterval":500} +/user/users/projects/myproject/some/tsconfig.d.ts: + {"pollingInterval":2000} +/user/users/projects/myproject/some/tsconfig.js: + {"pollingInterval":2000} /user/users/projects/myproject/some/tsconfig.json: {"pollingInterval":2000} +/user/users/projects/myproject/some/tsconfig.ts: + {"pollingInterval":2000} +/user/users/projects/myproject/tsconfig.d.ts: + {"pollingInterval":2000} +/user/users/projects/myproject/tsconfig.js: + {"pollingInterval":2000} /user/users/projects/myproject/tsconfig.json: {"pollingInterval":2000} +/user/users/projects/myproject/tsconfig.ts: + {"pollingInterval":2000} /user/users/projects/node_modules: *new* {"pollingInterval":500} /user/users/projects/node_modules/@types: diff --git a/tests/baselines/reference/tsserver/cachingFileSystemInformation/loads-missing-files-from-disk.js b/tests/baselines/reference/tsserver/cachingFileSystemInformation/loads-missing-files-from-disk.js index 903a86cb3ad53..cd11aca5e1ce9 100644 --- a/tests/baselines/reference/tsserver/cachingFileSystemInformation/loads-missing-files-from-disk.js +++ b/tests/baselines/reference/tsserver/cachingFileSystemInformation/loads-missing-files-from-disk.js @@ -37,6 +37,9 @@ Info seq [hh:mm:ss:mss] request: } Info seq [hh:mm:ss:mss] Search path: /users/username/projects/project Info seq [hh:mm:ss:mss] For info: /users/username/projects/project/foo.ts :: No config files found. +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /users/username/projects/project/tsconfig.d.ts 2000 undefined WatchType: Config file for the inferred project root +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /users/username/projects/project/tsconfig.ts 2000 undefined WatchType: Config file for the inferred project root +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /users/username/projects/project/tsconfig.js 2000 undefined WatchType: Config file for the inferred project root Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /users/username/projects/project/tsconfig.json 2000 undefined WatchType: Config file for the inferred project root Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /users/username/projects/project/jsconfig.json 2000 undefined WatchType: Config file for the inferred project root Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/inferredProject1* @@ -86,8 +89,14 @@ PolledWatches:: {"pollingInterval":500} /users/username/projects/project/node_modules/@types: *new* {"pollingInterval":500} +/users/username/projects/project/tsconfig.d.ts: *new* + {"pollingInterval":2000} +/users/username/projects/project/tsconfig.js: *new* + {"pollingInterval":2000} /users/username/projects/project/tsconfig.json: *new* {"pollingInterval":2000} +/users/username/projects/project/tsconfig.ts: *new* + {"pollingInterval":2000} FsWatches:: /users/username/projects: *new* @@ -110,6 +119,18 @@ Info seq [hh:mm:ss:mss] getSemanticDiagnostics:: /users/username/projects/proje Info seq [hh:mm:ss:mss] foo.ts(1,17): error TS2792: Cannot find module 'bar'. Did you mean to set the 'moduleResolution' option to 'nodenext', or to add aliases to the 'paths' option? Info seq [hh:mm:ss:mss] fileExists:: [ + { + "key": "/users/username/projects/project/tsconfig.d.ts", + "count": 2 + }, + { + "key": "/users/username/projects/project/tsconfig.ts", + "count": 2 + }, + { + "key": "/users/username/projects/project/tsconfig.js", + "count": 2 + }, { "key": "/users/username/projects/project/tsconfig.json", "count": 2 @@ -118,6 +139,18 @@ Info seq [hh:mm:ss:mss] fileExists:: [ "key": "/users/username/projects/project/jsconfig.json", "count": 2 }, + { + "key": "/users/username/projects/tsconfig.d.ts", + "count": 1 + }, + { + "key": "/users/username/projects/tsconfig.ts", + "count": 1 + }, + { + "key": "/users/username/projects/tsconfig.js", + "count": 1 + }, { "key": "/users/username/projects/tsconfig.json", "count": 1 @@ -126,6 +159,18 @@ Info seq [hh:mm:ss:mss] fileExists:: [ "key": "/users/username/projects/jsconfig.json", "count": 1 }, + { + "key": "/users/username/tsconfig.d.ts", + "count": 1 + }, + { + "key": "/users/username/tsconfig.ts", + "count": 1 + }, + { + "key": "/users/username/tsconfig.js", + "count": 1 + }, { "key": "/users/username/tsconfig.json", "count": 1 @@ -134,6 +179,18 @@ Info seq [hh:mm:ss:mss] fileExists:: [ "key": "/users/username/jsconfig.json", "count": 1 }, + { + "key": "/users/tsconfig.d.ts", + "count": 1 + }, + { + "key": "/users/tsconfig.ts", + "count": 1 + }, + { + "key": "/users/tsconfig.js", + "count": 1 + }, { "key": "/users/tsconfig.json", "count": 1 @@ -142,6 +199,18 @@ Info seq [hh:mm:ss:mss] fileExists:: [ "key": "/users/jsconfig.json", "count": 1 }, + { + "key": "/tsconfig.d.ts", + "count": 1 + }, + { + "key": "/tsconfig.ts", + "count": 1 + }, + { + "key": "/tsconfig.js", + "count": 1 + }, { "key": "/tsconfig.json", "count": 1 diff --git a/tests/baselines/reference/tsserver/cachingFileSystemInformation/when-calling-goto-definition-of-module.js b/tests/baselines/reference/tsserver/cachingFileSystemInformation/when-calling-goto-definition-of-module.js index 3c2a424e85a7e..4d661365fbdc8 100644 --- a/tests/baselines/reference/tsserver/cachingFileSystemInformation/when-calling-goto-definition-of-module.js +++ b/tests/baselines/reference/tsserver/cachingFileSystemInformation/when-calling-goto-definition-of-module.js @@ -383,6 +383,18 @@ ScriptInfos:: /a/b/tsconfig.json Info seq [hh:mm:ss:mss] fileExists:: [ + { + "key": "/a/b/models/tsconfig.d.ts", + "count": 1 + }, + { + "key": "/a/b/models/tsconfig.ts", + "count": 1 + }, + { + "key": "/a/b/models/tsconfig.js", + "count": 1 + }, { "key": "/a/b/models/tsconfig.json", "count": 1 diff --git a/tests/baselines/reference/tsserver/completions/works-when-files-are-included-from-two-different-drives-of-windows.js b/tests/baselines/reference/tsserver/completions/works-when-files-are-included-from-two-different-drives-of-windows.js index d6f7d0a48f8b7..676815dddeb10 100644 --- a/tests/baselines/reference/tsserver/completions/works-when-files-are-included-from-two-different-drives-of-windows.js +++ b/tests/baselines/reference/tsserver/completions/works-when-files-are-included-from-two-different-drives-of-windows.js @@ -104,6 +104,9 @@ Info seq [hh:mm:ss:mss] request: } Info seq [hh:mm:ss:mss] Search path: e:/myproject/src Info seq [hh:mm:ss:mss] For info: e:/myproject/src/app.js :: No config files found. +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: e:/myproject/src/tsconfig.d.ts 2000 undefined WatchType: Config file for the inferred project root +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: e:/myproject/src/tsconfig.ts 2000 undefined WatchType: Config file for the inferred project root +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: e:/myproject/src/tsconfig.js 2000 undefined WatchType: Config file for the inferred project root Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: e:/myproject/src/tsconfig.json 2000 undefined WatchType: Config file for the inferred project root Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: e:/myproject/src/jsconfig.json 2000 undefined WatchType: Config file for the inferred project root Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/inferredProject1* @@ -162,8 +165,14 @@ e:/myproject/src/node_modules: *new* {"pollingInterval":500} e:/myproject/src/node_modules/@types: *new* {"pollingInterval":500} +e:/myproject/src/tsconfig.d.ts: *new* + {"pollingInterval":2000} +e:/myproject/src/tsconfig.js: *new* + {"pollingInterval":2000} e:/myproject/src/tsconfig.json: *new* {"pollingInterval":2000} +e:/myproject/src/tsconfig.ts: *new* + {"pollingInterval":2000} FsWatches:: c:/a/lib/lib.d.ts: *new* @@ -364,8 +373,14 @@ e:/myproject/src/node_modules: {"pollingInterval":500} e:/myproject/src/node_modules/@types: {"pollingInterval":500} +e:/myproject/src/tsconfig.d.ts: + {"pollingInterval":2000} +e:/myproject/src/tsconfig.js: + {"pollingInterval":2000} e:/myproject/src/tsconfig.json: {"pollingInterval":2000} +e:/myproject/src/tsconfig.ts: + {"pollingInterval":2000} FsWatches:: c:/a/lib/lib.d.ts: diff --git a/tests/baselines/reference/tsserver/configFileSearch/should-use-projectRootPath-when-searching-for-inferred-project-again-2.js b/tests/baselines/reference/tsserver/configFileSearch/should-use-projectRootPath-when-searching-for-inferred-project-again-2.js index ff228cf1f8509..bbe767b51102e 100644 --- a/tests/baselines/reference/tsserver/configFileSearch/should-use-projectRootPath-when-searching-for-inferred-project-again-2.js +++ b/tests/baselines/reference/tsserver/configFileSearch/should-use-projectRootPath-when-searching-for-inferred-project-again-2.js @@ -263,8 +263,14 @@ Info seq [hh:mm:ss:mss] Before ensureProjectForOpenFiles: Info seq [hh:mm:ss:mss] Open files: Info seq [hh:mm:ss:mss] FileName: /a/b/projects/project/src/file1.ts ProjectRootPath: /a/b/projects/project Info seq [hh:mm:ss:mss] Projects: +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/b/projects/project/src/tsconfig.d.ts 2000 undefined WatchType: Config file for the inferred project root +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/b/projects/project/src/tsconfig.ts 2000 undefined WatchType: Config file for the inferred project root +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/b/projects/project/src/tsconfig.js 2000 undefined WatchType: Config file for the inferred project root Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/b/projects/project/src/tsconfig.json 2000 undefined WatchType: Config file for the inferred project root Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/b/projects/project/src/jsconfig.json 2000 undefined WatchType: Config file for the inferred project root +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/b/projects/project/tsconfig.d.ts 2000 undefined WatchType: Config file for the inferred project root +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/b/projects/project/tsconfig.ts 2000 undefined WatchType: Config file for the inferred project root +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/b/projects/project/tsconfig.js 2000 undefined WatchType: Config file for the inferred project root Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/b/projects/project/tsconfig.json 2000 undefined WatchType: Config file for the inferred project root Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/b/projects/project/jsconfig.json 2000 undefined WatchType: Config file for the inferred project root Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/inferredProject1* @@ -316,10 +322,22 @@ PolledWatches:: {"pollingInterval":500} /a/b/projects/project/src/jsconfig.json: *new* {"pollingInterval":2000} +/a/b/projects/project/src/tsconfig.d.ts: *new* + {"pollingInterval":2000} +/a/b/projects/project/src/tsconfig.js: *new* + {"pollingInterval":2000} /a/b/projects/project/src/tsconfig.json: *new* {"pollingInterval":2000} +/a/b/projects/project/src/tsconfig.ts: *new* + {"pollingInterval":2000} +/a/b/projects/project/tsconfig.d.ts: *new* + {"pollingInterval":2000} +/a/b/projects/project/tsconfig.js: *new* + {"pollingInterval":2000} /a/b/projects/project/tsconfig.json: *new* {"pollingInterval":2000} +/a/b/projects/project/tsconfig.ts: *new* + {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: diff --git a/tests/baselines/reference/tsserver/configFileSearch/should-use-projectRootPath-when-searching-for-inferred-project-again.js b/tests/baselines/reference/tsserver/configFileSearch/should-use-projectRootPath-when-searching-for-inferred-project-again.js index da3913b19298e..3cfeb472b69ea 100644 --- a/tests/baselines/reference/tsserver/configFileSearch/should-use-projectRootPath-when-searching-for-inferred-project-again.js +++ b/tests/baselines/reference/tsserver/configFileSearch/should-use-projectRootPath-when-searching-for-inferred-project-again.js @@ -263,8 +263,14 @@ Info seq [hh:mm:ss:mss] Before ensureProjectForOpenFiles: Info seq [hh:mm:ss:mss] Open files: Info seq [hh:mm:ss:mss] FileName: /a/b/projects/project/src/file1.ts ProjectRootPath: /a/b/projects/project Info seq [hh:mm:ss:mss] Projects: +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/b/projects/project/src/tsconfig.d.ts 2000 undefined WatchType: Config file for the inferred project root +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/b/projects/project/src/tsconfig.ts 2000 undefined WatchType: Config file for the inferred project root +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/b/projects/project/src/tsconfig.js 2000 undefined WatchType: Config file for the inferred project root Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/b/projects/project/src/tsconfig.json 2000 undefined WatchType: Config file for the inferred project root Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/b/projects/project/src/jsconfig.json 2000 undefined WatchType: Config file for the inferred project root +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/b/projects/project/tsconfig.d.ts 2000 undefined WatchType: Config file for the inferred project root +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/b/projects/project/tsconfig.ts 2000 undefined WatchType: Config file for the inferred project root +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/b/projects/project/tsconfig.js 2000 undefined WatchType: Config file for the inferred project root Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/b/projects/project/tsconfig.json 2000 undefined WatchType: Config file for the inferred project root Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/b/projects/project/jsconfig.json 2000 undefined WatchType: Config file for the inferred project root Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/inferredProject1* @@ -320,10 +326,22 @@ PolledWatches:: {"pollingInterval":2000} /a/b/projects/project/src/node_modules/@types: *new* {"pollingInterval":500} +/a/b/projects/project/src/tsconfig.d.ts: *new* + {"pollingInterval":2000} +/a/b/projects/project/src/tsconfig.js: *new* + {"pollingInterval":2000} /a/b/projects/project/src/tsconfig.json: *new* {"pollingInterval":2000} +/a/b/projects/project/src/tsconfig.ts: *new* + {"pollingInterval":2000} +/a/b/projects/project/tsconfig.d.ts: *new* + {"pollingInterval":2000} +/a/b/projects/project/tsconfig.js: *new* + {"pollingInterval":2000} /a/b/projects/project/tsconfig.json: *new* {"pollingInterval":2000} +/a/b/projects/project/tsconfig.ts: *new* + {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: diff --git a/tests/baselines/reference/tsserver/configFileSearch/tsconfig-for-the-file-does-not-exist.js b/tests/baselines/reference/tsserver/configFileSearch/tsconfig-for-the-file-does-not-exist.js index e264c2030e056..a144e2914305b 100644 --- a/tests/baselines/reference/tsserver/configFileSearch/tsconfig-for-the-file-does-not-exist.js +++ b/tests/baselines/reference/tsserver/configFileSearch/tsconfig-for-the-file-does-not-exist.js @@ -30,8 +30,14 @@ Info seq [hh:mm:ss:mss] request: } Info seq [hh:mm:ss:mss] Search path: /a/b/projects/project/src Info seq [hh:mm:ss:mss] For info: /a/b/projects/project/src/index.ts :: No config files found. +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/b/projects/project/src/tsconfig.d.ts 2000 undefined WatchType: Config file for the inferred project root +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/b/projects/project/src/tsconfig.ts 2000 undefined WatchType: Config file for the inferred project root +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/b/projects/project/src/tsconfig.js 2000 undefined WatchType: Config file for the inferred project root Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/b/projects/project/src/tsconfig.json 2000 undefined WatchType: Config file for the inferred project root Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/b/projects/project/src/jsconfig.json 2000 undefined WatchType: Config file for the inferred project root +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/b/projects/project/tsconfig.d.ts 2000 undefined WatchType: Config file for the inferred project root +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/b/projects/project/tsconfig.ts 2000 undefined WatchType: Config file for the inferred project root +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/b/projects/project/tsconfig.js 2000 undefined WatchType: Config file for the inferred project root Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/b/projects/project/tsconfig.json 2000 undefined WatchType: Config file for the inferred project root Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/b/projects/project/jsconfig.json 2000 undefined WatchType: Config file for the inferred project root Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/inferredProject1* @@ -79,10 +85,22 @@ PolledWatches:: {"pollingInterval":2000} /a/b/projects/project/src/node_modules/@types: *new* {"pollingInterval":500} +/a/b/projects/project/src/tsconfig.d.ts: *new* + {"pollingInterval":2000} +/a/b/projects/project/src/tsconfig.js: *new* + {"pollingInterval":2000} /a/b/projects/project/src/tsconfig.json: *new* {"pollingInterval":2000} +/a/b/projects/project/src/tsconfig.ts: *new* + {"pollingInterval":2000} +/a/b/projects/project/tsconfig.d.ts: *new* + {"pollingInterval":2000} +/a/b/projects/project/tsconfig.js: *new* + {"pollingInterval":2000} /a/b/projects/project/tsconfig.json: *new* {"pollingInterval":2000} +/a/b/projects/project/tsconfig.ts: *new* + {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: *new* @@ -134,8 +152,20 @@ PolledWatches:: {"pollingInterval":2000} /a/b/projects/project/src/node_modules/@types: {"pollingInterval":500} +/a/b/projects/project/src/tsconfig.d.ts: + {"pollingInterval":2000} +/a/b/projects/project/src/tsconfig.js: + {"pollingInterval":2000} /a/b/projects/project/src/tsconfig.json: {"pollingInterval":2000} +/a/b/projects/project/src/tsconfig.ts: + {"pollingInterval":2000} +/a/b/projects/project/tsconfig.d.ts: + {"pollingInterval":2000} +/a/b/projects/project/tsconfig.js: + {"pollingInterval":2000} +/a/b/projects/project/tsconfig.ts: + {"pollingInterval":2000} PolledWatches *deleted*:: /a/b/projects/project/tsconfig.json: @@ -182,8 +212,14 @@ Info seq [hh:mm:ss:mss] Config: /a/b/projects/project/tsconfig.json : { } Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /a/b/projects/project 1 undefined Config: /a/b/projects/project/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /a/b/projects/project 1 undefined Config: /a/b/projects/project/tsconfig.json WatchType: Wild card directory +Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /a/b/projects/project/src/tsconfig.d.ts 2000 undefined WatchType: Config file for the inferred project root +Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /a/b/projects/project/src/tsconfig.ts 2000 undefined WatchType: Config file for the inferred project root +Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /a/b/projects/project/src/tsconfig.js 2000 undefined WatchType: Config file for the inferred project root Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /a/b/projects/project/src/tsconfig.json 2000 undefined WatchType: Config file for the inferred project root Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /a/b/projects/project/src/jsconfig.json 2000 undefined WatchType: Config file for the inferred project root +Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /a/b/projects/project/tsconfig.d.ts 2000 undefined WatchType: Config file for the inferred project root +Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /a/b/projects/project/tsconfig.ts 2000 undefined WatchType: Config file for the inferred project root +Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /a/b/projects/project/tsconfig.js 2000 undefined WatchType: Config file for the inferred project root Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /a/b/projects/project/jsconfig.json 2000 undefined WatchType: Config file for the inferred project root Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /a/b/projects/project/tsconfig.json Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /a/b/projects/project/node_modules/@types 1 undefined Project: /a/b/projects/project/tsconfig.json WatchType: Type roots @@ -324,8 +360,20 @@ PolledWatches *deleted*:: {"pollingInterval":2000} /a/b/projects/project/src/jsconfig.json: {"pollingInterval":2000} +/a/b/projects/project/src/tsconfig.d.ts: + {"pollingInterval":2000} +/a/b/projects/project/src/tsconfig.js: + {"pollingInterval":2000} /a/b/projects/project/src/tsconfig.json: {"pollingInterval":2000} +/a/b/projects/project/src/tsconfig.ts: + {"pollingInterval":2000} +/a/b/projects/project/tsconfig.d.ts: + {"pollingInterval":2000} +/a/b/projects/project/tsconfig.js: + {"pollingInterval":2000} +/a/b/projects/project/tsconfig.ts: + {"pollingInterval":2000} FsWatches:: /a/b/projects/project/tsconfig.json: @@ -442,8 +490,14 @@ Info seq [hh:mm:ss:mss] ----------------------------------------------- Info seq [hh:mm:ss:mss] Open files: Info seq [hh:mm:ss:mss] FileName: /a/b/projects/project/src/index.ts ProjectRootPath: /a/b/projects/proj Info seq [hh:mm:ss:mss] Projects: +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/b/projects/project/src/tsconfig.d.ts 2000 undefined WatchType: Config file for the inferred project root +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/b/projects/project/src/tsconfig.ts 2000 undefined WatchType: Config file for the inferred project root +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/b/projects/project/src/tsconfig.js 2000 undefined WatchType: Config file for the inferred project root Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/b/projects/project/src/tsconfig.json 2000 undefined WatchType: Config file for the inferred project root Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/b/projects/project/src/jsconfig.json 2000 undefined WatchType: Config file for the inferred project root +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/b/projects/project/tsconfig.d.ts 2000 undefined WatchType: Config file for the inferred project root +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/b/projects/project/tsconfig.ts 2000 undefined WatchType: Config file for the inferred project root +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/b/projects/project/tsconfig.js 2000 undefined WatchType: Config file for the inferred project root Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/b/projects/project/tsconfig.json 2000 undefined WatchType: Config file for the inferred project root Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/b/projects/project/jsconfig.json 2000 undefined WatchType: Config file for the inferred project root Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/inferredProject1* @@ -493,10 +547,22 @@ PolledWatches:: {"pollingInterval":2000} /a/b/projects/project/src/node_modules/@types: {"pollingInterval":500} +/a/b/projects/project/src/tsconfig.d.ts: *new* + {"pollingInterval":2000} +/a/b/projects/project/src/tsconfig.js: *new* + {"pollingInterval":2000} /a/b/projects/project/src/tsconfig.json: *new* {"pollingInterval":2000} +/a/b/projects/project/src/tsconfig.ts: *new* + {"pollingInterval":2000} +/a/b/projects/project/tsconfig.d.ts: *new* + {"pollingInterval":2000} +/a/b/projects/project/tsconfig.js: *new* + {"pollingInterval":2000} /a/b/projects/project/tsconfig.json: *new* {"pollingInterval":2000} +/a/b/projects/project/tsconfig.ts: *new* + {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: diff --git a/tests/baselines/reference/tsserver/configFileSearch/tsconfig-for-the-file-exists.js b/tests/baselines/reference/tsserver/configFileSearch/tsconfig-for-the-file-exists.js index dd1ec06753ba4..4dd3e9336abdb 100644 --- a/tests/baselines/reference/tsserver/configFileSearch/tsconfig-for-the-file-exists.js +++ b/tests/baselines/reference/tsserver/configFileSearch/tsconfig-for-the-file-exists.js @@ -252,8 +252,14 @@ Info seq [hh:mm:ss:mss] Before ensureProjectForOpenFiles: Info seq [hh:mm:ss:mss] Open files: Info seq [hh:mm:ss:mss] FileName: /a/b/projects/project/src/index.ts ProjectRootPath: /a/b/projects/proj Info seq [hh:mm:ss:mss] Projects: +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/b/projects/project/src/tsconfig.d.ts 2000 undefined WatchType: Config file for the inferred project root +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/b/projects/project/src/tsconfig.ts 2000 undefined WatchType: Config file for the inferred project root +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/b/projects/project/src/tsconfig.js 2000 undefined WatchType: Config file for the inferred project root Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/b/projects/project/src/tsconfig.json 2000 undefined WatchType: Config file for the inferred project root Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/b/projects/project/src/jsconfig.json 2000 undefined WatchType: Config file for the inferred project root +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/b/projects/project/tsconfig.d.ts 2000 undefined WatchType: Config file for the inferred project root +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/b/projects/project/tsconfig.ts 2000 undefined WatchType: Config file for the inferred project root +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/b/projects/project/tsconfig.js 2000 undefined WatchType: Config file for the inferred project root Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/b/projects/project/tsconfig.json 2000 undefined WatchType: Config file for the inferred project root Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/b/projects/project/jsconfig.json 2000 undefined WatchType: Config file for the inferred project root Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/inferredProject1* @@ -309,10 +315,22 @@ PolledWatches:: {"pollingInterval":2000} /a/b/projects/project/src/node_modules/@types: *new* {"pollingInterval":500} +/a/b/projects/project/src/tsconfig.d.ts: *new* + {"pollingInterval":2000} +/a/b/projects/project/src/tsconfig.js: *new* + {"pollingInterval":2000} /a/b/projects/project/src/tsconfig.json: *new* {"pollingInterval":2000} +/a/b/projects/project/src/tsconfig.ts: *new* + {"pollingInterval":2000} +/a/b/projects/project/tsconfig.d.ts: *new* + {"pollingInterval":2000} +/a/b/projects/project/tsconfig.js: *new* + {"pollingInterval":2000} /a/b/projects/project/tsconfig.json: *new* {"pollingInterval":2000} +/a/b/projects/project/tsconfig.ts: *new* + {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: @@ -364,8 +382,20 @@ PolledWatches:: {"pollingInterval":2000} /a/b/projects/project/src/node_modules/@types: {"pollingInterval":500} +/a/b/projects/project/src/tsconfig.d.ts: + {"pollingInterval":2000} +/a/b/projects/project/src/tsconfig.js: + {"pollingInterval":2000} /a/b/projects/project/src/tsconfig.json: {"pollingInterval":2000} +/a/b/projects/project/src/tsconfig.ts: + {"pollingInterval":2000} +/a/b/projects/project/tsconfig.d.ts: + {"pollingInterval":2000} +/a/b/projects/project/tsconfig.js: + {"pollingInterval":2000} +/a/b/projects/project/tsconfig.ts: + {"pollingInterval":2000} PolledWatches *deleted*:: /a/b/projects/project/tsconfig.json: @@ -412,8 +442,14 @@ Info seq [hh:mm:ss:mss] Config: /a/b/projects/project/tsconfig.json : { } Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /a/b/projects/project 1 undefined Config: /a/b/projects/project/tsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /a/b/projects/project 1 undefined Config: /a/b/projects/project/tsconfig.json WatchType: Wild card directory +Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /a/b/projects/project/src/tsconfig.d.ts 2000 undefined WatchType: Config file for the inferred project root +Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /a/b/projects/project/src/tsconfig.ts 2000 undefined WatchType: Config file for the inferred project root +Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /a/b/projects/project/src/tsconfig.js 2000 undefined WatchType: Config file for the inferred project root Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /a/b/projects/project/src/tsconfig.json 2000 undefined WatchType: Config file for the inferred project root Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /a/b/projects/project/src/jsconfig.json 2000 undefined WatchType: Config file for the inferred project root +Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /a/b/projects/project/tsconfig.d.ts 2000 undefined WatchType: Config file for the inferred project root +Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /a/b/projects/project/tsconfig.ts 2000 undefined WatchType: Config file for the inferred project root +Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /a/b/projects/project/tsconfig.js 2000 undefined WatchType: Config file for the inferred project root Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /a/b/projects/project/jsconfig.json 2000 undefined WatchType: Config file for the inferred project root Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /a/b/projects/project/tsconfig.json Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /a/b/projects/project/node_modules/@types 1 undefined Project: /a/b/projects/project/tsconfig.json WatchType: Type roots @@ -513,8 +549,20 @@ PolledWatches *deleted*:: {"pollingInterval":2000} /a/b/projects/project/src/jsconfig.json: {"pollingInterval":2000} +/a/b/projects/project/src/tsconfig.d.ts: + {"pollingInterval":2000} +/a/b/projects/project/src/tsconfig.js: + {"pollingInterval":2000} /a/b/projects/project/src/tsconfig.json: {"pollingInterval":2000} +/a/b/projects/project/src/tsconfig.ts: + {"pollingInterval":2000} +/a/b/projects/project/tsconfig.d.ts: + {"pollingInterval":2000} +/a/b/projects/project/tsconfig.js: + {"pollingInterval":2000} +/a/b/projects/project/tsconfig.ts: + {"pollingInterval":2000} FsWatches:: /a/b/projects/project/tsconfig.json: diff --git a/tests/baselines/reference/tsserver/configFileSearch/when-projectRootPath-is-not-present.js b/tests/baselines/reference/tsserver/configFileSearch/when-projectRootPath-is-not-present.js index fdd98ec4a3255..f0fb2c6164d3d 100644 --- a/tests/baselines/reference/tsserver/configFileSearch/when-projectRootPath-is-not-present.js +++ b/tests/baselines/reference/tsserver/configFileSearch/when-projectRootPath-is-not-present.js @@ -29,10 +29,19 @@ Info seq [hh:mm:ss:mss] request: } Info seq [hh:mm:ss:mss] Search path: /root/teams/VSCode68/Shared Documents/General/jt-ts-test-workspace Info seq [hh:mm:ss:mss] For info: /root/teams/VSCode68/Shared Documents/General/jt-ts-test-workspace/x.js :: No config files found. +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /root/teams/VSCode68/Shared Documents/General/jt-ts-test-workspace/tsconfig.d.ts 2000 undefined WatchType: Config file for the inferred project root +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /root/teams/VSCode68/Shared Documents/General/jt-ts-test-workspace/tsconfig.ts 2000 undefined WatchType: Config file for the inferred project root +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /root/teams/VSCode68/Shared Documents/General/jt-ts-test-workspace/tsconfig.js 2000 undefined WatchType: Config file for the inferred project root Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /root/teams/VSCode68/Shared Documents/General/jt-ts-test-workspace/tsconfig.json 2000 undefined WatchType: Config file for the inferred project root Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /root/teams/VSCode68/Shared Documents/General/jt-ts-test-workspace/jsconfig.json 2000 undefined WatchType: Config file for the inferred project root +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /root/teams/VSCode68/Shared Documents/General/tsconfig.d.ts 2000 undefined WatchType: Config file for the inferred project root +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /root/teams/VSCode68/Shared Documents/General/tsconfig.ts 2000 undefined WatchType: Config file for the inferred project root +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /root/teams/VSCode68/Shared Documents/General/tsconfig.js 2000 undefined WatchType: Config file for the inferred project root Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /root/teams/VSCode68/Shared Documents/General/tsconfig.json 2000 undefined WatchType: Config file for the inferred project root Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /root/teams/VSCode68/Shared Documents/General/jsconfig.json 2000 undefined WatchType: Config file for the inferred project root +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /root/teams/VSCode68/Shared Documents/tsconfig.d.ts 2000 undefined WatchType: Config file for the inferred project root +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /root/teams/VSCode68/Shared Documents/tsconfig.ts 2000 undefined WatchType: Config file for the inferred project root +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /root/teams/VSCode68/Shared Documents/tsconfig.js 2000 undefined WatchType: Config file for the inferred project root Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /root/teams/VSCode68/Shared Documents/tsconfig.json 2000 undefined WatchType: Config file for the inferred project root Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /root/teams/VSCode68/Shared Documents/jsconfig.json 2000 undefined WatchType: Config file for the inferred project root Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/inferredProject1* @@ -67,18 +76,36 @@ PolledWatches:: {"pollingInterval":2000} /root/teams/VSCode68/Shared Documents/General/jt-ts-test-workspace/node_modules/@types: *new* {"pollingInterval":500} +/root/teams/VSCode68/Shared Documents/General/jt-ts-test-workspace/tsconfig.d.ts: *new* + {"pollingInterval":2000} +/root/teams/VSCode68/Shared Documents/General/jt-ts-test-workspace/tsconfig.js: *new* + {"pollingInterval":2000} /root/teams/VSCode68/Shared Documents/General/jt-ts-test-workspace/tsconfig.json: *new* {"pollingInterval":2000} +/root/teams/VSCode68/Shared Documents/General/jt-ts-test-workspace/tsconfig.ts: *new* + {"pollingInterval":2000} /root/teams/VSCode68/Shared Documents/General/node_modules/@types: *new* {"pollingInterval":500} +/root/teams/VSCode68/Shared Documents/General/tsconfig.d.ts: *new* + {"pollingInterval":2000} +/root/teams/VSCode68/Shared Documents/General/tsconfig.js: *new* + {"pollingInterval":2000} /root/teams/VSCode68/Shared Documents/General/tsconfig.json: *new* {"pollingInterval":2000} +/root/teams/VSCode68/Shared Documents/General/tsconfig.ts: *new* + {"pollingInterval":2000} /root/teams/VSCode68/Shared Documents/jsconfig.json: *new* {"pollingInterval":2000} /root/teams/VSCode68/Shared Documents/node_modules/@types: *new* {"pollingInterval":500} +/root/teams/VSCode68/Shared Documents/tsconfig.d.ts: *new* + {"pollingInterval":2000} +/root/teams/VSCode68/Shared Documents/tsconfig.js: *new* + {"pollingInterval":2000} /root/teams/VSCode68/Shared Documents/tsconfig.json: *new* {"pollingInterval":2000} +/root/teams/VSCode68/Shared Documents/tsconfig.ts: *new* + {"pollingInterval":2000} /root/teams/VSCode68/node_modules/@types: *new* {"pollingInterval":500} @@ -239,18 +266,36 @@ PolledWatches:: {"pollingInterval":500} /root/teams/VSCode68/Shared Documents/General/jt-ts-test-workspace/node_modules/@types: {"pollingInterval":500} +/root/teams/VSCode68/Shared Documents/General/jt-ts-test-workspace/tsconfig.d.ts: + {"pollingInterval":2000} +/root/teams/VSCode68/Shared Documents/General/jt-ts-test-workspace/tsconfig.js: + {"pollingInterval":2000} /root/teams/VSCode68/Shared Documents/General/jt-ts-test-workspace/tsconfig.json: {"pollingInterval":2000} +/root/teams/VSCode68/Shared Documents/General/jt-ts-test-workspace/tsconfig.ts: + {"pollingInterval":2000} /root/teams/VSCode68/Shared Documents/General/node_modules/@types: {"pollingInterval":500} +/root/teams/VSCode68/Shared Documents/General/tsconfig.d.ts: + {"pollingInterval":2000} +/root/teams/VSCode68/Shared Documents/General/tsconfig.js: + {"pollingInterval":2000} /root/teams/VSCode68/Shared Documents/General/tsconfig.json: {"pollingInterval":2000} +/root/teams/VSCode68/Shared Documents/General/tsconfig.ts: + {"pollingInterval":2000} /root/teams/VSCode68/Shared Documents/jsconfig.json: {"pollingInterval":2000} /root/teams/VSCode68/Shared Documents/node_modules/@types: {"pollingInterval":500} +/root/teams/VSCode68/Shared Documents/tsconfig.d.ts: + {"pollingInterval":2000} +/root/teams/VSCode68/Shared Documents/tsconfig.js: + {"pollingInterval":2000} /root/teams/VSCode68/Shared Documents/tsconfig.json: {"pollingInterval":2000} +/root/teams/VSCode68/Shared Documents/tsconfig.ts: + {"pollingInterval":2000} /root/teams/VSCode68/node_modules/@types: {"pollingInterval":500} diff --git a/tests/baselines/reference/tsserver/configFileSearch/when-projectRootPath-is-present-but-file-is-not-from-project-root.js b/tests/baselines/reference/tsserver/configFileSearch/when-projectRootPath-is-present-but-file-is-not-from-project-root.js index 8703d7c691ce3..2e7ead00bef13 100644 --- a/tests/baselines/reference/tsserver/configFileSearch/when-projectRootPath-is-present-but-file-is-not-from-project-root.js +++ b/tests/baselines/reference/tsserver/configFileSearch/when-projectRootPath-is-present-but-file-is-not-from-project-root.js @@ -30,10 +30,19 @@ Info seq [hh:mm:ss:mss] request: } Info seq [hh:mm:ss:mss] Search path: /root/teams/VSCode68/Shared Documents/General/jt-ts-test-workspace Info seq [hh:mm:ss:mss] For info: /root/teams/VSCode68/Shared Documents/General/jt-ts-test-workspace/x.js :: No config files found. +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /root/teams/VSCode68/Shared Documents/General/jt-ts-test-workspace/tsconfig.d.ts 2000 undefined WatchType: Config file for the inferred project root +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /root/teams/VSCode68/Shared Documents/General/jt-ts-test-workspace/tsconfig.ts 2000 undefined WatchType: Config file for the inferred project root +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /root/teams/VSCode68/Shared Documents/General/jt-ts-test-workspace/tsconfig.js 2000 undefined WatchType: Config file for the inferred project root Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /root/teams/VSCode68/Shared Documents/General/jt-ts-test-workspace/tsconfig.json 2000 undefined WatchType: Config file for the inferred project root Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /root/teams/VSCode68/Shared Documents/General/jt-ts-test-workspace/jsconfig.json 2000 undefined WatchType: Config file for the inferred project root +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /root/teams/VSCode68/Shared Documents/General/tsconfig.d.ts 2000 undefined WatchType: Config file for the inferred project root +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /root/teams/VSCode68/Shared Documents/General/tsconfig.ts 2000 undefined WatchType: Config file for the inferred project root +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /root/teams/VSCode68/Shared Documents/General/tsconfig.js 2000 undefined WatchType: Config file for the inferred project root Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /root/teams/VSCode68/Shared Documents/General/tsconfig.json 2000 undefined WatchType: Config file for the inferred project root Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /root/teams/VSCode68/Shared Documents/General/jsconfig.json 2000 undefined WatchType: Config file for the inferred project root +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /root/teams/VSCode68/Shared Documents/tsconfig.d.ts 2000 undefined WatchType: Config file for the inferred project root +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /root/teams/VSCode68/Shared Documents/tsconfig.ts 2000 undefined WatchType: Config file for the inferred project root +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /root/teams/VSCode68/Shared Documents/tsconfig.js 2000 undefined WatchType: Config file for the inferred project root Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /root/teams/VSCode68/Shared Documents/tsconfig.json 2000 undefined WatchType: Config file for the inferred project root Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /root/teams/VSCode68/Shared Documents/jsconfig.json 2000 undefined WatchType: Config file for the inferred project root Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/inferredProject1* @@ -68,18 +77,36 @@ PolledWatches:: {"pollingInterval":2000} /root/teams/VSCode68/Shared Documents/General/jt-ts-test-workspace/node_modules/@types: *new* {"pollingInterval":500} +/root/teams/VSCode68/Shared Documents/General/jt-ts-test-workspace/tsconfig.d.ts: *new* + {"pollingInterval":2000} +/root/teams/VSCode68/Shared Documents/General/jt-ts-test-workspace/tsconfig.js: *new* + {"pollingInterval":2000} /root/teams/VSCode68/Shared Documents/General/jt-ts-test-workspace/tsconfig.json: *new* {"pollingInterval":2000} +/root/teams/VSCode68/Shared Documents/General/jt-ts-test-workspace/tsconfig.ts: *new* + {"pollingInterval":2000} /root/teams/VSCode68/Shared Documents/General/node_modules/@types: *new* {"pollingInterval":500} +/root/teams/VSCode68/Shared Documents/General/tsconfig.d.ts: *new* + {"pollingInterval":2000} +/root/teams/VSCode68/Shared Documents/General/tsconfig.js: *new* + {"pollingInterval":2000} /root/teams/VSCode68/Shared Documents/General/tsconfig.json: *new* {"pollingInterval":2000} +/root/teams/VSCode68/Shared Documents/General/tsconfig.ts: *new* + {"pollingInterval":2000} /root/teams/VSCode68/Shared Documents/jsconfig.json: *new* {"pollingInterval":2000} /root/teams/VSCode68/Shared Documents/node_modules/@types: *new* {"pollingInterval":500} +/root/teams/VSCode68/Shared Documents/tsconfig.d.ts: *new* + {"pollingInterval":2000} +/root/teams/VSCode68/Shared Documents/tsconfig.js: *new* + {"pollingInterval":2000} /root/teams/VSCode68/Shared Documents/tsconfig.json: *new* {"pollingInterval":2000} +/root/teams/VSCode68/Shared Documents/tsconfig.ts: *new* + {"pollingInterval":2000} /root/teams/VSCode68/node_modules/@types: *new* {"pollingInterval":500} @@ -240,18 +267,36 @@ PolledWatches:: {"pollingInterval":500} /root/teams/VSCode68/Shared Documents/General/jt-ts-test-workspace/node_modules/@types: {"pollingInterval":500} +/root/teams/VSCode68/Shared Documents/General/jt-ts-test-workspace/tsconfig.d.ts: + {"pollingInterval":2000} +/root/teams/VSCode68/Shared Documents/General/jt-ts-test-workspace/tsconfig.js: + {"pollingInterval":2000} /root/teams/VSCode68/Shared Documents/General/jt-ts-test-workspace/tsconfig.json: {"pollingInterval":2000} +/root/teams/VSCode68/Shared Documents/General/jt-ts-test-workspace/tsconfig.ts: + {"pollingInterval":2000} /root/teams/VSCode68/Shared Documents/General/node_modules/@types: {"pollingInterval":500} +/root/teams/VSCode68/Shared Documents/General/tsconfig.d.ts: + {"pollingInterval":2000} +/root/teams/VSCode68/Shared Documents/General/tsconfig.js: + {"pollingInterval":2000} /root/teams/VSCode68/Shared Documents/General/tsconfig.json: {"pollingInterval":2000} +/root/teams/VSCode68/Shared Documents/General/tsconfig.ts: + {"pollingInterval":2000} /root/teams/VSCode68/Shared Documents/jsconfig.json: {"pollingInterval":2000} /root/teams/VSCode68/Shared Documents/node_modules/@types: {"pollingInterval":500} +/root/teams/VSCode68/Shared Documents/tsconfig.d.ts: + {"pollingInterval":2000} +/root/teams/VSCode68/Shared Documents/tsconfig.js: + {"pollingInterval":2000} /root/teams/VSCode68/Shared Documents/tsconfig.json: {"pollingInterval":2000} +/root/teams/VSCode68/Shared Documents/tsconfig.ts: + {"pollingInterval":2000} /root/teams/VSCode68/node_modules/@types: {"pollingInterval":500} diff --git a/tests/baselines/reference/tsserver/configuredProjects/add-and-then-remove-a-config-file-in-a-folder-with-loose-files.js b/tests/baselines/reference/tsserver/configuredProjects/add-and-then-remove-a-config-file-in-a-folder-with-loose-files.js index dbf64b75881fe..113ba9f847849 100644 --- a/tests/baselines/reference/tsserver/configuredProjects/add-and-then-remove-a-config-file-in-a-folder-with-loose-files.js +++ b/tests/baselines/reference/tsserver/configuredProjects/add-and-then-remove-a-config-file-in-a-folder-with-loose-files.js @@ -32,6 +32,9 @@ Info seq [hh:mm:ss:mss] request: } Info seq [hh:mm:ss:mss] Search path: /user/username/projects/myproject Info seq [hh:mm:ss:mss] For info: /user/username/projects/myproject/commonFile1.ts :: No config files found. +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/tsconfig.d.ts 2000 undefined WatchType: Config file for the inferred project root +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/tsconfig.ts 2000 undefined WatchType: Config file for the inferred project root +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/tsconfig.js 2000 undefined WatchType: Config file for the inferred project root Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/tsconfig.json 2000 undefined WatchType: Config file for the inferred project root Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/jsconfig.json 2000 undefined WatchType: Config file for the inferred project root Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/inferredProject1* @@ -71,8 +74,14 @@ PolledWatches:: {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: *new* {"pollingInterval":500} +/user/username/projects/myproject/tsconfig.d.ts: *new* + {"pollingInterval":2000} +/user/username/projects/myproject/tsconfig.js: *new* + {"pollingInterval":2000} /user/username/projects/myproject/tsconfig.json: *new* {"pollingInterval":2000} +/user/username/projects/myproject/tsconfig.ts: *new* + {"pollingInterval":2000} /user/username/projects/node_modules/@types: *new* {"pollingInterval":500} @@ -199,6 +208,12 @@ PolledWatches:: {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} +/user/username/projects/myproject/tsconfig.d.ts: + {"pollingInterval":2000} +/user/username/projects/myproject/tsconfig.js: + {"pollingInterval":2000} +/user/username/projects/myproject/tsconfig.ts: + {"pollingInterval":2000} /user/username/projects/node_modules/@types: {"pollingInterval":500} diff --git a/tests/baselines/reference/tsserver/configuredProjects/creating-new-file-and-then-open-it-after-watcher-is-invoked,-ask-errors-on-it-after-old-one-without-file-being-in-config.js b/tests/baselines/reference/tsserver/configuredProjects/creating-new-file-and-then-open-it-after-watcher-is-invoked,-ask-errors-on-it-after-old-one-without-file-being-in-config.js index 9dde731c34959..a495ce760e4a3 100644 --- a/tests/baselines/reference/tsserver/configuredProjects/creating-new-file-and-then-open-it-after-watcher-is-invoked,-ask-errors-on-it-after-old-one-without-file-being-in-config.js +++ b/tests/baselines/reference/tsserver/configuredProjects/creating-new-file-and-then-open-it-after-watcher-is-invoked,-ask-errors-on-it-after-old-one-without-file-being-in-config.js @@ -233,10 +233,19 @@ Info seq [hh:mm:ss:mss] event: "diagnostics": [] } } +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/src/sub/tsconfig.d.ts 2000 undefined WatchType: Config file for the inferred project root +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/src/sub/tsconfig.ts 2000 undefined WatchType: Config file for the inferred project root +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/src/sub/tsconfig.js 2000 undefined WatchType: Config file for the inferred project root Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/src/sub/tsconfig.json 2000 undefined WatchType: Config file for the inferred project root Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/src/sub/jsconfig.json 2000 undefined WatchType: Config file for the inferred project root +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/src/tsconfig.d.ts 2000 undefined WatchType: Config file for the inferred project root +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/src/tsconfig.ts 2000 undefined WatchType: Config file for the inferred project root +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/src/tsconfig.js 2000 undefined WatchType: Config file for the inferred project root Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/src/tsconfig.json 2000 undefined WatchType: Config file for the inferred project root Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/src/jsconfig.json 2000 undefined WatchType: Config file for the inferred project root +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/tsconfig.d.ts 2000 undefined WatchType: Config file for the inferred project root +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/tsconfig.ts 2000 undefined WatchType: Config file for the inferred project root +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/tsconfig.js 2000 undefined WatchType: Config file for the inferred project root Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/jsconfig.json 2000 undefined WatchType: Config file for the inferred project root Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/inferredProject1* Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/src/sub/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots @@ -292,10 +301,28 @@ PolledWatches:: {"pollingInterval":2000} /user/username/projects/myproject/src/sub/node_modules/@types: *new* {"pollingInterval":500} +/user/username/projects/myproject/src/sub/tsconfig.d.ts: *new* + {"pollingInterval":2000} +/user/username/projects/myproject/src/sub/tsconfig.js: *new* + {"pollingInterval":2000} /user/username/projects/myproject/src/sub/tsconfig.json: *new* {"pollingInterval":2000} +/user/username/projects/myproject/src/sub/tsconfig.ts: *new* + {"pollingInterval":2000} +/user/username/projects/myproject/src/tsconfig.d.ts: *new* + {"pollingInterval":2000} +/user/username/projects/myproject/src/tsconfig.js: *new* + {"pollingInterval":2000} /user/username/projects/myproject/src/tsconfig.json: *new* {"pollingInterval":2000} +/user/username/projects/myproject/src/tsconfig.ts: *new* + {"pollingInterval":2000} +/user/username/projects/myproject/tsconfig.d.ts: *new* + {"pollingInterval":2000} +/user/username/projects/myproject/tsconfig.js: *new* + {"pollingInterval":2000} +/user/username/projects/myproject/tsconfig.ts: *new* + {"pollingInterval":2000} /user/username/projects/node_modules/@types: {"pollingInterval":500} diff --git a/tests/baselines/reference/tsserver/configuredProjects/creating-new-file-and-then-open-it-after-watcher-is-invoked,-ask-errors-on-it-before-old-one-without-file-being-in-config.js b/tests/baselines/reference/tsserver/configuredProjects/creating-new-file-and-then-open-it-after-watcher-is-invoked,-ask-errors-on-it-before-old-one-without-file-being-in-config.js index a336169d433ff..e724a857cb98b 100644 --- a/tests/baselines/reference/tsserver/configuredProjects/creating-new-file-and-then-open-it-after-watcher-is-invoked,-ask-errors-on-it-before-old-one-without-file-being-in-config.js +++ b/tests/baselines/reference/tsserver/configuredProjects/creating-new-file-and-then-open-it-after-watcher-is-invoked,-ask-errors-on-it-before-old-one-without-file-being-in-config.js @@ -233,10 +233,19 @@ Info seq [hh:mm:ss:mss] event: "diagnostics": [] } } +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/src/sub/tsconfig.d.ts 2000 undefined WatchType: Config file for the inferred project root +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/src/sub/tsconfig.ts 2000 undefined WatchType: Config file for the inferred project root +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/src/sub/tsconfig.js 2000 undefined WatchType: Config file for the inferred project root Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/src/sub/tsconfig.json 2000 undefined WatchType: Config file for the inferred project root Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/src/sub/jsconfig.json 2000 undefined WatchType: Config file for the inferred project root +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/src/tsconfig.d.ts 2000 undefined WatchType: Config file for the inferred project root +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/src/tsconfig.ts 2000 undefined WatchType: Config file for the inferred project root +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/src/tsconfig.js 2000 undefined WatchType: Config file for the inferred project root Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/src/tsconfig.json 2000 undefined WatchType: Config file for the inferred project root Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/src/jsconfig.json 2000 undefined WatchType: Config file for the inferred project root +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/tsconfig.d.ts 2000 undefined WatchType: Config file for the inferred project root +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/tsconfig.ts 2000 undefined WatchType: Config file for the inferred project root +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/tsconfig.js 2000 undefined WatchType: Config file for the inferred project root Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/jsconfig.json 2000 undefined WatchType: Config file for the inferred project root Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/inferredProject1* Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/src/sub/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots @@ -292,10 +301,28 @@ PolledWatches:: {"pollingInterval":2000} /user/username/projects/myproject/src/sub/node_modules/@types: *new* {"pollingInterval":500} +/user/username/projects/myproject/src/sub/tsconfig.d.ts: *new* + {"pollingInterval":2000} +/user/username/projects/myproject/src/sub/tsconfig.js: *new* + {"pollingInterval":2000} /user/username/projects/myproject/src/sub/tsconfig.json: *new* {"pollingInterval":2000} +/user/username/projects/myproject/src/sub/tsconfig.ts: *new* + {"pollingInterval":2000} +/user/username/projects/myproject/src/tsconfig.d.ts: *new* + {"pollingInterval":2000} +/user/username/projects/myproject/src/tsconfig.js: *new* + {"pollingInterval":2000} /user/username/projects/myproject/src/tsconfig.json: *new* {"pollingInterval":2000} +/user/username/projects/myproject/src/tsconfig.ts: *new* + {"pollingInterval":2000} +/user/username/projects/myproject/tsconfig.d.ts: *new* + {"pollingInterval":2000} +/user/username/projects/myproject/tsconfig.js: *new* + {"pollingInterval":2000} +/user/username/projects/myproject/tsconfig.ts: *new* + {"pollingInterval":2000} /user/username/projects/node_modules/@types: {"pollingInterval":500} diff --git a/tests/baselines/reference/tsserver/configuredProjects/creating-new-file-and-then-open-it-before-watcher-is-invoked,-ask-errors-on-it-after-old-one-without-file-being-in-config.js b/tests/baselines/reference/tsserver/configuredProjects/creating-new-file-and-then-open-it-before-watcher-is-invoked,-ask-errors-on-it-after-old-one-without-file-being-in-config.js index 9bd71e1654cda..636dcca2bb6e0 100644 --- a/tests/baselines/reference/tsserver/configuredProjects/creating-new-file-and-then-open-it-before-watcher-is-invoked,-ask-errors-on-it-after-old-one-without-file-being-in-config.js +++ b/tests/baselines/reference/tsserver/configuredProjects/creating-new-file-and-then-open-it-before-watcher-is-invoked,-ask-errors-on-it-after-old-one-without-file-being-in-config.js @@ -227,10 +227,19 @@ Info seq [hh:mm:ss:mss] event: "diagnostics": [] } } +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/src/sub/tsconfig.d.ts 2000 undefined WatchType: Config file for the inferred project root +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/src/sub/tsconfig.ts 2000 undefined WatchType: Config file for the inferred project root +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/src/sub/tsconfig.js 2000 undefined WatchType: Config file for the inferred project root Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/src/sub/tsconfig.json 2000 undefined WatchType: Config file for the inferred project root Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/src/sub/jsconfig.json 2000 undefined WatchType: Config file for the inferred project root +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/src/tsconfig.d.ts 2000 undefined WatchType: Config file for the inferred project root +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/src/tsconfig.ts 2000 undefined WatchType: Config file for the inferred project root +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/src/tsconfig.js 2000 undefined WatchType: Config file for the inferred project root Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/src/tsconfig.json 2000 undefined WatchType: Config file for the inferred project root Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/src/jsconfig.json 2000 undefined WatchType: Config file for the inferred project root +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/tsconfig.d.ts 2000 undefined WatchType: Config file for the inferred project root +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/tsconfig.ts 2000 undefined WatchType: Config file for the inferred project root +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/tsconfig.js 2000 undefined WatchType: Config file for the inferred project root Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/jsconfig.json 2000 undefined WatchType: Config file for the inferred project root Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/inferredProject1* Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/src/sub/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots @@ -286,10 +295,28 @@ PolledWatches:: {"pollingInterval":2000} /user/username/projects/myproject/src/sub/node_modules/@types: *new* {"pollingInterval":500} +/user/username/projects/myproject/src/sub/tsconfig.d.ts: *new* + {"pollingInterval":2000} +/user/username/projects/myproject/src/sub/tsconfig.js: *new* + {"pollingInterval":2000} /user/username/projects/myproject/src/sub/tsconfig.json: *new* {"pollingInterval":2000} +/user/username/projects/myproject/src/sub/tsconfig.ts: *new* + {"pollingInterval":2000} +/user/username/projects/myproject/src/tsconfig.d.ts: *new* + {"pollingInterval":2000} +/user/username/projects/myproject/src/tsconfig.js: *new* + {"pollingInterval":2000} /user/username/projects/myproject/src/tsconfig.json: *new* {"pollingInterval":2000} +/user/username/projects/myproject/src/tsconfig.ts: *new* + {"pollingInterval":2000} +/user/username/projects/myproject/tsconfig.d.ts: *new* + {"pollingInterval":2000} +/user/username/projects/myproject/tsconfig.js: *new* + {"pollingInterval":2000} +/user/username/projects/myproject/tsconfig.ts: *new* + {"pollingInterval":2000} /user/username/projects/node_modules/@types: {"pollingInterval":500} diff --git a/tests/baselines/reference/tsserver/configuredProjects/creating-new-file-and-then-open-it-before-watcher-is-invoked,-ask-errors-on-it-after-old-one.js b/tests/baselines/reference/tsserver/configuredProjects/creating-new-file-and-then-open-it-before-watcher-is-invoked,-ask-errors-on-it-after-old-one.js index 4f8792a7733c5..a28324cd32f41 100644 --- a/tests/baselines/reference/tsserver/configuredProjects/creating-new-file-and-then-open-it-before-watcher-is-invoked,-ask-errors-on-it-after-old-one.js +++ b/tests/baselines/reference/tsserver/configuredProjects/creating-new-file-and-then-open-it-before-watcher-is-invoked,-ask-errors-on-it-after-old-one.js @@ -224,10 +224,19 @@ Info seq [hh:mm:ss:mss] event: "diagnostics": [] } } +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/src/sub/tsconfig.d.ts 2000 undefined WatchType: Config file for the inferred project root +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/src/sub/tsconfig.ts 2000 undefined WatchType: Config file for the inferred project root +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/src/sub/tsconfig.js 2000 undefined WatchType: Config file for the inferred project root Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/src/sub/tsconfig.json 2000 undefined WatchType: Config file for the inferred project root Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/src/sub/jsconfig.json 2000 undefined WatchType: Config file for the inferred project root +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/src/tsconfig.d.ts 2000 undefined WatchType: Config file for the inferred project root +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/src/tsconfig.ts 2000 undefined WatchType: Config file for the inferred project root +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/src/tsconfig.js 2000 undefined WatchType: Config file for the inferred project root Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/src/tsconfig.json 2000 undefined WatchType: Config file for the inferred project root Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/src/jsconfig.json 2000 undefined WatchType: Config file for the inferred project root +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/tsconfig.d.ts 2000 undefined WatchType: Config file for the inferred project root +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/tsconfig.ts 2000 undefined WatchType: Config file for the inferred project root +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/tsconfig.js 2000 undefined WatchType: Config file for the inferred project root Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/jsconfig.json 2000 undefined WatchType: Config file for the inferred project root Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/inferredProject1* Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/src/sub/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots @@ -283,10 +292,28 @@ PolledWatches:: {"pollingInterval":2000} /user/username/projects/myproject/src/sub/node_modules/@types: *new* {"pollingInterval":500} +/user/username/projects/myproject/src/sub/tsconfig.d.ts: *new* + {"pollingInterval":2000} +/user/username/projects/myproject/src/sub/tsconfig.js: *new* + {"pollingInterval":2000} /user/username/projects/myproject/src/sub/tsconfig.json: *new* {"pollingInterval":2000} +/user/username/projects/myproject/src/sub/tsconfig.ts: *new* + {"pollingInterval":2000} +/user/username/projects/myproject/src/tsconfig.d.ts: *new* + {"pollingInterval":2000} +/user/username/projects/myproject/src/tsconfig.js: *new* + {"pollingInterval":2000} /user/username/projects/myproject/src/tsconfig.json: *new* {"pollingInterval":2000} +/user/username/projects/myproject/src/tsconfig.ts: *new* + {"pollingInterval":2000} +/user/username/projects/myproject/tsconfig.d.ts: *new* + {"pollingInterval":2000} +/user/username/projects/myproject/tsconfig.js: *new* + {"pollingInterval":2000} +/user/username/projects/myproject/tsconfig.ts: *new* + {"pollingInterval":2000} /user/username/projects/node_modules/@types: {"pollingInterval":500} @@ -381,10 +408,19 @@ Before running Timeout callback:: count: 3 3: checkOne Invoking Timeout callback:: timeoutId:: 3:: checkOne +Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /user/username/projects/myproject/src/sub/tsconfig.d.ts 2000 undefined WatchType: Config file for the inferred project root +Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /user/username/projects/myproject/src/sub/tsconfig.ts 2000 undefined WatchType: Config file for the inferred project root +Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /user/username/projects/myproject/src/sub/tsconfig.js 2000 undefined WatchType: Config file for the inferred project root Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /user/username/projects/myproject/src/sub/tsconfig.json 2000 undefined WatchType: Config file for the inferred project root Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /user/username/projects/myproject/src/sub/jsconfig.json 2000 undefined WatchType: Config file for the inferred project root +Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /user/username/projects/myproject/src/tsconfig.d.ts 2000 undefined WatchType: Config file for the inferred project root +Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /user/username/projects/myproject/src/tsconfig.ts 2000 undefined WatchType: Config file for the inferred project root +Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /user/username/projects/myproject/src/tsconfig.js 2000 undefined WatchType: Config file for the inferred project root Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /user/username/projects/myproject/src/tsconfig.json 2000 undefined WatchType: Config file for the inferred project root Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /user/username/projects/myproject/src/jsconfig.json 2000 undefined WatchType: Config file for the inferred project root +Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /user/username/projects/myproject/tsconfig.d.ts 2000 undefined WatchType: Config file for the inferred project root +Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /user/username/projects/myproject/tsconfig.ts 2000 undefined WatchType: Config file for the inferred project root +Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /user/username/projects/myproject/tsconfig.js 2000 undefined WatchType: Config file for the inferred project root Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /user/username/projects/myproject/jsconfig.json 2000 undefined WatchType: Config file for the inferred project root Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/tsconfig.json Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/tsconfig.json projectStateVersion: 2 projectProgramVersion: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms @@ -435,10 +471,28 @@ PolledWatches *deleted*:: {"pollingInterval":2000} /user/username/projects/myproject/src/sub/jsconfig.json: {"pollingInterval":2000} +/user/username/projects/myproject/src/sub/tsconfig.d.ts: + {"pollingInterval":2000} +/user/username/projects/myproject/src/sub/tsconfig.js: + {"pollingInterval":2000} /user/username/projects/myproject/src/sub/tsconfig.json: {"pollingInterval":2000} +/user/username/projects/myproject/src/sub/tsconfig.ts: + {"pollingInterval":2000} +/user/username/projects/myproject/src/tsconfig.d.ts: + {"pollingInterval":2000} +/user/username/projects/myproject/src/tsconfig.js: + {"pollingInterval":2000} /user/username/projects/myproject/src/tsconfig.json: {"pollingInterval":2000} +/user/username/projects/myproject/src/tsconfig.ts: + {"pollingInterval":2000} +/user/username/projects/myproject/tsconfig.d.ts: + {"pollingInterval":2000} +/user/username/projects/myproject/tsconfig.js: + {"pollingInterval":2000} +/user/username/projects/myproject/tsconfig.ts: + {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: diff --git a/tests/baselines/reference/tsserver/configuredProjects/creating-new-file-and-then-open-it-before-watcher-is-invoked,-ask-errors-on-it-before-old-one-without-file-being-in-config.js b/tests/baselines/reference/tsserver/configuredProjects/creating-new-file-and-then-open-it-before-watcher-is-invoked,-ask-errors-on-it-before-old-one-without-file-being-in-config.js index 6ff64b7971625..6b0b80fff3b7a 100644 --- a/tests/baselines/reference/tsserver/configuredProjects/creating-new-file-and-then-open-it-before-watcher-is-invoked,-ask-errors-on-it-before-old-one-without-file-being-in-config.js +++ b/tests/baselines/reference/tsserver/configuredProjects/creating-new-file-and-then-open-it-before-watcher-is-invoked,-ask-errors-on-it-before-old-one-without-file-being-in-config.js @@ -227,10 +227,19 @@ Info seq [hh:mm:ss:mss] event: "diagnostics": [] } } +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/src/sub/tsconfig.d.ts 2000 undefined WatchType: Config file for the inferred project root +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/src/sub/tsconfig.ts 2000 undefined WatchType: Config file for the inferred project root +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/src/sub/tsconfig.js 2000 undefined WatchType: Config file for the inferred project root Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/src/sub/tsconfig.json 2000 undefined WatchType: Config file for the inferred project root Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/src/sub/jsconfig.json 2000 undefined WatchType: Config file for the inferred project root +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/src/tsconfig.d.ts 2000 undefined WatchType: Config file for the inferred project root +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/src/tsconfig.ts 2000 undefined WatchType: Config file for the inferred project root +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/src/tsconfig.js 2000 undefined WatchType: Config file for the inferred project root Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/src/tsconfig.json 2000 undefined WatchType: Config file for the inferred project root Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/src/jsconfig.json 2000 undefined WatchType: Config file for the inferred project root +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/tsconfig.d.ts 2000 undefined WatchType: Config file for the inferred project root +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/tsconfig.ts 2000 undefined WatchType: Config file for the inferred project root +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/tsconfig.js 2000 undefined WatchType: Config file for the inferred project root Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/jsconfig.json 2000 undefined WatchType: Config file for the inferred project root Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/inferredProject1* Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/src/sub/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots @@ -286,10 +295,28 @@ PolledWatches:: {"pollingInterval":2000} /user/username/projects/myproject/src/sub/node_modules/@types: *new* {"pollingInterval":500} +/user/username/projects/myproject/src/sub/tsconfig.d.ts: *new* + {"pollingInterval":2000} +/user/username/projects/myproject/src/sub/tsconfig.js: *new* + {"pollingInterval":2000} /user/username/projects/myproject/src/sub/tsconfig.json: *new* {"pollingInterval":2000} +/user/username/projects/myproject/src/sub/tsconfig.ts: *new* + {"pollingInterval":2000} +/user/username/projects/myproject/src/tsconfig.d.ts: *new* + {"pollingInterval":2000} +/user/username/projects/myproject/src/tsconfig.js: *new* + {"pollingInterval":2000} /user/username/projects/myproject/src/tsconfig.json: *new* {"pollingInterval":2000} +/user/username/projects/myproject/src/tsconfig.ts: *new* + {"pollingInterval":2000} +/user/username/projects/myproject/tsconfig.d.ts: *new* + {"pollingInterval":2000} +/user/username/projects/myproject/tsconfig.js: *new* + {"pollingInterval":2000} +/user/username/projects/myproject/tsconfig.ts: *new* + {"pollingInterval":2000} /user/username/projects/node_modules/@types: {"pollingInterval":500} diff --git a/tests/baselines/reference/tsserver/configuredProjects/creating-new-file-and-then-open-it-before-watcher-is-invoked,-ask-errors-on-it-before-old-one.js b/tests/baselines/reference/tsserver/configuredProjects/creating-new-file-and-then-open-it-before-watcher-is-invoked,-ask-errors-on-it-before-old-one.js index 2f4eca17340c2..fedb15f426f0b 100644 --- a/tests/baselines/reference/tsserver/configuredProjects/creating-new-file-and-then-open-it-before-watcher-is-invoked,-ask-errors-on-it-before-old-one.js +++ b/tests/baselines/reference/tsserver/configuredProjects/creating-new-file-and-then-open-it-before-watcher-is-invoked,-ask-errors-on-it-before-old-one.js @@ -224,10 +224,19 @@ Info seq [hh:mm:ss:mss] event: "diagnostics": [] } } +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/src/sub/tsconfig.d.ts 2000 undefined WatchType: Config file for the inferred project root +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/src/sub/tsconfig.ts 2000 undefined WatchType: Config file for the inferred project root +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/src/sub/tsconfig.js 2000 undefined WatchType: Config file for the inferred project root Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/src/sub/tsconfig.json 2000 undefined WatchType: Config file for the inferred project root Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/src/sub/jsconfig.json 2000 undefined WatchType: Config file for the inferred project root +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/src/tsconfig.d.ts 2000 undefined WatchType: Config file for the inferred project root +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/src/tsconfig.ts 2000 undefined WatchType: Config file for the inferred project root +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/src/tsconfig.js 2000 undefined WatchType: Config file for the inferred project root Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/src/tsconfig.json 2000 undefined WatchType: Config file for the inferred project root Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/src/jsconfig.json 2000 undefined WatchType: Config file for the inferred project root +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/tsconfig.d.ts 2000 undefined WatchType: Config file for the inferred project root +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/tsconfig.ts 2000 undefined WatchType: Config file for the inferred project root +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/tsconfig.js 2000 undefined WatchType: Config file for the inferred project root Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/jsconfig.json 2000 undefined WatchType: Config file for the inferred project root Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/inferredProject1* Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/src/sub/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots @@ -283,10 +292,28 @@ PolledWatches:: {"pollingInterval":2000} /user/username/projects/myproject/src/sub/node_modules/@types: *new* {"pollingInterval":500} +/user/username/projects/myproject/src/sub/tsconfig.d.ts: *new* + {"pollingInterval":2000} +/user/username/projects/myproject/src/sub/tsconfig.js: *new* + {"pollingInterval":2000} /user/username/projects/myproject/src/sub/tsconfig.json: *new* {"pollingInterval":2000} +/user/username/projects/myproject/src/sub/tsconfig.ts: *new* + {"pollingInterval":2000} +/user/username/projects/myproject/src/tsconfig.d.ts: *new* + {"pollingInterval":2000} +/user/username/projects/myproject/src/tsconfig.js: *new* + {"pollingInterval":2000} /user/username/projects/myproject/src/tsconfig.json: *new* {"pollingInterval":2000} +/user/username/projects/myproject/src/tsconfig.ts: *new* + {"pollingInterval":2000} +/user/username/projects/myproject/tsconfig.d.ts: *new* + {"pollingInterval":2000} +/user/username/projects/myproject/tsconfig.js: *new* + {"pollingInterval":2000} +/user/username/projects/myproject/tsconfig.ts: *new* + {"pollingInterval":2000} /user/username/projects/node_modules/@types: {"pollingInterval":500} @@ -440,10 +467,19 @@ Before running Timeout callback:: count: 3 4: checkOne Invoking Timeout callback:: timeoutId:: 4:: checkOne +Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /user/username/projects/myproject/src/sub/tsconfig.d.ts 2000 undefined WatchType: Config file for the inferred project root +Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /user/username/projects/myproject/src/sub/tsconfig.ts 2000 undefined WatchType: Config file for the inferred project root +Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /user/username/projects/myproject/src/sub/tsconfig.js 2000 undefined WatchType: Config file for the inferred project root Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /user/username/projects/myproject/src/sub/tsconfig.json 2000 undefined WatchType: Config file for the inferred project root Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /user/username/projects/myproject/src/sub/jsconfig.json 2000 undefined WatchType: Config file for the inferred project root +Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /user/username/projects/myproject/src/tsconfig.d.ts 2000 undefined WatchType: Config file for the inferred project root +Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /user/username/projects/myproject/src/tsconfig.ts 2000 undefined WatchType: Config file for the inferred project root +Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /user/username/projects/myproject/src/tsconfig.js 2000 undefined WatchType: Config file for the inferred project root Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /user/username/projects/myproject/src/tsconfig.json 2000 undefined WatchType: Config file for the inferred project root Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /user/username/projects/myproject/src/jsconfig.json 2000 undefined WatchType: Config file for the inferred project root +Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /user/username/projects/myproject/tsconfig.d.ts 2000 undefined WatchType: Config file for the inferred project root +Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /user/username/projects/myproject/tsconfig.ts 2000 undefined WatchType: Config file for the inferred project root +Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /user/username/projects/myproject/tsconfig.js 2000 undefined WatchType: Config file for the inferred project root Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /user/username/projects/myproject/jsconfig.json 2000 undefined WatchType: Config file for the inferred project root Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/tsconfig.json Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /user/username/projects/myproject/tsconfig.json projectStateVersion: 2 projectProgramVersion: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms @@ -494,10 +530,28 @@ PolledWatches *deleted*:: {"pollingInterval":2000} /user/username/projects/myproject/src/sub/jsconfig.json: {"pollingInterval":2000} +/user/username/projects/myproject/src/sub/tsconfig.d.ts: + {"pollingInterval":2000} +/user/username/projects/myproject/src/sub/tsconfig.js: + {"pollingInterval":2000} /user/username/projects/myproject/src/sub/tsconfig.json: {"pollingInterval":2000} +/user/username/projects/myproject/src/sub/tsconfig.ts: + {"pollingInterval":2000} +/user/username/projects/myproject/src/tsconfig.d.ts: + {"pollingInterval":2000} +/user/username/projects/myproject/src/tsconfig.js: + {"pollingInterval":2000} /user/username/projects/myproject/src/tsconfig.json: {"pollingInterval":2000} +/user/username/projects/myproject/src/tsconfig.ts: + {"pollingInterval":2000} +/user/username/projects/myproject/tsconfig.d.ts: + {"pollingInterval":2000} +/user/username/projects/myproject/tsconfig.js: + {"pollingInterval":2000} +/user/username/projects/myproject/tsconfig.ts: + {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: diff --git a/tests/baselines/reference/tsserver/configuredProjects/open-file-become-a-part-of-configured-project-if-it-is-referenced-from-root-file.js b/tests/baselines/reference/tsserver/configuredProjects/open-file-become-a-part-of-configured-project-if-it-is-referenced-from-root-file.js index c4fb05cedfea4..6673d27736f82 100644 --- a/tests/baselines/reference/tsserver/configuredProjects/open-file-become-a-part-of-configured-project-if-it-is-referenced-from-root-file.js +++ b/tests/baselines/reference/tsserver/configuredProjects/open-file-become-a-part-of-configured-project-if-it-is-referenced-from-root-file.js @@ -22,10 +22,19 @@ Info seq [hh:mm:ss:mss] request: } Info seq [hh:mm:ss:mss] Search path: /user/username/projects/myproject/a/b Info seq [hh:mm:ss:mss] For info: /user/username/projects/myproject/a/b/f1.ts :: No config files found. +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/a/b/tsconfig.d.ts 2000 undefined WatchType: Config file for the inferred project root +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/a/b/tsconfig.ts 2000 undefined WatchType: Config file for the inferred project root +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/a/b/tsconfig.js 2000 undefined WatchType: Config file for the inferred project root Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/a/b/tsconfig.json 2000 undefined WatchType: Config file for the inferred project root Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/a/b/jsconfig.json 2000 undefined WatchType: Config file for the inferred project root +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/a/tsconfig.d.ts 2000 undefined WatchType: Config file for the inferred project root +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/a/tsconfig.ts 2000 undefined WatchType: Config file for the inferred project root +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/a/tsconfig.js 2000 undefined WatchType: Config file for the inferred project root Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/a/tsconfig.json 2000 undefined WatchType: Config file for the inferred project root Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/a/jsconfig.json 2000 undefined WatchType: Config file for the inferred project root +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/tsconfig.d.ts 2000 undefined WatchType: Config file for the inferred project root +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/tsconfig.ts 2000 undefined WatchType: Config file for the inferred project root +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/tsconfig.js 2000 undefined WatchType: Config file for the inferred project root Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/tsconfig.json 2000 undefined WatchType: Config file for the inferred project root Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/jsconfig.json 2000 undefined WatchType: Config file for the inferred project root Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/inferredProject1* @@ -68,20 +77,38 @@ PolledWatches:: {"pollingInterval":2000} /user/username/projects/myproject/a/b/node_modules/@types: *new* {"pollingInterval":500} +/user/username/projects/myproject/a/b/tsconfig.d.ts: *new* + {"pollingInterval":2000} +/user/username/projects/myproject/a/b/tsconfig.js: *new* + {"pollingInterval":2000} /user/username/projects/myproject/a/b/tsconfig.json: *new* {"pollingInterval":2000} +/user/username/projects/myproject/a/b/tsconfig.ts: *new* + {"pollingInterval":2000} /user/username/projects/myproject/a/jsconfig.json: *new* {"pollingInterval":2000} /user/username/projects/myproject/a/node_modules/@types: *new* {"pollingInterval":500} +/user/username/projects/myproject/a/tsconfig.d.ts: *new* + {"pollingInterval":2000} +/user/username/projects/myproject/a/tsconfig.js: *new* + {"pollingInterval":2000} /user/username/projects/myproject/a/tsconfig.json: *new* {"pollingInterval":2000} +/user/username/projects/myproject/a/tsconfig.ts: *new* + {"pollingInterval":2000} /user/username/projects/myproject/jsconfig.json: *new* {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: *new* {"pollingInterval":500} +/user/username/projects/myproject/tsconfig.d.ts: *new* + {"pollingInterval":2000} +/user/username/projects/myproject/tsconfig.js: *new* + {"pollingInterval":2000} /user/username/projects/myproject/tsconfig.json: *new* {"pollingInterval":2000} +/user/username/projects/myproject/tsconfig.ts: *new* + {"pollingInterval":2000} /user/username/projects/node_modules/@types: *new* {"pollingInterval":500} @@ -109,6 +136,9 @@ Info seq [hh:mm:ss:mss] request: } Info seq [hh:mm:ss:mss] Search path: /user/username/projects/myproject/a/c Info seq [hh:mm:ss:mss] For info: /user/username/projects/myproject/a/c/f3.ts :: No config files found. +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/a/c/tsconfig.d.ts 2000 undefined WatchType: Config file for the inferred project root +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/a/c/tsconfig.ts 2000 undefined WatchType: Config file for the inferred project root +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/a/c/tsconfig.js 2000 undefined WatchType: Config file for the inferred project root Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/a/c/tsconfig.json 2000 undefined WatchType: Config file for the inferred project root Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/a/c/jsconfig.json 2000 undefined WatchType: Config file for the inferred project root Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/inferredProject2* @@ -157,26 +187,50 @@ PolledWatches:: {"pollingInterval":2000} /user/username/projects/myproject/a/b/node_modules/@types: {"pollingInterval":500} +/user/username/projects/myproject/a/b/tsconfig.d.ts: + {"pollingInterval":2000} +/user/username/projects/myproject/a/b/tsconfig.js: + {"pollingInterval":2000} /user/username/projects/myproject/a/b/tsconfig.json: {"pollingInterval":2000} +/user/username/projects/myproject/a/b/tsconfig.ts: + {"pollingInterval":2000} /user/username/projects/myproject/a/c/jsconfig.json: *new* {"pollingInterval":2000} /user/username/projects/myproject/a/c/node_modules/@types: *new* {"pollingInterval":500} +/user/username/projects/myproject/a/c/tsconfig.d.ts: *new* + {"pollingInterval":2000} +/user/username/projects/myproject/a/c/tsconfig.js: *new* + {"pollingInterval":2000} /user/username/projects/myproject/a/c/tsconfig.json: *new* {"pollingInterval":2000} +/user/username/projects/myproject/a/c/tsconfig.ts: *new* + {"pollingInterval":2000} /user/username/projects/myproject/a/jsconfig.json: {"pollingInterval":2000} /user/username/projects/myproject/a/node_modules/@types: {"pollingInterval":500} +/user/username/projects/myproject/a/tsconfig.d.ts: + {"pollingInterval":2000} +/user/username/projects/myproject/a/tsconfig.js: + {"pollingInterval":2000} /user/username/projects/myproject/a/tsconfig.json: {"pollingInterval":2000} +/user/username/projects/myproject/a/tsconfig.ts: + {"pollingInterval":2000} /user/username/projects/myproject/jsconfig.json: {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} +/user/username/projects/myproject/tsconfig.d.ts: + {"pollingInterval":2000} +/user/username/projects/myproject/tsconfig.js: + {"pollingInterval":2000} /user/username/projects/myproject/tsconfig.json: {"pollingInterval":2000} +/user/username/projects/myproject/tsconfig.ts: + {"pollingInterval":2000} /user/username/projects/node_modules/@types: {"pollingInterval":500} @@ -231,24 +285,48 @@ PolledWatches:: {"pollingInterval":2000} /user/username/projects/myproject/a/b/node_modules/@types: {"pollingInterval":500} +/user/username/projects/myproject/a/b/tsconfig.d.ts: + {"pollingInterval":2000} +/user/username/projects/myproject/a/b/tsconfig.js: + {"pollingInterval":2000} /user/username/projects/myproject/a/b/tsconfig.json: {"pollingInterval":2000} +/user/username/projects/myproject/a/b/tsconfig.ts: + {"pollingInterval":2000} /user/username/projects/myproject/a/c/jsconfig.json: {"pollingInterval":2000} /user/username/projects/myproject/a/c/node_modules/@types: {"pollingInterval":500} +/user/username/projects/myproject/a/c/tsconfig.d.ts: + {"pollingInterval":2000} +/user/username/projects/myproject/a/c/tsconfig.js: + {"pollingInterval":2000} +/user/username/projects/myproject/a/c/tsconfig.ts: + {"pollingInterval":2000} /user/username/projects/myproject/a/jsconfig.json: {"pollingInterval":2000} /user/username/projects/myproject/a/node_modules/@types: {"pollingInterval":500} +/user/username/projects/myproject/a/tsconfig.d.ts: + {"pollingInterval":2000} +/user/username/projects/myproject/a/tsconfig.js: + {"pollingInterval":2000} /user/username/projects/myproject/a/tsconfig.json: {"pollingInterval":2000} +/user/username/projects/myproject/a/tsconfig.ts: + {"pollingInterval":2000} /user/username/projects/myproject/jsconfig.json: {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} +/user/username/projects/myproject/tsconfig.d.ts: + {"pollingInterval":2000} +/user/username/projects/myproject/tsconfig.js: + {"pollingInterval":2000} /user/username/projects/myproject/tsconfig.json: {"pollingInterval":2000} +/user/username/projects/myproject/tsconfig.ts: + {"pollingInterval":2000} /user/username/projects/node_modules/@types: {"pollingInterval":500} @@ -298,6 +376,9 @@ Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/a/c/tsconfig. } } Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/a/c/f2.ts 500 undefined WatchType: Closed Script info +Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /user/username/projects/myproject/a/c/tsconfig.d.ts 2000 undefined WatchType: Config file for the inferred project root +Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /user/username/projects/myproject/a/c/tsconfig.ts 2000 undefined WatchType: Config file for the inferred project root +Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /user/username/projects/myproject/a/c/tsconfig.js 2000 undefined WatchType: Config file for the inferred project root Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /user/username/projects/myproject/a/c/jsconfig.json 2000 undefined WatchType: Config file for the inferred project root Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/a/c/tsconfig.json Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/lib/lib.d.ts 500 undefined Project: /user/username/projects/myproject/a/c/tsconfig.json WatchType: Missing file @@ -451,10 +532,19 @@ Info seq [hh:mm:ss:mss] FileName: /user/username/projects/myproject/a/b/f1.ts Info seq [hh:mm:ss:mss] Projects: /dev/null/inferredProject1*,/user/username/projects/myproject/a/c/tsconfig.json Info seq [hh:mm:ss:mss] FileName: /user/username/projects/myproject/a/c/f3.ts ProjectRootPath: undefined Info seq [hh:mm:ss:mss] Projects: /user/username/projects/myproject/a/c/tsconfig.json +Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /user/username/projects/myproject/a/b/tsconfig.d.ts 2000 undefined WatchType: Config file for the inferred project root +Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /user/username/projects/myproject/a/b/tsconfig.ts 2000 undefined WatchType: Config file for the inferred project root +Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /user/username/projects/myproject/a/b/tsconfig.js 2000 undefined WatchType: Config file for the inferred project root Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /user/username/projects/myproject/a/b/tsconfig.json 2000 undefined WatchType: Config file for the inferred project root Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /user/username/projects/myproject/a/b/jsconfig.json 2000 undefined WatchType: Config file for the inferred project root +Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /user/username/projects/myproject/a/tsconfig.d.ts 2000 undefined WatchType: Config file for the inferred project root +Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /user/username/projects/myproject/a/tsconfig.ts 2000 undefined WatchType: Config file for the inferred project root +Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /user/username/projects/myproject/a/tsconfig.js 2000 undefined WatchType: Config file for the inferred project root Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /user/username/projects/myproject/a/tsconfig.json 2000 undefined WatchType: Config file for the inferred project root Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /user/username/projects/myproject/a/jsconfig.json 2000 undefined WatchType: Config file for the inferred project root +Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /user/username/projects/myproject/tsconfig.d.ts 2000 undefined WatchType: Config file for the inferred project root +Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /user/username/projects/myproject/tsconfig.ts 2000 undefined WatchType: Config file for the inferred project root +Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /user/username/projects/myproject/tsconfig.js 2000 undefined WatchType: Config file for the inferred project root Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /user/username/projects/myproject/tsconfig.json 2000 undefined WatchType: Config file for the inferred project root Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /user/username/projects/myproject/jsconfig.json 2000 undefined WatchType: Config file for the inferred project root Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/inferredProject1* @@ -525,18 +615,42 @@ PolledWatches:: PolledWatches *deleted*:: /user/username/projects/myproject/a/b/jsconfig.json: {"pollingInterval":2000} +/user/username/projects/myproject/a/b/tsconfig.d.ts: + {"pollingInterval":2000} +/user/username/projects/myproject/a/b/tsconfig.js: + {"pollingInterval":2000} /user/username/projects/myproject/a/b/tsconfig.json: {"pollingInterval":2000} +/user/username/projects/myproject/a/b/tsconfig.ts: + {"pollingInterval":2000} /user/username/projects/myproject/a/c/jsconfig.json: {"pollingInterval":2000} +/user/username/projects/myproject/a/c/tsconfig.d.ts: + {"pollingInterval":2000} +/user/username/projects/myproject/a/c/tsconfig.js: + {"pollingInterval":2000} +/user/username/projects/myproject/a/c/tsconfig.ts: + {"pollingInterval":2000} /user/username/projects/myproject/a/jsconfig.json: {"pollingInterval":2000} +/user/username/projects/myproject/a/tsconfig.d.ts: + {"pollingInterval":2000} +/user/username/projects/myproject/a/tsconfig.js: + {"pollingInterval":2000} /user/username/projects/myproject/a/tsconfig.json: {"pollingInterval":2000} +/user/username/projects/myproject/a/tsconfig.ts: + {"pollingInterval":2000} /user/username/projects/myproject/jsconfig.json: {"pollingInterval":2000} +/user/username/projects/myproject/tsconfig.d.ts: + {"pollingInterval":2000} +/user/username/projects/myproject/tsconfig.js: + {"pollingInterval":2000} /user/username/projects/myproject/tsconfig.json: {"pollingInterval":2000} +/user/username/projects/myproject/tsconfig.ts: + {"pollingInterval":2000} FsWatches:: /user/username/projects/myproject/a/c/f2.ts: *new* diff --git a/tests/baselines/reference/tsserver/configuredProjects/should-tolerate-invalid-include-files-that-start-in-subDirectory.js b/tests/baselines/reference/tsserver/configuredProjects/should-tolerate-invalid-include-files-that-start-in-subDirectory.js index ba6f36759a8da..789b5891d1f0f 100644 --- a/tests/baselines/reference/tsserver/configuredProjects/should-tolerate-invalid-include-files-that-start-in-subDirectory.js +++ b/tests/baselines/reference/tsserver/configuredProjects/should-tolerate-invalid-include-files-that-start-in-subDirectory.js @@ -141,9 +141,18 @@ Info seq [hh:mm:ss:mss] event: ] } } +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/src/server/tsconfig.d.ts 2000 undefined WatchType: Config file for the inferred project root +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/src/server/tsconfig.ts 2000 undefined WatchType: Config file for the inferred project root +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/src/server/tsconfig.js 2000 undefined WatchType: Config file for the inferred project root Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/src/server/jsconfig.json 2000 undefined WatchType: Config file for the inferred project root +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/src/tsconfig.d.ts 2000 undefined WatchType: Config file for the inferred project root +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/src/tsconfig.ts 2000 undefined WatchType: Config file for the inferred project root +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/src/tsconfig.js 2000 undefined WatchType: Config file for the inferred project root Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/src/tsconfig.json 2000 undefined WatchType: Config file for the inferred project root Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/src/jsconfig.json 2000 undefined WatchType: Config file for the inferred project root +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/tsconfig.d.ts 2000 undefined WatchType: Config file for the inferred project root +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/tsconfig.ts 2000 undefined WatchType: Config file for the inferred project root +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/tsconfig.js 2000 undefined WatchType: Config file for the inferred project root Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/tsconfig.json 2000 undefined WatchType: Config file for the inferred project root Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/jsconfig.json 2000 undefined WatchType: Config file for the inferred project root Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/inferredProject1* @@ -199,12 +208,30 @@ PolledWatches:: {"pollingInterval":2000} /user/username/projects/myproject/src/server/node_modules/@types: *new* {"pollingInterval":500} +/user/username/projects/myproject/src/server/tsconfig.d.ts: *new* + {"pollingInterval":2000} +/user/username/projects/myproject/src/server/tsconfig.js: *new* + {"pollingInterval":2000} +/user/username/projects/myproject/src/server/tsconfig.ts: *new* + {"pollingInterval":2000} /user/username/projects/myproject/src/src: *new* {"pollingInterval":500} +/user/username/projects/myproject/src/tsconfig.d.ts: *new* + {"pollingInterval":2000} +/user/username/projects/myproject/src/tsconfig.js: *new* + {"pollingInterval":2000} /user/username/projects/myproject/src/tsconfig.json: *new* {"pollingInterval":2000} +/user/username/projects/myproject/src/tsconfig.ts: *new* + {"pollingInterval":2000} +/user/username/projects/myproject/tsconfig.d.ts: *new* + {"pollingInterval":2000} +/user/username/projects/myproject/tsconfig.js: *new* + {"pollingInterval":2000} /user/username/projects/myproject/tsconfig.json: *new* {"pollingInterval":2000} +/user/username/projects/myproject/tsconfig.ts: *new* + {"pollingInterval":2000} /user/username/projects/node_modules/@types: *new* {"pollingInterval":500} diff --git a/tests/baselines/reference/tsserver/events/largeFileReferenced/when-large-js-file-is-included-by-module-resolution.js b/tests/baselines/reference/tsserver/events/largeFileReferenced/when-large-js-file-is-included-by-module-resolution.js index ad306860d5050..180e8fa74406a 100644 --- a/tests/baselines/reference/tsserver/events/largeFileReferenced/when-large-js-file-is-included-by-module-resolution.js +++ b/tests/baselines/reference/tsserver/events/largeFileReferenced/when-large-js-file-is-included-by-module-resolution.js @@ -32,8 +32,14 @@ Info seq [hh:mm:ss:mss] request: } Info seq [hh:mm:ss:mss] Search path: /user/username/projects/myproject/src Info seq [hh:mm:ss:mss] For info: /user/username/projects/myproject/src/file.ts :: No config files found. +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/src/tsconfig.d.ts 2000 undefined WatchType: Config file for the inferred project root +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/src/tsconfig.ts 2000 undefined WatchType: Config file for the inferred project root +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/src/tsconfig.js 2000 undefined WatchType: Config file for the inferred project root Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/src/tsconfig.json 2000 undefined WatchType: Config file for the inferred project root Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/src/jsconfig.json 2000 undefined WatchType: Config file for the inferred project root +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/tsconfig.d.ts 2000 undefined WatchType: Config file for the inferred project root +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/tsconfig.ts 2000 undefined WatchType: Config file for the inferred project root +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/tsconfig.js 2000 undefined WatchType: Config file for the inferred project root Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/tsconfig.json 2000 undefined WatchType: Config file for the inferred project root Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/jsconfig.json 2000 undefined WatchType: Config file for the inferred project root Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/inferredProject1* @@ -101,10 +107,22 @@ PolledWatches:: {"pollingInterval":500} /user/username/projects/myproject/src/node_modules/@types: *new* {"pollingInterval":500} +/user/username/projects/myproject/src/tsconfig.d.ts: *new* + {"pollingInterval":2000} +/user/username/projects/myproject/src/tsconfig.js: *new* + {"pollingInterval":2000} /user/username/projects/myproject/src/tsconfig.json: *new* {"pollingInterval":2000} +/user/username/projects/myproject/src/tsconfig.ts: *new* + {"pollingInterval":2000} +/user/username/projects/myproject/tsconfig.d.ts: *new* + {"pollingInterval":2000} +/user/username/projects/myproject/tsconfig.js: *new* + {"pollingInterval":2000} /user/username/projects/myproject/tsconfig.json: *new* {"pollingInterval":2000} +/user/username/projects/myproject/tsconfig.ts: *new* + {"pollingInterval":2000} /user/username/projects/node_modules/@types: *new* {"pollingInterval":500} diff --git a/tests/baselines/reference/tsserver/events/largeFileReferenced/when-large-ts-file-is-included-by-module-resolution.js b/tests/baselines/reference/tsserver/events/largeFileReferenced/when-large-ts-file-is-included-by-module-resolution.js index 41cd4d2d71830..5f0855e8d7852 100644 --- a/tests/baselines/reference/tsserver/events/largeFileReferenced/when-large-ts-file-is-included-by-module-resolution.js +++ b/tests/baselines/reference/tsserver/events/largeFileReferenced/when-large-ts-file-is-included-by-module-resolution.js @@ -32,8 +32,14 @@ Info seq [hh:mm:ss:mss] request: } Info seq [hh:mm:ss:mss] Search path: /user/username/projects/myproject/src Info seq [hh:mm:ss:mss] For info: /user/username/projects/myproject/src/file.ts :: No config files found. +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/src/tsconfig.d.ts 2000 undefined WatchType: Config file for the inferred project root +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/src/tsconfig.ts 2000 undefined WatchType: Config file for the inferred project root +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/src/tsconfig.js 2000 undefined WatchType: Config file for the inferred project root Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/src/tsconfig.json 2000 undefined WatchType: Config file for the inferred project root Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/src/jsconfig.json 2000 undefined WatchType: Config file for the inferred project root +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/tsconfig.d.ts 2000 undefined WatchType: Config file for the inferred project root +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/tsconfig.ts 2000 undefined WatchType: Config file for the inferred project root +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/tsconfig.js 2000 undefined WatchType: Config file for the inferred project root Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/tsconfig.json 2000 undefined WatchType: Config file for the inferred project root Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/jsconfig.json 2000 undefined WatchType: Config file for the inferred project root Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/inferredProject1* @@ -83,10 +89,22 @@ PolledWatches:: {"pollingInterval":2000} /user/username/projects/myproject/src/node_modules/@types: *new* {"pollingInterval":500} +/user/username/projects/myproject/src/tsconfig.d.ts: *new* + {"pollingInterval":2000} +/user/username/projects/myproject/src/tsconfig.js: *new* + {"pollingInterval":2000} /user/username/projects/myproject/src/tsconfig.json: *new* {"pollingInterval":2000} +/user/username/projects/myproject/src/tsconfig.ts: *new* + {"pollingInterval":2000} +/user/username/projects/myproject/tsconfig.d.ts: *new* + {"pollingInterval":2000} +/user/username/projects/myproject/tsconfig.js: *new* + {"pollingInterval":2000} /user/username/projects/myproject/tsconfig.json: *new* {"pollingInterval":2000} +/user/username/projects/myproject/tsconfig.ts: *new* + {"pollingInterval":2000} /user/username/projects/node_modules/@types: *new* {"pollingInterval":500} diff --git a/tests/baselines/reference/tsserver/externalProjects/handles-creation-of-external-project-with-jsconfig-before-jsconfig-creation-watcher-is-invoked.js b/tests/baselines/reference/tsserver/externalProjects/handles-creation-of-external-project-with-jsconfig-before-jsconfig-creation-watcher-is-invoked.js index 3392c135c36c4..9abd7c8c10331 100644 --- a/tests/baselines/reference/tsserver/externalProjects/handles-creation-of-external-project-with-jsconfig-before-jsconfig-creation-watcher-is-invoked.js +++ b/tests/baselines/reference/tsserver/externalProjects/handles-creation-of-external-project-with-jsconfig-before-jsconfig-creation-watcher-is-invoked.js @@ -230,6 +230,9 @@ Info seq [hh:mm:ss:mss] event: ] } } +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/tsconfig.d.ts 2000 undefined WatchType: Config file for the inferred project root +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/tsconfig.ts 2000 undefined WatchType: Config file for the inferred project root +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/tsconfig.js 2000 undefined WatchType: Config file for the inferred project root Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/jsconfig.json 2000 undefined WatchType: Config file for the inferred project root Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/inferredProject1* Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/lib/lib.d.ts 500 undefined WatchType: Closed Script info @@ -257,6 +260,12 @@ PolledWatches:: {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} +/user/username/projects/myproject/tsconfig.d.ts: *new* + {"pollingInterval":2000} +/user/username/projects/myproject/tsconfig.js: *new* + {"pollingInterval":2000} +/user/username/projects/myproject/tsconfig.ts: *new* + {"pollingInterval":2000} /user/username/projects/node_modules/@types: {"pollingInterval":500} @@ -429,6 +438,12 @@ PolledWatches:: {"pollingInterval":500} /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} +/user/username/projects/myproject/tsconfig.d.ts: + {"pollingInterval":2000} +/user/username/projects/myproject/tsconfig.js: + {"pollingInterval":2000} +/user/username/projects/myproject/tsconfig.ts: + {"pollingInterval":2000} /user/username/projects/node_modules/@types: {"pollingInterval":500} @@ -508,6 +523,9 @@ Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/jsconfig.json } Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject 1 undefined Config: /user/username/projects/myproject/jsconfig.json WatchType: Wild card directory Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject 1 undefined Config: /user/username/projects/myproject/jsconfig.json WatchType: Wild card directory +Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /user/username/projects/myproject/tsconfig.d.ts 2000 undefined WatchType: Config file for the inferred project root +Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /user/username/projects/myproject/tsconfig.ts 2000 undefined WatchType: Config file for the inferred project root +Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /user/username/projects/myproject/tsconfig.js 2000 undefined WatchType: Config file for the inferred project root Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/jsconfig.json Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/jsconfig.json WatchType: Type roots Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /user/username/projects/myproject/jsconfig.json WatchType: Type roots @@ -701,6 +719,36 @@ Info seq [hh:mm:ss:mss] response: } After request +PolledWatches:: +/user/username/projects/myproject/bower_components: + {"pollingInterval":500} +/user/username/projects/myproject/jsconfig.json: + {"pollingInterval":2000} +/user/username/projects/myproject/node_modules: + {"pollingInterval":500} +/user/username/projects/myproject/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/node_modules/@types: + {"pollingInterval":500} + +PolledWatches *deleted*:: +/user/username/projects/myproject/tsconfig.d.ts: + {"pollingInterval":2000} +/user/username/projects/myproject/tsconfig.js: + {"pollingInterval":2000} +/user/username/projects/myproject/tsconfig.ts: + {"pollingInterval":2000} + +FsWatches:: +/a/lib/lib.d.ts: + {} +/user/username/projects/myproject/tsconfig.json: + {} + +FsWatchesRecursive:: +/user/username/projects/myproject: + {} + Projects:: /dev/null/inferredProject1* (Inferred) *changed* projectStateVersion: 2 *changed* diff --git a/tests/baselines/reference/tsserver/fourslashServer/autoImportFileExcludePatterns_symlinks.js b/tests/baselines/reference/tsserver/fourslashServer/autoImportFileExcludePatterns_symlinks.js index 18f4f4a9858b3..11de4ccb6e995 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/autoImportFileExcludePatterns_symlinks.js +++ b/tests/baselines/reference/tsserver/fourslashServer/autoImportFileExcludePatterns_symlinks.js @@ -38,8 +38,14 @@ Info seq [hh:mm:ss:mss] request: } Info seq [hh:mm:ss:mss] Search path: /project/node_modules/.store/@remix-run-server-runtime-virtual-c72daf0d/package Info seq [hh:mm:ss:mss] For info: /project/node_modules/.store/@remix-run-server-runtime-virtual-c72daf0d/package/package.json :: No config files found. +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /project/node_modules/.store/@remix-run-server-runtime-virtual-c72daf0d/package/tsconfig.d.ts 2000 undefined WatchType: Config file for the inferred project root +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /project/node_modules/.store/@remix-run-server-runtime-virtual-c72daf0d/package/tsconfig.ts 2000 undefined WatchType: Config file for the inferred project root +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /project/node_modules/.store/@remix-run-server-runtime-virtual-c72daf0d/package/tsconfig.js 2000 undefined WatchType: Config file for the inferred project root Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /project/node_modules/.store/@remix-run-server-runtime-virtual-c72daf0d/package/tsconfig.json 2000 undefined WatchType: Config file for the inferred project root Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /project/node_modules/.store/@remix-run-server-runtime-virtual-c72daf0d/package/jsconfig.json 2000 undefined WatchType: Config file for the inferred project root +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /project/node_modules/.store/@remix-run-server-runtime-virtual-c72daf0d/tsconfig.d.ts 2000 undefined WatchType: Config file for the inferred project root +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /project/node_modules/.store/@remix-run-server-runtime-virtual-c72daf0d/tsconfig.ts 2000 undefined WatchType: Config file for the inferred project root +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /project/node_modules/.store/@remix-run-server-runtime-virtual-c72daf0d/tsconfig.js 2000 undefined WatchType: Config file for the inferred project root Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /project/node_modules/.store/@remix-run-server-runtime-virtual-c72daf0d/tsconfig.json 2000 undefined WatchType: Config file for the inferred project root Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /project/node_modules/.store/@remix-run-server-runtime-virtual-c72daf0d/jsconfig.json 2000 undefined WatchType: Config file for the inferred project root Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/inferredProject1* @@ -90,10 +96,22 @@ watchedFiles:: {"pollingInterval":2000} /project/node_modules/.store/@remix-run-server-runtime-virtual-c72daf0d/package/jsconfig.json: *new* {"pollingInterval":2000} +/project/node_modules/.store/@remix-run-server-runtime-virtual-c72daf0d/package/tsconfig.d.ts: *new* + {"pollingInterval":2000} +/project/node_modules/.store/@remix-run-server-runtime-virtual-c72daf0d/package/tsconfig.js: *new* + {"pollingInterval":2000} /project/node_modules/.store/@remix-run-server-runtime-virtual-c72daf0d/package/tsconfig.json: *new* {"pollingInterval":2000} +/project/node_modules/.store/@remix-run-server-runtime-virtual-c72daf0d/package/tsconfig.ts: *new* + {"pollingInterval":2000} +/project/node_modules/.store/@remix-run-server-runtime-virtual-c72daf0d/tsconfig.d.ts: *new* + {"pollingInterval":2000} +/project/node_modules/.store/@remix-run-server-runtime-virtual-c72daf0d/tsconfig.js: *new* + {"pollingInterval":2000} /project/node_modules/.store/@remix-run-server-runtime-virtual-c72daf0d/tsconfig.json: *new* {"pollingInterval":2000} +/project/node_modules/.store/@remix-run-server-runtime-virtual-c72daf0d/tsconfig.ts: *new* + {"pollingInterval":2000} watchedDirectoriesRecursive:: /project/node_modules/.store/@remix-run-server-runtime-virtual-c72daf0d/node_modules/@types: *new* @@ -202,10 +220,22 @@ watchedFiles:: {"pollingInterval":500} /project/node_modules/.store/@remix-run-server-runtime-virtual-c72daf0d/package/jsconfig.json: {"pollingInterval":2000} +/project/node_modules/.store/@remix-run-server-runtime-virtual-c72daf0d/package/tsconfig.d.ts: + {"pollingInterval":2000} +/project/node_modules/.store/@remix-run-server-runtime-virtual-c72daf0d/package/tsconfig.js: + {"pollingInterval":2000} /project/node_modules/.store/@remix-run-server-runtime-virtual-c72daf0d/package/tsconfig.json: {"pollingInterval":2000} +/project/node_modules/.store/@remix-run-server-runtime-virtual-c72daf0d/package/tsconfig.ts: + {"pollingInterval":2000} +/project/node_modules/.store/@remix-run-server-runtime-virtual-c72daf0d/tsconfig.d.ts: + {"pollingInterval":2000} +/project/node_modules/.store/@remix-run-server-runtime-virtual-c72daf0d/tsconfig.js: + {"pollingInterval":2000} /project/node_modules/.store/@remix-run-server-runtime-virtual-c72daf0d/tsconfig.json: {"pollingInterval":2000} +/project/node_modules/.store/@remix-run-server-runtime-virtual-c72daf0d/tsconfig.ts: + {"pollingInterval":2000} /project/package.json: *new* {"pollingInterval":250} diff --git a/tests/baselines/reference/tsserver/fourslashServer/autoImportFileExcludePatterns_symlinks2.js b/tests/baselines/reference/tsserver/fourslashServer/autoImportFileExcludePatterns_symlinks2.js index b5fcf6af0c642..6c853cdf951fa 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/autoImportFileExcludePatterns_symlinks2.js +++ b/tests/baselines/reference/tsserver/fourslashServer/autoImportFileExcludePatterns_symlinks2.js @@ -44,12 +44,24 @@ Info seq [hh:mm:ss:mss] request: } Info seq [hh:mm:ss:mss] Search path: c:/project/node_modules/.store/aws-sdk-virtual-adfe098/package Info seq [hh:mm:ss:mss] For info: c:/project/node_modules/.store/aws-sdk-virtual-adfe098/package/package.json :: No config files found. +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: c:/project/node_modules/.store/aws-sdk-virtual-adfe098/package/tsconfig.d.ts 2000 undefined WatchType: Config file for the inferred project root +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: c:/project/node_modules/.store/aws-sdk-virtual-adfe098/package/tsconfig.ts 2000 undefined WatchType: Config file for the inferred project root +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: c:/project/node_modules/.store/aws-sdk-virtual-adfe098/package/tsconfig.js 2000 undefined WatchType: Config file for the inferred project root Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: c:/project/node_modules/.store/aws-sdk-virtual-adfe098/package/tsconfig.json 2000 undefined WatchType: Config file for the inferred project root Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: c:/project/node_modules/.store/aws-sdk-virtual-adfe098/package/jsconfig.json 2000 undefined WatchType: Config file for the inferred project root +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: c:/project/node_modules/.store/aws-sdk-virtual-adfe098/tsconfig.d.ts 2000 undefined WatchType: Config file for the inferred project root +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: c:/project/node_modules/.store/aws-sdk-virtual-adfe098/tsconfig.ts 2000 undefined WatchType: Config file for the inferred project root +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: c:/project/node_modules/.store/aws-sdk-virtual-adfe098/tsconfig.js 2000 undefined WatchType: Config file for the inferred project root Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: c:/project/node_modules/.store/aws-sdk-virtual-adfe098/tsconfig.json 2000 undefined WatchType: Config file for the inferred project root Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: c:/project/node_modules/.store/aws-sdk-virtual-adfe098/jsconfig.json 2000 undefined WatchType: Config file for the inferred project root +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: c:/project/node_modules/.store/tsconfig.d.ts 2000 undefined WatchType: Config file for the inferred project root +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: c:/project/node_modules/.store/tsconfig.ts 2000 undefined WatchType: Config file for the inferred project root +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: c:/project/node_modules/.store/tsconfig.js 2000 undefined WatchType: Config file for the inferred project root Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: c:/project/node_modules/.store/tsconfig.json 2000 undefined WatchType: Config file for the inferred project root Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: c:/project/node_modules/.store/jsconfig.json 2000 undefined WatchType: Config file for the inferred project root +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: c:/project/node_modules/tsconfig.d.ts 2000 undefined WatchType: Config file for the inferred project root +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: c:/project/node_modules/tsconfig.ts 2000 undefined WatchType: Config file for the inferred project root +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: c:/project/node_modules/tsconfig.js 2000 undefined WatchType: Config file for the inferred project root Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: c:/project/node_modules/tsconfig.json 2000 undefined WatchType: Config file for the inferred project root Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: c:/project/node_modules/jsconfig.json 2000 undefined WatchType: Config file for the inferred project root Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/inferredProject1* @@ -108,18 +120,42 @@ c:/project/node_modules/.store/aws-sdk-virtual-adfe098/jsconfig.json: *new* {"pollingInterval":2000} c:/project/node_modules/.store/aws-sdk-virtual-adfe098/package/jsconfig.json: *new* {"pollingInterval":2000} +c:/project/node_modules/.store/aws-sdk-virtual-adfe098/package/tsconfig.d.ts: *new* + {"pollingInterval":2000} +c:/project/node_modules/.store/aws-sdk-virtual-adfe098/package/tsconfig.js: *new* + {"pollingInterval":2000} c:/project/node_modules/.store/aws-sdk-virtual-adfe098/package/tsconfig.json: *new* {"pollingInterval":2000} +c:/project/node_modules/.store/aws-sdk-virtual-adfe098/package/tsconfig.ts: *new* + {"pollingInterval":2000} +c:/project/node_modules/.store/aws-sdk-virtual-adfe098/tsconfig.d.ts: *new* + {"pollingInterval":2000} +c:/project/node_modules/.store/aws-sdk-virtual-adfe098/tsconfig.js: *new* + {"pollingInterval":2000} c:/project/node_modules/.store/aws-sdk-virtual-adfe098/tsconfig.json: *new* {"pollingInterval":2000} +c:/project/node_modules/.store/aws-sdk-virtual-adfe098/tsconfig.ts: *new* + {"pollingInterval":2000} c:/project/node_modules/.store/jsconfig.json: *new* {"pollingInterval":2000} +c:/project/node_modules/.store/tsconfig.d.ts: *new* + {"pollingInterval":2000} +c:/project/node_modules/.store/tsconfig.js: *new* + {"pollingInterval":2000} c:/project/node_modules/.store/tsconfig.json: *new* {"pollingInterval":2000} +c:/project/node_modules/.store/tsconfig.ts: *new* + {"pollingInterval":2000} c:/project/node_modules/jsconfig.json: *new* {"pollingInterval":2000} +c:/project/node_modules/tsconfig.d.ts: *new* + {"pollingInterval":2000} +c:/project/node_modules/tsconfig.js: *new* + {"pollingInterval":2000} c:/project/node_modules/tsconfig.json: *new* {"pollingInterval":2000} +c:/project/node_modules/tsconfig.ts: *new* + {"pollingInterval":2000} watchedDirectoriesRecursive:: c:/project/node_modules: *new* @@ -244,20 +280,44 @@ c:/project/node_modules/.store/aws-sdk-virtual-adfe098/package/index.d.ts: *new* {"pollingInterval":500} c:/project/node_modules/.store/aws-sdk-virtual-adfe098/package/jsconfig.json: {"pollingInterval":2000} +c:/project/node_modules/.store/aws-sdk-virtual-adfe098/package/tsconfig.d.ts: + {"pollingInterval":2000} +c:/project/node_modules/.store/aws-sdk-virtual-adfe098/package/tsconfig.js: + {"pollingInterval":2000} c:/project/node_modules/.store/aws-sdk-virtual-adfe098/package/tsconfig.json: {"pollingInterval":2000} +c:/project/node_modules/.store/aws-sdk-virtual-adfe098/package/tsconfig.ts: + {"pollingInterval":2000} +c:/project/node_modules/.store/aws-sdk-virtual-adfe098/tsconfig.d.ts: + {"pollingInterval":2000} +c:/project/node_modules/.store/aws-sdk-virtual-adfe098/tsconfig.js: + {"pollingInterval":2000} c:/project/node_modules/.store/aws-sdk-virtual-adfe098/tsconfig.json: {"pollingInterval":2000} +c:/project/node_modules/.store/aws-sdk-virtual-adfe098/tsconfig.ts: + {"pollingInterval":2000} c:/project/node_modules/.store/jsconfig.json: {"pollingInterval":2000} +c:/project/node_modules/.store/tsconfig.d.ts: + {"pollingInterval":2000} +c:/project/node_modules/.store/tsconfig.js: + {"pollingInterval":2000} c:/project/node_modules/.store/tsconfig.json: {"pollingInterval":2000} +c:/project/node_modules/.store/tsconfig.ts: + {"pollingInterval":2000} c:/project/node_modules/@remix-run/server-runtime/index.d.ts: *new* {"pollingInterval":500} c:/project/node_modules/jsconfig.json: {"pollingInterval":2000} +c:/project/node_modules/tsconfig.d.ts: + {"pollingInterval":2000} +c:/project/node_modules/tsconfig.js: + {"pollingInterval":2000} c:/project/node_modules/tsconfig.json: {"pollingInterval":2000} +c:/project/node_modules/tsconfig.ts: + {"pollingInterval":2000} c:/project/package.json: *new* {"pollingInterval":250} diff --git a/tests/baselines/reference/tsserver/fourslashServer/autoImportFileExcludePatterns_windowsPaths.js b/tests/baselines/reference/tsserver/fourslashServer/autoImportFileExcludePatterns_windowsPaths.js index 34b3cb920d5ad..509751f1eaada 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/autoImportFileExcludePatterns_windowsPaths.js +++ b/tests/baselines/reference/tsserver/fourslashServer/autoImportFileExcludePatterns_windowsPaths.js @@ -36,8 +36,14 @@ Info seq [hh:mm:ss:mss] request: } Info seq [hh:mm:ss:mss] Search path: c:/project/node_modules/aws-sdk Info seq [hh:mm:ss:mss] For info: c:/project/node_modules/aws-sdk/package.json :: No config files found. +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: c:/project/node_modules/aws-sdk/tsconfig.d.ts 2000 undefined WatchType: Config file for the inferred project root +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: c:/project/node_modules/aws-sdk/tsconfig.ts 2000 undefined WatchType: Config file for the inferred project root +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: c:/project/node_modules/aws-sdk/tsconfig.js 2000 undefined WatchType: Config file for the inferred project root Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: c:/project/node_modules/aws-sdk/tsconfig.json 2000 undefined WatchType: Config file for the inferred project root Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: c:/project/node_modules/aws-sdk/jsconfig.json 2000 undefined WatchType: Config file for the inferred project root +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: c:/project/node_modules/tsconfig.d.ts 2000 undefined WatchType: Config file for the inferred project root +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: c:/project/node_modules/tsconfig.ts 2000 undefined WatchType: Config file for the inferred project root +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: c:/project/node_modules/tsconfig.js 2000 undefined WatchType: Config file for the inferred project root Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: c:/project/node_modules/tsconfig.json 2000 undefined WatchType: Config file for the inferred project root Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: c:/project/node_modules/jsconfig.json 2000 undefined WatchType: Config file for the inferred project root Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/inferredProject1* @@ -90,12 +96,24 @@ watchedFiles:: {"pollingInterval":500} c:/project/node_modules/aws-sdk/jsconfig.json: *new* {"pollingInterval":2000} +c:/project/node_modules/aws-sdk/tsconfig.d.ts: *new* + {"pollingInterval":2000} +c:/project/node_modules/aws-sdk/tsconfig.js: *new* + {"pollingInterval":2000} c:/project/node_modules/aws-sdk/tsconfig.json: *new* {"pollingInterval":2000} +c:/project/node_modules/aws-sdk/tsconfig.ts: *new* + {"pollingInterval":2000} c:/project/node_modules/jsconfig.json: *new* {"pollingInterval":2000} +c:/project/node_modules/tsconfig.d.ts: *new* + {"pollingInterval":2000} +c:/project/node_modules/tsconfig.js: *new* + {"pollingInterval":2000} c:/project/node_modules/tsconfig.json: *new* {"pollingInterval":2000} +c:/project/node_modules/tsconfig.ts: *new* + {"pollingInterval":2000} watchedDirectoriesRecursive:: c:/project/node_modules: *new* @@ -221,12 +239,24 @@ c:/project/node_modules/aws-sdk/jsconfig.json: {"pollingInterval":2000} c:/project/node_modules/aws-sdk/package.json: *new* {"pollingInterval":2000} +c:/project/node_modules/aws-sdk/tsconfig.d.ts: + {"pollingInterval":2000} +c:/project/node_modules/aws-sdk/tsconfig.js: + {"pollingInterval":2000} c:/project/node_modules/aws-sdk/tsconfig.json: {"pollingInterval":2000} +c:/project/node_modules/aws-sdk/tsconfig.ts: + {"pollingInterval":2000} c:/project/node_modules/jsconfig.json: {"pollingInterval":2000} +c:/project/node_modules/tsconfig.d.ts: + {"pollingInterval":2000} +c:/project/node_modules/tsconfig.js: + {"pollingInterval":2000} c:/project/node_modules/tsconfig.json: {"pollingInterval":2000} +c:/project/node_modules/tsconfig.ts: + {"pollingInterval":2000} c:/project/package.json: *new* {"pollingInterval":250} diff --git a/tests/baselines/reference/tsserver/fourslashServer/autoImportProvider_globalTypingsCache.js b/tests/baselines/reference/tsserver/fourslashServer/autoImportProvider_globalTypingsCache.js index ec6505bfdb6a4..7b65852f0574d 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/autoImportProvider_globalTypingsCache.js +++ b/tests/baselines/reference/tsserver/fourslashServer/autoImportProvider_globalTypingsCache.js @@ -46,10 +46,19 @@ Info seq [hh:mm:ss:mss] request: } Info seq [hh:mm:ss:mss] Search path: /Library/Caches/typescript/node_modules/@types/react-router-dom Info seq [hh:mm:ss:mss] For info: /Library/Caches/typescript/node_modules/@types/react-router-dom/package.json :: No config files found. +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /Library/Caches/typescript/node_modules/@types/react-router-dom/tsconfig.d.ts 2000 undefined WatchType: Config file for the inferred project root +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /Library/Caches/typescript/node_modules/@types/react-router-dom/tsconfig.ts 2000 undefined WatchType: Config file for the inferred project root +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /Library/Caches/typescript/node_modules/@types/react-router-dom/tsconfig.js 2000 undefined WatchType: Config file for the inferred project root Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /Library/Caches/typescript/node_modules/@types/react-router-dom/tsconfig.json 2000 undefined WatchType: Config file for the inferred project root Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /Library/Caches/typescript/node_modules/@types/react-router-dom/jsconfig.json 2000 undefined WatchType: Config file for the inferred project root +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /Library/Caches/typescript/node_modules/@types/tsconfig.d.ts 2000 undefined WatchType: Config file for the inferred project root +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /Library/Caches/typescript/node_modules/@types/tsconfig.ts 2000 undefined WatchType: Config file for the inferred project root +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /Library/Caches/typescript/node_modules/@types/tsconfig.js 2000 undefined WatchType: Config file for the inferred project root Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /Library/Caches/typescript/node_modules/@types/tsconfig.json 2000 undefined WatchType: Config file for the inferred project root Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /Library/Caches/typescript/node_modules/@types/jsconfig.json 2000 undefined WatchType: Config file for the inferred project root +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /Library/Caches/typescript/node_modules/tsconfig.d.ts 2000 undefined WatchType: Config file for the inferred project root +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /Library/Caches/typescript/node_modules/tsconfig.ts 2000 undefined WatchType: Config file for the inferred project root +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /Library/Caches/typescript/node_modules/tsconfig.js 2000 undefined WatchType: Config file for the inferred project root Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /Library/Caches/typescript/node_modules/tsconfig.json 2000 undefined WatchType: Config file for the inferred project root Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /Library/Caches/typescript/node_modules/jsconfig.json 2000 undefined WatchType: Config file for the inferred project root Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/inferredProject1* @@ -106,14 +115,32 @@ watchedFiles:: {"pollingInterval":2000} /Library/Caches/typescript/node_modules/@types/react-router-dom/package.json: *new* {"pollingInterval":2000} +/Library/Caches/typescript/node_modules/@types/react-router-dom/tsconfig.d.ts: *new* + {"pollingInterval":2000} +/Library/Caches/typescript/node_modules/@types/react-router-dom/tsconfig.js: *new* + {"pollingInterval":2000} /Library/Caches/typescript/node_modules/@types/react-router-dom/tsconfig.json: *new* {"pollingInterval":2000} +/Library/Caches/typescript/node_modules/@types/react-router-dom/tsconfig.ts: *new* + {"pollingInterval":2000} +/Library/Caches/typescript/node_modules/@types/tsconfig.d.ts: *new* + {"pollingInterval":2000} +/Library/Caches/typescript/node_modules/@types/tsconfig.js: *new* + {"pollingInterval":2000} /Library/Caches/typescript/node_modules/@types/tsconfig.json: *new* {"pollingInterval":2000} +/Library/Caches/typescript/node_modules/@types/tsconfig.ts: *new* + {"pollingInterval":2000} /Library/Caches/typescript/node_modules/jsconfig.json: *new* {"pollingInterval":2000} +/Library/Caches/typescript/node_modules/tsconfig.d.ts: *new* + {"pollingInterval":2000} +/Library/Caches/typescript/node_modules/tsconfig.js: *new* + {"pollingInterval":2000} /Library/Caches/typescript/node_modules/tsconfig.json: *new* {"pollingInterval":2000} +/Library/Caches/typescript/node_modules/tsconfig.ts: *new* + {"pollingInterval":2000} /lib.d.ts: *new* {"pollingInterval":500} /lib.decorators.d.ts: *new* @@ -283,14 +310,32 @@ watchedFiles:: {"pollingInterval":2000} /Library/Caches/typescript/node_modules/@types/react-router-dom/package.json: {"pollingInterval":2000} +/Library/Caches/typescript/node_modules/@types/react-router-dom/tsconfig.d.ts: + {"pollingInterval":2000} +/Library/Caches/typescript/node_modules/@types/react-router-dom/tsconfig.js: + {"pollingInterval":2000} /Library/Caches/typescript/node_modules/@types/react-router-dom/tsconfig.json: {"pollingInterval":2000} +/Library/Caches/typescript/node_modules/@types/react-router-dom/tsconfig.ts: + {"pollingInterval":2000} +/Library/Caches/typescript/node_modules/@types/tsconfig.d.ts: + {"pollingInterval":2000} +/Library/Caches/typescript/node_modules/@types/tsconfig.js: + {"pollingInterval":2000} /Library/Caches/typescript/node_modules/@types/tsconfig.json: {"pollingInterval":2000} +/Library/Caches/typescript/node_modules/@types/tsconfig.ts: + {"pollingInterval":2000} /Library/Caches/typescript/node_modules/jsconfig.json: {"pollingInterval":2000} +/Library/Caches/typescript/node_modules/tsconfig.d.ts: + {"pollingInterval":2000} +/Library/Caches/typescript/node_modules/tsconfig.js: + {"pollingInterval":2000} /Library/Caches/typescript/node_modules/tsconfig.json: {"pollingInterval":2000} +/Library/Caches/typescript/node_modules/tsconfig.ts: + {"pollingInterval":2000} /lib.d.ts: {"pollingInterval":500} /lib.decorators.d.ts: @@ -988,14 +1033,32 @@ watchedFiles:: {"pollingInterval":2000} /Library/Caches/typescript/node_modules/@types/react-router-dom/package.json: {"pollingInterval":2000} +/Library/Caches/typescript/node_modules/@types/react-router-dom/tsconfig.d.ts: + {"pollingInterval":2000} +/Library/Caches/typescript/node_modules/@types/react-router-dom/tsconfig.js: + {"pollingInterval":2000} /Library/Caches/typescript/node_modules/@types/react-router-dom/tsconfig.json: {"pollingInterval":2000} +/Library/Caches/typescript/node_modules/@types/react-router-dom/tsconfig.ts: + {"pollingInterval":2000} +/Library/Caches/typescript/node_modules/@types/tsconfig.d.ts: + {"pollingInterval":2000} +/Library/Caches/typescript/node_modules/@types/tsconfig.js: + {"pollingInterval":2000} /Library/Caches/typescript/node_modules/@types/tsconfig.json: {"pollingInterval":2000} +/Library/Caches/typescript/node_modules/@types/tsconfig.ts: + {"pollingInterval":2000} /Library/Caches/typescript/node_modules/jsconfig.json: {"pollingInterval":2000} +/Library/Caches/typescript/node_modules/tsconfig.d.ts: + {"pollingInterval":2000} +/Library/Caches/typescript/node_modules/tsconfig.js: + {"pollingInterval":2000} /Library/Caches/typescript/node_modules/tsconfig.json: {"pollingInterval":2000} +/Library/Caches/typescript/node_modules/tsconfig.ts: + {"pollingInterval":2000} /lib.d.ts: {"pollingInterval":500} /lib.decorators.d.ts: diff --git a/tests/baselines/reference/tsserver/fourslashServer/brace01.js b/tests/baselines/reference/tsserver/fourslashServer/brace01.js index 51e3e322f5a8a..8290d2be00aa0 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/brace01.js +++ b/tests/baselines/reference/tsserver/fourslashServer/brace01.js @@ -59,6 +59,9 @@ Info seq [hh:mm:ss:mss] request: } Info seq [hh:mm:ss:mss] Search path: /tests/cases/fourslash/server Info seq [hh:mm:ss:mss] For info: /tests/cases/fourslash/server/brace01.ts :: No config files found. +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /tests/cases/fourslash/server/tsconfig.d.ts 2000 undefined WatchType: Config file for the inferred project root +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /tests/cases/fourslash/server/tsconfig.ts 2000 undefined WatchType: Config file for the inferred project root +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /tests/cases/fourslash/server/tsconfig.js 2000 undefined WatchType: Config file for the inferred project root Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /tests/cases/fourslash/server/tsconfig.json 2000 undefined WatchType: Config file for the inferred project root Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /tests/cases/fourslash/server/jsconfig.json 2000 undefined WatchType: Config file for the inferred project root Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/inferredProject1* @@ -109,8 +112,14 @@ watchedFiles:: {"pollingInterval":500} /tests/cases/fourslash/server/jsconfig.json: *new* {"pollingInterval":2000} +/tests/cases/fourslash/server/tsconfig.d.ts: *new* + {"pollingInterval":2000} +/tests/cases/fourslash/server/tsconfig.js: *new* + {"pollingInterval":2000} /tests/cases/fourslash/server/tsconfig.json: *new* {"pollingInterval":2000} +/tests/cases/fourslash/server/tsconfig.ts: *new* + {"pollingInterval":2000} watchedDirectoriesRecursive:: /tests/cases/fourslash/node_modules: *new* diff --git a/tests/baselines/reference/tsserver/fourslashServer/callHierarchyContainerNameServer.js b/tests/baselines/reference/tsserver/fourslashServer/callHierarchyContainerNameServer.js index fc98dee2689f1..4691da89b0caa 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/callHierarchyContainerNameServer.js +++ b/tests/baselines/reference/tsserver/fourslashServer/callHierarchyContainerNameServer.js @@ -58,6 +58,9 @@ Info seq [hh:mm:ss:mss] request: } Info seq [hh:mm:ss:mss] Search path: /tests/cases/fourslash/server Info seq [hh:mm:ss:mss] For info: /tests/cases/fourslash/server/callHierarchyContainerNameServer.ts :: No config files found. +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /tests/cases/fourslash/server/tsconfig.d.ts 2000 undefined WatchType: Config file for the inferred project root +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /tests/cases/fourslash/server/tsconfig.ts 2000 undefined WatchType: Config file for the inferred project root +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /tests/cases/fourslash/server/tsconfig.js 2000 undefined WatchType: Config file for the inferred project root Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /tests/cases/fourslash/server/tsconfig.json 2000 undefined WatchType: Config file for the inferred project root Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /tests/cases/fourslash/server/jsconfig.json 2000 undefined WatchType: Config file for the inferred project root Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/inferredProject1* @@ -108,8 +111,14 @@ watchedFiles:: {"pollingInterval":500} /tests/cases/fourslash/server/jsconfig.json: *new* {"pollingInterval":2000} +/tests/cases/fourslash/server/tsconfig.d.ts: *new* + {"pollingInterval":2000} +/tests/cases/fourslash/server/tsconfig.js: *new* + {"pollingInterval":2000} /tests/cases/fourslash/server/tsconfig.json: *new* {"pollingInterval":2000} +/tests/cases/fourslash/server/tsconfig.ts: *new* + {"pollingInterval":2000} watchedDirectoriesRecursive:: /tests/cases/fourslash/node_modules: *new* diff --git a/tests/baselines/reference/tsserver/fourslashServer/completionEntryDetailAcrossFiles01.js b/tests/baselines/reference/tsserver/fourslashServer/completionEntryDetailAcrossFiles01.js index 70851164b6a9a..398ddeef70bbd 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/completionEntryDetailAcrossFiles01.js +++ b/tests/baselines/reference/tsserver/fourslashServer/completionEntryDetailAcrossFiles01.js @@ -34,6 +34,9 @@ Info seq [hh:mm:ss:mss] request: } Info seq [hh:mm:ss:mss] Search path: /tests/cases/fourslash/server Info seq [hh:mm:ss:mss] For info: /tests/cases/fourslash/server/a.js :: No config files found. +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /tests/cases/fourslash/server/tsconfig.d.ts 2000 undefined WatchType: Config file for the inferred project root +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /tests/cases/fourslash/server/tsconfig.ts 2000 undefined WatchType: Config file for the inferred project root +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /tests/cases/fourslash/server/tsconfig.js 2000 undefined WatchType: Config file for the inferred project root Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /tests/cases/fourslash/server/tsconfig.json 2000 undefined WatchType: Config file for the inferred project root Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /tests/cases/fourslash/server/jsconfig.json 2000 undefined WatchType: Config file for the inferred project root Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/inferredProject1* @@ -84,8 +87,14 @@ watchedFiles:: {"pollingInterval":500} /tests/cases/fourslash/server/jsconfig.json: *new* {"pollingInterval":2000} +/tests/cases/fourslash/server/tsconfig.d.ts: *new* + {"pollingInterval":2000} +/tests/cases/fourslash/server/tsconfig.js: *new* + {"pollingInterval":2000} /tests/cases/fourslash/server/tsconfig.json: *new* {"pollingInterval":2000} +/tests/cases/fourslash/server/tsconfig.ts: *new* + {"pollingInterval":2000} watchedDirectoriesRecursive:: /tests/cases/fourslash/node_modules: *new* @@ -928,8 +937,14 @@ watchedFiles:: {"pollingInterval":500} /tests/cases/fourslash/server/jsconfig.json: {"pollingInterval":2000} +/tests/cases/fourslash/server/tsconfig.d.ts: + {"pollingInterval":2000} +/tests/cases/fourslash/server/tsconfig.js: + {"pollingInterval":2000} /tests/cases/fourslash/server/tsconfig.json: {"pollingInterval":2000} +/tests/cases/fourslash/server/tsconfig.ts: + {"pollingInterval":2000} watchedDirectories:: /tests/cases/fourslash/server: *new* diff --git a/tests/baselines/reference/tsserver/fourslashServer/completionEntryDetailAcrossFiles02.js b/tests/baselines/reference/tsserver/fourslashServer/completionEntryDetailAcrossFiles02.js index 3df15493bfddb..8b1c60b0966bc 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/completionEntryDetailAcrossFiles02.js +++ b/tests/baselines/reference/tsserver/fourslashServer/completionEntryDetailAcrossFiles02.js @@ -34,6 +34,9 @@ Info seq [hh:mm:ss:mss] request: } Info seq [hh:mm:ss:mss] Search path: /tests/cases/fourslash/server Info seq [hh:mm:ss:mss] For info: /tests/cases/fourslash/server/a.js :: No config files found. +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /tests/cases/fourslash/server/tsconfig.d.ts 2000 undefined WatchType: Config file for the inferred project root +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /tests/cases/fourslash/server/tsconfig.ts 2000 undefined WatchType: Config file for the inferred project root +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /tests/cases/fourslash/server/tsconfig.js 2000 undefined WatchType: Config file for the inferred project root Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /tests/cases/fourslash/server/tsconfig.json 2000 undefined WatchType: Config file for the inferred project root Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /tests/cases/fourslash/server/jsconfig.json 2000 undefined WatchType: Config file for the inferred project root Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/inferredProject1* @@ -84,8 +87,14 @@ watchedFiles:: {"pollingInterval":500} /tests/cases/fourslash/server/jsconfig.json: *new* {"pollingInterval":2000} +/tests/cases/fourslash/server/tsconfig.d.ts: *new* + {"pollingInterval":2000} +/tests/cases/fourslash/server/tsconfig.js: *new* + {"pollingInterval":2000} /tests/cases/fourslash/server/tsconfig.json: *new* {"pollingInterval":2000} +/tests/cases/fourslash/server/tsconfig.ts: *new* + {"pollingInterval":2000} watchedDirectoriesRecursive:: /tests/cases/fourslash/node_modules: *new* @@ -934,8 +943,14 @@ watchedFiles:: {"pollingInterval":500} /tests/cases/fourslash/server/jsconfig.json: {"pollingInterval":2000} +/tests/cases/fourslash/server/tsconfig.d.ts: + {"pollingInterval":2000} +/tests/cases/fourslash/server/tsconfig.js: + {"pollingInterval":2000} /tests/cases/fourslash/server/tsconfig.json: {"pollingInterval":2000} +/tests/cases/fourslash/server/tsconfig.ts: + {"pollingInterval":2000} watchedDirectories:: /tests/cases/fourslash/server: *new* diff --git a/tests/baselines/reference/tsserver/fourslashServer/completions01.js b/tests/baselines/reference/tsserver/fourslashServer/completions01.js index fc48954f2d30d..a4b40df204419 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/completions01.js +++ b/tests/baselines/reference/tsserver/fourslashServer/completions01.js @@ -26,6 +26,9 @@ Info seq [hh:mm:ss:mss] request: } Info seq [hh:mm:ss:mss] Search path: /tests/cases/fourslash/server Info seq [hh:mm:ss:mss] For info: /tests/cases/fourslash/server/completions01.ts :: No config files found. +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /tests/cases/fourslash/server/tsconfig.d.ts 2000 undefined WatchType: Config file for the inferred project root +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /tests/cases/fourslash/server/tsconfig.ts 2000 undefined WatchType: Config file for the inferred project root +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /tests/cases/fourslash/server/tsconfig.js 2000 undefined WatchType: Config file for the inferred project root Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /tests/cases/fourslash/server/tsconfig.json 2000 undefined WatchType: Config file for the inferred project root Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /tests/cases/fourslash/server/jsconfig.json 2000 undefined WatchType: Config file for the inferred project root Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/inferredProject1* @@ -76,8 +79,14 @@ watchedFiles:: {"pollingInterval":500} /tests/cases/fourslash/server/jsconfig.json: *new* {"pollingInterval":2000} +/tests/cases/fourslash/server/tsconfig.d.ts: *new* + {"pollingInterval":2000} +/tests/cases/fourslash/server/tsconfig.js: *new* + {"pollingInterval":2000} /tests/cases/fourslash/server/tsconfig.json: *new* {"pollingInterval":2000} +/tests/cases/fourslash/server/tsconfig.ts: *new* + {"pollingInterval":2000} watchedDirectoriesRecursive:: /tests/cases/fourslash/node_modules: *new* diff --git a/tests/baselines/reference/tsserver/fourslashServer/completions02.js b/tests/baselines/reference/tsserver/fourslashServer/completions02.js index d59f60c4e5505..39125e4c51d1a 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/completions02.js +++ b/tests/baselines/reference/tsserver/fourslashServer/completions02.js @@ -29,6 +29,9 @@ Info seq [hh:mm:ss:mss] request: } Info seq [hh:mm:ss:mss] Search path: /tests/cases/fourslash/server Info seq [hh:mm:ss:mss] For info: /tests/cases/fourslash/server/completions02.ts :: No config files found. +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /tests/cases/fourslash/server/tsconfig.d.ts 2000 undefined WatchType: Config file for the inferred project root +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /tests/cases/fourslash/server/tsconfig.ts 2000 undefined WatchType: Config file for the inferred project root +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /tests/cases/fourslash/server/tsconfig.js 2000 undefined WatchType: Config file for the inferred project root Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /tests/cases/fourslash/server/tsconfig.json 2000 undefined WatchType: Config file for the inferred project root Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /tests/cases/fourslash/server/jsconfig.json 2000 undefined WatchType: Config file for the inferred project root Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/inferredProject1* @@ -79,8 +82,14 @@ watchedFiles:: {"pollingInterval":500} /tests/cases/fourslash/server/jsconfig.json: *new* {"pollingInterval":2000} +/tests/cases/fourslash/server/tsconfig.d.ts: *new* + {"pollingInterval":2000} +/tests/cases/fourslash/server/tsconfig.js: *new* + {"pollingInterval":2000} /tests/cases/fourslash/server/tsconfig.json: *new* {"pollingInterval":2000} +/tests/cases/fourslash/server/tsconfig.ts: *new* + {"pollingInterval":2000} watchedDirectoriesRecursive:: /tests/cases/fourslash/node_modules: *new* diff --git a/tests/baselines/reference/tsserver/fourslashServer/completions03.js b/tests/baselines/reference/tsserver/fourslashServer/completions03.js index 20b4ec23b97db..55c3875c818fb 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/completions03.js +++ b/tests/baselines/reference/tsserver/fourslashServer/completions03.js @@ -34,6 +34,9 @@ Info seq [hh:mm:ss:mss] request: } Info seq [hh:mm:ss:mss] Search path: /tests/cases/fourslash/server Info seq [hh:mm:ss:mss] For info: /tests/cases/fourslash/server/completions03.ts :: No config files found. +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /tests/cases/fourslash/server/tsconfig.d.ts 2000 undefined WatchType: Config file for the inferred project root +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /tests/cases/fourslash/server/tsconfig.ts 2000 undefined WatchType: Config file for the inferred project root +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /tests/cases/fourslash/server/tsconfig.js 2000 undefined WatchType: Config file for the inferred project root Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /tests/cases/fourslash/server/tsconfig.json 2000 undefined WatchType: Config file for the inferred project root Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /tests/cases/fourslash/server/jsconfig.json 2000 undefined WatchType: Config file for the inferred project root Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/inferredProject1* @@ -84,8 +87,14 @@ watchedFiles:: {"pollingInterval":500} /tests/cases/fourslash/server/jsconfig.json: *new* {"pollingInterval":2000} +/tests/cases/fourslash/server/tsconfig.d.ts: *new* + {"pollingInterval":2000} +/tests/cases/fourslash/server/tsconfig.js: *new* + {"pollingInterval":2000} /tests/cases/fourslash/server/tsconfig.json: *new* {"pollingInterval":2000} +/tests/cases/fourslash/server/tsconfig.ts: *new* + {"pollingInterval":2000} watchedDirectoriesRecursive:: /tests/cases/fourslash/node_modules: *new* diff --git a/tests/baselines/reference/tsserver/fourslashServer/completionsImport_sortingModuleSpecifiers.js b/tests/baselines/reference/tsserver/fourslashServer/completionsImport_sortingModuleSpecifiers.js index c9a0668d1db14..16faed2f80c26 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/completionsImport_sortingModuleSpecifiers.js +++ b/tests/baselines/reference/tsserver/fourslashServer/completionsImport_sortingModuleSpecifiers.js @@ -118,6 +118,9 @@ Info seq [hh:mm:ss:mss] event: "diagnostics": [] } } +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /tests/cases/fourslash/server/tsconfig.d.ts 2000 undefined WatchType: Config file for the inferred project root +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /tests/cases/fourslash/server/tsconfig.ts 2000 undefined WatchType: Config file for the inferred project root +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /tests/cases/fourslash/server/tsconfig.js 2000 undefined WatchType: Config file for the inferred project root Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /tests/cases/fourslash/server/jsconfig.json 2000 undefined WatchType: Config file for the inferred project root Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/inferredProject1* Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /tests/cases/fourslash/server/node_modules 1 undefined Project: /dev/null/inferredProject1* WatchType: Failed Lookup Locations @@ -172,8 +175,14 @@ watchedFiles:: {"pollingInterval":500} /tests/cases/fourslash/server/path.d.ts: *new* {"pollingInterval":500} +/tests/cases/fourslash/server/tsconfig.d.ts: *new* + {"pollingInterval":2000} +/tests/cases/fourslash/server/tsconfig.js: *new* + {"pollingInterval":2000} /tests/cases/fourslash/server/tsconfig.json: *new* {"pollingInterval":2000} +/tests/cases/fourslash/server/tsconfig.ts: *new* + {"pollingInterval":2000} watchedDirectoriesRecursive:: /tests/cases/fourslash/node_modules: *new* @@ -266,8 +275,14 @@ watchedFiles:: {"pollingInterval":2000} /tests/cases/fourslash/server/path.d.ts: {"pollingInterval":500} +/tests/cases/fourslash/server/tsconfig.d.ts: + {"pollingInterval":2000} +/tests/cases/fourslash/server/tsconfig.js: + {"pollingInterval":2000} /tests/cases/fourslash/server/tsconfig.json: {"pollingInterval":2000} +/tests/cases/fourslash/server/tsconfig.ts: + {"pollingInterval":2000} watchedFiles *deleted*:: /tests/cases/fourslash/server/main.ts: diff --git a/tests/baselines/reference/tsserver/fourslashServer/configurePlugin.js b/tests/baselines/reference/tsserver/fourslashServer/configurePlugin.js index 5bd1efc5a91c6..de86ba438b6e1 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/configurePlugin.js +++ b/tests/baselines/reference/tsserver/fourslashServer/configurePlugin.js @@ -117,6 +117,9 @@ Info seq [hh:mm:ss:mss] event: "diagnostics": [] } } +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /tests/cases/fourslash/server/tsconfig.d.ts 2000 undefined WatchType: Config file for the inferred project root +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /tests/cases/fourslash/server/tsconfig.ts 2000 undefined WatchType: Config file for the inferred project root +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /tests/cases/fourslash/server/tsconfig.js 2000 undefined WatchType: Config file for the inferred project root Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /tests/cases/fourslash/server/jsconfig.json 2000 undefined WatchType: Config file for the inferred project root Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/inferredProject1* Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /tests/cases/fourslash/server/node_modules 1 undefined Project: /dev/null/inferredProject1* WatchType: Failed Lookup Locations @@ -169,8 +172,14 @@ watchedFiles:: {"pollingInterval":500} /tests/cases/fourslash/server/jsconfig.json: *new* {"pollingInterval":2000} +/tests/cases/fourslash/server/tsconfig.d.ts: *new* + {"pollingInterval":2000} +/tests/cases/fourslash/server/tsconfig.js: *new* + {"pollingInterval":2000} /tests/cases/fourslash/server/tsconfig.json: *new* {"pollingInterval":2000} +/tests/cases/fourslash/server/tsconfig.ts: *new* + {"pollingInterval":2000} watchedDirectoriesRecursive:: /tests/cases/fourslash/node_modules: *new* @@ -255,8 +264,14 @@ watchedFiles:: {"pollingInterval":500} /tests/cases/fourslash/server/jsconfig.json: {"pollingInterval":2000} +/tests/cases/fourslash/server/tsconfig.d.ts: + {"pollingInterval":2000} +/tests/cases/fourslash/server/tsconfig.js: + {"pollingInterval":2000} /tests/cases/fourslash/server/tsconfig.json: {"pollingInterval":2000} +/tests/cases/fourslash/server/tsconfig.ts: + {"pollingInterval":2000} watchedFiles *deleted*:: /tests/cases/fourslash/server/a.ts: diff --git a/tests/baselines/reference/tsserver/fourslashServer/convertFunctionToEs6Class-server1.js b/tests/baselines/reference/tsserver/fourslashServer/convertFunctionToEs6Class-server1.js index 550cde68ad734..402194db73120 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/convertFunctionToEs6Class-server1.js +++ b/tests/baselines/reference/tsserver/fourslashServer/convertFunctionToEs6Class-server1.js @@ -30,6 +30,9 @@ Info seq [hh:mm:ss:mss] request: } Info seq [hh:mm:ss:mss] Search path: /tests/cases/fourslash/server Info seq [hh:mm:ss:mss] For info: /tests/cases/fourslash/server/test123.js :: No config files found. +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /tests/cases/fourslash/server/tsconfig.d.ts 2000 undefined WatchType: Config file for the inferred project root +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /tests/cases/fourslash/server/tsconfig.ts 2000 undefined WatchType: Config file for the inferred project root +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /tests/cases/fourslash/server/tsconfig.js 2000 undefined WatchType: Config file for the inferred project root Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /tests/cases/fourslash/server/tsconfig.json 2000 undefined WatchType: Config file for the inferred project root Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /tests/cases/fourslash/server/jsconfig.json 2000 undefined WatchType: Config file for the inferred project root Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/inferredProject1* @@ -80,8 +83,14 @@ watchedFiles:: {"pollingInterval":500} /tests/cases/fourslash/server/jsconfig.json: *new* {"pollingInterval":2000} +/tests/cases/fourslash/server/tsconfig.d.ts: *new* + {"pollingInterval":2000} +/tests/cases/fourslash/server/tsconfig.js: *new* + {"pollingInterval":2000} /tests/cases/fourslash/server/tsconfig.json: *new* {"pollingInterval":2000} +/tests/cases/fourslash/server/tsconfig.ts: *new* + {"pollingInterval":2000} watchedDirectoriesRecursive:: /tests/cases/fourslash/node_modules: *new* diff --git a/tests/baselines/reference/tsserver/fourslashServer/convertFunctionToEs6Class-server2.js b/tests/baselines/reference/tsserver/fourslashServer/convertFunctionToEs6Class-server2.js index b939a6bdae2c2..733036785ab8f 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/convertFunctionToEs6Class-server2.js +++ b/tests/baselines/reference/tsserver/fourslashServer/convertFunctionToEs6Class-server2.js @@ -32,6 +32,9 @@ Info seq [hh:mm:ss:mss] request: } Info seq [hh:mm:ss:mss] Search path: /tests/cases/fourslash/server Info seq [hh:mm:ss:mss] For info: /tests/cases/fourslash/server/test123.js :: No config files found. +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /tests/cases/fourslash/server/tsconfig.d.ts 2000 undefined WatchType: Config file for the inferred project root +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /tests/cases/fourslash/server/tsconfig.ts 2000 undefined WatchType: Config file for the inferred project root +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /tests/cases/fourslash/server/tsconfig.js 2000 undefined WatchType: Config file for the inferred project root Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /tests/cases/fourslash/server/tsconfig.json 2000 undefined WatchType: Config file for the inferred project root Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /tests/cases/fourslash/server/jsconfig.json 2000 undefined WatchType: Config file for the inferred project root Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/inferredProject1* @@ -82,8 +85,14 @@ watchedFiles:: {"pollingInterval":500} /tests/cases/fourslash/server/jsconfig.json: *new* {"pollingInterval":2000} +/tests/cases/fourslash/server/tsconfig.d.ts: *new* + {"pollingInterval":2000} +/tests/cases/fourslash/server/tsconfig.js: *new* + {"pollingInterval":2000} /tests/cases/fourslash/server/tsconfig.json: *new* {"pollingInterval":2000} +/tests/cases/fourslash/server/tsconfig.ts: *new* + {"pollingInterval":2000} watchedDirectoriesRecursive:: /tests/cases/fourslash/node_modules: *new* diff --git a/tests/baselines/reference/tsserver/fourslashServer/declarationMapGoToDefinition.js b/tests/baselines/reference/tsserver/fourslashServer/declarationMapGoToDefinition.js index cddac51f9bbfb..45de27805d9db 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/declarationMapGoToDefinition.js +++ b/tests/baselines/reference/tsserver/fourslashServer/declarationMapGoToDefinition.js @@ -62,6 +62,9 @@ Info seq [hh:mm:ss:mss] request: } Info seq [hh:mm:ss:mss] Search path: /tests/cases/fourslash/server Info seq [hh:mm:ss:mss] For info: /tests/cases/fourslash/server/index.ts :: No config files found. +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /tests/cases/fourslash/server/tsconfig.d.ts 2000 undefined WatchType: Config file for the inferred project root +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /tests/cases/fourslash/server/tsconfig.ts 2000 undefined WatchType: Config file for the inferred project root +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /tests/cases/fourslash/server/tsconfig.js 2000 undefined WatchType: Config file for the inferred project root Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /tests/cases/fourslash/server/tsconfig.json 2000 undefined WatchType: Config file for the inferred project root Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /tests/cases/fourslash/server/jsconfig.json 2000 undefined WatchType: Config file for the inferred project root Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/inferredProject1* @@ -112,8 +115,14 @@ watchedFiles:: {"pollingInterval":500} /tests/cases/fourslash/server/jsconfig.json: *new* {"pollingInterval":2000} +/tests/cases/fourslash/server/tsconfig.d.ts: *new* + {"pollingInterval":2000} +/tests/cases/fourslash/server/tsconfig.js: *new* + {"pollingInterval":2000} /tests/cases/fourslash/server/tsconfig.json: *new* {"pollingInterval":2000} +/tests/cases/fourslash/server/tsconfig.ts: *new* + {"pollingInterval":2000} watchedDirectoriesRecursive:: /tests/cases/fourslash/node_modules: *new* @@ -218,8 +227,14 @@ watchedFiles:: {"pollingInterval":500} /tests/cases/fourslash/server/jsconfig.json: {"pollingInterval":2000} +/tests/cases/fourslash/server/tsconfig.d.ts: + {"pollingInterval":2000} +/tests/cases/fourslash/server/tsconfig.js: + {"pollingInterval":2000} /tests/cases/fourslash/server/tsconfig.json: {"pollingInterval":2000} +/tests/cases/fourslash/server/tsconfig.ts: + {"pollingInterval":2000} watchedDirectories:: /tests/cases/fourslash/server: *new* @@ -343,8 +358,14 @@ watchedFiles:: {"pollingInterval":500} /tests/cases/fourslash/server/jsconfig.json: {"pollingInterval":2000} +/tests/cases/fourslash/server/tsconfig.d.ts: + {"pollingInterval":2000} +/tests/cases/fourslash/server/tsconfig.js: + {"pollingInterval":2000} /tests/cases/fourslash/server/tsconfig.json: {"pollingInterval":2000} +/tests/cases/fourslash/server/tsconfig.ts: + {"pollingInterval":2000} watchedDirectories:: /tests/cases/fourslash/server: diff --git a/tests/baselines/reference/tsserver/fourslashServer/declarationMapsGoToDefinitionRelativeSourceRoot.js b/tests/baselines/reference/tsserver/fourslashServer/declarationMapsGoToDefinitionRelativeSourceRoot.js index d7103db48ea56..ddf1a74ef61fb 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/declarationMapsGoToDefinitionRelativeSourceRoot.js +++ b/tests/baselines/reference/tsserver/fourslashServer/declarationMapsGoToDefinitionRelativeSourceRoot.js @@ -62,6 +62,9 @@ Info seq [hh:mm:ss:mss] request: } Info seq [hh:mm:ss:mss] Search path: /tests/cases/fourslash/server Info seq [hh:mm:ss:mss] For info: /tests/cases/fourslash/server/index.ts :: No config files found. +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /tests/cases/fourslash/server/tsconfig.d.ts 2000 undefined WatchType: Config file for the inferred project root +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /tests/cases/fourslash/server/tsconfig.ts 2000 undefined WatchType: Config file for the inferred project root +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /tests/cases/fourslash/server/tsconfig.js 2000 undefined WatchType: Config file for the inferred project root Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /tests/cases/fourslash/server/tsconfig.json 2000 undefined WatchType: Config file for the inferred project root Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /tests/cases/fourslash/server/jsconfig.json 2000 undefined WatchType: Config file for the inferred project root Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/inferredProject1* @@ -112,8 +115,14 @@ watchedFiles:: {"pollingInterval":500} /tests/cases/fourslash/server/jsconfig.json: *new* {"pollingInterval":2000} +/tests/cases/fourslash/server/tsconfig.d.ts: *new* + {"pollingInterval":2000} +/tests/cases/fourslash/server/tsconfig.js: *new* + {"pollingInterval":2000} /tests/cases/fourslash/server/tsconfig.json: *new* {"pollingInterval":2000} +/tests/cases/fourslash/server/tsconfig.ts: *new* + {"pollingInterval":2000} watchedDirectoriesRecursive:: /tests/cases/fourslash/node_modules: *new* @@ -218,8 +227,14 @@ watchedFiles:: {"pollingInterval":2000} /tests/cases/fourslash/server/out/indexdef.d.ts: *new* {"pollingInterval":500} +/tests/cases/fourslash/server/tsconfig.d.ts: + {"pollingInterval":2000} +/tests/cases/fourslash/server/tsconfig.js: + {"pollingInterval":2000} /tests/cases/fourslash/server/tsconfig.json: {"pollingInterval":2000} +/tests/cases/fourslash/server/tsconfig.ts: + {"pollingInterval":2000} watchedDirectoriesRecursive:: /tests/cases/fourslash/node_modules: @@ -341,8 +356,14 @@ watchedFiles:: {"pollingInterval":500} /tests/cases/fourslash/server/out/indexdef.d.ts.map: *new* {"pollingInterval":500} +/tests/cases/fourslash/server/tsconfig.d.ts: + {"pollingInterval":2000} +/tests/cases/fourslash/server/tsconfig.js: + {"pollingInterval":2000} /tests/cases/fourslash/server/tsconfig.json: {"pollingInterval":2000} +/tests/cases/fourslash/server/tsconfig.ts: + {"pollingInterval":2000} watchedDirectoriesRecursive:: /tests/cases/fourslash/node_modules: diff --git a/tests/baselines/reference/tsserver/fourslashServer/declarationMapsGoToDefinitionSameNameDifferentDirectory.js b/tests/baselines/reference/tsserver/fourslashServer/declarationMapsGoToDefinitionSameNameDifferentDirectory.js index 66f3460933df2..2e9005d6fa4d9 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/declarationMapsGoToDefinitionSameNameDifferentDirectory.js +++ b/tests/baselines/reference/tsserver/fourslashServer/declarationMapsGoToDefinitionSameNameDifferentDirectory.js @@ -81,8 +81,14 @@ Info seq [hh:mm:ss:mss] request: } Info seq [hh:mm:ss:mss] Search path: /tests/cases/fourslash/server/BaseClass Info seq [hh:mm:ss:mss] For info: /tests/cases/fourslash/server/BaseClass/Source.d.ts :: No config files found. +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /tests/cases/fourslash/server/BaseClass/tsconfig.d.ts 2000 undefined WatchType: Config file for the inferred project root +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /tests/cases/fourslash/server/BaseClass/tsconfig.ts 2000 undefined WatchType: Config file for the inferred project root +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /tests/cases/fourslash/server/BaseClass/tsconfig.js 2000 undefined WatchType: Config file for the inferred project root Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /tests/cases/fourslash/server/BaseClass/tsconfig.json 2000 undefined WatchType: Config file for the inferred project root Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /tests/cases/fourslash/server/BaseClass/jsconfig.json 2000 undefined WatchType: Config file for the inferred project root +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /tests/cases/fourslash/server/tsconfig.d.ts 2000 undefined WatchType: Config file for the inferred project root +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /tests/cases/fourslash/server/tsconfig.ts 2000 undefined WatchType: Config file for the inferred project root +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /tests/cases/fourslash/server/tsconfig.js 2000 undefined WatchType: Config file for the inferred project root Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /tests/cases/fourslash/server/tsconfig.json 2000 undefined WatchType: Config file for the inferred project root Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /tests/cases/fourslash/server/jsconfig.json 2000 undefined WatchType: Config file for the inferred project root Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/inferredProject1* @@ -137,12 +143,24 @@ watchedFiles:: {"pollingInterval":500} /tests/cases/fourslash/server/BaseClass/jsconfig.json: *new* {"pollingInterval":2000} +/tests/cases/fourslash/server/BaseClass/tsconfig.d.ts: *new* + {"pollingInterval":2000} +/tests/cases/fourslash/server/BaseClass/tsconfig.js: *new* + {"pollingInterval":2000} /tests/cases/fourslash/server/BaseClass/tsconfig.json: *new* {"pollingInterval":2000} +/tests/cases/fourslash/server/BaseClass/tsconfig.ts: *new* + {"pollingInterval":2000} /tests/cases/fourslash/server/jsconfig.json: *new* {"pollingInterval":2000} +/tests/cases/fourslash/server/tsconfig.d.ts: *new* + {"pollingInterval":2000} +/tests/cases/fourslash/server/tsconfig.js: *new* + {"pollingInterval":2000} /tests/cases/fourslash/server/tsconfig.json: *new* {"pollingInterval":2000} +/tests/cases/fourslash/server/tsconfig.ts: *new* + {"pollingInterval":2000} watchedDirectoriesRecursive:: /tests/cases/fourslash/node_modules: *new* @@ -218,8 +236,14 @@ Info seq [hh:mm:ss:mss] Config: /tests/cases/fourslash/server/buttonClass/tscon } } Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /tests/cases/fourslash/server/tsbase.json 2000 undefined Config: /tests/cases/fourslash/server/buttonClass/tsconfig.json WatchType: Extended config file +Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /tests/cases/fourslash/server/BaseClass/tsconfig.d.ts 2000 undefined WatchType: Config file for the inferred project root +Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /tests/cases/fourslash/server/BaseClass/tsconfig.ts 2000 undefined WatchType: Config file for the inferred project root +Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /tests/cases/fourslash/server/BaseClass/tsconfig.js 2000 undefined WatchType: Config file for the inferred project root Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /tests/cases/fourslash/server/BaseClass/tsconfig.json 2000 undefined WatchType: Config file for the inferred project root Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /tests/cases/fourslash/server/BaseClass/jsconfig.json 2000 undefined WatchType: Config file for the inferred project root +Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /tests/cases/fourslash/server/tsconfig.d.ts 2000 undefined WatchType: Config file for the inferred project root +Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /tests/cases/fourslash/server/tsconfig.ts 2000 undefined WatchType: Config file for the inferred project root +Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /tests/cases/fourslash/server/tsconfig.js 2000 undefined WatchType: Config file for the inferred project root Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /tests/cases/fourslash/server/tsconfig.json 2000 undefined WatchType: Config file for the inferred project root Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /tests/cases/fourslash/server/jsconfig.json 2000 undefined WatchType: Config file for the inferred project root Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /tests/cases/fourslash/server/buttonClass/tsconfig.json @@ -333,12 +357,24 @@ watchedFiles:: watchedFiles *deleted*:: /tests/cases/fourslash/server/BaseClass/jsconfig.json: {"pollingInterval":2000} +/tests/cases/fourslash/server/BaseClass/tsconfig.d.ts: + {"pollingInterval":2000} +/tests/cases/fourslash/server/BaseClass/tsconfig.js: + {"pollingInterval":2000} /tests/cases/fourslash/server/BaseClass/tsconfig.json: {"pollingInterval":2000} +/tests/cases/fourslash/server/BaseClass/tsconfig.ts: + {"pollingInterval":2000} /tests/cases/fourslash/server/jsconfig.json: {"pollingInterval":2000} +/tests/cases/fourslash/server/tsconfig.d.ts: + {"pollingInterval":2000} +/tests/cases/fourslash/server/tsconfig.js: + {"pollingInterval":2000} /tests/cases/fourslash/server/tsconfig.json: {"pollingInterval":2000} +/tests/cases/fourslash/server/tsconfig.ts: + {"pollingInterval":2000} watchedDirectoriesRecursive:: /tests/cases/fourslash/node_modules: diff --git a/tests/baselines/reference/tsserver/fourslashServer/definition01.js b/tests/baselines/reference/tsserver/fourslashServer/definition01.js index 7f4e6094beab2..280ba782e12bd 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/definition01.js +++ b/tests/baselines/reference/tsserver/fourslashServer/definition01.js @@ -28,6 +28,9 @@ Info seq [hh:mm:ss:mss] request: } Info seq [hh:mm:ss:mss] Search path: /tests/cases/fourslash/server Info seq [hh:mm:ss:mss] For info: /tests/cases/fourslash/server/b.ts :: No config files found. +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /tests/cases/fourslash/server/tsconfig.d.ts 2000 undefined WatchType: Config file for the inferred project root +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /tests/cases/fourslash/server/tsconfig.ts 2000 undefined WatchType: Config file for the inferred project root +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /tests/cases/fourslash/server/tsconfig.js 2000 undefined WatchType: Config file for the inferred project root Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /tests/cases/fourslash/server/tsconfig.json 2000 undefined WatchType: Config file for the inferred project root Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /tests/cases/fourslash/server/jsconfig.json 2000 undefined WatchType: Config file for the inferred project root Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/inferredProject1* @@ -84,8 +87,14 @@ watchedFiles:: {"pollingInterval":500} /tests/cases/fourslash/server/jsconfig.json: *new* {"pollingInterval":2000} +/tests/cases/fourslash/server/tsconfig.d.ts: *new* + {"pollingInterval":2000} +/tests/cases/fourslash/server/tsconfig.js: *new* + {"pollingInterval":2000} /tests/cases/fourslash/server/tsconfig.json: *new* {"pollingInterval":2000} +/tests/cases/fourslash/server/tsconfig.ts: *new* + {"pollingInterval":2000} watchedDirectoriesRecursive:: /tests/cases/fourslash/node_modules: *new* diff --git a/tests/baselines/reference/tsserver/fourslashServer/documentHighlights01.js b/tests/baselines/reference/tsserver/fourslashServer/documentHighlights01.js index 00a079e287c6a..ff60758be15dd 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/documentHighlights01.js +++ b/tests/baselines/reference/tsserver/fourslashServer/documentHighlights01.js @@ -26,6 +26,9 @@ Info seq [hh:mm:ss:mss] request: } Info seq [hh:mm:ss:mss] Search path: /tests/cases/fourslash/server Info seq [hh:mm:ss:mss] For info: /tests/cases/fourslash/server/a.ts :: No config files found. +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /tests/cases/fourslash/server/tsconfig.d.ts 2000 undefined WatchType: Config file for the inferred project root +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /tests/cases/fourslash/server/tsconfig.ts 2000 undefined WatchType: Config file for the inferred project root +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /tests/cases/fourslash/server/tsconfig.js 2000 undefined WatchType: Config file for the inferred project root Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /tests/cases/fourslash/server/tsconfig.json 2000 undefined WatchType: Config file for the inferred project root Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /tests/cases/fourslash/server/jsconfig.json 2000 undefined WatchType: Config file for the inferred project root Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/inferredProject1* @@ -76,8 +79,14 @@ watchedFiles:: {"pollingInterval":500} /tests/cases/fourslash/server/jsconfig.json: *new* {"pollingInterval":2000} +/tests/cases/fourslash/server/tsconfig.d.ts: *new* + {"pollingInterval":2000} +/tests/cases/fourslash/server/tsconfig.js: *new* + {"pollingInterval":2000} /tests/cases/fourslash/server/tsconfig.json: *new* {"pollingInterval":2000} +/tests/cases/fourslash/server/tsconfig.ts: *new* + {"pollingInterval":2000} watchedDirectoriesRecursive:: /tests/cases/fourslash/node_modules: *new* diff --git a/tests/baselines/reference/tsserver/fourslashServer/documentHighlights02.js b/tests/baselines/reference/tsserver/fourslashServer/documentHighlights02.js index e67688cd94c63..f5cfc3b164302 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/documentHighlights02.js +++ b/tests/baselines/reference/tsserver/fourslashServer/documentHighlights02.js @@ -31,6 +31,9 @@ Info seq [hh:mm:ss:mss] request: } Info seq [hh:mm:ss:mss] Search path: /tests/cases/fourslash/server Info seq [hh:mm:ss:mss] For info: /tests/cases/fourslash/server/a.ts :: No config files found. +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /tests/cases/fourslash/server/tsconfig.d.ts 2000 undefined WatchType: Config file for the inferred project root +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /tests/cases/fourslash/server/tsconfig.ts 2000 undefined WatchType: Config file for the inferred project root +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /tests/cases/fourslash/server/tsconfig.js 2000 undefined WatchType: Config file for the inferred project root Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /tests/cases/fourslash/server/tsconfig.json 2000 undefined WatchType: Config file for the inferred project root Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /tests/cases/fourslash/server/jsconfig.json 2000 undefined WatchType: Config file for the inferred project root Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/inferredProject1* @@ -81,8 +84,14 @@ watchedFiles:: {"pollingInterval":500} /tests/cases/fourslash/server/jsconfig.json: *new* {"pollingInterval":2000} +/tests/cases/fourslash/server/tsconfig.d.ts: *new* + {"pollingInterval":2000} +/tests/cases/fourslash/server/tsconfig.js: *new* + {"pollingInterval":2000} /tests/cases/fourslash/server/tsconfig.json: *new* {"pollingInterval":2000} +/tests/cases/fourslash/server/tsconfig.ts: *new* + {"pollingInterval":2000} watchedDirectoriesRecursive:: /tests/cases/fourslash/node_modules: *new* @@ -221,8 +230,14 @@ watchedFiles:: {"pollingInterval":500} /tests/cases/fourslash/server/jsconfig.json: {"pollingInterval":2000} +/tests/cases/fourslash/server/tsconfig.d.ts: + {"pollingInterval":2000} +/tests/cases/fourslash/server/tsconfig.js: + {"pollingInterval":2000} /tests/cases/fourslash/server/tsconfig.json: {"pollingInterval":2000} +/tests/cases/fourslash/server/tsconfig.ts: + {"pollingInterval":2000} watchedDirectoriesRecursive:: /tests/cases/fourslash/node_modules: diff --git a/tests/baselines/reference/tsserver/fourslashServer/documentHighlightsTypeParameterInHeritageClause01.js b/tests/baselines/reference/tsserver/fourslashServer/documentHighlightsTypeParameterInHeritageClause01.js index 1be341d0f877e..74041fcba96a7 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/documentHighlightsTypeParameterInHeritageClause01.js +++ b/tests/baselines/reference/tsserver/fourslashServer/documentHighlightsTypeParameterInHeritageClause01.js @@ -25,6 +25,9 @@ Info seq [hh:mm:ss:mss] request: } Info seq [hh:mm:ss:mss] Search path: /tests/cases/fourslash/server Info seq [hh:mm:ss:mss] For info: /tests/cases/fourslash/server/documentHighlightsTypeParameterInHeritageClause01.ts :: No config files found. +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /tests/cases/fourslash/server/tsconfig.d.ts 2000 undefined WatchType: Config file for the inferred project root +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /tests/cases/fourslash/server/tsconfig.ts 2000 undefined WatchType: Config file for the inferred project root +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /tests/cases/fourslash/server/tsconfig.js 2000 undefined WatchType: Config file for the inferred project root Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /tests/cases/fourslash/server/tsconfig.json 2000 undefined WatchType: Config file for the inferred project root Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /tests/cases/fourslash/server/jsconfig.json 2000 undefined WatchType: Config file for the inferred project root Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/inferredProject1* @@ -75,8 +78,14 @@ watchedFiles:: {"pollingInterval":500} /tests/cases/fourslash/server/jsconfig.json: *new* {"pollingInterval":2000} +/tests/cases/fourslash/server/tsconfig.d.ts: *new* + {"pollingInterval":2000} +/tests/cases/fourslash/server/tsconfig.js: *new* + {"pollingInterval":2000} /tests/cases/fourslash/server/tsconfig.json: *new* {"pollingInterval":2000} +/tests/cases/fourslash/server/tsconfig.ts: *new* + {"pollingInterval":2000} watchedDirectoriesRecursive:: /tests/cases/fourslash/node_modules: *new* diff --git a/tests/baselines/reference/tsserver/fourslashServer/fixExtractToInnerFunctionDuplicaton.js b/tests/baselines/reference/tsserver/fourslashServer/fixExtractToInnerFunctionDuplicaton.js index 96656bf3bacbb..33f2825841619 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/fixExtractToInnerFunctionDuplicaton.js +++ b/tests/baselines/reference/tsserver/fourslashServer/fixExtractToInnerFunctionDuplicaton.js @@ -24,6 +24,9 @@ Info seq [hh:mm:ss:mss] request: } Info seq [hh:mm:ss:mss] Search path: /tests/cases/fourslash/server Info seq [hh:mm:ss:mss] For info: /tests/cases/fourslash/server/fixExtractToInnerFunctionDuplicaton.ts :: No config files found. +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /tests/cases/fourslash/server/tsconfig.d.ts 2000 undefined WatchType: Config file for the inferred project root +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /tests/cases/fourslash/server/tsconfig.ts 2000 undefined WatchType: Config file for the inferred project root +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /tests/cases/fourslash/server/tsconfig.js 2000 undefined WatchType: Config file for the inferred project root Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /tests/cases/fourslash/server/tsconfig.json 2000 undefined WatchType: Config file for the inferred project root Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /tests/cases/fourslash/server/jsconfig.json 2000 undefined WatchType: Config file for the inferred project root Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/inferredProject1* @@ -74,8 +77,14 @@ watchedFiles:: {"pollingInterval":500} /tests/cases/fourslash/server/jsconfig.json: *new* {"pollingInterval":2000} +/tests/cases/fourslash/server/tsconfig.d.ts: *new* + {"pollingInterval":2000} +/tests/cases/fourslash/server/tsconfig.js: *new* + {"pollingInterval":2000} /tests/cases/fourslash/server/tsconfig.json: *new* {"pollingInterval":2000} +/tests/cases/fourslash/server/tsconfig.ts: *new* + {"pollingInterval":2000} watchedDirectoriesRecursive:: /tests/cases/fourslash/node_modules: *new* diff --git a/tests/baselines/reference/tsserver/fourslashServer/format01.js b/tests/baselines/reference/tsserver/fourslashServer/format01.js index dfbd816df789e..a5f7001a43494 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/format01.js +++ b/tests/baselines/reference/tsserver/fourslashServer/format01.js @@ -24,6 +24,9 @@ Info seq [hh:mm:ss:mss] request: } Info seq [hh:mm:ss:mss] Search path: /tests/cases/fourslash/server Info seq [hh:mm:ss:mss] For info: /tests/cases/fourslash/server/format01.ts :: No config files found. +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /tests/cases/fourslash/server/tsconfig.d.ts 2000 undefined WatchType: Config file for the inferred project root +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /tests/cases/fourslash/server/tsconfig.ts 2000 undefined WatchType: Config file for the inferred project root +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /tests/cases/fourslash/server/tsconfig.js 2000 undefined WatchType: Config file for the inferred project root Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /tests/cases/fourslash/server/tsconfig.json 2000 undefined WatchType: Config file for the inferred project root Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /tests/cases/fourslash/server/jsconfig.json 2000 undefined WatchType: Config file for the inferred project root Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/inferredProject1* @@ -74,8 +77,14 @@ watchedFiles:: {"pollingInterval":500} /tests/cases/fourslash/server/jsconfig.json: *new* {"pollingInterval":2000} +/tests/cases/fourslash/server/tsconfig.d.ts: *new* + {"pollingInterval":2000} +/tests/cases/fourslash/server/tsconfig.js: *new* + {"pollingInterval":2000} /tests/cases/fourslash/server/tsconfig.json: *new* {"pollingInterval":2000} +/tests/cases/fourslash/server/tsconfig.ts: *new* + {"pollingInterval":2000} watchedDirectoriesRecursive:: /tests/cases/fourslash/node_modules: *new* diff --git a/tests/baselines/reference/tsserver/fourslashServer/formatBracketInSwitchCase.js b/tests/baselines/reference/tsserver/fourslashServer/formatBracketInSwitchCase.js index d84943f93bd7b..c7d221c9ba0d0 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/formatBracketInSwitchCase.js +++ b/tests/baselines/reference/tsserver/fourslashServer/formatBracketInSwitchCase.js @@ -26,6 +26,9 @@ Info seq [hh:mm:ss:mss] request: } Info seq [hh:mm:ss:mss] Search path: /tests/cases/fourslash/server Info seq [hh:mm:ss:mss] For info: /tests/cases/fourslash/server/formatBracketInSwitchCase.ts :: No config files found. +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /tests/cases/fourslash/server/tsconfig.d.ts 2000 undefined WatchType: Config file for the inferred project root +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /tests/cases/fourslash/server/tsconfig.ts 2000 undefined WatchType: Config file for the inferred project root +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /tests/cases/fourslash/server/tsconfig.js 2000 undefined WatchType: Config file for the inferred project root Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /tests/cases/fourslash/server/tsconfig.json 2000 undefined WatchType: Config file for the inferred project root Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /tests/cases/fourslash/server/jsconfig.json 2000 undefined WatchType: Config file for the inferred project root Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/inferredProject1* @@ -76,8 +79,14 @@ watchedFiles:: {"pollingInterval":500} /tests/cases/fourslash/server/jsconfig.json: *new* {"pollingInterval":2000} +/tests/cases/fourslash/server/tsconfig.d.ts: *new* + {"pollingInterval":2000} +/tests/cases/fourslash/server/tsconfig.js: *new* + {"pollingInterval":2000} /tests/cases/fourslash/server/tsconfig.json: *new* {"pollingInterval":2000} +/tests/cases/fourslash/server/tsconfig.ts: *new* + {"pollingInterval":2000} watchedDirectoriesRecursive:: /tests/cases/fourslash/node_modules: *new* diff --git a/tests/baselines/reference/tsserver/fourslashServer/formatOnEnter.js b/tests/baselines/reference/tsserver/fourslashServer/formatOnEnter.js index 2635ab059a308..fac514ab79570 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/formatOnEnter.js +++ b/tests/baselines/reference/tsserver/fourslashServer/formatOnEnter.js @@ -27,6 +27,9 @@ Info seq [hh:mm:ss:mss] request: } Info seq [hh:mm:ss:mss] Search path: /tests/cases/fourslash/server Info seq [hh:mm:ss:mss] For info: /tests/cases/fourslash/server/formatOnEnter.ts :: No config files found. +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /tests/cases/fourslash/server/tsconfig.d.ts 2000 undefined WatchType: Config file for the inferred project root +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /tests/cases/fourslash/server/tsconfig.ts 2000 undefined WatchType: Config file for the inferred project root +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /tests/cases/fourslash/server/tsconfig.js 2000 undefined WatchType: Config file for the inferred project root Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /tests/cases/fourslash/server/tsconfig.json 2000 undefined WatchType: Config file for the inferred project root Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /tests/cases/fourslash/server/jsconfig.json 2000 undefined WatchType: Config file for the inferred project root Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/inferredProject1* @@ -77,8 +80,14 @@ watchedFiles:: {"pollingInterval":500} /tests/cases/fourslash/server/jsconfig.json: *new* {"pollingInterval":2000} +/tests/cases/fourslash/server/tsconfig.d.ts: *new* + {"pollingInterval":2000} +/tests/cases/fourslash/server/tsconfig.js: *new* + {"pollingInterval":2000} /tests/cases/fourslash/server/tsconfig.json: *new* {"pollingInterval":2000} +/tests/cases/fourslash/server/tsconfig.ts: *new* + {"pollingInterval":2000} watchedDirectoriesRecursive:: /tests/cases/fourslash/node_modules: *new* diff --git a/tests/baselines/reference/tsserver/fourslashServer/formatSpaceBetweenFunctionAndArrayIndex.js b/tests/baselines/reference/tsserver/fourslashServer/formatSpaceBetweenFunctionAndArrayIndex.js index ce410e0918548..30331b62729c0 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/formatSpaceBetweenFunctionAndArrayIndex.js +++ b/tests/baselines/reference/tsserver/fourslashServer/formatSpaceBetweenFunctionAndArrayIndex.js @@ -30,6 +30,9 @@ Info seq [hh:mm:ss:mss] request: } Info seq [hh:mm:ss:mss] Search path: /tests/cases/fourslash/server Info seq [hh:mm:ss:mss] For info: /tests/cases/fourslash/server/formatSpaceBetweenFunctionAndArrayIndex.ts :: No config files found. +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /tests/cases/fourslash/server/tsconfig.d.ts 2000 undefined WatchType: Config file for the inferred project root +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /tests/cases/fourslash/server/tsconfig.ts 2000 undefined WatchType: Config file for the inferred project root +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /tests/cases/fourslash/server/tsconfig.js 2000 undefined WatchType: Config file for the inferred project root Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /tests/cases/fourslash/server/tsconfig.json 2000 undefined WatchType: Config file for the inferred project root Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /tests/cases/fourslash/server/jsconfig.json 2000 undefined WatchType: Config file for the inferred project root Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/inferredProject1* @@ -80,8 +83,14 @@ watchedFiles:: {"pollingInterval":500} /tests/cases/fourslash/server/jsconfig.json: *new* {"pollingInterval":2000} +/tests/cases/fourslash/server/tsconfig.d.ts: *new* + {"pollingInterval":2000} +/tests/cases/fourslash/server/tsconfig.js: *new* + {"pollingInterval":2000} /tests/cases/fourslash/server/tsconfig.json: *new* {"pollingInterval":2000} +/tests/cases/fourslash/server/tsconfig.ts: *new* + {"pollingInterval":2000} watchedDirectoriesRecursive:: /tests/cases/fourslash/node_modules: *new* diff --git a/tests/baselines/reference/tsserver/fourslashServer/formatonkey01.js b/tests/baselines/reference/tsserver/fourslashServer/formatonkey01.js index 2e21af4f1c592..46ba0a432dc28 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/formatonkey01.js +++ b/tests/baselines/reference/tsserver/fourslashServer/formatonkey01.js @@ -29,6 +29,9 @@ Info seq [hh:mm:ss:mss] request: } Info seq [hh:mm:ss:mss] Search path: /tests/cases/fourslash/server Info seq [hh:mm:ss:mss] For info: /tests/cases/fourslash/server/formatonkey01.ts :: No config files found. +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /tests/cases/fourslash/server/tsconfig.d.ts 2000 undefined WatchType: Config file for the inferred project root +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /tests/cases/fourslash/server/tsconfig.ts 2000 undefined WatchType: Config file for the inferred project root +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /tests/cases/fourslash/server/tsconfig.js 2000 undefined WatchType: Config file for the inferred project root Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /tests/cases/fourslash/server/tsconfig.json 2000 undefined WatchType: Config file for the inferred project root Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /tests/cases/fourslash/server/jsconfig.json 2000 undefined WatchType: Config file for the inferred project root Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/inferredProject1* @@ -79,8 +82,14 @@ watchedFiles:: {"pollingInterval":500} /tests/cases/fourslash/server/jsconfig.json: *new* {"pollingInterval":2000} +/tests/cases/fourslash/server/tsconfig.d.ts: *new* + {"pollingInterval":2000} +/tests/cases/fourslash/server/tsconfig.js: *new* + {"pollingInterval":2000} /tests/cases/fourslash/server/tsconfig.json: *new* {"pollingInterval":2000} +/tests/cases/fourslash/server/tsconfig.ts: *new* + {"pollingInterval":2000} watchedDirectoriesRecursive:: /tests/cases/fourslash/node_modules: *new* diff --git a/tests/baselines/reference/tsserver/fourslashServer/getJavaScriptSyntacticDiagnostics01.js b/tests/baselines/reference/tsserver/fourslashServer/getJavaScriptSyntacticDiagnostics01.js index 444038eac104f..0807187e6de9e 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/getJavaScriptSyntacticDiagnostics01.js +++ b/tests/baselines/reference/tsserver/fourslashServer/getJavaScriptSyntacticDiagnostics01.js @@ -24,6 +24,9 @@ Info seq [hh:mm:ss:mss] request: } Info seq [hh:mm:ss:mss] Search path: /tests/cases/fourslash/server Info seq [hh:mm:ss:mss] For info: /tests/cases/fourslash/server/a.js :: No config files found. +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /tests/cases/fourslash/server/tsconfig.d.ts 2000 undefined WatchType: Config file for the inferred project root +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /tests/cases/fourslash/server/tsconfig.ts 2000 undefined WatchType: Config file for the inferred project root +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /tests/cases/fourslash/server/tsconfig.js 2000 undefined WatchType: Config file for the inferred project root Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /tests/cases/fourslash/server/tsconfig.json 2000 undefined WatchType: Config file for the inferred project root Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /tests/cases/fourslash/server/jsconfig.json 2000 undefined WatchType: Config file for the inferred project root Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/inferredProject1* @@ -74,8 +77,14 @@ watchedFiles:: {"pollingInterval":500} /tests/cases/fourslash/server/jsconfig.json: *new* {"pollingInterval":2000} +/tests/cases/fourslash/server/tsconfig.d.ts: *new* + {"pollingInterval":2000} +/tests/cases/fourslash/server/tsconfig.js: *new* + {"pollingInterval":2000} /tests/cases/fourslash/server/tsconfig.json: *new* {"pollingInterval":2000} +/tests/cases/fourslash/server/tsconfig.ts: *new* + {"pollingInterval":2000} watchedDirectoriesRecursive:: /tests/cases/fourslash/node_modules: *new* diff --git a/tests/baselines/reference/tsserver/fourslashServer/getJavaScriptSyntacticDiagnostics02.js b/tests/baselines/reference/tsserver/fourslashServer/getJavaScriptSyntacticDiagnostics02.js index 0d41569932b05..7b12fc021e94f 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/getJavaScriptSyntacticDiagnostics02.js +++ b/tests/baselines/reference/tsserver/fourslashServer/getJavaScriptSyntacticDiagnostics02.js @@ -27,6 +27,9 @@ Info seq [hh:mm:ss:mss] request: } Info seq [hh:mm:ss:mss] Search path: /tests/cases/fourslash/server Info seq [hh:mm:ss:mss] For info: /tests/cases/fourslash/server/b.js :: No config files found. +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /tests/cases/fourslash/server/tsconfig.d.ts 2000 undefined WatchType: Config file for the inferred project root +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /tests/cases/fourslash/server/tsconfig.ts 2000 undefined WatchType: Config file for the inferred project root +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /tests/cases/fourslash/server/tsconfig.js 2000 undefined WatchType: Config file for the inferred project root Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /tests/cases/fourslash/server/tsconfig.json 2000 undefined WatchType: Config file for the inferred project root Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /tests/cases/fourslash/server/jsconfig.json 2000 undefined WatchType: Config file for the inferred project root Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/inferredProject1* @@ -77,8 +80,14 @@ watchedFiles:: {"pollingInterval":500} /tests/cases/fourslash/server/jsconfig.json: *new* {"pollingInterval":2000} +/tests/cases/fourslash/server/tsconfig.d.ts: *new* + {"pollingInterval":2000} +/tests/cases/fourslash/server/tsconfig.js: *new* + {"pollingInterval":2000} /tests/cases/fourslash/server/tsconfig.json: *new* {"pollingInterval":2000} +/tests/cases/fourslash/server/tsconfig.ts: *new* + {"pollingInterval":2000} watchedDirectoriesRecursive:: /tests/cases/fourslash/node_modules: *new* diff --git a/tests/baselines/reference/tsserver/fourslashServer/getOutliningSpansForComments.js b/tests/baselines/reference/tsserver/fourslashServer/getOutliningSpansForComments.js index c82ff24c98ae2..cc22a0b0b264d 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/getOutliningSpansForComments.js +++ b/tests/baselines/reference/tsserver/fourslashServer/getOutliningSpansForComments.js @@ -37,6 +37,9 @@ Info seq [hh:mm:ss:mss] request: } Info seq [hh:mm:ss:mss] Search path: /tests/cases/fourslash/server Info seq [hh:mm:ss:mss] For info: /tests/cases/fourslash/server/getOutliningSpansForComments.ts :: No config files found. +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /tests/cases/fourslash/server/tsconfig.d.ts 2000 undefined WatchType: Config file for the inferred project root +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /tests/cases/fourslash/server/tsconfig.ts 2000 undefined WatchType: Config file for the inferred project root +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /tests/cases/fourslash/server/tsconfig.js 2000 undefined WatchType: Config file for the inferred project root Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /tests/cases/fourslash/server/tsconfig.json 2000 undefined WatchType: Config file for the inferred project root Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /tests/cases/fourslash/server/jsconfig.json 2000 undefined WatchType: Config file for the inferred project root Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/inferredProject1* @@ -87,8 +90,14 @@ watchedFiles:: {"pollingInterval":500} /tests/cases/fourslash/server/jsconfig.json: *new* {"pollingInterval":2000} +/tests/cases/fourslash/server/tsconfig.d.ts: *new* + {"pollingInterval":2000} +/tests/cases/fourslash/server/tsconfig.js: *new* + {"pollingInterval":2000} /tests/cases/fourslash/server/tsconfig.json: *new* {"pollingInterval":2000} +/tests/cases/fourslash/server/tsconfig.ts: *new* + {"pollingInterval":2000} watchedDirectoriesRecursive:: /tests/cases/fourslash/node_modules: *new* diff --git a/tests/baselines/reference/tsserver/fourslashServer/getOutliningSpansForRegions.js b/tests/baselines/reference/tsserver/fourslashServer/getOutliningSpansForRegions.js index ef91ec889b204..27af3dee3d075 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/getOutliningSpansForRegions.js +++ b/tests/baselines/reference/tsserver/fourslashServer/getOutliningSpansForRegions.js @@ -70,6 +70,9 @@ Info seq [hh:mm:ss:mss] request: } Info seq [hh:mm:ss:mss] Search path: /tests/cases/fourslash/server Info seq [hh:mm:ss:mss] For info: /tests/cases/fourslash/server/getOutliningSpansForRegions.ts :: No config files found. +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /tests/cases/fourslash/server/tsconfig.d.ts 2000 undefined WatchType: Config file for the inferred project root +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /tests/cases/fourslash/server/tsconfig.ts 2000 undefined WatchType: Config file for the inferred project root +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /tests/cases/fourslash/server/tsconfig.js 2000 undefined WatchType: Config file for the inferred project root Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /tests/cases/fourslash/server/tsconfig.json 2000 undefined WatchType: Config file for the inferred project root Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /tests/cases/fourslash/server/jsconfig.json 2000 undefined WatchType: Config file for the inferred project root Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/inferredProject1* @@ -120,8 +123,14 @@ watchedFiles:: {"pollingInterval":500} /tests/cases/fourslash/server/jsconfig.json: *new* {"pollingInterval":2000} +/tests/cases/fourslash/server/tsconfig.d.ts: *new* + {"pollingInterval":2000} +/tests/cases/fourslash/server/tsconfig.js: *new* + {"pollingInterval":2000} /tests/cases/fourslash/server/tsconfig.json: *new* {"pollingInterval":2000} +/tests/cases/fourslash/server/tsconfig.ts: *new* + {"pollingInterval":2000} watchedDirectoriesRecursive:: /tests/cases/fourslash/node_modules: *new* diff --git a/tests/baselines/reference/tsserver/fourslashServer/getOutliningSpansForRegionsNoSingleLineFolds.js b/tests/baselines/reference/tsserver/fourslashServer/getOutliningSpansForRegionsNoSingleLineFolds.js index f4a1ee07a7806..48dff6a3a6ab6 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/getOutliningSpansForRegionsNoSingleLineFolds.js +++ b/tests/baselines/reference/tsserver/fourslashServer/getOutliningSpansForRegionsNoSingleLineFolds.js @@ -38,6 +38,9 @@ Info seq [hh:mm:ss:mss] request: } Info seq [hh:mm:ss:mss] Search path: /tests/cases/fourslash/server Info seq [hh:mm:ss:mss] For info: /tests/cases/fourslash/server/getOutliningSpansForRegionsNoSingleLineFolds.ts :: No config files found. +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /tests/cases/fourslash/server/tsconfig.d.ts 2000 undefined WatchType: Config file for the inferred project root +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /tests/cases/fourslash/server/tsconfig.ts 2000 undefined WatchType: Config file for the inferred project root +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /tests/cases/fourslash/server/tsconfig.js 2000 undefined WatchType: Config file for the inferred project root Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /tests/cases/fourslash/server/tsconfig.json 2000 undefined WatchType: Config file for the inferred project root Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /tests/cases/fourslash/server/jsconfig.json 2000 undefined WatchType: Config file for the inferred project root Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/inferredProject1* @@ -88,8 +91,14 @@ watchedFiles:: {"pollingInterval":500} /tests/cases/fourslash/server/jsconfig.json: *new* {"pollingInterval":2000} +/tests/cases/fourslash/server/tsconfig.d.ts: *new* + {"pollingInterval":2000} +/tests/cases/fourslash/server/tsconfig.js: *new* + {"pollingInterval":2000} /tests/cases/fourslash/server/tsconfig.json: *new* {"pollingInterval":2000} +/tests/cases/fourslash/server/tsconfig.ts: *new* + {"pollingInterval":2000} watchedDirectoriesRecursive:: /tests/cases/fourslash/node_modules: *new* diff --git a/tests/baselines/reference/tsserver/fourslashServer/implementation01.js b/tests/baselines/reference/tsserver/fourslashServer/implementation01.js index acae593c5cdd1..deab293e85653 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/implementation01.js +++ b/tests/baselines/reference/tsserver/fourslashServer/implementation01.js @@ -25,6 +25,9 @@ Info seq [hh:mm:ss:mss] request: } Info seq [hh:mm:ss:mss] Search path: /tests/cases/fourslash/server Info seq [hh:mm:ss:mss] For info: /tests/cases/fourslash/server/implementation01.ts :: No config files found. +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /tests/cases/fourslash/server/tsconfig.d.ts 2000 undefined WatchType: Config file for the inferred project root +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /tests/cases/fourslash/server/tsconfig.ts 2000 undefined WatchType: Config file for the inferred project root +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /tests/cases/fourslash/server/tsconfig.js 2000 undefined WatchType: Config file for the inferred project root Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /tests/cases/fourslash/server/tsconfig.json 2000 undefined WatchType: Config file for the inferred project root Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /tests/cases/fourslash/server/jsconfig.json 2000 undefined WatchType: Config file for the inferred project root Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/inferredProject1* @@ -75,8 +78,14 @@ watchedFiles:: {"pollingInterval":500} /tests/cases/fourslash/server/jsconfig.json: *new* {"pollingInterval":2000} +/tests/cases/fourslash/server/tsconfig.d.ts: *new* + {"pollingInterval":2000} +/tests/cases/fourslash/server/tsconfig.js: *new* + {"pollingInterval":2000} /tests/cases/fourslash/server/tsconfig.json: *new* {"pollingInterval":2000} +/tests/cases/fourslash/server/tsconfig.ts: *new* + {"pollingInterval":2000} watchedDirectoriesRecursive:: /tests/cases/fourslash/node_modules: *new* diff --git a/tests/baselines/reference/tsserver/fourslashServer/jsdocCallbackTag.js b/tests/baselines/reference/tsserver/fourslashServer/jsdocCallbackTag.js index bc56234c301a0..426906bc90666 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/jsdocCallbackTag.js +++ b/tests/baselines/reference/tsserver/fourslashServer/jsdocCallbackTag.js @@ -45,6 +45,9 @@ Info seq [hh:mm:ss:mss] request: } Info seq [hh:mm:ss:mss] Search path: /tests/cases/fourslash/server Info seq [hh:mm:ss:mss] For info: /tests/cases/fourslash/server/jsdocCallbackTag.js :: No config files found. +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /tests/cases/fourslash/server/tsconfig.d.ts 2000 undefined WatchType: Config file for the inferred project root +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /tests/cases/fourslash/server/tsconfig.ts 2000 undefined WatchType: Config file for the inferred project root +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /tests/cases/fourslash/server/tsconfig.js 2000 undefined WatchType: Config file for the inferred project root Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /tests/cases/fourslash/server/tsconfig.json 2000 undefined WatchType: Config file for the inferred project root Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /tests/cases/fourslash/server/jsconfig.json 2000 undefined WatchType: Config file for the inferred project root Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/inferredProject1* @@ -95,8 +98,14 @@ watchedFiles:: {"pollingInterval":500} /tests/cases/fourslash/server/jsconfig.json: *new* {"pollingInterval":2000} +/tests/cases/fourslash/server/tsconfig.d.ts: *new* + {"pollingInterval":2000} +/tests/cases/fourslash/server/tsconfig.js: *new* + {"pollingInterval":2000} /tests/cases/fourslash/server/tsconfig.json: *new* {"pollingInterval":2000} +/tests/cases/fourslash/server/tsconfig.ts: *new* + {"pollingInterval":2000} watchedDirectoriesRecursive:: /tests/cases/fourslash/node_modules: *new* diff --git a/tests/baselines/reference/tsserver/fourslashServer/jsdocCallbackTagNavigateTo.js b/tests/baselines/reference/tsserver/fourslashServer/jsdocCallbackTagNavigateTo.js index a4d16e75be4c0..8295dd6503a55 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/jsdocCallbackTagNavigateTo.js +++ b/tests/baselines/reference/tsserver/fourslashServer/jsdocCallbackTagNavigateTo.js @@ -29,6 +29,9 @@ Info seq [hh:mm:ss:mss] request: } Info seq [hh:mm:ss:mss] Search path: /tests/cases/fourslash/server Info seq [hh:mm:ss:mss] For info: /tests/cases/fourslash/server/jsDocCallback.js :: No config files found. +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /tests/cases/fourslash/server/tsconfig.d.ts 2000 undefined WatchType: Config file for the inferred project root +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /tests/cases/fourslash/server/tsconfig.ts 2000 undefined WatchType: Config file for the inferred project root +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /tests/cases/fourslash/server/tsconfig.js 2000 undefined WatchType: Config file for the inferred project root Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /tests/cases/fourslash/server/tsconfig.json 2000 undefined WatchType: Config file for the inferred project root Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /tests/cases/fourslash/server/jsconfig.json 2000 undefined WatchType: Config file for the inferred project root Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/inferredProject1* @@ -79,8 +82,14 @@ watchedFiles:: {"pollingInterval":500} /tests/cases/fourslash/server/jsconfig.json: *new* {"pollingInterval":2000} +/tests/cases/fourslash/server/tsconfig.d.ts: *new* + {"pollingInterval":2000} +/tests/cases/fourslash/server/tsconfig.js: *new* + {"pollingInterval":2000} /tests/cases/fourslash/server/tsconfig.json: *new* {"pollingInterval":2000} +/tests/cases/fourslash/server/tsconfig.ts: *new* + {"pollingInterval":2000} watchedDirectoriesRecursive:: /tests/cases/fourslash/node_modules: *new* diff --git a/tests/baselines/reference/tsserver/fourslashServer/jsdocCallbackTagRename01.js b/tests/baselines/reference/tsserver/fourslashServer/jsdocCallbackTagRename01.js index 3b13adf03ada6..260a85ce1a3e4 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/jsdocCallbackTagRename01.js +++ b/tests/baselines/reference/tsserver/fourslashServer/jsdocCallbackTagRename01.js @@ -31,6 +31,9 @@ Info seq [hh:mm:ss:mss] request: } Info seq [hh:mm:ss:mss] Search path: /tests/cases/fourslash/server Info seq [hh:mm:ss:mss] For info: /tests/cases/fourslash/server/jsDocCallback.js :: No config files found. +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /tests/cases/fourslash/server/tsconfig.d.ts 2000 undefined WatchType: Config file for the inferred project root +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /tests/cases/fourslash/server/tsconfig.ts 2000 undefined WatchType: Config file for the inferred project root +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /tests/cases/fourslash/server/tsconfig.js 2000 undefined WatchType: Config file for the inferred project root Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /tests/cases/fourslash/server/tsconfig.json 2000 undefined WatchType: Config file for the inferred project root Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /tests/cases/fourslash/server/jsconfig.json 2000 undefined WatchType: Config file for the inferred project root Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/inferredProject1* @@ -81,8 +84,14 @@ watchedFiles:: {"pollingInterval":500} /tests/cases/fourslash/server/jsconfig.json: *new* {"pollingInterval":2000} +/tests/cases/fourslash/server/tsconfig.d.ts: *new* + {"pollingInterval":2000} +/tests/cases/fourslash/server/tsconfig.js: *new* + {"pollingInterval":2000} /tests/cases/fourslash/server/tsconfig.json: *new* {"pollingInterval":2000} +/tests/cases/fourslash/server/tsconfig.ts: *new* + {"pollingInterval":2000} watchedDirectoriesRecursive:: /tests/cases/fourslash/node_modules: *new* diff --git a/tests/baselines/reference/tsserver/fourslashServer/jsdocParamTagSpecialKeywords.js b/tests/baselines/reference/tsserver/fourslashServer/jsdocParamTagSpecialKeywords.js index 8a5479221b86a..077e97fddaddb 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/jsdocParamTagSpecialKeywords.js +++ b/tests/baselines/reference/tsserver/fourslashServer/jsdocParamTagSpecialKeywords.js @@ -29,6 +29,9 @@ Info seq [hh:mm:ss:mss] request: } Info seq [hh:mm:ss:mss] Search path: /tests/cases/fourslash/server Info seq [hh:mm:ss:mss] For info: /tests/cases/fourslash/server/test.js :: No config files found. +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /tests/cases/fourslash/server/tsconfig.d.ts 2000 undefined WatchType: Config file for the inferred project root +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /tests/cases/fourslash/server/tsconfig.ts 2000 undefined WatchType: Config file for the inferred project root +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /tests/cases/fourslash/server/tsconfig.js 2000 undefined WatchType: Config file for the inferred project root Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /tests/cases/fourslash/server/tsconfig.json 2000 undefined WatchType: Config file for the inferred project root Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /tests/cases/fourslash/server/jsconfig.json 2000 undefined WatchType: Config file for the inferred project root Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/inferredProject1* @@ -79,8 +82,14 @@ watchedFiles:: {"pollingInterval":500} /tests/cases/fourslash/server/jsconfig.json: *new* {"pollingInterval":2000} +/tests/cases/fourslash/server/tsconfig.d.ts: *new* + {"pollingInterval":2000} +/tests/cases/fourslash/server/tsconfig.js: *new* + {"pollingInterval":2000} /tests/cases/fourslash/server/tsconfig.json: *new* {"pollingInterval":2000} +/tests/cases/fourslash/server/tsconfig.ts: *new* + {"pollingInterval":2000} watchedDirectoriesRecursive:: /tests/cases/fourslash/node_modules: *new* diff --git a/tests/baselines/reference/tsserver/fourslashServer/jsdocTypedefTag.js b/tests/baselines/reference/tsserver/fourslashServer/jsdocTypedefTag.js index d08d772ffd6f3..aabf16fb2c550 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/jsdocTypedefTag.js +++ b/tests/baselines/reference/tsserver/fourslashServer/jsdocTypedefTag.js @@ -70,6 +70,9 @@ Info seq [hh:mm:ss:mss] request: } Info seq [hh:mm:ss:mss] Search path: /tests/cases/fourslash/server Info seq [hh:mm:ss:mss] For info: /tests/cases/fourslash/server/jsdocCompletion_typedef.js :: No config files found. +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /tests/cases/fourslash/server/tsconfig.d.ts 2000 undefined WatchType: Config file for the inferred project root +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /tests/cases/fourslash/server/tsconfig.ts 2000 undefined WatchType: Config file for the inferred project root +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /tests/cases/fourslash/server/tsconfig.js 2000 undefined WatchType: Config file for the inferred project root Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /tests/cases/fourslash/server/tsconfig.json 2000 undefined WatchType: Config file for the inferred project root Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /tests/cases/fourslash/server/jsconfig.json 2000 undefined WatchType: Config file for the inferred project root Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/inferredProject1* @@ -120,8 +123,14 @@ watchedFiles:: {"pollingInterval":500} /tests/cases/fourslash/server/jsconfig.json: *new* {"pollingInterval":2000} +/tests/cases/fourslash/server/tsconfig.d.ts: *new* + {"pollingInterval":2000} +/tests/cases/fourslash/server/tsconfig.js: *new* + {"pollingInterval":2000} /tests/cases/fourslash/server/tsconfig.json: *new* {"pollingInterval":2000} +/tests/cases/fourslash/server/tsconfig.ts: *new* + {"pollingInterval":2000} watchedDirectoriesRecursive:: /tests/cases/fourslash/node_modules: *new* diff --git a/tests/baselines/reference/tsserver/fourslashServer/jsdocTypedefTag1.js b/tests/baselines/reference/tsserver/fourslashServer/jsdocTypedefTag1.js index ad2fb05681672..c8bd706130c00 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/jsdocTypedefTag1.js +++ b/tests/baselines/reference/tsserver/fourslashServer/jsdocTypedefTag1.js @@ -34,6 +34,9 @@ Info seq [hh:mm:ss:mss] request: } Info seq [hh:mm:ss:mss] Search path: /tests/cases/fourslash/server Info seq [hh:mm:ss:mss] For info: /tests/cases/fourslash/server/jsdocCompletion_typedef.js :: No config files found. +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /tests/cases/fourslash/server/tsconfig.d.ts 2000 undefined WatchType: Config file for the inferred project root +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /tests/cases/fourslash/server/tsconfig.ts 2000 undefined WatchType: Config file for the inferred project root +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /tests/cases/fourslash/server/tsconfig.js 2000 undefined WatchType: Config file for the inferred project root Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /tests/cases/fourslash/server/tsconfig.json 2000 undefined WatchType: Config file for the inferred project root Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /tests/cases/fourslash/server/jsconfig.json 2000 undefined WatchType: Config file for the inferred project root Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/inferredProject1* @@ -84,8 +87,14 @@ watchedFiles:: {"pollingInterval":500} /tests/cases/fourslash/server/jsconfig.json: *new* {"pollingInterval":2000} +/tests/cases/fourslash/server/tsconfig.d.ts: *new* + {"pollingInterval":2000} +/tests/cases/fourslash/server/tsconfig.js: *new* + {"pollingInterval":2000} /tests/cases/fourslash/server/tsconfig.json: *new* {"pollingInterval":2000} +/tests/cases/fourslash/server/tsconfig.ts: *new* + {"pollingInterval":2000} watchedDirectoriesRecursive:: /tests/cases/fourslash/node_modules: *new* diff --git a/tests/baselines/reference/tsserver/fourslashServer/jsdocTypedefTag2.js b/tests/baselines/reference/tsserver/fourslashServer/jsdocTypedefTag2.js index e3e59b08d6df0..1debc19b0425a 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/jsdocTypedefTag2.js +++ b/tests/baselines/reference/tsserver/fourslashServer/jsdocTypedefTag2.js @@ -40,6 +40,9 @@ Info seq [hh:mm:ss:mss] request: } Info seq [hh:mm:ss:mss] Search path: /tests/cases/fourslash/server Info seq [hh:mm:ss:mss] For info: /tests/cases/fourslash/server/jsdocCompletion_typedef.js :: No config files found. +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /tests/cases/fourslash/server/tsconfig.d.ts 2000 undefined WatchType: Config file for the inferred project root +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /tests/cases/fourslash/server/tsconfig.ts 2000 undefined WatchType: Config file for the inferred project root +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /tests/cases/fourslash/server/tsconfig.js 2000 undefined WatchType: Config file for the inferred project root Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /tests/cases/fourslash/server/tsconfig.json 2000 undefined WatchType: Config file for the inferred project root Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /tests/cases/fourslash/server/jsconfig.json 2000 undefined WatchType: Config file for the inferred project root Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/inferredProject1* @@ -90,8 +93,14 @@ watchedFiles:: {"pollingInterval":500} /tests/cases/fourslash/server/jsconfig.json: *new* {"pollingInterval":2000} +/tests/cases/fourslash/server/tsconfig.d.ts: *new* + {"pollingInterval":2000} +/tests/cases/fourslash/server/tsconfig.js: *new* + {"pollingInterval":2000} /tests/cases/fourslash/server/tsconfig.json: *new* {"pollingInterval":2000} +/tests/cases/fourslash/server/tsconfig.ts: *new* + {"pollingInterval":2000} watchedDirectoriesRecursive:: /tests/cases/fourslash/node_modules: *new* diff --git a/tests/baselines/reference/tsserver/fourslashServer/jsdocTypedefTagGoToDefinition.js b/tests/baselines/reference/tsserver/fourslashServer/jsdocTypedefTagGoToDefinition.js index 25682cb68ff60..152d738718c34 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/jsdocTypedefTagGoToDefinition.js +++ b/tests/baselines/reference/tsserver/fourslashServer/jsdocTypedefTagGoToDefinition.js @@ -38,6 +38,9 @@ Info seq [hh:mm:ss:mss] request: } Info seq [hh:mm:ss:mss] Search path: /tests/cases/fourslash/server Info seq [hh:mm:ss:mss] For info: /tests/cases/fourslash/server/jsdocCompletion_typedef.js :: No config files found. +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /tests/cases/fourslash/server/tsconfig.d.ts 2000 undefined WatchType: Config file for the inferred project root +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /tests/cases/fourslash/server/tsconfig.ts 2000 undefined WatchType: Config file for the inferred project root +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /tests/cases/fourslash/server/tsconfig.js 2000 undefined WatchType: Config file for the inferred project root Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /tests/cases/fourslash/server/tsconfig.json 2000 undefined WatchType: Config file for the inferred project root Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /tests/cases/fourslash/server/jsconfig.json 2000 undefined WatchType: Config file for the inferred project root Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/inferredProject1* @@ -88,8 +91,14 @@ watchedFiles:: {"pollingInterval":500} /tests/cases/fourslash/server/jsconfig.json: *new* {"pollingInterval":2000} +/tests/cases/fourslash/server/tsconfig.d.ts: *new* + {"pollingInterval":2000} +/tests/cases/fourslash/server/tsconfig.js: *new* + {"pollingInterval":2000} /tests/cases/fourslash/server/tsconfig.json: *new* {"pollingInterval":2000} +/tests/cases/fourslash/server/tsconfig.ts: *new* + {"pollingInterval":2000} watchedDirectoriesRecursive:: /tests/cases/fourslash/node_modules: *new* diff --git a/tests/baselines/reference/tsserver/fourslashServer/jsdocTypedefTagNamespace.js b/tests/baselines/reference/tsserver/fourslashServer/jsdocTypedefTagNamespace.js index 47e2507bda379..9b0d06278ecc1 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/jsdocTypedefTagNamespace.js +++ b/tests/baselines/reference/tsserver/fourslashServer/jsdocTypedefTagNamespace.js @@ -34,6 +34,9 @@ Info seq [hh:mm:ss:mss] request: } Info seq [hh:mm:ss:mss] Search path: /tests/cases/fourslash/server Info seq [hh:mm:ss:mss] For info: /tests/cases/fourslash/server/jsdocCompletion_typedef.js :: No config files found. +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /tests/cases/fourslash/server/tsconfig.d.ts 2000 undefined WatchType: Config file for the inferred project root +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /tests/cases/fourslash/server/tsconfig.ts 2000 undefined WatchType: Config file for the inferred project root +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /tests/cases/fourslash/server/tsconfig.js 2000 undefined WatchType: Config file for the inferred project root Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /tests/cases/fourslash/server/tsconfig.json 2000 undefined WatchType: Config file for the inferred project root Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /tests/cases/fourslash/server/jsconfig.json 2000 undefined WatchType: Config file for the inferred project root Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/inferredProject1* @@ -84,8 +87,14 @@ watchedFiles:: {"pollingInterval":500} /tests/cases/fourslash/server/jsconfig.json: *new* {"pollingInterval":2000} +/tests/cases/fourslash/server/tsconfig.d.ts: *new* + {"pollingInterval":2000} +/tests/cases/fourslash/server/tsconfig.js: *new* + {"pollingInterval":2000} /tests/cases/fourslash/server/tsconfig.json: *new* {"pollingInterval":2000} +/tests/cases/fourslash/server/tsconfig.ts: *new* + {"pollingInterval":2000} watchedDirectoriesRecursive:: /tests/cases/fourslash/node_modules: *new* diff --git a/tests/baselines/reference/tsserver/fourslashServer/jsdocTypedefTagNavigateTo.js b/tests/baselines/reference/tsserver/fourslashServer/jsdocTypedefTagNavigateTo.js index 7679ad3f119ad..137eaa4c6a7f1 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/jsdocTypedefTagNavigateTo.js +++ b/tests/baselines/reference/tsserver/fourslashServer/jsdocTypedefTagNavigateTo.js @@ -30,6 +30,9 @@ Info seq [hh:mm:ss:mss] request: } Info seq [hh:mm:ss:mss] Search path: /tests/cases/fourslash/server Info seq [hh:mm:ss:mss] For info: /tests/cases/fourslash/server/jsDocTypedef_form2.js :: No config files found. +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /tests/cases/fourslash/server/tsconfig.d.ts 2000 undefined WatchType: Config file for the inferred project root +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /tests/cases/fourslash/server/tsconfig.ts 2000 undefined WatchType: Config file for the inferred project root +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /tests/cases/fourslash/server/tsconfig.js 2000 undefined WatchType: Config file for the inferred project root Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /tests/cases/fourslash/server/tsconfig.json 2000 undefined WatchType: Config file for the inferred project root Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /tests/cases/fourslash/server/jsconfig.json 2000 undefined WatchType: Config file for the inferred project root Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/inferredProject1* @@ -80,8 +83,14 @@ watchedFiles:: {"pollingInterval":500} /tests/cases/fourslash/server/jsconfig.json: *new* {"pollingInterval":2000} +/tests/cases/fourslash/server/tsconfig.d.ts: *new* + {"pollingInterval":2000} +/tests/cases/fourslash/server/tsconfig.js: *new* + {"pollingInterval":2000} /tests/cases/fourslash/server/tsconfig.json: *new* {"pollingInterval":2000} +/tests/cases/fourslash/server/tsconfig.ts: *new* + {"pollingInterval":2000} watchedDirectoriesRecursive:: /tests/cases/fourslash/node_modules: *new* diff --git a/tests/baselines/reference/tsserver/fourslashServer/jsdocTypedefTagRename01.js b/tests/baselines/reference/tsserver/fourslashServer/jsdocTypedefTagRename01.js index eb68cff8c9d38..2dfb36eedc341 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/jsdocTypedefTagRename01.js +++ b/tests/baselines/reference/tsserver/fourslashServer/jsdocTypedefTagRename01.js @@ -31,6 +31,9 @@ Info seq [hh:mm:ss:mss] request: } Info seq [hh:mm:ss:mss] Search path: /tests/cases/fourslash/server Info seq [hh:mm:ss:mss] For info: /tests/cases/fourslash/server/jsDocTypedef_form1.js :: No config files found. +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /tests/cases/fourslash/server/tsconfig.d.ts 2000 undefined WatchType: Config file for the inferred project root +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /tests/cases/fourslash/server/tsconfig.ts 2000 undefined WatchType: Config file for the inferred project root +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /tests/cases/fourslash/server/tsconfig.js 2000 undefined WatchType: Config file for the inferred project root Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /tests/cases/fourslash/server/tsconfig.json 2000 undefined WatchType: Config file for the inferred project root Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /tests/cases/fourslash/server/jsconfig.json 2000 undefined WatchType: Config file for the inferred project root Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/inferredProject1* @@ -81,8 +84,14 @@ watchedFiles:: {"pollingInterval":500} /tests/cases/fourslash/server/jsconfig.json: *new* {"pollingInterval":2000} +/tests/cases/fourslash/server/tsconfig.d.ts: *new* + {"pollingInterval":2000} +/tests/cases/fourslash/server/tsconfig.js: *new* + {"pollingInterval":2000} /tests/cases/fourslash/server/tsconfig.json: *new* {"pollingInterval":2000} +/tests/cases/fourslash/server/tsconfig.ts: *new* + {"pollingInterval":2000} watchedDirectoriesRecursive:: /tests/cases/fourslash/node_modules: *new* diff --git a/tests/baselines/reference/tsserver/fourslashServer/jsdocTypedefTagRename02.js b/tests/baselines/reference/tsserver/fourslashServer/jsdocTypedefTagRename02.js index ac7869af9fabf..118bed40e4423 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/jsdocTypedefTagRename02.js +++ b/tests/baselines/reference/tsserver/fourslashServer/jsdocTypedefTagRename02.js @@ -28,6 +28,9 @@ Info seq [hh:mm:ss:mss] request: } Info seq [hh:mm:ss:mss] Search path: /tests/cases/fourslash/server Info seq [hh:mm:ss:mss] For info: /tests/cases/fourslash/server/jsDocTypedef_form2.js :: No config files found. +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /tests/cases/fourslash/server/tsconfig.d.ts 2000 undefined WatchType: Config file for the inferred project root +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /tests/cases/fourslash/server/tsconfig.ts 2000 undefined WatchType: Config file for the inferred project root +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /tests/cases/fourslash/server/tsconfig.js 2000 undefined WatchType: Config file for the inferred project root Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /tests/cases/fourslash/server/tsconfig.json 2000 undefined WatchType: Config file for the inferred project root Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /tests/cases/fourslash/server/jsconfig.json 2000 undefined WatchType: Config file for the inferred project root Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/inferredProject1* @@ -78,8 +81,14 @@ watchedFiles:: {"pollingInterval":500} /tests/cases/fourslash/server/jsconfig.json: *new* {"pollingInterval":2000} +/tests/cases/fourslash/server/tsconfig.d.ts: *new* + {"pollingInterval":2000} +/tests/cases/fourslash/server/tsconfig.js: *new* + {"pollingInterval":2000} /tests/cases/fourslash/server/tsconfig.json: *new* {"pollingInterval":2000} +/tests/cases/fourslash/server/tsconfig.ts: *new* + {"pollingInterval":2000} watchedDirectoriesRecursive:: /tests/cases/fourslash/node_modules: *new* diff --git a/tests/baselines/reference/tsserver/fourslashServer/jsdocTypedefTagRename03.js b/tests/baselines/reference/tsserver/fourslashServer/jsdocTypedefTagRename03.js index 1b69a65b3c099..7e1ebc9451f14 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/jsdocTypedefTagRename03.js +++ b/tests/baselines/reference/tsserver/fourslashServer/jsdocTypedefTagRename03.js @@ -33,6 +33,9 @@ Info seq [hh:mm:ss:mss] request: } Info seq [hh:mm:ss:mss] Search path: /tests/cases/fourslash/server Info seq [hh:mm:ss:mss] For info: /tests/cases/fourslash/server/jsDocTypedef_form3.js :: No config files found. +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /tests/cases/fourslash/server/tsconfig.d.ts 2000 undefined WatchType: Config file for the inferred project root +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /tests/cases/fourslash/server/tsconfig.ts 2000 undefined WatchType: Config file for the inferred project root +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /tests/cases/fourslash/server/tsconfig.js 2000 undefined WatchType: Config file for the inferred project root Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /tests/cases/fourslash/server/tsconfig.json 2000 undefined WatchType: Config file for the inferred project root Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /tests/cases/fourslash/server/jsconfig.json 2000 undefined WatchType: Config file for the inferred project root Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/inferredProject1* @@ -83,8 +86,14 @@ watchedFiles:: {"pollingInterval":500} /tests/cases/fourslash/server/jsconfig.json: *new* {"pollingInterval":2000} +/tests/cases/fourslash/server/tsconfig.d.ts: *new* + {"pollingInterval":2000} +/tests/cases/fourslash/server/tsconfig.js: *new* + {"pollingInterval":2000} /tests/cases/fourslash/server/tsconfig.json: *new* {"pollingInterval":2000} +/tests/cases/fourslash/server/tsconfig.ts: *new* + {"pollingInterval":2000} watchedDirectoriesRecursive:: /tests/cases/fourslash/node_modules: *new* diff --git a/tests/baselines/reference/tsserver/fourslashServer/jsdocTypedefTagRename04.js b/tests/baselines/reference/tsserver/fourslashServer/jsdocTypedefTagRename04.js index 8caca95bfb823..007db29ad2cfb 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/jsdocTypedefTagRename04.js +++ b/tests/baselines/reference/tsserver/fourslashServer/jsdocTypedefTagRename04.js @@ -36,6 +36,9 @@ Info seq [hh:mm:ss:mss] request: } Info seq [hh:mm:ss:mss] Search path: /tests/cases/fourslash/server Info seq [hh:mm:ss:mss] For info: /tests/cases/fourslash/server/jsDocTypedef_form2.js :: No config files found. +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /tests/cases/fourslash/server/tsconfig.d.ts 2000 undefined WatchType: Config file for the inferred project root +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /tests/cases/fourslash/server/tsconfig.ts 2000 undefined WatchType: Config file for the inferred project root +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /tests/cases/fourslash/server/tsconfig.js 2000 undefined WatchType: Config file for the inferred project root Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /tests/cases/fourslash/server/tsconfig.json 2000 undefined WatchType: Config file for the inferred project root Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /tests/cases/fourslash/server/jsconfig.json 2000 undefined WatchType: Config file for the inferred project root Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/inferredProject1* @@ -86,8 +89,14 @@ watchedFiles:: {"pollingInterval":500} /tests/cases/fourslash/server/jsconfig.json: *new* {"pollingInterval":2000} +/tests/cases/fourslash/server/tsconfig.d.ts: *new* + {"pollingInterval":2000} +/tests/cases/fourslash/server/tsconfig.js: *new* + {"pollingInterval":2000} /tests/cases/fourslash/server/tsconfig.json: *new* {"pollingInterval":2000} +/tests/cases/fourslash/server/tsconfig.ts: *new* + {"pollingInterval":2000} watchedDirectoriesRecursive:: /tests/cases/fourslash/node_modules: *new* diff --git a/tests/baselines/reference/tsserver/fourslashServer/navbar01.js b/tests/baselines/reference/tsserver/fourslashServer/navbar01.js index 7597eb459aa80..792700c2ea29e 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/navbar01.js +++ b/tests/baselines/reference/tsserver/fourslashServer/navbar01.js @@ -60,6 +60,9 @@ Info seq [hh:mm:ss:mss] request: } Info seq [hh:mm:ss:mss] Search path: /tests/cases/fourslash/server Info seq [hh:mm:ss:mss] For info: /tests/cases/fourslash/server/navbar01.ts :: No config files found. +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /tests/cases/fourslash/server/tsconfig.d.ts 2000 undefined WatchType: Config file for the inferred project root +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /tests/cases/fourslash/server/tsconfig.ts 2000 undefined WatchType: Config file for the inferred project root +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /tests/cases/fourslash/server/tsconfig.js 2000 undefined WatchType: Config file for the inferred project root Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /tests/cases/fourslash/server/tsconfig.json 2000 undefined WatchType: Config file for the inferred project root Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /tests/cases/fourslash/server/jsconfig.json 2000 undefined WatchType: Config file for the inferred project root Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/inferredProject1* @@ -110,8 +113,14 @@ watchedFiles:: {"pollingInterval":500} /tests/cases/fourslash/server/jsconfig.json: *new* {"pollingInterval":2000} +/tests/cases/fourslash/server/tsconfig.d.ts: *new* + {"pollingInterval":2000} +/tests/cases/fourslash/server/tsconfig.js: *new* + {"pollingInterval":2000} /tests/cases/fourslash/server/tsconfig.json: *new* {"pollingInterval":2000} +/tests/cases/fourslash/server/tsconfig.ts: *new* + {"pollingInterval":2000} watchedDirectoriesRecursive:: /tests/cases/fourslash/node_modules: *new* diff --git a/tests/baselines/reference/tsserver/fourslashServer/navto01.js b/tests/baselines/reference/tsserver/fourslashServer/navto01.js index 1fc4090b22318..d617b0aab8cea 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/navto01.js +++ b/tests/baselines/reference/tsserver/fourslashServer/navto01.js @@ -38,6 +38,9 @@ Info seq [hh:mm:ss:mss] request: } Info seq [hh:mm:ss:mss] Search path: /tests/cases/fourslash/server Info seq [hh:mm:ss:mss] For info: /tests/cases/fourslash/server/navto01.ts :: No config files found. +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /tests/cases/fourslash/server/tsconfig.d.ts 2000 undefined WatchType: Config file for the inferred project root +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /tests/cases/fourslash/server/tsconfig.ts 2000 undefined WatchType: Config file for the inferred project root +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /tests/cases/fourslash/server/tsconfig.js 2000 undefined WatchType: Config file for the inferred project root Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /tests/cases/fourslash/server/tsconfig.json 2000 undefined WatchType: Config file for the inferred project root Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /tests/cases/fourslash/server/jsconfig.json 2000 undefined WatchType: Config file for the inferred project root Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/inferredProject1* @@ -88,8 +91,14 @@ watchedFiles:: {"pollingInterval":500} /tests/cases/fourslash/server/jsconfig.json: *new* {"pollingInterval":2000} +/tests/cases/fourslash/server/tsconfig.d.ts: *new* + {"pollingInterval":2000} +/tests/cases/fourslash/server/tsconfig.js: *new* + {"pollingInterval":2000} /tests/cases/fourslash/server/tsconfig.json: *new* {"pollingInterval":2000} +/tests/cases/fourslash/server/tsconfig.ts: *new* + {"pollingInterval":2000} watchedDirectoriesRecursive:: /tests/cases/fourslash/node_modules: *new* diff --git a/tests/baselines/reference/tsserver/fourslashServer/ngProxy1.js b/tests/baselines/reference/tsserver/fourslashServer/ngProxy1.js index b3bb91bb01524..65cba4b5d50d8 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/ngProxy1.js +++ b/tests/baselines/reference/tsserver/fourslashServer/ngProxy1.js @@ -117,6 +117,9 @@ Info seq [hh:mm:ss:mss] event: "diagnostics": [] } } +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /tests/cases/fourslash/server/tsconfig.d.ts 2000 undefined WatchType: Config file for the inferred project root +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /tests/cases/fourslash/server/tsconfig.ts 2000 undefined WatchType: Config file for the inferred project root +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /tests/cases/fourslash/server/tsconfig.js 2000 undefined WatchType: Config file for the inferred project root Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /tests/cases/fourslash/server/jsconfig.json 2000 undefined WatchType: Config file for the inferred project root Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/inferredProject1* Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /tests/cases/fourslash/server/node_modules 1 undefined Project: /dev/null/inferredProject1* WatchType: Failed Lookup Locations @@ -169,8 +172,14 @@ watchedFiles:: {"pollingInterval":500} /tests/cases/fourslash/server/jsconfig.json: *new* {"pollingInterval":2000} +/tests/cases/fourslash/server/tsconfig.d.ts: *new* + {"pollingInterval":2000} +/tests/cases/fourslash/server/tsconfig.js: *new* + {"pollingInterval":2000} /tests/cases/fourslash/server/tsconfig.json: *new* {"pollingInterval":2000} +/tests/cases/fourslash/server/tsconfig.ts: *new* + {"pollingInterval":2000} watchedDirectoriesRecursive:: /tests/cases/fourslash/node_modules: *new* @@ -255,8 +264,14 @@ watchedFiles:: {"pollingInterval":500} /tests/cases/fourslash/server/jsconfig.json: {"pollingInterval":2000} +/tests/cases/fourslash/server/tsconfig.d.ts: + {"pollingInterval":2000} +/tests/cases/fourslash/server/tsconfig.js: + {"pollingInterval":2000} /tests/cases/fourslash/server/tsconfig.json: {"pollingInterval":2000} +/tests/cases/fourslash/server/tsconfig.ts: + {"pollingInterval":2000} watchedFiles *deleted*:: /tests/cases/fourslash/server/a.ts: diff --git a/tests/baselines/reference/tsserver/fourslashServer/ngProxy2.js b/tests/baselines/reference/tsserver/fourslashServer/ngProxy2.js index 75af1baea66ab..bd4d6dbd78392 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/ngProxy2.js +++ b/tests/baselines/reference/tsserver/fourslashServer/ngProxy2.js @@ -117,6 +117,9 @@ Info seq [hh:mm:ss:mss] event: "diagnostics": [] } } +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /tests/cases/fourslash/server/tsconfig.d.ts 2000 undefined WatchType: Config file for the inferred project root +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /tests/cases/fourslash/server/tsconfig.ts 2000 undefined WatchType: Config file for the inferred project root +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /tests/cases/fourslash/server/tsconfig.js 2000 undefined WatchType: Config file for the inferred project root Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /tests/cases/fourslash/server/jsconfig.json 2000 undefined WatchType: Config file for the inferred project root Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/inferredProject1* Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /tests/cases/fourslash/server/node_modules 1 undefined Project: /dev/null/inferredProject1* WatchType: Failed Lookup Locations @@ -169,8 +172,14 @@ watchedFiles:: {"pollingInterval":500} /tests/cases/fourslash/server/jsconfig.json: *new* {"pollingInterval":2000} +/tests/cases/fourslash/server/tsconfig.d.ts: *new* + {"pollingInterval":2000} +/tests/cases/fourslash/server/tsconfig.js: *new* + {"pollingInterval":2000} /tests/cases/fourslash/server/tsconfig.json: *new* {"pollingInterval":2000} +/tests/cases/fourslash/server/tsconfig.ts: *new* + {"pollingInterval":2000} watchedDirectoriesRecursive:: /tests/cases/fourslash/node_modules: *new* @@ -255,8 +264,14 @@ watchedFiles:: {"pollingInterval":500} /tests/cases/fourslash/server/jsconfig.json: {"pollingInterval":2000} +/tests/cases/fourslash/server/tsconfig.d.ts: + {"pollingInterval":2000} +/tests/cases/fourslash/server/tsconfig.js: + {"pollingInterval":2000} /tests/cases/fourslash/server/tsconfig.json: {"pollingInterval":2000} +/tests/cases/fourslash/server/tsconfig.ts: + {"pollingInterval":2000} watchedFiles *deleted*:: /tests/cases/fourslash/server/a.ts: diff --git a/tests/baselines/reference/tsserver/fourslashServer/ngProxy3.js b/tests/baselines/reference/tsserver/fourslashServer/ngProxy3.js index 47384598f1afc..b7e11775432f6 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/ngProxy3.js +++ b/tests/baselines/reference/tsserver/fourslashServer/ngProxy3.js @@ -116,6 +116,9 @@ Info seq [hh:mm:ss:mss] event: "diagnostics": [] } } +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /tests/cases/fourslash/server/tsconfig.d.ts 2000 undefined WatchType: Config file for the inferred project root +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /tests/cases/fourslash/server/tsconfig.ts 2000 undefined WatchType: Config file for the inferred project root +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /tests/cases/fourslash/server/tsconfig.js 2000 undefined WatchType: Config file for the inferred project root Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /tests/cases/fourslash/server/jsconfig.json 2000 undefined WatchType: Config file for the inferred project root Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/inferredProject1* Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /tests/cases/fourslash/server/node_modules 1 undefined Project: /dev/null/inferredProject1* WatchType: Failed Lookup Locations @@ -168,8 +171,14 @@ watchedFiles:: {"pollingInterval":500} /tests/cases/fourslash/server/jsconfig.json: *new* {"pollingInterval":2000} +/tests/cases/fourslash/server/tsconfig.d.ts: *new* + {"pollingInterval":2000} +/tests/cases/fourslash/server/tsconfig.js: *new* + {"pollingInterval":2000} /tests/cases/fourslash/server/tsconfig.json: *new* {"pollingInterval":2000} +/tests/cases/fourslash/server/tsconfig.ts: *new* + {"pollingInterval":2000} watchedDirectoriesRecursive:: /tests/cases/fourslash/node_modules: *new* @@ -254,8 +263,14 @@ watchedFiles:: {"pollingInterval":500} /tests/cases/fourslash/server/jsconfig.json: {"pollingInterval":2000} +/tests/cases/fourslash/server/tsconfig.d.ts: + {"pollingInterval":2000} +/tests/cases/fourslash/server/tsconfig.js: + {"pollingInterval":2000} /tests/cases/fourslash/server/tsconfig.json: {"pollingInterval":2000} +/tests/cases/fourslash/server/tsconfig.ts: + {"pollingInterval":2000} watchedFiles *deleted*:: /tests/cases/fourslash/server/a.ts: diff --git a/tests/baselines/reference/tsserver/fourslashServer/ngProxy4.js b/tests/baselines/reference/tsserver/fourslashServer/ngProxy4.js index 843861a566aac..2828ddf712416 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/ngProxy4.js +++ b/tests/baselines/reference/tsserver/fourslashServer/ngProxy4.js @@ -116,6 +116,9 @@ Info seq [hh:mm:ss:mss] event: "diagnostics": [] } } +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /tests/cases/fourslash/server/tsconfig.d.ts 2000 undefined WatchType: Config file for the inferred project root +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /tests/cases/fourslash/server/tsconfig.ts 2000 undefined WatchType: Config file for the inferred project root +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /tests/cases/fourslash/server/tsconfig.js 2000 undefined WatchType: Config file for the inferred project root Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /tests/cases/fourslash/server/jsconfig.json 2000 undefined WatchType: Config file for the inferred project root Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/inferredProject1* Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /tests/cases/fourslash/server/node_modules 1 undefined Project: /dev/null/inferredProject1* WatchType: Failed Lookup Locations @@ -168,8 +171,14 @@ watchedFiles:: {"pollingInterval":500} /tests/cases/fourslash/server/jsconfig.json: *new* {"pollingInterval":2000} +/tests/cases/fourslash/server/tsconfig.d.ts: *new* + {"pollingInterval":2000} +/tests/cases/fourslash/server/tsconfig.js: *new* + {"pollingInterval":2000} /tests/cases/fourslash/server/tsconfig.json: *new* {"pollingInterval":2000} +/tests/cases/fourslash/server/tsconfig.ts: *new* + {"pollingInterval":2000} watchedDirectoriesRecursive:: /tests/cases/fourslash/node_modules: *new* @@ -254,8 +263,14 @@ watchedFiles:: {"pollingInterval":500} /tests/cases/fourslash/server/jsconfig.json: {"pollingInterval":2000} +/tests/cases/fourslash/server/tsconfig.d.ts: + {"pollingInterval":2000} +/tests/cases/fourslash/server/tsconfig.js: + {"pollingInterval":2000} /tests/cases/fourslash/server/tsconfig.json: {"pollingInterval":2000} +/tests/cases/fourslash/server/tsconfig.ts: + {"pollingInterval":2000} watchedFiles *deleted*:: /tests/cases/fourslash/server/a.ts: diff --git a/tests/baselines/reference/tsserver/fourslashServer/nodeNextModuleKindCaching1.js b/tests/baselines/reference/tsserver/fourslashServer/nodeNextModuleKindCaching1.js index 863accfd3460a..210e6326c235c 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/nodeNextModuleKindCaching1.js +++ b/tests/baselines/reference/tsserver/fourslashServer/nodeNextModuleKindCaching1.js @@ -181,6 +181,9 @@ Info seq [hh:mm:ss:mss] event: ] } } +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /tests/cases/fourslash/server/tsconfig.d.ts 2000 undefined WatchType: Config file for the inferred project root +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /tests/cases/fourslash/server/tsconfig.ts 2000 undefined WatchType: Config file for the inferred project root +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /tests/cases/fourslash/server/tsconfig.js 2000 undefined WatchType: Config file for the inferred project root Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /tests/cases/fourslash/server/jsconfig.json 2000 undefined WatchType: Config file for the inferred project root Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/inferredProject1* Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /lib.d.ts 500 undefined WatchType: Closed Script info @@ -246,8 +249,14 @@ watchedFiles:: {"pollingInterval":500} /tests/cases/fourslash/server/src/package.json: *new* {"pollingInterval":2000} +/tests/cases/fourslash/server/tsconfig.d.ts: *new* + {"pollingInterval":2000} +/tests/cases/fourslash/server/tsconfig.js: *new* + {"pollingInterval":2000} /tests/cases/fourslash/server/tsconfig.json: *new* {"pollingInterval":2000} +/tests/cases/fourslash/server/tsconfig.ts: *new* + {"pollingInterval":2000} watchedDirectoriesRecursive:: /tests/cases/fourslash/node_modules: *new* @@ -342,8 +351,14 @@ watchedFiles:: {"pollingInterval":500} /tests/cases/fourslash/server/src/package.json: {"pollingInterval":2000} +/tests/cases/fourslash/server/tsconfig.d.ts: + {"pollingInterval":2000} +/tests/cases/fourslash/server/tsconfig.js: + {"pollingInterval":2000} /tests/cases/fourslash/server/tsconfig.json: {"pollingInterval":2000} +/tests/cases/fourslash/server/tsconfig.ts: + {"pollingInterval":2000} watchedFiles *deleted*:: /tests/cases/fourslash/server/src/index.ts: diff --git a/tests/baselines/reference/tsserver/fourslashServer/occurrences01.js b/tests/baselines/reference/tsserver/fourslashServer/occurrences01.js index ec01145875fa1..0f5eb391c46c7 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/occurrences01.js +++ b/tests/baselines/reference/tsserver/fourslashServer/occurrences01.js @@ -32,6 +32,9 @@ Info seq [hh:mm:ss:mss] request: } Info seq [hh:mm:ss:mss] Search path: /tests/cases/fourslash/server Info seq [hh:mm:ss:mss] For info: /tests/cases/fourslash/server/occurrences01.ts :: No config files found. +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /tests/cases/fourslash/server/tsconfig.d.ts 2000 undefined WatchType: Config file for the inferred project root +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /tests/cases/fourslash/server/tsconfig.ts 2000 undefined WatchType: Config file for the inferred project root +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /tests/cases/fourslash/server/tsconfig.js 2000 undefined WatchType: Config file for the inferred project root Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /tests/cases/fourslash/server/tsconfig.json 2000 undefined WatchType: Config file for the inferred project root Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /tests/cases/fourslash/server/jsconfig.json 2000 undefined WatchType: Config file for the inferred project root Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/inferredProject1* @@ -82,8 +85,14 @@ watchedFiles:: {"pollingInterval":500} /tests/cases/fourslash/server/jsconfig.json: *new* {"pollingInterval":2000} +/tests/cases/fourslash/server/tsconfig.d.ts: *new* + {"pollingInterval":2000} +/tests/cases/fourslash/server/tsconfig.js: *new* + {"pollingInterval":2000} /tests/cases/fourslash/server/tsconfig.json: *new* {"pollingInterval":2000} +/tests/cases/fourslash/server/tsconfig.ts: *new* + {"pollingInterval":2000} watchedDirectoriesRecursive:: /tests/cases/fourslash/node_modules: *new* diff --git a/tests/baselines/reference/tsserver/fourslashServer/occurrences02.js b/tests/baselines/reference/tsserver/fourslashServer/occurrences02.js index 51eefff2d1d13..13d74f76fd46f 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/occurrences02.js +++ b/tests/baselines/reference/tsserver/fourslashServer/occurrences02.js @@ -26,6 +26,9 @@ Info seq [hh:mm:ss:mss] request: } Info seq [hh:mm:ss:mss] Search path: /tests/cases/fourslash/server Info seq [hh:mm:ss:mss] For info: /tests/cases/fourslash/server/occurrences02.ts :: No config files found. +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /tests/cases/fourslash/server/tsconfig.d.ts 2000 undefined WatchType: Config file for the inferred project root +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /tests/cases/fourslash/server/tsconfig.ts 2000 undefined WatchType: Config file for the inferred project root +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /tests/cases/fourslash/server/tsconfig.js 2000 undefined WatchType: Config file for the inferred project root Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /tests/cases/fourslash/server/tsconfig.json 2000 undefined WatchType: Config file for the inferred project root Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /tests/cases/fourslash/server/jsconfig.json 2000 undefined WatchType: Config file for the inferred project root Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/inferredProject1* @@ -76,8 +79,14 @@ watchedFiles:: {"pollingInterval":500} /tests/cases/fourslash/server/jsconfig.json: *new* {"pollingInterval":2000} +/tests/cases/fourslash/server/tsconfig.d.ts: *new* + {"pollingInterval":2000} +/tests/cases/fourslash/server/tsconfig.js: *new* + {"pollingInterval":2000} /tests/cases/fourslash/server/tsconfig.json: *new* {"pollingInterval":2000} +/tests/cases/fourslash/server/tsconfig.ts: *new* + {"pollingInterval":2000} watchedDirectoriesRecursive:: /tests/cases/fourslash/node_modules: *new* diff --git a/tests/baselines/reference/tsserver/fourslashServer/openFileWithSyntaxKind.js b/tests/baselines/reference/tsserver/fourslashServer/openFileWithSyntaxKind.js index b838984a002ca..6b54ba4195d35 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/openFileWithSyntaxKind.js +++ b/tests/baselines/reference/tsserver/fourslashServer/openFileWithSyntaxKind.js @@ -31,6 +31,9 @@ Info seq [hh:mm:ss:mss] request: } Info seq [hh:mm:ss:mss] Search path: /tests/cases/fourslash/server Info seq [hh:mm:ss:mss] For info: /tests/cases/fourslash/server/dumbFile.ts :: No config files found. +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /tests/cases/fourslash/server/tsconfig.d.ts 2000 undefined WatchType: Config file for the inferred project root +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /tests/cases/fourslash/server/tsconfig.ts 2000 undefined WatchType: Config file for the inferred project root +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /tests/cases/fourslash/server/tsconfig.js 2000 undefined WatchType: Config file for the inferred project root Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /tests/cases/fourslash/server/tsconfig.json 2000 undefined WatchType: Config file for the inferred project root Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /tests/cases/fourslash/server/jsconfig.json 2000 undefined WatchType: Config file for the inferred project root Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/inferredProject1* @@ -81,8 +84,14 @@ watchedFiles:: {"pollingInterval":500} /tests/cases/fourslash/server/jsconfig.json: *new* {"pollingInterval":2000} +/tests/cases/fourslash/server/tsconfig.d.ts: *new* + {"pollingInterval":2000} +/tests/cases/fourslash/server/tsconfig.js: *new* + {"pollingInterval":2000} /tests/cases/fourslash/server/tsconfig.json: *new* {"pollingInterval":2000} +/tests/cases/fourslash/server/tsconfig.ts: *new* + {"pollingInterval":2000} watchedDirectoriesRecursive:: /tests/cases/fourslash/node_modules: *new* @@ -180,8 +189,14 @@ watchedFiles:: {"pollingInterval":500} /tests/cases/fourslash/server/jsconfig.json: {"pollingInterval":2000} +/tests/cases/fourslash/server/tsconfig.d.ts: + {"pollingInterval":2000} +/tests/cases/fourslash/server/tsconfig.js: + {"pollingInterval":2000} /tests/cases/fourslash/server/tsconfig.json: {"pollingInterval":2000} +/tests/cases/fourslash/server/tsconfig.ts: + {"pollingInterval":2000} watchedDirectoriesRecursive:: /tests/cases/fourslash/node_modules: diff --git a/tests/baselines/reference/tsserver/fourslashServer/projectInfo01.js b/tests/baselines/reference/tsserver/fourslashServer/projectInfo01.js index e26ebaa610540..31ba278853512 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/projectInfo01.js +++ b/tests/baselines/reference/tsserver/fourslashServer/projectInfo01.js @@ -34,6 +34,9 @@ Info seq [hh:mm:ss:mss] request: } Info seq [hh:mm:ss:mss] Search path: /tests/cases/fourslash/server Info seq [hh:mm:ss:mss] For info: /tests/cases/fourslash/server/a.ts :: No config files found. +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /tests/cases/fourslash/server/tsconfig.d.ts 2000 undefined WatchType: Config file for the inferred project root +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /tests/cases/fourslash/server/tsconfig.ts 2000 undefined WatchType: Config file for the inferred project root +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /tests/cases/fourslash/server/tsconfig.js 2000 undefined WatchType: Config file for the inferred project root Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /tests/cases/fourslash/server/tsconfig.json 2000 undefined WatchType: Config file for the inferred project root Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /tests/cases/fourslash/server/jsconfig.json 2000 undefined WatchType: Config file for the inferred project root Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/inferredProject1* @@ -84,8 +87,14 @@ watchedFiles:: {"pollingInterval":500} /tests/cases/fourslash/server/jsconfig.json: *new* {"pollingInterval":2000} +/tests/cases/fourslash/server/tsconfig.d.ts: *new* + {"pollingInterval":2000} +/tests/cases/fourslash/server/tsconfig.js: *new* + {"pollingInterval":2000} /tests/cases/fourslash/server/tsconfig.json: *new* {"pollingInterval":2000} +/tests/cases/fourslash/server/tsconfig.ts: *new* + {"pollingInterval":2000} watchedDirectoriesRecursive:: /tests/cases/fourslash/node_modules: *new* @@ -252,8 +261,14 @@ watchedFiles:: {"pollingInterval":500} /tests/cases/fourslash/server/jsconfig.json: {"pollingInterval":2000} +/tests/cases/fourslash/server/tsconfig.d.ts: + {"pollingInterval":2000} +/tests/cases/fourslash/server/tsconfig.js: + {"pollingInterval":2000} /tests/cases/fourslash/server/tsconfig.json: {"pollingInterval":2000} +/tests/cases/fourslash/server/tsconfig.ts: + {"pollingInterval":2000} watchedDirectoriesRecursive:: /tests/cases/fourslash/node_modules: @@ -438,8 +453,14 @@ watchedFiles:: {"pollingInterval":500} /tests/cases/fourslash/server/jsconfig.json: {"pollingInterval":2000} +/tests/cases/fourslash/server/tsconfig.d.ts: + {"pollingInterval":2000} +/tests/cases/fourslash/server/tsconfig.js: + {"pollingInterval":2000} /tests/cases/fourslash/server/tsconfig.json: {"pollingInterval":2000} +/tests/cases/fourslash/server/tsconfig.ts: + {"pollingInterval":2000} watchedDirectoriesRecursive:: /tests/cases/fourslash/node_modules: @@ -599,8 +620,14 @@ watchedFiles:: {"pollingInterval":500} /tests/cases/fourslash/server/jsconfig.json: {"pollingInterval":2000} +/tests/cases/fourslash/server/tsconfig.d.ts: + {"pollingInterval":2000} +/tests/cases/fourslash/server/tsconfig.js: + {"pollingInterval":2000} /tests/cases/fourslash/server/tsconfig.json: {"pollingInterval":2000} +/tests/cases/fourslash/server/tsconfig.ts: + {"pollingInterval":2000} watchedDirectoriesRecursive:: /tests/cases/fourslash/node_modules: diff --git a/tests/baselines/reference/tsserver/fourslashServer/quickinfo01.js b/tests/baselines/reference/tsserver/fourslashServer/quickinfo01.js index 90ff8759b29b7..0a5174d7bd2a3 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/quickinfo01.js +++ b/tests/baselines/reference/tsserver/fourslashServer/quickinfo01.js @@ -37,6 +37,9 @@ Info seq [hh:mm:ss:mss] request: } Info seq [hh:mm:ss:mss] Search path: /tests/cases/fourslash/server Info seq [hh:mm:ss:mss] For info: /tests/cases/fourslash/server/quickinfo01.ts :: No config files found. +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /tests/cases/fourslash/server/tsconfig.d.ts 2000 undefined WatchType: Config file for the inferred project root +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /tests/cases/fourslash/server/tsconfig.ts 2000 undefined WatchType: Config file for the inferred project root +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /tests/cases/fourslash/server/tsconfig.js 2000 undefined WatchType: Config file for the inferred project root Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /tests/cases/fourslash/server/tsconfig.json 2000 undefined WatchType: Config file for the inferred project root Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /tests/cases/fourslash/server/jsconfig.json 2000 undefined WatchType: Config file for the inferred project root Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/inferredProject1* @@ -87,8 +90,14 @@ watchedFiles:: {"pollingInterval":500} /tests/cases/fourslash/server/jsconfig.json: *new* {"pollingInterval":2000} +/tests/cases/fourslash/server/tsconfig.d.ts: *new* + {"pollingInterval":2000} +/tests/cases/fourslash/server/tsconfig.js: *new* + {"pollingInterval":2000} /tests/cases/fourslash/server/tsconfig.json: *new* {"pollingInterval":2000} +/tests/cases/fourslash/server/tsconfig.ts: *new* + {"pollingInterval":2000} watchedDirectoriesRecursive:: /tests/cases/fourslash/node_modules: *new* diff --git a/tests/baselines/reference/tsserver/fourslashServer/quickinfoWrongComment.js b/tests/baselines/reference/tsserver/fourslashServer/quickinfoWrongComment.js index dc3119f32047f..d530f1c01b119 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/quickinfoWrongComment.js +++ b/tests/baselines/reference/tsserver/fourslashServer/quickinfoWrongComment.js @@ -36,6 +36,9 @@ Info seq [hh:mm:ss:mss] request: } Info seq [hh:mm:ss:mss] Search path: /tests/cases/fourslash/server Info seq [hh:mm:ss:mss] For info: /tests/cases/fourslash/server/quickinfoWrongComment.ts :: No config files found. +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /tests/cases/fourslash/server/tsconfig.d.ts 2000 undefined WatchType: Config file for the inferred project root +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /tests/cases/fourslash/server/tsconfig.ts 2000 undefined WatchType: Config file for the inferred project root +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /tests/cases/fourslash/server/tsconfig.js 2000 undefined WatchType: Config file for the inferred project root Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /tests/cases/fourslash/server/tsconfig.json 2000 undefined WatchType: Config file for the inferred project root Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /tests/cases/fourslash/server/jsconfig.json 2000 undefined WatchType: Config file for the inferred project root Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/inferredProject1* @@ -86,8 +89,14 @@ watchedFiles:: {"pollingInterval":500} /tests/cases/fourslash/server/jsconfig.json: *new* {"pollingInterval":2000} +/tests/cases/fourslash/server/tsconfig.d.ts: *new* + {"pollingInterval":2000} +/tests/cases/fourslash/server/tsconfig.js: *new* + {"pollingInterval":2000} /tests/cases/fourslash/server/tsconfig.json: *new* {"pollingInterval":2000} +/tests/cases/fourslash/server/tsconfig.ts: *new* + {"pollingInterval":2000} watchedDirectoriesRecursive:: /tests/cases/fourslash/node_modules: *new* diff --git a/tests/baselines/reference/tsserver/fourslashServer/referenceToEmptyObject.js b/tests/baselines/reference/tsserver/fourslashServer/referenceToEmptyObject.js index ead65481c8b6f..c92aa62bd4733 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/referenceToEmptyObject.js +++ b/tests/baselines/reference/tsserver/fourslashServer/referenceToEmptyObject.js @@ -24,6 +24,9 @@ Info seq [hh:mm:ss:mss] request: } Info seq [hh:mm:ss:mss] Search path: /tests/cases/fourslash/server Info seq [hh:mm:ss:mss] For info: /tests/cases/fourslash/server/referenceToEmptyObject.ts :: No config files found. +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /tests/cases/fourslash/server/tsconfig.d.ts 2000 undefined WatchType: Config file for the inferred project root +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /tests/cases/fourslash/server/tsconfig.ts 2000 undefined WatchType: Config file for the inferred project root +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /tests/cases/fourslash/server/tsconfig.js 2000 undefined WatchType: Config file for the inferred project root Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /tests/cases/fourslash/server/tsconfig.json 2000 undefined WatchType: Config file for the inferred project root Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /tests/cases/fourslash/server/jsconfig.json 2000 undefined WatchType: Config file for the inferred project root Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/inferredProject1* @@ -74,8 +77,14 @@ watchedFiles:: {"pollingInterval":500} /tests/cases/fourslash/server/jsconfig.json: *new* {"pollingInterval":2000} +/tests/cases/fourslash/server/tsconfig.d.ts: *new* + {"pollingInterval":2000} +/tests/cases/fourslash/server/tsconfig.js: *new* + {"pollingInterval":2000} /tests/cases/fourslash/server/tsconfig.json: *new* {"pollingInterval":2000} +/tests/cases/fourslash/server/tsconfig.ts: *new* + {"pollingInterval":2000} watchedDirectoriesRecursive:: /tests/cases/fourslash/node_modules: *new* diff --git a/tests/baselines/reference/tsserver/fourslashServer/referencesInEmptyFile.js b/tests/baselines/reference/tsserver/fourslashServer/referencesInEmptyFile.js index 1d221cee7aa38..3f394998b77df 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/referencesInEmptyFile.js +++ b/tests/baselines/reference/tsserver/fourslashServer/referencesInEmptyFile.js @@ -24,6 +24,9 @@ Info seq [hh:mm:ss:mss] request: } Info seq [hh:mm:ss:mss] Search path: /tests/cases/fourslash/server Info seq [hh:mm:ss:mss] For info: /tests/cases/fourslash/server/referencesInEmptyFile.ts :: No config files found. +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /tests/cases/fourslash/server/tsconfig.d.ts 2000 undefined WatchType: Config file for the inferred project root +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /tests/cases/fourslash/server/tsconfig.ts 2000 undefined WatchType: Config file for the inferred project root +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /tests/cases/fourslash/server/tsconfig.js 2000 undefined WatchType: Config file for the inferred project root Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /tests/cases/fourslash/server/tsconfig.json 2000 undefined WatchType: Config file for the inferred project root Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /tests/cases/fourslash/server/jsconfig.json 2000 undefined WatchType: Config file for the inferred project root Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/inferredProject1* @@ -74,8 +77,14 @@ watchedFiles:: {"pollingInterval":500} /tests/cases/fourslash/server/jsconfig.json: *new* {"pollingInterval":2000} +/tests/cases/fourslash/server/tsconfig.d.ts: *new* + {"pollingInterval":2000} +/tests/cases/fourslash/server/tsconfig.js: *new* + {"pollingInterval":2000} /tests/cases/fourslash/server/tsconfig.json: *new* {"pollingInterval":2000} +/tests/cases/fourslash/server/tsconfig.ts: *new* + {"pollingInterval":2000} watchedDirectoriesRecursive:: /tests/cases/fourslash/node_modules: *new* diff --git a/tests/baselines/reference/tsserver/fourslashServer/referencesToNonPropertyNameStringLiteral.js b/tests/baselines/reference/tsserver/fourslashServer/referencesToNonPropertyNameStringLiteral.js index cbc5315499460..44c06d9ce0901 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/referencesToNonPropertyNameStringLiteral.js +++ b/tests/baselines/reference/tsserver/fourslashServer/referencesToNonPropertyNameStringLiteral.js @@ -24,6 +24,9 @@ Info seq [hh:mm:ss:mss] request: } Info seq [hh:mm:ss:mss] Search path: /tests/cases/fourslash/server Info seq [hh:mm:ss:mss] For info: /tests/cases/fourslash/server/referencesToNonPropertyNameStringLiteral.ts :: No config files found. +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /tests/cases/fourslash/server/tsconfig.d.ts 2000 undefined WatchType: Config file for the inferred project root +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /tests/cases/fourslash/server/tsconfig.ts 2000 undefined WatchType: Config file for the inferred project root +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /tests/cases/fourslash/server/tsconfig.js 2000 undefined WatchType: Config file for the inferred project root Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /tests/cases/fourslash/server/tsconfig.json 2000 undefined WatchType: Config file for the inferred project root Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /tests/cases/fourslash/server/jsconfig.json 2000 undefined WatchType: Config file for the inferred project root Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/inferredProject1* @@ -74,8 +77,14 @@ watchedFiles:: {"pollingInterval":500} /tests/cases/fourslash/server/jsconfig.json: *new* {"pollingInterval":2000} +/tests/cases/fourslash/server/tsconfig.d.ts: *new* + {"pollingInterval":2000} +/tests/cases/fourslash/server/tsconfig.js: *new* + {"pollingInterval":2000} /tests/cases/fourslash/server/tsconfig.json: *new* {"pollingInterval":2000} +/tests/cases/fourslash/server/tsconfig.ts: *new* + {"pollingInterval":2000} watchedDirectoriesRecursive:: /tests/cases/fourslash/node_modules: *new* diff --git a/tests/baselines/reference/tsserver/fourslashServer/referencesToStringLiteralValue.js b/tests/baselines/reference/tsserver/fourslashServer/referencesToStringLiteralValue.js index f2c8a3b4e3f1c..25de482bb2616 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/referencesToStringLiteralValue.js +++ b/tests/baselines/reference/tsserver/fourslashServer/referencesToStringLiteralValue.js @@ -24,6 +24,9 @@ Info seq [hh:mm:ss:mss] request: } Info seq [hh:mm:ss:mss] Search path: /tests/cases/fourslash/server Info seq [hh:mm:ss:mss] For info: /tests/cases/fourslash/server/referencesToStringLiteralValue.ts :: No config files found. +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /tests/cases/fourslash/server/tsconfig.d.ts 2000 undefined WatchType: Config file for the inferred project root +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /tests/cases/fourslash/server/tsconfig.ts 2000 undefined WatchType: Config file for the inferred project root +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /tests/cases/fourslash/server/tsconfig.js 2000 undefined WatchType: Config file for the inferred project root Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /tests/cases/fourslash/server/tsconfig.json 2000 undefined WatchType: Config file for the inferred project root Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /tests/cases/fourslash/server/jsconfig.json 2000 undefined WatchType: Config file for the inferred project root Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/inferredProject1* @@ -74,8 +77,14 @@ watchedFiles:: {"pollingInterval":500} /tests/cases/fourslash/server/jsconfig.json: *new* {"pollingInterval":2000} +/tests/cases/fourslash/server/tsconfig.d.ts: *new* + {"pollingInterval":2000} +/tests/cases/fourslash/server/tsconfig.js: *new* + {"pollingInterval":2000} /tests/cases/fourslash/server/tsconfig.json: *new* {"pollingInterval":2000} +/tests/cases/fourslash/server/tsconfig.ts: *new* + {"pollingInterval":2000} watchedDirectoriesRecursive:: /tests/cases/fourslash/node_modules: *new* diff --git a/tests/baselines/reference/tsserver/fourslashServer/rename01.js b/tests/baselines/reference/tsserver/fourslashServer/rename01.js index 6fe0bc7a691fe..101a09f6f5054 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/rename01.js +++ b/tests/baselines/reference/tsserver/fourslashServer/rename01.js @@ -28,6 +28,9 @@ Info seq [hh:mm:ss:mss] request: } Info seq [hh:mm:ss:mss] Search path: /tests/cases/fourslash/server Info seq [hh:mm:ss:mss] For info: /tests/cases/fourslash/server/rename01.ts :: No config files found. +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /tests/cases/fourslash/server/tsconfig.d.ts 2000 undefined WatchType: Config file for the inferred project root +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /tests/cases/fourslash/server/tsconfig.ts 2000 undefined WatchType: Config file for the inferred project root +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /tests/cases/fourslash/server/tsconfig.js 2000 undefined WatchType: Config file for the inferred project root Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /tests/cases/fourslash/server/tsconfig.json 2000 undefined WatchType: Config file for the inferred project root Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /tests/cases/fourslash/server/jsconfig.json 2000 undefined WatchType: Config file for the inferred project root Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/inferredProject1* @@ -81,8 +84,14 @@ watchedFiles:: {"pollingInterval":500} /tests/cases/fourslash/server/jsconfig.json: *new* {"pollingInterval":2000} +/tests/cases/fourslash/server/tsconfig.d.ts: *new* + {"pollingInterval":2000} +/tests/cases/fourslash/server/tsconfig.js: *new* + {"pollingInterval":2000} /tests/cases/fourslash/server/tsconfig.json: *new* {"pollingInterval":2000} +/tests/cases/fourslash/server/tsconfig.ts: *new* + {"pollingInterval":2000} watchedDirectoriesRecursive:: /tests/cases/fourslash/node_modules: *new* diff --git a/tests/baselines/reference/tsserver/fourslashServer/semanticClassificationJs1.js b/tests/baselines/reference/tsserver/fourslashServer/semanticClassificationJs1.js index 113839fa1d610..e0172f96e9f63 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/semanticClassificationJs1.js +++ b/tests/baselines/reference/tsserver/fourslashServer/semanticClassificationJs1.js @@ -27,6 +27,9 @@ Info seq [hh:mm:ss:mss] request: } Info seq [hh:mm:ss:mss] Search path: /tests/cases/fourslash/server Info seq [hh:mm:ss:mss] For info: /tests/cases/fourslash/server/semanticClassificationJs1.ts :: No config files found. +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /tests/cases/fourslash/server/tsconfig.d.ts 2000 undefined WatchType: Config file for the inferred project root +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /tests/cases/fourslash/server/tsconfig.ts 2000 undefined WatchType: Config file for the inferred project root +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /tests/cases/fourslash/server/tsconfig.js 2000 undefined WatchType: Config file for the inferred project root Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /tests/cases/fourslash/server/tsconfig.json 2000 undefined WatchType: Config file for the inferred project root Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /tests/cases/fourslash/server/jsconfig.json 2000 undefined WatchType: Config file for the inferred project root Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/inferredProject1* @@ -77,8 +80,14 @@ watchedFiles:: {"pollingInterval":500} /tests/cases/fourslash/server/jsconfig.json: *new* {"pollingInterval":2000} +/tests/cases/fourslash/server/tsconfig.d.ts: *new* + {"pollingInterval":2000} +/tests/cases/fourslash/server/tsconfig.js: *new* + {"pollingInterval":2000} /tests/cases/fourslash/server/tsconfig.json: *new* {"pollingInterval":2000} +/tests/cases/fourslash/server/tsconfig.ts: *new* + {"pollingInterval":2000} watchedDirectoriesRecursive:: /tests/cases/fourslash/node_modules: *new* diff --git a/tests/baselines/reference/tsserver/fourslashServer/signatureHelp01.js b/tests/baselines/reference/tsserver/fourslashServer/signatureHelp01.js index 8f2c8bc36f85e..300e16cff1dae 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/signatureHelp01.js +++ b/tests/baselines/reference/tsserver/fourslashServer/signatureHelp01.js @@ -29,6 +29,9 @@ Info seq [hh:mm:ss:mss] request: } Info seq [hh:mm:ss:mss] Search path: /tests/cases/fourslash/server Info seq [hh:mm:ss:mss] For info: /tests/cases/fourslash/server/signatureHelp01.ts :: No config files found. +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /tests/cases/fourslash/server/tsconfig.d.ts 2000 undefined WatchType: Config file for the inferred project root +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /tests/cases/fourslash/server/tsconfig.ts 2000 undefined WatchType: Config file for the inferred project root +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /tests/cases/fourslash/server/tsconfig.js 2000 undefined WatchType: Config file for the inferred project root Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /tests/cases/fourslash/server/tsconfig.json 2000 undefined WatchType: Config file for the inferred project root Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /tests/cases/fourslash/server/jsconfig.json 2000 undefined WatchType: Config file for the inferred project root Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/inferredProject1* @@ -79,8 +82,14 @@ watchedFiles:: {"pollingInterval":500} /tests/cases/fourslash/server/jsconfig.json: *new* {"pollingInterval":2000} +/tests/cases/fourslash/server/tsconfig.d.ts: *new* + {"pollingInterval":2000} +/tests/cases/fourslash/server/tsconfig.js: *new* + {"pollingInterval":2000} /tests/cases/fourslash/server/tsconfig.json: *new* {"pollingInterval":2000} +/tests/cases/fourslash/server/tsconfig.ts: *new* + {"pollingInterval":2000} watchedDirectoriesRecursive:: /tests/cases/fourslash/node_modules: *new* diff --git a/tests/baselines/reference/tsserver/fourslashServer/signatureHelpJSDocCallbackTag.js b/tests/baselines/reference/tsserver/fourslashServer/signatureHelpJSDocCallbackTag.js index 513c8e6832ca9..8cd480e6f30e6 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/signatureHelpJSDocCallbackTag.js +++ b/tests/baselines/reference/tsserver/fourslashServer/signatureHelpJSDocCallbackTag.js @@ -45,6 +45,9 @@ Info seq [hh:mm:ss:mss] request: } Info seq [hh:mm:ss:mss] Search path: /tests/cases/fourslash/server Info seq [hh:mm:ss:mss] For info: /tests/cases/fourslash/server/jsdocCallbackTag.js :: No config files found. +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /tests/cases/fourslash/server/tsconfig.d.ts 2000 undefined WatchType: Config file for the inferred project root +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /tests/cases/fourslash/server/tsconfig.ts 2000 undefined WatchType: Config file for the inferred project root +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /tests/cases/fourslash/server/tsconfig.js 2000 undefined WatchType: Config file for the inferred project root Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /tests/cases/fourslash/server/tsconfig.json 2000 undefined WatchType: Config file for the inferred project root Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /tests/cases/fourslash/server/jsconfig.json 2000 undefined WatchType: Config file for the inferred project root Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/inferredProject1* @@ -95,8 +98,14 @@ watchedFiles:: {"pollingInterval":500} /tests/cases/fourslash/server/jsconfig.json: *new* {"pollingInterval":2000} +/tests/cases/fourslash/server/tsconfig.d.ts: *new* + {"pollingInterval":2000} +/tests/cases/fourslash/server/tsconfig.js: *new* + {"pollingInterval":2000} /tests/cases/fourslash/server/tsconfig.json: *new* {"pollingInterval":2000} +/tests/cases/fourslash/server/tsconfig.ts: *new* + {"pollingInterval":2000} watchedDirectoriesRecursive:: /tests/cases/fourslash/node_modules: *new* diff --git a/tests/baselines/reference/tsserver/fourslashServer/tsconfigComputedPropertyError.js b/tests/baselines/reference/tsserver/fourslashServer/tsconfigComputedPropertyError.js index 57d55148192f2..926e42b1a97c2 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/tsconfigComputedPropertyError.js +++ b/tests/baselines/reference/tsserver/fourslashServer/tsconfigComputedPropertyError.js @@ -137,6 +137,9 @@ Info seq [hh:mm:ss:mss] event: ] } } +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /tests/cases/fourslash/server/tsconfig.d.ts 2000 undefined WatchType: Config file for the inferred project root +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /tests/cases/fourslash/server/tsconfig.ts 2000 undefined WatchType: Config file for the inferred project root +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /tests/cases/fourslash/server/tsconfig.js 2000 undefined WatchType: Config file for the inferred project root Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /tests/cases/fourslash/server/jsconfig.json 2000 undefined WatchType: Config file for the inferred project root Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/inferredProject1* Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /tests/cases/fourslash/server/node_modules 1 undefined Project: /dev/null/inferredProject1* WatchType: Failed Lookup Locations @@ -189,8 +192,14 @@ watchedFiles:: {"pollingInterval":2000} /tests/cases/fourslash/server/nonexistentfile.ts: *new* {"pollingInterval":500} +/tests/cases/fourslash/server/tsconfig.d.ts: *new* + {"pollingInterval":2000} +/tests/cases/fourslash/server/tsconfig.js: *new* + {"pollingInterval":2000} /tests/cases/fourslash/server/tsconfig.json: *new* {"pollingInterval":2000} +/tests/cases/fourslash/server/tsconfig.ts: *new* + {"pollingInterval":2000} watchedDirectoriesRecursive:: /tests/cases/fourslash/node_modules: *new* diff --git a/tests/baselines/reference/tsserver/fourslashServer/tsxIncrementalServer.js b/tests/baselines/reference/tsserver/fourslashServer/tsxIncrementalServer.js index 061fea819fc86..68efaad9ad65a 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/tsxIncrementalServer.js +++ b/tests/baselines/reference/tsserver/fourslashServer/tsxIncrementalServer.js @@ -24,6 +24,9 @@ Info seq [hh:mm:ss:mss] request: } Info seq [hh:mm:ss:mss] Search path: /tests/cases/fourslash/server Info seq [hh:mm:ss:mss] For info: /tests/cases/fourslash/server/tsxIncrementalServer.ts :: No config files found. +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /tests/cases/fourslash/server/tsconfig.d.ts 2000 undefined WatchType: Config file for the inferred project root +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /tests/cases/fourslash/server/tsconfig.ts 2000 undefined WatchType: Config file for the inferred project root +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /tests/cases/fourslash/server/tsconfig.js 2000 undefined WatchType: Config file for the inferred project root Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /tests/cases/fourslash/server/tsconfig.json 2000 undefined WatchType: Config file for the inferred project root Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /tests/cases/fourslash/server/jsconfig.json 2000 undefined WatchType: Config file for the inferred project root Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/inferredProject1* @@ -74,8 +77,14 @@ watchedFiles:: {"pollingInterval":500} /tests/cases/fourslash/server/jsconfig.json: *new* {"pollingInterval":2000} +/tests/cases/fourslash/server/tsconfig.d.ts: *new* + {"pollingInterval":2000} +/tests/cases/fourslash/server/tsconfig.js: *new* + {"pollingInterval":2000} /tests/cases/fourslash/server/tsconfig.json: *new* {"pollingInterval":2000} +/tests/cases/fourslash/server/tsconfig.ts: *new* + {"pollingInterval":2000} watchedDirectoriesRecursive:: /tests/cases/fourslash/node_modules: *new* diff --git a/tests/baselines/reference/tsserver/fourslashServer/typeReferenceOnServer.js b/tests/baselines/reference/tsserver/fourslashServer/typeReferenceOnServer.js index 0fe0b0d430077..2a74766bf5eaa 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/typeReferenceOnServer.js +++ b/tests/baselines/reference/tsserver/fourslashServer/typeReferenceOnServer.js @@ -26,6 +26,9 @@ Info seq [hh:mm:ss:mss] request: } Info seq [hh:mm:ss:mss] Search path: /tests/cases/fourslash/server Info seq [hh:mm:ss:mss] For info: /tests/cases/fourslash/server/typeReferenceOnServer.ts :: No config files found. +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /tests/cases/fourslash/server/tsconfig.d.ts 2000 undefined WatchType: Config file for the inferred project root +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /tests/cases/fourslash/server/tsconfig.ts 2000 undefined WatchType: Config file for the inferred project root +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /tests/cases/fourslash/server/tsconfig.js 2000 undefined WatchType: Config file for the inferred project root Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /tests/cases/fourslash/server/tsconfig.json 2000 undefined WatchType: Config file for the inferred project root Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /tests/cases/fourslash/server/jsconfig.json 2000 undefined WatchType: Config file for the inferred project root Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/inferredProject1* @@ -76,8 +79,14 @@ watchedFiles:: {"pollingInterval":500} /tests/cases/fourslash/server/jsconfig.json: *new* {"pollingInterval":2000} +/tests/cases/fourslash/server/tsconfig.d.ts: *new* + {"pollingInterval":2000} +/tests/cases/fourslash/server/tsconfig.js: *new* + {"pollingInterval":2000} /tests/cases/fourslash/server/tsconfig.json: *new* {"pollingInterval":2000} +/tests/cases/fourslash/server/tsconfig.ts: *new* + {"pollingInterval":2000} watchedDirectoriesRecursive:: /tests/cases/fourslash/node_modules: *new* diff --git a/tests/baselines/reference/tsserver/fourslashServer/typedefinition01.js b/tests/baselines/reference/tsserver/fourslashServer/typedefinition01.js index 6d63fdd8d8298..fa63ec890f7df 100644 --- a/tests/baselines/reference/tsserver/fourslashServer/typedefinition01.js +++ b/tests/baselines/reference/tsserver/fourslashServer/typedefinition01.js @@ -28,6 +28,9 @@ Info seq [hh:mm:ss:mss] request: } Info seq [hh:mm:ss:mss] Search path: /tests/cases/fourslash/server Info seq [hh:mm:ss:mss] For info: /tests/cases/fourslash/server/b.ts :: No config files found. +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /tests/cases/fourslash/server/tsconfig.d.ts 2000 undefined WatchType: Config file for the inferred project root +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /tests/cases/fourslash/server/tsconfig.ts 2000 undefined WatchType: Config file for the inferred project root +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /tests/cases/fourslash/server/tsconfig.js 2000 undefined WatchType: Config file for the inferred project root Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /tests/cases/fourslash/server/tsconfig.json 2000 undefined WatchType: Config file for the inferred project root Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /tests/cases/fourslash/server/jsconfig.json 2000 undefined WatchType: Config file for the inferred project root Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/inferredProject1* @@ -84,8 +87,14 @@ watchedFiles:: {"pollingInterval":500} /tests/cases/fourslash/server/jsconfig.json: *new* {"pollingInterval":2000} +/tests/cases/fourslash/server/tsconfig.d.ts: *new* + {"pollingInterval":2000} +/tests/cases/fourslash/server/tsconfig.js: *new* + {"pollingInterval":2000} /tests/cases/fourslash/server/tsconfig.json: *new* {"pollingInterval":2000} +/tests/cases/fourslash/server/tsconfig.ts: *new* + {"pollingInterval":2000} watchedDirectoriesRecursive:: /tests/cases/fourslash/node_modules: *new* diff --git a/tests/baselines/reference/tsserver/inferredProjects/create-inferred-project.js b/tests/baselines/reference/tsserver/inferredProjects/create-inferred-project.js index 0900e4e4f83bd..a64665e067e38 100644 --- a/tests/baselines/reference/tsserver/inferredProjects/create-inferred-project.js +++ b/tests/baselines/reference/tsserver/inferredProjects/create-inferred-project.js @@ -35,6 +35,9 @@ Info seq [hh:mm:ss:mss] request: } Info seq [hh:mm:ss:mss] Search path: /user/username/projects/myproject Info seq [hh:mm:ss:mss] For info: /user/username/projects/myproject/app.ts :: No config files found. +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/tsconfig.d.ts 2000 undefined WatchType: Config file for the inferred project root +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/tsconfig.ts 2000 undefined WatchType: Config file for the inferred project root +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/tsconfig.js 2000 undefined WatchType: Config file for the inferred project root Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/tsconfig.json 2000 undefined WatchType: Config file for the inferred project root Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/jsconfig.json 2000 undefined WatchType: Config file for the inferred project root Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/inferredProject1* @@ -80,8 +83,14 @@ PolledWatches:: {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: *new* {"pollingInterval":500} +/user/username/projects/myproject/tsconfig.d.ts: *new* + {"pollingInterval":2000} +/user/username/projects/myproject/tsconfig.js: *new* + {"pollingInterval":2000} /user/username/projects/myproject/tsconfig.json: *new* {"pollingInterval":2000} +/user/username/projects/myproject/tsconfig.ts: *new* + {"pollingInterval":2000} /user/username/projects/node_modules/@types: *new* {"pollingInterval":500} diff --git a/tests/baselines/reference/tsserver/inferredProjects/should-still-retain-configured-project-created-while-opening-the-file.js b/tests/baselines/reference/tsserver/inferredProjects/should-still-retain-configured-project-created-while-opening-the-file.js index 4a7c7c4d479b6..e77f69b8e297f 100644 --- a/tests/baselines/reference/tsserver/inferredProjects/should-still-retain-configured-project-created-while-opening-the-file.js +++ b/tests/baselines/reference/tsserver/inferredProjects/should-still-retain-configured-project-created-while-opening-the-file.js @@ -141,6 +141,9 @@ Info seq [hh:mm:ss:mss] event: "diagnostics": [] } } +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/tsconfig.d.ts 2000 undefined WatchType: Config file for the inferred project root +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/tsconfig.ts 2000 undefined WatchType: Config file for the inferred project root +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/tsconfig.js 2000 undefined WatchType: Config file for the inferred project root Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/jsconfig.json 2000 undefined WatchType: Config file for the inferred project root Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/inferredProject1* Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots @@ -167,6 +170,12 @@ PolledWatches:: {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: *new* {"pollingInterval":500} +/user/username/projects/myproject/tsconfig.d.ts: *new* + {"pollingInterval":2000} +/user/username/projects/myproject/tsconfig.js: *new* + {"pollingInterval":2000} +/user/username/projects/myproject/tsconfig.ts: *new* + {"pollingInterval":2000} /user/username/projects/node_modules/@types: *new* {"pollingInterval":500} @@ -346,6 +355,12 @@ PolledWatches:: {"pollingInterval":500} /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} +/user/username/projects/myproject/tsconfig.d.ts: + {"pollingInterval":2000} +/user/username/projects/myproject/tsconfig.js: + {"pollingInterval":2000} +/user/username/projects/myproject/tsconfig.ts: + {"pollingInterval":2000} /user/username/projects/node_modules/@types: {"pollingInterval":500} @@ -381,6 +396,9 @@ Info seq [hh:mm:ss:mss] request: "seq": 2, "type": "request" } +Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /user/username/projects/myproject/tsconfig.d.ts 2000 undefined WatchType: Config file for the inferred project root +Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /user/username/projects/myproject/tsconfig.ts 2000 undefined WatchType: Config file for the inferred project root +Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /user/username/projects/myproject/tsconfig.js 2000 undefined WatchType: Config file for the inferred project root Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /user/username/projects/myproject/jsconfig.json 2000 undefined WatchType: Config file for the inferred project root Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/jsFile1.js 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] Project '/user/username/projects/myproject/tsconfig.json' (Configured) @@ -411,6 +429,12 @@ PolledWatches:: PolledWatches *deleted*:: /user/username/projects/myproject/jsconfig.json: {"pollingInterval":2000} +/user/username/projects/myproject/tsconfig.d.ts: + {"pollingInterval":2000} +/user/username/projects/myproject/tsconfig.js: + {"pollingInterval":2000} +/user/username/projects/myproject/tsconfig.ts: + {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: @@ -477,6 +501,9 @@ Info seq [hh:mm:ss:mss] event: "diagnostics": [] } } +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/tsconfig.d.ts 2000 undefined WatchType: Config file for the inferred project root +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/tsconfig.ts 2000 undefined WatchType: Config file for the inferred project root +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/tsconfig.js 2000 undefined WatchType: Config file for the inferred project root Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/jsconfig.json 2000 undefined WatchType: Config file for the inferred project root Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/inferredProject1* Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* projectStateVersion: 2 projectProgramVersion: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms @@ -605,6 +632,12 @@ PolledWatches:: {"pollingInterval":500} /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} +/user/username/projects/myproject/tsconfig.d.ts: *new* + {"pollingInterval":2000} +/user/username/projects/myproject/tsconfig.js: *new* + {"pollingInterval":2000} +/user/username/projects/myproject/tsconfig.ts: *new* + {"pollingInterval":2000} /user/username/projects/node_modules/@types: {"pollingInterval":500} @@ -908,6 +941,12 @@ PolledWatches:: {"pollingInterval":500} /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} +/user/username/projects/myproject/tsconfig.d.ts: + {"pollingInterval":2000} +/user/username/projects/myproject/tsconfig.js: + {"pollingInterval":2000} +/user/username/projects/myproject/tsconfig.ts: + {"pollingInterval":2000} /user/username/projects/node_modules/@types: {"pollingInterval":500} diff --git a/tests/baselines/reference/tsserver/inferredProjects/should-use-only-one-inferred-project-if-useOneInferredProject-is-set.js b/tests/baselines/reference/tsserver/inferredProjects/should-use-only-one-inferred-project-if-useOneInferredProject-is-set.js index 6e73bffada3f2..988a5552dae1d 100644 --- a/tests/baselines/reference/tsserver/inferredProjects/should-use-only-one-inferred-project-if-useOneInferredProject-is-set.js +++ b/tests/baselines/reference/tsserver/inferredProjects/should-use-only-one-inferred-project-if-useOneInferredProject-is-set.js @@ -35,10 +35,19 @@ Info seq [hh:mm:ss:mss] request: } Info seq [hh:mm:ss:mss] Search path: /user/username/projects/myproject/a/b Info seq [hh:mm:ss:mss] For info: /user/username/projects/myproject/a/b/main.ts :: No config files found. +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/a/b/tsconfig.d.ts 2000 undefined WatchType: Config file for the inferred project root +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/a/b/tsconfig.ts 2000 undefined WatchType: Config file for the inferred project root +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/a/b/tsconfig.js 2000 undefined WatchType: Config file for the inferred project root Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/a/b/tsconfig.json 2000 undefined WatchType: Config file for the inferred project root Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/a/b/jsconfig.json 2000 undefined WatchType: Config file for the inferred project root +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/a/tsconfig.d.ts 2000 undefined WatchType: Config file for the inferred project root +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/a/tsconfig.ts 2000 undefined WatchType: Config file for the inferred project root +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/a/tsconfig.js 2000 undefined WatchType: Config file for the inferred project root Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/a/tsconfig.json 2000 undefined WatchType: Config file for the inferred project root Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/a/jsconfig.json 2000 undefined WatchType: Config file for the inferred project root +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/tsconfig.d.ts 2000 undefined WatchType: Config file for the inferred project root +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/tsconfig.ts 2000 undefined WatchType: Config file for the inferred project root +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/tsconfig.js 2000 undefined WatchType: Config file for the inferred project root Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/tsconfig.json 2000 undefined WatchType: Config file for the inferred project root Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/jsconfig.json 2000 undefined WatchType: Config file for the inferred project root Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/inferredProject1* @@ -72,16 +81,34 @@ After request PolledWatches:: /user/username/projects/myproject/a/b/jsconfig.json: *new* {"pollingInterval":2000} +/user/username/projects/myproject/a/b/tsconfig.d.ts: *new* + {"pollingInterval":2000} +/user/username/projects/myproject/a/b/tsconfig.js: *new* + {"pollingInterval":2000} /user/username/projects/myproject/a/b/tsconfig.json: *new* {"pollingInterval":2000} +/user/username/projects/myproject/a/b/tsconfig.ts: *new* + {"pollingInterval":2000} /user/username/projects/myproject/a/jsconfig.json: *new* {"pollingInterval":2000} +/user/username/projects/myproject/a/tsconfig.d.ts: *new* + {"pollingInterval":2000} +/user/username/projects/myproject/a/tsconfig.js: *new* + {"pollingInterval":2000} /user/username/projects/myproject/a/tsconfig.json: *new* {"pollingInterval":2000} +/user/username/projects/myproject/a/tsconfig.ts: *new* + {"pollingInterval":2000} /user/username/projects/myproject/jsconfig.json: *new* {"pollingInterval":2000} +/user/username/projects/myproject/tsconfig.d.ts: *new* + {"pollingInterval":2000} +/user/username/projects/myproject/tsconfig.js: *new* + {"pollingInterval":2000} /user/username/projects/myproject/tsconfig.json: *new* {"pollingInterval":2000} +/user/username/projects/myproject/tsconfig.ts: *new* + {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: *new* @@ -115,6 +142,9 @@ Info seq [hh:mm:ss:mss] request: } Info seq [hh:mm:ss:mss] Search path: /user/username/projects/myproject/a/c Info seq [hh:mm:ss:mss] For info: /user/username/projects/myproject/a/c/main.ts :: No config files found. +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/a/c/tsconfig.d.ts 2000 undefined WatchType: Config file for the inferred project root +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/a/c/tsconfig.ts 2000 undefined WatchType: Config file for the inferred project root +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/a/c/tsconfig.js 2000 undefined WatchType: Config file for the inferred project root Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/a/c/tsconfig.json 2000 undefined WatchType: Config file for the inferred project root Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/a/c/jsconfig.json 2000 undefined WatchType: Config file for the inferred project root Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/inferredProject1* @@ -152,20 +182,44 @@ After request PolledWatches:: /user/username/projects/myproject/a/b/jsconfig.json: {"pollingInterval":2000} +/user/username/projects/myproject/a/b/tsconfig.d.ts: + {"pollingInterval":2000} +/user/username/projects/myproject/a/b/tsconfig.js: + {"pollingInterval":2000} /user/username/projects/myproject/a/b/tsconfig.json: {"pollingInterval":2000} +/user/username/projects/myproject/a/b/tsconfig.ts: + {"pollingInterval":2000} /user/username/projects/myproject/a/c/jsconfig.json: *new* {"pollingInterval":2000} +/user/username/projects/myproject/a/c/tsconfig.d.ts: *new* + {"pollingInterval":2000} +/user/username/projects/myproject/a/c/tsconfig.js: *new* + {"pollingInterval":2000} /user/username/projects/myproject/a/c/tsconfig.json: *new* {"pollingInterval":2000} +/user/username/projects/myproject/a/c/tsconfig.ts: *new* + {"pollingInterval":2000} /user/username/projects/myproject/a/jsconfig.json: {"pollingInterval":2000} +/user/username/projects/myproject/a/tsconfig.d.ts: + {"pollingInterval":2000} +/user/username/projects/myproject/a/tsconfig.js: + {"pollingInterval":2000} /user/username/projects/myproject/a/tsconfig.json: {"pollingInterval":2000} +/user/username/projects/myproject/a/tsconfig.ts: + {"pollingInterval":2000} /user/username/projects/myproject/jsconfig.json: {"pollingInterval":2000} +/user/username/projects/myproject/tsconfig.d.ts: + {"pollingInterval":2000} +/user/username/projects/myproject/tsconfig.js: + {"pollingInterval":2000} /user/username/projects/myproject/tsconfig.json: {"pollingInterval":2000} +/user/username/projects/myproject/tsconfig.ts: + {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: @@ -203,6 +257,9 @@ Info seq [hh:mm:ss:mss] request: } Info seq [hh:mm:ss:mss] Search path: /user/username/projects/myproject/a/d Info seq [hh:mm:ss:mss] For info: /user/username/projects/myproject/a/d/main.ts :: No config files found. +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/a/d/tsconfig.d.ts 2000 undefined WatchType: Config file for the inferred project root +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/a/d/tsconfig.ts 2000 undefined WatchType: Config file for the inferred project root +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/a/d/tsconfig.js 2000 undefined WatchType: Config file for the inferred project root Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/a/d/tsconfig.json 2000 undefined WatchType: Config file for the inferred project root Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/a/d/jsconfig.json 2000 undefined WatchType: Config file for the inferred project root Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/inferredProject1* @@ -245,24 +302,54 @@ After request PolledWatches:: /user/username/projects/myproject/a/b/jsconfig.json: {"pollingInterval":2000} +/user/username/projects/myproject/a/b/tsconfig.d.ts: + {"pollingInterval":2000} +/user/username/projects/myproject/a/b/tsconfig.js: + {"pollingInterval":2000} /user/username/projects/myproject/a/b/tsconfig.json: {"pollingInterval":2000} +/user/username/projects/myproject/a/b/tsconfig.ts: + {"pollingInterval":2000} /user/username/projects/myproject/a/c/jsconfig.json: {"pollingInterval":2000} +/user/username/projects/myproject/a/c/tsconfig.d.ts: + {"pollingInterval":2000} +/user/username/projects/myproject/a/c/tsconfig.js: + {"pollingInterval":2000} /user/username/projects/myproject/a/c/tsconfig.json: {"pollingInterval":2000} +/user/username/projects/myproject/a/c/tsconfig.ts: + {"pollingInterval":2000} /user/username/projects/myproject/a/d/jsconfig.json: *new* {"pollingInterval":2000} +/user/username/projects/myproject/a/d/tsconfig.d.ts: *new* + {"pollingInterval":2000} +/user/username/projects/myproject/a/d/tsconfig.js: *new* + {"pollingInterval":2000} /user/username/projects/myproject/a/d/tsconfig.json: *new* {"pollingInterval":2000} +/user/username/projects/myproject/a/d/tsconfig.ts: *new* + {"pollingInterval":2000} /user/username/projects/myproject/a/jsconfig.json: {"pollingInterval":2000} +/user/username/projects/myproject/a/tsconfig.d.ts: + {"pollingInterval":2000} +/user/username/projects/myproject/a/tsconfig.js: + {"pollingInterval":2000} /user/username/projects/myproject/a/tsconfig.json: {"pollingInterval":2000} +/user/username/projects/myproject/a/tsconfig.ts: + {"pollingInterval":2000} /user/username/projects/myproject/jsconfig.json: {"pollingInterval":2000} +/user/username/projects/myproject/tsconfig.d.ts: + {"pollingInterval":2000} +/user/username/projects/myproject/tsconfig.js: + {"pollingInterval":2000} /user/username/projects/myproject/tsconfig.json: {"pollingInterval":2000} +/user/username/projects/myproject/tsconfig.ts: + {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: @@ -319,22 +406,52 @@ Before running Timeout callback:: count: 2 PolledWatches:: /user/username/projects/myproject/a/b/jsconfig.json: {"pollingInterval":2000} +/user/username/projects/myproject/a/b/tsconfig.d.ts: + {"pollingInterval":2000} +/user/username/projects/myproject/a/b/tsconfig.js: + {"pollingInterval":2000} +/user/username/projects/myproject/a/b/tsconfig.ts: + {"pollingInterval":2000} /user/username/projects/myproject/a/c/jsconfig.json: {"pollingInterval":2000} +/user/username/projects/myproject/a/c/tsconfig.d.ts: + {"pollingInterval":2000} +/user/username/projects/myproject/a/c/tsconfig.js: + {"pollingInterval":2000} /user/username/projects/myproject/a/c/tsconfig.json: {"pollingInterval":2000} +/user/username/projects/myproject/a/c/tsconfig.ts: + {"pollingInterval":2000} /user/username/projects/myproject/a/d/jsconfig.json: {"pollingInterval":2000} +/user/username/projects/myproject/a/d/tsconfig.d.ts: + {"pollingInterval":2000} +/user/username/projects/myproject/a/d/tsconfig.js: + {"pollingInterval":2000} /user/username/projects/myproject/a/d/tsconfig.json: {"pollingInterval":2000} +/user/username/projects/myproject/a/d/tsconfig.ts: + {"pollingInterval":2000} /user/username/projects/myproject/a/jsconfig.json: {"pollingInterval":2000} +/user/username/projects/myproject/a/tsconfig.d.ts: + {"pollingInterval":2000} +/user/username/projects/myproject/a/tsconfig.js: + {"pollingInterval":2000} /user/username/projects/myproject/a/tsconfig.json: {"pollingInterval":2000} +/user/username/projects/myproject/a/tsconfig.ts: + {"pollingInterval":2000} /user/username/projects/myproject/jsconfig.json: {"pollingInterval":2000} +/user/username/projects/myproject/tsconfig.d.ts: + {"pollingInterval":2000} +/user/username/projects/myproject/tsconfig.js: + {"pollingInterval":2000} /user/username/projects/myproject/tsconfig.json: {"pollingInterval":2000} +/user/username/projects/myproject/tsconfig.ts: + {"pollingInterval":2000} PolledWatches *deleted*:: /user/username/projects/myproject/a/b/tsconfig.json: @@ -380,6 +497,9 @@ Info seq [hh:mm:ss:mss] Config: /user/username/projects/myproject/a/b/tsconfig. "configFilePath": "/user/username/projects/myproject/a/b/tsconfig.json" } } +Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /user/username/projects/myproject/a/b/tsconfig.d.ts 2000 undefined WatchType: Config file for the inferred project root +Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /user/username/projects/myproject/a/b/tsconfig.ts 2000 undefined WatchType: Config file for the inferred project root +Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /user/username/projects/myproject/a/b/tsconfig.js 2000 undefined WatchType: Config file for the inferred project root Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /user/username/projects/myproject/a/b/jsconfig.json 2000 undefined WatchType: Config file for the inferred project root Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /user/username/projects/myproject/a/b/tsconfig.json Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/lib/lib.es6.d.ts 500 undefined Project: /user/username/projects/myproject/a/b/tsconfig.json WatchType: Missing file @@ -601,30 +721,60 @@ PolledWatches:: {"pollingInterval":500} /user/username/projects/myproject/a/c/jsconfig.json: {"pollingInterval":2000} +/user/username/projects/myproject/a/c/tsconfig.d.ts: + {"pollingInterval":2000} +/user/username/projects/myproject/a/c/tsconfig.js: + {"pollingInterval":2000} /user/username/projects/myproject/a/c/tsconfig.json: {"pollingInterval":2000} +/user/username/projects/myproject/a/c/tsconfig.ts: + {"pollingInterval":2000} /user/username/projects/myproject/a/d/jsconfig.json: {"pollingInterval":2000} +/user/username/projects/myproject/a/d/tsconfig.d.ts: + {"pollingInterval":2000} +/user/username/projects/myproject/a/d/tsconfig.js: + {"pollingInterval":2000} /user/username/projects/myproject/a/d/tsconfig.json: {"pollingInterval":2000} +/user/username/projects/myproject/a/d/tsconfig.ts: + {"pollingInterval":2000} /user/username/projects/myproject/a/jsconfig.json: {"pollingInterval":2000} /user/username/projects/myproject/a/node_modules/@types: *new* {"pollingInterval":500} +/user/username/projects/myproject/a/tsconfig.d.ts: + {"pollingInterval":2000} +/user/username/projects/myproject/a/tsconfig.js: + {"pollingInterval":2000} /user/username/projects/myproject/a/tsconfig.json: {"pollingInterval":2000} +/user/username/projects/myproject/a/tsconfig.ts: + {"pollingInterval":2000} /user/username/projects/myproject/jsconfig.json: {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: *new* {"pollingInterval":500} +/user/username/projects/myproject/tsconfig.d.ts: + {"pollingInterval":2000} +/user/username/projects/myproject/tsconfig.js: + {"pollingInterval":2000} /user/username/projects/myproject/tsconfig.json: {"pollingInterval":2000} +/user/username/projects/myproject/tsconfig.ts: + {"pollingInterval":2000} /user/username/projects/node_modules/@types: *new* {"pollingInterval":500} PolledWatches *deleted*:: /user/username/projects/myproject/a/b/jsconfig.json: {"pollingInterval":2000} +/user/username/projects/myproject/a/b/tsconfig.d.ts: + {"pollingInterval":2000} +/user/username/projects/myproject/a/b/tsconfig.js: + {"pollingInterval":2000} +/user/username/projects/myproject/a/b/tsconfig.ts: + {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: diff --git a/tests/baselines/reference/tsserver/inferredProjects/when-existing-inferred-project-has-no-root-files.js b/tests/baselines/reference/tsserver/inferredProjects/when-existing-inferred-project-has-no-root-files.js index c8a8a155a5687..73dbda421edcd 100644 --- a/tests/baselines/reference/tsserver/inferredProjects/when-existing-inferred-project-has-no-root-files.js +++ b/tests/baselines/reference/tsserver/inferredProjects/when-existing-inferred-project-has-no-root-files.js @@ -52,6 +52,9 @@ Info seq [hh:mm:ss:mss] request: } Info seq [hh:mm:ss:mss] Search path: /user/username/projects/myproject Info seq [hh:mm:ss:mss] For info: /user/username/projects/myproject/app.ts :: No config files found. +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/tsconfig.d.ts 2000 undefined WatchType: Config file for the inferred project root +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/tsconfig.ts 2000 undefined WatchType: Config file for the inferred project root +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/tsconfig.js 2000 undefined WatchType: Config file for the inferred project root Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/tsconfig.json 2000 undefined WatchType: Config file for the inferred project root Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/jsconfig.json 2000 undefined WatchType: Config file for the inferred project root Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/inferredProject1* @@ -109,8 +112,14 @@ PolledWatches:: {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: *new* {"pollingInterval":500} +/user/username/projects/myproject/tsconfig.d.ts: *new* + {"pollingInterval":2000} +/user/username/projects/myproject/tsconfig.js: *new* + {"pollingInterval":2000} /user/username/projects/myproject/tsconfig.json: *new* {"pollingInterval":2000} +/user/username/projects/myproject/tsconfig.ts: *new* + {"pollingInterval":2000} /user/username/projects/node_modules/@types: *new* {"pollingInterval":500} @@ -168,6 +177,9 @@ Info seq [hh:mm:ss:mss] request: "seq": 2, "type": "request" } +Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /user/username/projects/myproject/tsconfig.d.ts 2000 undefined WatchType: Config file for the inferred project root +Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /user/username/projects/myproject/tsconfig.ts 2000 undefined WatchType: Config file for the inferred project root +Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /user/username/projects/myproject/tsconfig.js 2000 undefined WatchType: Config file for the inferred project root Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /user/username/projects/myproject/tsconfig.json 2000 undefined WatchType: Config file for the inferred project root Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /user/username/projects/myproject/jsconfig.json 2000 undefined WatchType: Config file for the inferred project root Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/app.ts 500 undefined WatchType: Closed Script info @@ -191,8 +203,14 @@ PolledWatches:: PolledWatches *deleted*:: /user/username/projects/myproject/jsconfig.json: {"pollingInterval":2000} +/user/username/projects/myproject/tsconfig.d.ts: + {"pollingInterval":2000} +/user/username/projects/myproject/tsconfig.js: + {"pollingInterval":2000} /user/username/projects/myproject/tsconfig.json: {"pollingInterval":2000} +/user/username/projects/myproject/tsconfig.ts: + {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: @@ -270,6 +288,9 @@ Info seq [hh:mm:ss:mss] Files (0) Info seq [hh:mm:ss:mss] ----------------------------------------------- +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/tsconfig.d.ts 2000 undefined WatchType: Config file for the inferred project root +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/tsconfig.ts 2000 undefined WatchType: Config file for the inferred project root +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/tsconfig.js 2000 undefined WatchType: Config file for the inferred project root Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/tsconfig.json 2000 undefined WatchType: Config file for the inferred project root Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/jsconfig.json 2000 undefined WatchType: Config file for the inferred project root Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/inferredProject1* @@ -304,8 +325,14 @@ PolledWatches:: {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} +/user/username/projects/myproject/tsconfig.d.ts: *new* + {"pollingInterval":2000} +/user/username/projects/myproject/tsconfig.js: *new* + {"pollingInterval":2000} /user/username/projects/myproject/tsconfig.json: *new* {"pollingInterval":2000} +/user/username/projects/myproject/tsconfig.ts: *new* + {"pollingInterval":2000} /user/username/projects/node_modules/@types: {"pollingInterval":500} @@ -501,8 +528,14 @@ PolledWatches:: {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} +/user/username/projects/myproject/tsconfig.d.ts: + {"pollingInterval":2000} +/user/username/projects/myproject/tsconfig.js: + {"pollingInterval":2000} /user/username/projects/myproject/tsconfig.json: {"pollingInterval":2000} +/user/username/projects/myproject/tsconfig.ts: + {"pollingInterval":2000} /user/username/projects/node_modules/@types: {"pollingInterval":500} diff --git a/tests/baselines/reference/tsserver/maxNodeModuleJsDepth/handles-resolutions-when-currentNodeModulesDepth-changes-when-referencing-file-from-another-file.js b/tests/baselines/reference/tsserver/maxNodeModuleJsDepth/handles-resolutions-when-currentNodeModulesDepth-changes-when-referencing-file-from-another-file.js index 29f5be22b52c9..c18733ed3ca66 100644 --- a/tests/baselines/reference/tsserver/maxNodeModuleJsDepth/handles-resolutions-when-currentNodeModulesDepth-changes-when-referencing-file-from-another-file.js +++ b/tests/baselines/reference/tsserver/maxNodeModuleJsDepth/handles-resolutions-when-currentNodeModulesDepth-changes-when-referencing-file-from-another-file.js @@ -45,8 +45,14 @@ Info seq [hh:mm:ss:mss] request: } Info seq [hh:mm:ss:mss] Search path: /user/username/projects/project1/src Info seq [hh:mm:ss:mss] For info: /user/username/projects/project1/src/file1.js :: No config files found. +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/project1/src/tsconfig.d.ts 2000 undefined WatchType: Config file for the inferred project root +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/project1/src/tsconfig.ts 2000 undefined WatchType: Config file for the inferred project root +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/project1/src/tsconfig.js 2000 undefined WatchType: Config file for the inferred project root Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/project1/src/tsconfig.json 2000 undefined WatchType: Config file for the inferred project root Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/project1/src/jsconfig.json 2000 undefined WatchType: Config file for the inferred project root +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/project1/tsconfig.d.ts 2000 undefined WatchType: Config file for the inferred project root +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/project1/tsconfig.ts 2000 undefined WatchType: Config file for the inferred project root +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/project1/tsconfig.js 2000 undefined WatchType: Config file for the inferred project root Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/project1/tsconfig.json 2000 undefined WatchType: Config file for the inferred project root Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/project1/jsconfig.json 2000 undefined WatchType: Config file for the inferred project root Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/inferredProject1* @@ -85,10 +91,22 @@ PolledWatches:: {"pollingInterval":2000} /user/username/projects/project1/src/jsconfig.json: *new* {"pollingInterval":2000} +/user/username/projects/project1/src/tsconfig.d.ts: *new* + {"pollingInterval":2000} +/user/username/projects/project1/src/tsconfig.js: *new* + {"pollingInterval":2000} /user/username/projects/project1/src/tsconfig.json: *new* {"pollingInterval":2000} +/user/username/projects/project1/src/tsconfig.ts: *new* + {"pollingInterval":2000} +/user/username/projects/project1/tsconfig.d.ts: *new* + {"pollingInterval":2000} +/user/username/projects/project1/tsconfig.js: *new* + {"pollingInterval":2000} /user/username/projects/project1/tsconfig.json: *new* {"pollingInterval":2000} +/user/username/projects/project1/tsconfig.ts: *new* + {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: *new* @@ -291,10 +309,22 @@ PolledWatches:: {"pollingInterval":2000} /user/username/projects/project1/src/jsconfig.json: {"pollingInterval":2000} +/user/username/projects/project1/src/tsconfig.d.ts: + {"pollingInterval":2000} +/user/username/projects/project1/src/tsconfig.js: + {"pollingInterval":2000} /user/username/projects/project1/src/tsconfig.json: {"pollingInterval":2000} +/user/username/projects/project1/src/tsconfig.ts: + {"pollingInterval":2000} +/user/username/projects/project1/tsconfig.d.ts: + {"pollingInterval":2000} +/user/username/projects/project1/tsconfig.js: + {"pollingInterval":2000} /user/username/projects/project1/tsconfig.json: {"pollingInterval":2000} +/user/username/projects/project1/tsconfig.ts: + {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: diff --git a/tests/baselines/reference/tsserver/openfile/when-file-makes-edits-to-add/remove-comment-directives,-they-are-handled-correcrly.js b/tests/baselines/reference/tsserver/openfile/when-file-makes-edits-to-add/remove-comment-directives,-they-are-handled-correcrly.js index 2d6d9afa9fcf1..d784f27a1ae84 100644 --- a/tests/baselines/reference/tsserver/openfile/when-file-makes-edits-to-add/remove-comment-directives,-they-are-handled-correcrly.js +++ b/tests/baselines/reference/tsserver/openfile/when-file-makes-edits-to-add/remove-comment-directives,-they-are-handled-correcrly.js @@ -41,6 +41,9 @@ Info seq [hh:mm:ss:mss] request: } Info seq [hh:mm:ss:mss] Search path: /user/username/projects/myproject Info seq [hh:mm:ss:mss] For info: /user/username/projects/myproject/file.ts :: No config files found. +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/tsconfig.d.ts 2000 undefined WatchType: Config file for the inferred project root +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/tsconfig.ts 2000 undefined WatchType: Config file for the inferred project root +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/tsconfig.js 2000 undefined WatchType: Config file for the inferred project root Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/tsconfig.json 2000 undefined WatchType: Config file for the inferred project root Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/jsconfig.json 2000 undefined WatchType: Config file for the inferred project root Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/inferredProject1* @@ -80,8 +83,14 @@ PolledWatches:: {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: *new* {"pollingInterval":500} +/user/username/projects/myproject/tsconfig.d.ts: *new* + {"pollingInterval":2000} +/user/username/projects/myproject/tsconfig.js: *new* + {"pollingInterval":2000} /user/username/projects/myproject/tsconfig.json: *new* {"pollingInterval":2000} +/user/username/projects/myproject/tsconfig.ts: *new* + {"pollingInterval":2000} /user/username/projects/node_modules/@types: *new* {"pollingInterval":500} diff --git a/tests/baselines/reference/tsserver/projectErrors/reports-errors-correctly-when-file-referenced-by-inferred-project-root,-is-opened-right-after-closing-the-root-file.js b/tests/baselines/reference/tsserver/projectErrors/reports-errors-correctly-when-file-referenced-by-inferred-project-root,-is-opened-right-after-closing-the-root-file.js index eeee518602886..0b66d74fe35d3 100644 --- a/tests/baselines/reference/tsserver/projectErrors/reports-errors-correctly-when-file-referenced-by-inferred-project-root,-is-opened-right-after-closing-the-root-file.js +++ b/tests/baselines/reference/tsserver/projectErrors/reports-errors-correctly-when-file-referenced-by-inferred-project-root,-is-opened-right-after-closing-the-root-file.js @@ -36,10 +36,19 @@ Info seq [hh:mm:ss:mss] request: } Info seq [hh:mm:ss:mss] Search path: /user/username/projects/myproject/src/client Info seq [hh:mm:ss:mss] For info: /user/username/projects/myproject/src/client/app.js :: No config files found. +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/src/client/tsconfig.d.ts 2000 undefined WatchType: Config file for the inferred project root +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/src/client/tsconfig.ts 2000 undefined WatchType: Config file for the inferred project root +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/src/client/tsconfig.js 2000 undefined WatchType: Config file for the inferred project root Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/src/client/tsconfig.json 2000 undefined WatchType: Config file for the inferred project root Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/src/client/jsconfig.json 2000 undefined WatchType: Config file for the inferred project root +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/src/tsconfig.d.ts 2000 undefined WatchType: Config file for the inferred project root +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/src/tsconfig.ts 2000 undefined WatchType: Config file for the inferred project root +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/src/tsconfig.js 2000 undefined WatchType: Config file for the inferred project root Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/src/tsconfig.json 2000 undefined WatchType: Config file for the inferred project root Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/src/jsconfig.json 2000 undefined WatchType: Config file for the inferred project root +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/tsconfig.d.ts 2000 undefined WatchType: Config file for the inferred project root +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/tsconfig.ts 2000 undefined WatchType: Config file for the inferred project root +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/tsconfig.js 2000 undefined WatchType: Config file for the inferred project root Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/tsconfig.json 2000 undefined WatchType: Config file for the inferred project root Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/jsconfig.json 2000 undefined WatchType: Config file for the inferred project root Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/inferredProject1* @@ -70,14 +79,32 @@ PolledWatches:: {"pollingInterval":500} /user/username/projects/myproject/src/client/jsconfig.json: *new* {"pollingInterval":2000} +/user/username/projects/myproject/src/client/tsconfig.d.ts: *new* + {"pollingInterval":2000} +/user/username/projects/myproject/src/client/tsconfig.js: *new* + {"pollingInterval":2000} /user/username/projects/myproject/src/client/tsconfig.json: *new* {"pollingInterval":2000} +/user/username/projects/myproject/src/client/tsconfig.ts: *new* + {"pollingInterval":2000} /user/username/projects/myproject/src/jsconfig.json: *new* {"pollingInterval":2000} +/user/username/projects/myproject/src/tsconfig.d.ts: *new* + {"pollingInterval":2000} +/user/username/projects/myproject/src/tsconfig.js: *new* + {"pollingInterval":2000} /user/username/projects/myproject/src/tsconfig.json: *new* {"pollingInterval":2000} +/user/username/projects/myproject/src/tsconfig.ts: *new* + {"pollingInterval":2000} +/user/username/projects/myproject/tsconfig.d.ts: *new* + {"pollingInterval":2000} +/user/username/projects/myproject/tsconfig.js: *new* + {"pollingInterval":2000} /user/username/projects/myproject/tsconfig.json: *new* {"pollingInterval":2000} +/user/username/projects/myproject/tsconfig.ts: *new* + {"pollingInterval":2000} /user/username/projects/node_modules/@types: *new* {"pollingInterval":500} @@ -244,14 +271,32 @@ PolledWatches:: {"pollingInterval":500} /user/username/projects/myproject/src/client/jsconfig.json: {"pollingInterval":2000} +/user/username/projects/myproject/src/client/tsconfig.d.ts: + {"pollingInterval":2000} +/user/username/projects/myproject/src/client/tsconfig.js: + {"pollingInterval":2000} /user/username/projects/myproject/src/client/tsconfig.json: {"pollingInterval":2000} +/user/username/projects/myproject/src/client/tsconfig.ts: + {"pollingInterval":2000} /user/username/projects/myproject/src/jsconfig.json: {"pollingInterval":2000} +/user/username/projects/myproject/src/tsconfig.d.ts: + {"pollingInterval":2000} +/user/username/projects/myproject/src/tsconfig.js: + {"pollingInterval":2000} /user/username/projects/myproject/src/tsconfig.json: {"pollingInterval":2000} +/user/username/projects/myproject/src/tsconfig.ts: + {"pollingInterval":2000} +/user/username/projects/myproject/tsconfig.d.ts: + {"pollingInterval":2000} +/user/username/projects/myproject/tsconfig.js: + {"pollingInterval":2000} /user/username/projects/myproject/tsconfig.json: {"pollingInterval":2000} +/user/username/projects/myproject/tsconfig.ts: + {"pollingInterval":2000} /user/username/projects/node_modules/@types: {"pollingInterval":500} @@ -282,8 +327,14 @@ Info seq [hh:mm:ss:mss] request: } Info seq [hh:mm:ss:mss] Search path: /user/username/projects/myproject/test/backend Info seq [hh:mm:ss:mss] For info: /user/username/projects/myproject/test/backend/index.js :: No config files found. +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/test/backend/tsconfig.d.ts 2000 undefined WatchType: Config file for the inferred project root +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/test/backend/tsconfig.ts 2000 undefined WatchType: Config file for the inferred project root +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/test/backend/tsconfig.js 2000 undefined WatchType: Config file for the inferred project root Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/test/backend/tsconfig.json 2000 undefined WatchType: Config file for the inferred project root Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/test/backend/jsconfig.json 2000 undefined WatchType: Config file for the inferred project root +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/test/tsconfig.d.ts 2000 undefined WatchType: Config file for the inferred project root +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/test/tsconfig.ts 2000 undefined WatchType: Config file for the inferred project root +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/test/tsconfig.js 2000 undefined WatchType: Config file for the inferred project root Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/test/tsconfig.json 2000 undefined WatchType: Config file for the inferred project root Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/test/jsconfig.json 2000 undefined WatchType: Config file for the inferred project root Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/inferredProject1* @@ -441,22 +492,52 @@ PolledWatches:: {"pollingInterval":500} /user/username/projects/myproject/src/client/jsconfig.json: {"pollingInterval":2000} +/user/username/projects/myproject/src/client/tsconfig.d.ts: + {"pollingInterval":2000} +/user/username/projects/myproject/src/client/tsconfig.js: + {"pollingInterval":2000} /user/username/projects/myproject/src/client/tsconfig.json: {"pollingInterval":2000} +/user/username/projects/myproject/src/client/tsconfig.ts: + {"pollingInterval":2000} /user/username/projects/myproject/src/jsconfig.json: {"pollingInterval":2000} +/user/username/projects/myproject/src/tsconfig.d.ts: + {"pollingInterval":2000} +/user/username/projects/myproject/src/tsconfig.js: + {"pollingInterval":2000} /user/username/projects/myproject/src/tsconfig.json: {"pollingInterval":2000} +/user/username/projects/myproject/src/tsconfig.ts: + {"pollingInterval":2000} /user/username/projects/myproject/test/backend/jsconfig.json: *new* {"pollingInterval":2000} +/user/username/projects/myproject/test/backend/tsconfig.d.ts: *new* + {"pollingInterval":2000} +/user/username/projects/myproject/test/backend/tsconfig.js: *new* + {"pollingInterval":2000} /user/username/projects/myproject/test/backend/tsconfig.json: *new* {"pollingInterval":2000} +/user/username/projects/myproject/test/backend/tsconfig.ts: *new* + {"pollingInterval":2000} /user/username/projects/myproject/test/jsconfig.json: *new* {"pollingInterval":2000} +/user/username/projects/myproject/test/tsconfig.d.ts: *new* + {"pollingInterval":2000} +/user/username/projects/myproject/test/tsconfig.js: *new* + {"pollingInterval":2000} /user/username/projects/myproject/test/tsconfig.json: *new* {"pollingInterval":2000} +/user/username/projects/myproject/test/tsconfig.ts: *new* + {"pollingInterval":2000} +/user/username/projects/myproject/tsconfig.d.ts: + {"pollingInterval":2000} +/user/username/projects/myproject/tsconfig.js: + {"pollingInterval":2000} /user/username/projects/myproject/tsconfig.json: {"pollingInterval":2000} +/user/username/projects/myproject/tsconfig.ts: + {"pollingInterval":2000} /user/username/projects/node_modules/@types: {"pollingInterval":500} @@ -644,8 +725,14 @@ Info seq [hh:mm:ss:mss] request: "seq": 4, "type": "request" } +Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /user/username/projects/myproject/test/backend/tsconfig.d.ts 2000 undefined WatchType: Config file for the inferred project root +Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /user/username/projects/myproject/test/backend/tsconfig.ts 2000 undefined WatchType: Config file for the inferred project root +Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /user/username/projects/myproject/test/backend/tsconfig.js 2000 undefined WatchType: Config file for the inferred project root Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /user/username/projects/myproject/test/backend/tsconfig.json 2000 undefined WatchType: Config file for the inferred project root Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /user/username/projects/myproject/test/backend/jsconfig.json 2000 undefined WatchType: Config file for the inferred project root +Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /user/username/projects/myproject/test/tsconfig.d.ts 2000 undefined WatchType: Config file for the inferred project root +Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /user/username/projects/myproject/test/tsconfig.ts 2000 undefined WatchType: Config file for the inferred project root +Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /user/username/projects/myproject/test/tsconfig.js 2000 undefined WatchType: Config file for the inferred project root Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /user/username/projects/myproject/test/tsconfig.json 2000 undefined WatchType: Config file for the inferred project root Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /user/username/projects/myproject/test/jsconfig.json 2000 undefined WatchType: Config file for the inferred project root Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/test/backend/index.js 500 undefined WatchType: Closed Script info @@ -673,26 +760,56 @@ PolledWatches:: {"pollingInterval":500} /user/username/projects/myproject/src/client/jsconfig.json: {"pollingInterval":2000} +/user/username/projects/myproject/src/client/tsconfig.d.ts: + {"pollingInterval":2000} +/user/username/projects/myproject/src/client/tsconfig.js: + {"pollingInterval":2000} /user/username/projects/myproject/src/client/tsconfig.json: {"pollingInterval":2000} +/user/username/projects/myproject/src/client/tsconfig.ts: + {"pollingInterval":2000} /user/username/projects/myproject/src/jsconfig.json: {"pollingInterval":2000} +/user/username/projects/myproject/src/tsconfig.d.ts: + {"pollingInterval":2000} +/user/username/projects/myproject/src/tsconfig.js: + {"pollingInterval":2000} /user/username/projects/myproject/src/tsconfig.json: {"pollingInterval":2000} +/user/username/projects/myproject/src/tsconfig.ts: + {"pollingInterval":2000} +/user/username/projects/myproject/tsconfig.d.ts: + {"pollingInterval":2000} +/user/username/projects/myproject/tsconfig.js: + {"pollingInterval":2000} /user/username/projects/myproject/tsconfig.json: {"pollingInterval":2000} +/user/username/projects/myproject/tsconfig.ts: + {"pollingInterval":2000} /user/username/projects/node_modules/@types: {"pollingInterval":500} PolledWatches *deleted*:: /user/username/projects/myproject/test/backend/jsconfig.json: {"pollingInterval":2000} +/user/username/projects/myproject/test/backend/tsconfig.d.ts: + {"pollingInterval":2000} +/user/username/projects/myproject/test/backend/tsconfig.js: + {"pollingInterval":2000} /user/username/projects/myproject/test/backend/tsconfig.json: {"pollingInterval":2000} +/user/username/projects/myproject/test/backend/tsconfig.ts: + {"pollingInterval":2000} /user/username/projects/myproject/test/jsconfig.json: {"pollingInterval":2000} +/user/username/projects/myproject/test/tsconfig.d.ts: + {"pollingInterval":2000} +/user/username/projects/myproject/test/tsconfig.js: + {"pollingInterval":2000} /user/username/projects/myproject/test/tsconfig.json: {"pollingInterval":2000} +/user/username/projects/myproject/test/tsconfig.ts: + {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: @@ -860,6 +977,9 @@ Info seq [hh:mm:ss:mss] event: } } TI:: [hh:mm:ss:mss] No new typings were requested as a result of typings discovery +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/src/server/tsconfig.d.ts 2000 undefined WatchType: Config file for the inferred project root +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/src/server/tsconfig.ts 2000 undefined WatchType: Config file for the inferred project root +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/src/server/tsconfig.js 2000 undefined WatchType: Config file for the inferred project root Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/src/server/tsconfig.json 2000 undefined WatchType: Config file for the inferred project root Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/src/server/jsconfig.json 2000 undefined WatchType: Config file for the inferred project root Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/inferredProject1* @@ -1005,18 +1125,42 @@ PolledWatches:: {"pollingInterval":500} /user/username/projects/myproject/src/client/jsconfig.json: {"pollingInterval":2000} +/user/username/projects/myproject/src/client/tsconfig.d.ts: + {"pollingInterval":2000} +/user/username/projects/myproject/src/client/tsconfig.js: + {"pollingInterval":2000} /user/username/projects/myproject/src/client/tsconfig.json: {"pollingInterval":2000} +/user/username/projects/myproject/src/client/tsconfig.ts: + {"pollingInterval":2000} /user/username/projects/myproject/src/jsconfig.json: {"pollingInterval":2000} /user/username/projects/myproject/src/server/jsconfig.json: *new* {"pollingInterval":2000} +/user/username/projects/myproject/src/server/tsconfig.d.ts: *new* + {"pollingInterval":2000} +/user/username/projects/myproject/src/server/tsconfig.js: *new* + {"pollingInterval":2000} /user/username/projects/myproject/src/server/tsconfig.json: *new* {"pollingInterval":2000} +/user/username/projects/myproject/src/server/tsconfig.ts: *new* + {"pollingInterval":2000} +/user/username/projects/myproject/src/tsconfig.d.ts: + {"pollingInterval":2000} +/user/username/projects/myproject/src/tsconfig.js: + {"pollingInterval":2000} /user/username/projects/myproject/src/tsconfig.json: {"pollingInterval":2000} +/user/username/projects/myproject/src/tsconfig.ts: + {"pollingInterval":2000} +/user/username/projects/myproject/tsconfig.d.ts: + {"pollingInterval":2000} +/user/username/projects/myproject/tsconfig.js: + {"pollingInterval":2000} /user/username/projects/myproject/tsconfig.json: {"pollingInterval":2000} +/user/username/projects/myproject/tsconfig.ts: + {"pollingInterval":2000} /user/username/projects/node_modules/@types: {"pollingInterval":500} diff --git a/tests/baselines/reference/tsserver/projectReferences/ancestor-and-project-ref-management.js b/tests/baselines/reference/tsserver/projectReferences/ancestor-and-project-ref-management.js index 18077655cdbde..f0cb8afa43f27 100644 --- a/tests/baselines/reference/tsserver/projectReferences/ancestor-and-project-ref-management.js +++ b/tests/baselines/reference/tsserver/projectReferences/ancestor-and-project-ref-management.js @@ -432,6 +432,9 @@ Info seq [hh:mm:ss:mss] request: } Info seq [hh:mm:ss:mss] Search path: /user/username/projects/temp Info seq [hh:mm:ss:mss] For info: /user/username/projects/temp/temp.ts :: No config files found. +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/temp/tsconfig.d.ts 2000 undefined WatchType: Config file for the inferred project root +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/temp/tsconfig.ts 2000 undefined WatchType: Config file for the inferred project root +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/temp/tsconfig.js 2000 undefined WatchType: Config file for the inferred project root Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/temp/tsconfig.json 2000 undefined WatchType: Config file for the inferred project root Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/temp/jsconfig.json 2000 undefined WatchType: Config file for the inferred project root Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/inferredProject1* @@ -486,8 +489,14 @@ PolledWatches:: {"pollingInterval":2000} /user/username/projects/temp/node_modules/@types: *new* {"pollingInterval":500} +/user/username/projects/temp/tsconfig.d.ts: *new* + {"pollingInterval":2000} +/user/username/projects/temp/tsconfig.js: *new* + {"pollingInterval":2000} /user/username/projects/temp/tsconfig.json: *new* {"pollingInterval":2000} +/user/username/projects/temp/tsconfig.ts: *new* + {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: @@ -931,8 +940,14 @@ PolledWatches:: {"pollingInterval":2000} /user/username/projects/temp/node_modules/@types: {"pollingInterval":500} +/user/username/projects/temp/tsconfig.d.ts: + {"pollingInterval":2000} +/user/username/projects/temp/tsconfig.js: + {"pollingInterval":2000} /user/username/projects/temp/tsconfig.json: {"pollingInterval":2000} +/user/username/projects/temp/tsconfig.ts: + {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: @@ -1016,6 +1031,9 @@ Info seq [hh:mm:ss:mss] request: "seq": 4, "type": "request" } +Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /user/username/projects/temp/tsconfig.d.ts 2000 undefined WatchType: Config file for the inferred project root +Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /user/username/projects/temp/tsconfig.ts 2000 undefined WatchType: Config file for the inferred project root +Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /user/username/projects/temp/tsconfig.js 2000 undefined WatchType: Config file for the inferred project root Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /user/username/projects/temp/tsconfig.json 2000 undefined WatchType: Config file for the inferred project root Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /user/username/projects/temp/jsconfig.json 2000 undefined WatchType: Config file for the inferred project root Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/temp/temp.ts 500 undefined WatchType: Closed Script info @@ -1065,8 +1083,14 @@ PolledWatches:: PolledWatches *deleted*:: /user/username/projects/temp/jsconfig.json: {"pollingInterval":2000} +/user/username/projects/temp/tsconfig.d.ts: + {"pollingInterval":2000} +/user/username/projects/temp/tsconfig.js: + {"pollingInterval":2000} /user/username/projects/temp/tsconfig.json: {"pollingInterval":2000} +/user/username/projects/temp/tsconfig.ts: + {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: @@ -1157,6 +1181,9 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /user/username/projects/temp/temp.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] Search path: /user/username/projects/temp Info seq [hh:mm:ss:mss] For info: /user/username/projects/temp/temp.ts :: No config files found. +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/temp/tsconfig.d.ts 2000 undefined WatchType: Config file for the inferred project root +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/temp/tsconfig.ts 2000 undefined WatchType: Config file for the inferred project root +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/temp/tsconfig.js 2000 undefined WatchType: Config file for the inferred project root Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/temp/tsconfig.json 2000 undefined WatchType: Config file for the inferred project root Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/temp/jsconfig.json 2000 undefined WatchType: Config file for the inferred project root Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/inferredProject1* @@ -1208,8 +1235,14 @@ PolledWatches:: {"pollingInterval":2000} /user/username/projects/temp/node_modules/@types: {"pollingInterval":500} +/user/username/projects/temp/tsconfig.d.ts: *new* + {"pollingInterval":2000} +/user/username/projects/temp/tsconfig.js: *new* + {"pollingInterval":2000} /user/username/projects/temp/tsconfig.json: *new* {"pollingInterval":2000} +/user/username/projects/temp/tsconfig.ts: *new* + {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: @@ -1344,8 +1377,14 @@ PolledWatches:: {"pollingInterval":2000} /user/username/projects/temp/node_modules/@types: {"pollingInterval":500} +/user/username/projects/temp/tsconfig.d.ts: + {"pollingInterval":2000} +/user/username/projects/temp/tsconfig.js: + {"pollingInterval":2000} /user/username/projects/temp/tsconfig.json: {"pollingInterval":2000} +/user/username/projects/temp/tsconfig.ts: + {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: @@ -1432,6 +1471,9 @@ Info seq [hh:mm:ss:mss] request: "seq": 7, "type": "request" } +Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /user/username/projects/temp/tsconfig.d.ts 2000 undefined WatchType: Config file for the inferred project root +Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /user/username/projects/temp/tsconfig.ts 2000 undefined WatchType: Config file for the inferred project root +Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /user/username/projects/temp/tsconfig.js 2000 undefined WatchType: Config file for the inferred project root Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /user/username/projects/temp/tsconfig.json 2000 undefined WatchType: Config file for the inferred project root Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /user/username/projects/temp/jsconfig.json 2000 undefined WatchType: Config file for the inferred project root Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/temp/temp.ts 500 undefined WatchType: Closed Script info @@ -1479,8 +1521,14 @@ PolledWatches:: PolledWatches *deleted*:: /user/username/projects/temp/jsconfig.json: {"pollingInterval":2000} +/user/username/projects/temp/tsconfig.d.ts: + {"pollingInterval":2000} +/user/username/projects/temp/tsconfig.js: + {"pollingInterval":2000} /user/username/projects/temp/tsconfig.json: {"pollingInterval":2000} +/user/username/projects/temp/tsconfig.ts: + {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: @@ -1574,6 +1622,9 @@ Info seq [hh:mm:ss:mss] request: Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /user/username/projects/temp/temp.ts 500 undefined WatchType: Closed Script info Info seq [hh:mm:ss:mss] Search path: /user/username/projects/temp Info seq [hh:mm:ss:mss] For info: /user/username/projects/temp/temp.ts :: No config files found. +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/temp/tsconfig.d.ts 2000 undefined WatchType: Config file for the inferred project root +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/temp/tsconfig.ts 2000 undefined WatchType: Config file for the inferred project root +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/temp/tsconfig.js 2000 undefined WatchType: Config file for the inferred project root Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/temp/tsconfig.json 2000 undefined WatchType: Config file for the inferred project root Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/temp/jsconfig.json 2000 undefined WatchType: Config file for the inferred project root Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/inferredProject1* @@ -1680,8 +1731,14 @@ PolledWatches:: {"pollingInterval":2000} /user/username/projects/temp/node_modules/@types: {"pollingInterval":500} +/user/username/projects/temp/tsconfig.d.ts: *new* + {"pollingInterval":2000} +/user/username/projects/temp/tsconfig.js: *new* + {"pollingInterval":2000} /user/username/projects/temp/tsconfig.json: *new* {"pollingInterval":2000} +/user/username/projects/temp/tsconfig.ts: *new* + {"pollingInterval":2000} PolledWatches *deleted*:: /user/username/projects/container/compositeExec/node_modules/@types: diff --git a/tests/baselines/reference/tsserver/projectReferences/disables-looking-into-the-child-project-if-disableReferencedProjectLoad-is-set.js b/tests/baselines/reference/tsserver/projectReferences/disables-looking-into-the-child-project-if-disableReferencedProjectLoad-is-set.js index 3acc90b06b4df..65ad7ad0face1 100644 --- a/tests/baselines/reference/tsserver/projectReferences/disables-looking-into-the-child-project-if-disableReferencedProjectLoad-is-set.js +++ b/tests/baselines/reference/tsserver/projectReferences/disables-looking-into-the-child-project-if-disableReferencedProjectLoad-is-set.js @@ -219,8 +219,14 @@ Info seq [hh:mm:ss:mss] event: "diagnostics": [] } } +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/src/tsconfig.d.ts 2000 undefined WatchType: Config file for the inferred project root +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/src/tsconfig.ts 2000 undefined WatchType: Config file for the inferred project root +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/src/tsconfig.js 2000 undefined WatchType: Config file for the inferred project root Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/src/tsconfig.json 2000 undefined WatchType: Config file for the inferred project root Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/src/jsconfig.json 2000 undefined WatchType: Config file for the inferred project root +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/tsconfig.d.ts 2000 undefined WatchType: Config file for the inferred project root +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/tsconfig.ts 2000 undefined WatchType: Config file for the inferred project root +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/tsconfig.js 2000 undefined WatchType: Config file for the inferred project root Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/jsconfig.json 2000 undefined WatchType: Config file for the inferred project root Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/inferredProject1* Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/lib/lib.d.ts 500 undefined WatchType: Closed Script info @@ -279,8 +285,20 @@ PolledWatches:: {"pollingInterval":500} /user/username/projects/myproject/src/node_modules/@types: *new* {"pollingInterval":500} +/user/username/projects/myproject/src/tsconfig.d.ts: *new* + {"pollingInterval":2000} +/user/username/projects/myproject/src/tsconfig.js: *new* + {"pollingInterval":2000} /user/username/projects/myproject/src/tsconfig.json: *new* {"pollingInterval":2000} +/user/username/projects/myproject/src/tsconfig.ts: *new* + {"pollingInterval":2000} +/user/username/projects/myproject/tsconfig.d.ts: *new* + {"pollingInterval":2000} +/user/username/projects/myproject/tsconfig.js: *new* + {"pollingInterval":2000} +/user/username/projects/myproject/tsconfig.ts: *new* + {"pollingInterval":2000} /user/username/projects/node_modules: *new* {"pollingInterval":500} /user/username/projects/node_modules/@types: *new* @@ -392,8 +410,20 @@ PolledWatches:: {"pollingInterval":500} /user/username/projects/myproject/src/node_modules/@types: {"pollingInterval":500} +/user/username/projects/myproject/src/tsconfig.d.ts: + {"pollingInterval":2000} +/user/username/projects/myproject/src/tsconfig.js: + {"pollingInterval":2000} /user/username/projects/myproject/src/tsconfig.json: {"pollingInterval":2000} +/user/username/projects/myproject/src/tsconfig.ts: + {"pollingInterval":2000} +/user/username/projects/myproject/tsconfig.d.ts: + {"pollingInterval":2000} +/user/username/projects/myproject/tsconfig.js: + {"pollingInterval":2000} +/user/username/projects/myproject/tsconfig.ts: + {"pollingInterval":2000} /user/username/projects/node_modules: {"pollingInterval":500} /user/username/projects/node_modules/@types: @@ -452,8 +482,14 @@ Info seq [hh:mm:ss:mss] request: "seq": 3, "type": "request" } +Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /user/username/projects/myproject/src/tsconfig.d.ts 2000 undefined WatchType: Config file for the inferred project root +Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /user/username/projects/myproject/src/tsconfig.ts 2000 undefined WatchType: Config file for the inferred project root +Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /user/username/projects/myproject/src/tsconfig.js 2000 undefined WatchType: Config file for the inferred project root Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /user/username/projects/myproject/src/tsconfig.json 2000 undefined WatchType: Config file for the inferred project root Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /user/username/projects/myproject/src/jsconfig.json 2000 undefined WatchType: Config file for the inferred project root +Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /user/username/projects/myproject/tsconfig.d.ts 2000 undefined WatchType: Config file for the inferred project root +Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /user/username/projects/myproject/tsconfig.ts 2000 undefined WatchType: Config file for the inferred project root +Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /user/username/projects/myproject/tsconfig.js 2000 undefined WatchType: Config file for the inferred project root Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /user/username/projects/myproject/tsconfig.json 2000 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Config file Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /user/username/projects/myproject/jsconfig.json 2000 undefined WatchType: Config file for the inferred project root Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/src/main.ts 500 undefined WatchType: Closed Script info @@ -493,8 +529,20 @@ PolledWatches *deleted*:: {"pollingInterval":2000} /user/username/projects/myproject/src/jsconfig.json: {"pollingInterval":2000} +/user/username/projects/myproject/src/tsconfig.d.ts: + {"pollingInterval":2000} +/user/username/projects/myproject/src/tsconfig.js: + {"pollingInterval":2000} /user/username/projects/myproject/src/tsconfig.json: {"pollingInterval":2000} +/user/username/projects/myproject/src/tsconfig.ts: + {"pollingInterval":2000} +/user/username/projects/myproject/tsconfig.d.ts: + {"pollingInterval":2000} +/user/username/projects/myproject/tsconfig.js: + {"pollingInterval":2000} +/user/username/projects/myproject/tsconfig.ts: + {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: @@ -799,8 +847,14 @@ Info seq [hh:mm:ss:mss] event: "diagnostics": [] } } +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/src/tsconfig.d.ts 2000 undefined WatchType: Config file for the inferred project root +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/src/tsconfig.ts 2000 undefined WatchType: Config file for the inferred project root +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/src/tsconfig.js 2000 undefined WatchType: Config file for the inferred project root Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/src/tsconfig.json 2000 undefined WatchType: Config file for the inferred project root Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/src/jsconfig.json 2000 undefined WatchType: Config file for the inferred project root +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/tsconfig.d.ts 2000 undefined WatchType: Config file for the inferred project root +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/tsconfig.ts 2000 undefined WatchType: Config file for the inferred project root +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/tsconfig.js 2000 undefined WatchType: Config file for the inferred project root Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/jsconfig.json 2000 undefined WatchType: Config file for the inferred project root Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/inferredProject3* Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/src/node_modules 1 undefined Project: /dev/null/inferredProject3* WatchType: Failed Lookup Locations @@ -864,8 +918,20 @@ PolledWatches:: {"pollingInterval":500} /user/username/projects/myproject/src/node_modules/@types: *new* {"pollingInterval":500} +/user/username/projects/myproject/src/tsconfig.d.ts: *new* + {"pollingInterval":2000} +/user/username/projects/myproject/src/tsconfig.js: *new* + {"pollingInterval":2000} /user/username/projects/myproject/src/tsconfig.json: *new* {"pollingInterval":2000} +/user/username/projects/myproject/src/tsconfig.ts: *new* + {"pollingInterval":2000} +/user/username/projects/myproject/tsconfig.d.ts: *new* + {"pollingInterval":2000} +/user/username/projects/myproject/tsconfig.js: *new* + {"pollingInterval":2000} +/user/username/projects/myproject/tsconfig.ts: *new* + {"pollingInterval":2000} /user/username/projects/node_modules: *new* {"pollingInterval":500} /user/username/projects/node_modules/@types: *new* @@ -1121,8 +1187,20 @@ PolledWatches:: {"pollingInterval":500} *new* /user/username/projects/myproject/src/node_modules/@types: {"pollingInterval":500} *new* +/user/username/projects/myproject/src/tsconfig.d.ts: + {"pollingInterval":2000} +/user/username/projects/myproject/src/tsconfig.js: + {"pollingInterval":2000} /user/username/projects/myproject/src/tsconfig.json: {"pollingInterval":2000} +/user/username/projects/myproject/src/tsconfig.ts: + {"pollingInterval":2000} +/user/username/projects/myproject/tsconfig.d.ts: + {"pollingInterval":2000} +/user/username/projects/myproject/tsconfig.js: + {"pollingInterval":2000} +/user/username/projects/myproject/tsconfig.ts: + {"pollingInterval":2000} /user/username/projects/node_modules: {"pollingInterval":500} *new* /user/username/projects/node_modules/@types: diff --git a/tests/baselines/reference/tsserver/projects/file-opened-is-in-configured-project-that-will-be-removed.js b/tests/baselines/reference/tsserver/projects/file-opened-is-in-configured-project-that-will-be-removed.js index 94be5e3eb17af..27a443f24bbbe 100644 --- a/tests/baselines/reference/tsserver/projects/file-opened-is-in-configured-project-that-will-be-removed.js +++ b/tests/baselines/reference/tsserver/projects/file-opened-is-in-configured-project-that-will-be-removed.js @@ -524,11 +524,23 @@ Info seq [hh:mm:ss:mss] ----------------------------------------------- Info seq [hh:mm:ss:mss] Open files: Info seq [hh:mm:ss:mss] FileName: /user/username/projects/myproject/playground/tsconfig-json/tests/spec.ts ProjectRootPath: undefined Info seq [hh:mm:ss:mss] Projects: +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/playground/tsconfig-json/tests/tsconfig.d.ts 2000 undefined WatchType: Config file for the inferred project root +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/playground/tsconfig-json/tests/tsconfig.ts 2000 undefined WatchType: Config file for the inferred project root +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/playground/tsconfig-json/tests/tsconfig.js 2000 undefined WatchType: Config file for the inferred project root Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/playground/tsconfig-json/tests/tsconfig.json 2000 undefined WatchType: Config file for the inferred project root Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/playground/tsconfig-json/tests/jsconfig.json 2000 undefined WatchType: Config file for the inferred project root +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/playground/tsconfig-json/tsconfig.d.ts 2000 undefined WatchType: Config file for the inferred project root +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/playground/tsconfig-json/tsconfig.ts 2000 undefined WatchType: Config file for the inferred project root +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/playground/tsconfig-json/tsconfig.js 2000 undefined WatchType: Config file for the inferred project root Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/playground/tsconfig-json/jsconfig.json 2000 undefined WatchType: Config file for the inferred project root +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/playground/tsconfig.d.ts 2000 undefined WatchType: Config file for the inferred project root +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/playground/tsconfig.ts 2000 undefined WatchType: Config file for the inferred project root +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/playground/tsconfig.js 2000 undefined WatchType: Config file for the inferred project root Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/playground/tsconfig.json 2000 undefined WatchType: Config file for the inferred project root Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/playground/jsconfig.json 2000 undefined WatchType: Config file for the inferred project root +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/tsconfig.d.ts 2000 undefined WatchType: Config file for the inferred project root +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/tsconfig.ts 2000 undefined WatchType: Config file for the inferred project root +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/tsconfig.js 2000 undefined WatchType: Config file for the inferred project root Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/tsconfig.json 2000 undefined WatchType: Config file for the inferred project root Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/jsconfig.json 2000 undefined WatchType: Config file for the inferred project root Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/inferredProject1* @@ -617,10 +629,34 @@ PolledWatches:: {"pollingInterval":2000} /user/username/projects/myproject/playground/tsconfig-json/tests/node_modules/@types: *new* {"pollingInterval":500} +/user/username/projects/myproject/playground/tsconfig-json/tests/tsconfig.d.ts: *new* + {"pollingInterval":2000} +/user/username/projects/myproject/playground/tsconfig-json/tests/tsconfig.js: *new* + {"pollingInterval":2000} /user/username/projects/myproject/playground/tsconfig-json/tests/tsconfig.json: *new* {"pollingInterval":2000} +/user/username/projects/myproject/playground/tsconfig-json/tests/tsconfig.ts: *new* + {"pollingInterval":2000} +/user/username/projects/myproject/playground/tsconfig-json/tsconfig.d.ts: *new* + {"pollingInterval":2000} +/user/username/projects/myproject/playground/tsconfig-json/tsconfig.js: *new* + {"pollingInterval":2000} +/user/username/projects/myproject/playground/tsconfig-json/tsconfig.ts: *new* + {"pollingInterval":2000} +/user/username/projects/myproject/playground/tsconfig.d.ts: *new* + {"pollingInterval":2000} +/user/username/projects/myproject/playground/tsconfig.js: *new* + {"pollingInterval":2000} +/user/username/projects/myproject/playground/tsconfig.ts: *new* + {"pollingInterval":2000} +/user/username/projects/myproject/tsconfig.d.ts: *new* + {"pollingInterval":2000} +/user/username/projects/myproject/tsconfig.js: *new* + {"pollingInterval":2000} /user/username/projects/myproject/tsconfig.json: *new* {"pollingInterval":2000} +/user/username/projects/myproject/tsconfig.ts: *new* + {"pollingInterval":2000} /user/username/projects/node_modules/@types: {"pollingInterval":500} diff --git a/tests/baselines/reference/tsserver/projects/files-opened-and-closed-affecting-multiple-projects.js b/tests/baselines/reference/tsserver/projects/files-opened-and-closed-affecting-multiple-projects.js index 1b9045e3d3611..d952f2e4d791d 100644 --- a/tests/baselines/reference/tsserver/projects/files-opened-and-closed-affecting-multiple-projects.js +++ b/tests/baselines/reference/tsserver/projects/files-opened-and-closed-affecting-multiple-projects.js @@ -335,6 +335,9 @@ Info seq [hh:mm:ss:mss] request: } Info seq [hh:mm:ss:mss] Search path: /a/b/projects/files Info seq [hh:mm:ss:mss] For info: /a/b/projects/files/file2.ts :: No config files found. +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/b/projects/files/tsconfig.d.ts 2000 undefined WatchType: Config file for the inferred project root +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/b/projects/files/tsconfig.ts 2000 undefined WatchType: Config file for the inferred project root +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/b/projects/files/tsconfig.js 2000 undefined WatchType: Config file for the inferred project root Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/b/projects/files/tsconfig.json 2000 undefined WatchType: Config file for the inferred project root Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/b/projects/files/jsconfig.json 2000 undefined WatchType: Config file for the inferred project root Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/inferredProject1* @@ -399,8 +402,14 @@ PolledWatches:: {"pollingInterval":2000} /a/b/projects/files/node_modules/@types: *new* {"pollingInterval":500} +/a/b/projects/files/tsconfig.d.ts: *new* + {"pollingInterval":2000} +/a/b/projects/files/tsconfig.js: *new* + {"pollingInterval":2000} /a/b/projects/files/tsconfig.json: *new* {"pollingInterval":2000} +/a/b/projects/files/tsconfig.ts: *new* + {"pollingInterval":2000} /a/b/projects/node_modules/@types: {"pollingInterval":500} diff --git a/tests/baselines/reference/tsserver/projects/handles-delayed-directory-watch-invoke-on-file-creation.js b/tests/baselines/reference/tsserver/projects/handles-delayed-directory-watch-invoke-on-file-creation.js index ab81500303f15..eb6296051e61d 100644 --- a/tests/baselines/reference/tsserver/projects/handles-delayed-directory-watch-invoke-on-file-creation.js +++ b/tests/baselines/reference/tsserver/projects/handles-delayed-directory-watch-invoke-on-file-creation.js @@ -537,8 +537,14 @@ Info seq [hh:mm:ss:mss] event: ] } } +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /users/username/projects/project/sub/tsconfig.d.ts 2000 undefined WatchType: Config file for the inferred project root +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /users/username/projects/project/sub/tsconfig.ts 2000 undefined WatchType: Config file for the inferred project root +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /users/username/projects/project/sub/tsconfig.js 2000 undefined WatchType: Config file for the inferred project root Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /users/username/projects/project/sub/tsconfig.json 2000 undefined WatchType: Config file for the inferred project root Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /users/username/projects/project/sub/jsconfig.json 2000 undefined WatchType: Config file for the inferred project root +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /users/username/projects/project/tsconfig.d.ts 2000 undefined WatchType: Config file for the inferred project root +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /users/username/projects/project/tsconfig.ts 2000 undefined WatchType: Config file for the inferred project root +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /users/username/projects/project/tsconfig.js 2000 undefined WatchType: Config file for the inferred project root Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /users/username/projects/project/jsconfig.json 2000 undefined WatchType: Config file for the inferred project root Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/inferredProject1* Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /users/username/projects/project/sub/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots @@ -592,8 +598,20 @@ PolledWatches:: {"pollingInterval":2000} /users/username/projects/project/sub/node_modules/@types: *new* {"pollingInterval":500} +/users/username/projects/project/sub/tsconfig.d.ts: *new* + {"pollingInterval":2000} +/users/username/projects/project/sub/tsconfig.js: *new* + {"pollingInterval":2000} /users/username/projects/project/sub/tsconfig.json: *new* {"pollingInterval":2000} +/users/username/projects/project/sub/tsconfig.ts: *new* + {"pollingInterval":2000} +/users/username/projects/project/tsconfig.d.ts: *new* + {"pollingInterval":2000} +/users/username/projects/project/tsconfig.js: *new* + {"pollingInterval":2000} +/users/username/projects/project/tsconfig.ts: *new* + {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: @@ -739,8 +757,14 @@ Before running Timeout callback:: count: 3 15: checkOne Invoking Timeout callback:: timeoutId:: 15:: checkOne +Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /users/username/projects/project/sub/tsconfig.d.ts 2000 undefined WatchType: Config file for the inferred project root +Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /users/username/projects/project/sub/tsconfig.ts 2000 undefined WatchType: Config file for the inferred project root +Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /users/username/projects/project/sub/tsconfig.js 2000 undefined WatchType: Config file for the inferred project root Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /users/username/projects/project/sub/tsconfig.json 2000 undefined WatchType: Config file for the inferred project root Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /users/username/projects/project/sub/jsconfig.json 2000 undefined WatchType: Config file for the inferred project root +Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /users/username/projects/project/tsconfig.d.ts 2000 undefined WatchType: Config file for the inferred project root +Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /users/username/projects/project/tsconfig.ts 2000 undefined WatchType: Config file for the inferred project root +Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /users/username/projects/project/tsconfig.js 2000 undefined WatchType: Config file for the inferred project root Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /users/username/projects/project/jsconfig.json 2000 undefined WatchType: Config file for the inferred project root Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /users/username/projects/project/tsconfig.json Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /users/username/projects/project/a.ts 500 undefined Project: /users/username/projects/project/tsconfig.json WatchType: Missing file @@ -787,8 +811,20 @@ PolledWatches *deleted*:: {"pollingInterval":2000} /users/username/projects/project/sub/jsconfig.json: {"pollingInterval":2000} +/users/username/projects/project/sub/tsconfig.d.ts: + {"pollingInterval":2000} +/users/username/projects/project/sub/tsconfig.js: + {"pollingInterval":2000} /users/username/projects/project/sub/tsconfig.json: {"pollingInterval":2000} +/users/username/projects/project/sub/tsconfig.ts: + {"pollingInterval":2000} +/users/username/projects/project/tsconfig.d.ts: + {"pollingInterval":2000} +/users/username/projects/project/tsconfig.js: + {"pollingInterval":2000} +/users/username/projects/project/tsconfig.ts: + {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: diff --git a/tests/baselines/reference/tsserver/projects/js-file-opened-is-in-configured-project-that-will-be-removed.js b/tests/baselines/reference/tsserver/projects/js-file-opened-is-in-configured-project-that-will-be-removed.js index 2f4e1c1049de0..fec05745ff854 100644 --- a/tests/baselines/reference/tsserver/projects/js-file-opened-is-in-configured-project-that-will-be-removed.js +++ b/tests/baselines/reference/tsserver/projects/js-file-opened-is-in-configured-project-that-will-be-removed.js @@ -454,11 +454,23 @@ Info seq [hh:mm:ss:mss] ----------------------------------------------- Info seq [hh:mm:ss:mss] Open files: Info seq [hh:mm:ss:mss] FileName: /user/username/projects/myproject/apps/editor/scripts/createConfigVariable.js ProjectRootPath: undefined Info seq [hh:mm:ss:mss] Projects: +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/apps/editor/scripts/tsconfig.d.ts 2000 undefined WatchType: Config file for the inferred project root +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/apps/editor/scripts/tsconfig.ts 2000 undefined WatchType: Config file for the inferred project root +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/apps/editor/scripts/tsconfig.js 2000 undefined WatchType: Config file for the inferred project root Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/apps/editor/scripts/tsconfig.json 2000 undefined WatchType: Config file for the inferred project root Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/apps/editor/scripts/jsconfig.json 2000 undefined WatchType: Config file for the inferred project root +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/apps/editor/tsconfig.d.ts 2000 undefined WatchType: Config file for the inferred project root +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/apps/editor/tsconfig.ts 2000 undefined WatchType: Config file for the inferred project root +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/apps/editor/tsconfig.js 2000 undefined WatchType: Config file for the inferred project root Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/apps/editor/jsconfig.json 2000 undefined WatchType: Config file for the inferred project root +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/apps/tsconfig.d.ts 2000 undefined WatchType: Config file for the inferred project root +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/apps/tsconfig.ts 2000 undefined WatchType: Config file for the inferred project root +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/apps/tsconfig.js 2000 undefined WatchType: Config file for the inferred project root Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/apps/tsconfig.json 2000 undefined WatchType: Config file for the inferred project root Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/apps/jsconfig.json 2000 undefined WatchType: Config file for the inferred project root +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/tsconfig.d.ts 2000 undefined WatchType: Config file for the inferred project root +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/tsconfig.ts 2000 undefined WatchType: Config file for the inferred project root +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/tsconfig.js 2000 undefined WatchType: Config file for the inferred project root Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/tsconfig.json 2000 undefined WatchType: Config file for the inferred project root Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/jsconfig.json 2000 undefined WatchType: Config file for the inferred project root Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/inferredProject1* @@ -496,18 +508,42 @@ PolledWatches:: {"pollingInterval":2000} /user/username/projects/myproject/apps/editor/scripts/node_modules/@types: *new* {"pollingInterval":500} +/user/username/projects/myproject/apps/editor/scripts/tsconfig.d.ts: *new* + {"pollingInterval":2000} +/user/username/projects/myproject/apps/editor/scripts/tsconfig.js: *new* + {"pollingInterval":2000} /user/username/projects/myproject/apps/editor/scripts/tsconfig.json: *new* {"pollingInterval":2000} +/user/username/projects/myproject/apps/editor/scripts/tsconfig.ts: *new* + {"pollingInterval":2000} +/user/username/projects/myproject/apps/editor/tsconfig.d.ts: *new* + {"pollingInterval":2000} +/user/username/projects/myproject/apps/editor/tsconfig.js: *new* + {"pollingInterval":2000} +/user/username/projects/myproject/apps/editor/tsconfig.ts: *new* + {"pollingInterval":2000} /user/username/projects/myproject/apps/jsconfig.json: *new* {"pollingInterval":2000} /user/username/projects/myproject/apps/node_modules/@types: *new* {"pollingInterval":500} +/user/username/projects/myproject/apps/tsconfig.d.ts: *new* + {"pollingInterval":2000} +/user/username/projects/myproject/apps/tsconfig.js: *new* + {"pollingInterval":2000} /user/username/projects/myproject/apps/tsconfig.json: *new* {"pollingInterval":2000} +/user/username/projects/myproject/apps/tsconfig.ts: *new* + {"pollingInterval":2000} /user/username/projects/myproject/jsconfig.json: *new* {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} +/user/username/projects/myproject/tsconfig.d.ts: *new* + {"pollingInterval":2000} +/user/username/projects/myproject/tsconfig.js: *new* + {"pollingInterval":2000} +/user/username/projects/myproject/tsconfig.ts: *new* + {"pollingInterval":2000} /user/username/projects/node_modules/@types: {"pollingInterval":500} @@ -728,18 +764,42 @@ PolledWatches:: {"pollingInterval":500} /user/username/projects/myproject/apps/editor/scripts/node_modules/@types: {"pollingInterval":500} +/user/username/projects/myproject/apps/editor/scripts/tsconfig.d.ts: + {"pollingInterval":2000} +/user/username/projects/myproject/apps/editor/scripts/tsconfig.js: + {"pollingInterval":2000} /user/username/projects/myproject/apps/editor/scripts/tsconfig.json: {"pollingInterval":2000} +/user/username/projects/myproject/apps/editor/scripts/tsconfig.ts: + {"pollingInterval":2000} +/user/username/projects/myproject/apps/editor/tsconfig.d.ts: + {"pollingInterval":2000} +/user/username/projects/myproject/apps/editor/tsconfig.js: + {"pollingInterval":2000} +/user/username/projects/myproject/apps/editor/tsconfig.ts: + {"pollingInterval":2000} /user/username/projects/myproject/apps/jsconfig.json: {"pollingInterval":2000} /user/username/projects/myproject/apps/node_modules/@types: {"pollingInterval":500} +/user/username/projects/myproject/apps/tsconfig.d.ts: + {"pollingInterval":2000} +/user/username/projects/myproject/apps/tsconfig.js: + {"pollingInterval":2000} /user/username/projects/myproject/apps/tsconfig.json: {"pollingInterval":2000} +/user/username/projects/myproject/apps/tsconfig.ts: + {"pollingInterval":2000} /user/username/projects/myproject/jsconfig.json: {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} +/user/username/projects/myproject/tsconfig.d.ts: + {"pollingInterval":2000} +/user/username/projects/myproject/tsconfig.js: + {"pollingInterval":2000} +/user/username/projects/myproject/tsconfig.ts: + {"pollingInterval":2000} /user/username/projects/node_modules/@types: {"pollingInterval":500} diff --git a/tests/baselines/reference/tsserver/projects/references-on-file-opened-is-in-configured-project-that-will-be-removed.js b/tests/baselines/reference/tsserver/projects/references-on-file-opened-is-in-configured-project-that-will-be-removed.js index 2ecf8a7fc092f..6d2e1a35439b5 100644 --- a/tests/baselines/reference/tsserver/projects/references-on-file-opened-is-in-configured-project-that-will-be-removed.js +++ b/tests/baselines/reference/tsserver/projects/references-on-file-opened-is-in-configured-project-that-will-be-removed.js @@ -526,11 +526,23 @@ Info seq [hh:mm:ss:mss] ----------------------------------------------- Info seq [hh:mm:ss:mss] Open files: Info seq [hh:mm:ss:mss] FileName: /user/username/projects/myproject/playground/tsconfig-json/tests/spec.ts ProjectRootPath: undefined Info seq [hh:mm:ss:mss] Projects: +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/playground/tsconfig-json/tests/tsconfig.d.ts 2000 undefined WatchType: Config file for the inferred project root +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/playground/tsconfig-json/tests/tsconfig.ts 2000 undefined WatchType: Config file for the inferred project root +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/playground/tsconfig-json/tests/tsconfig.js 2000 undefined WatchType: Config file for the inferred project root Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/playground/tsconfig-json/tests/tsconfig.json 2000 undefined WatchType: Config file for the inferred project root Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/playground/tsconfig-json/tests/jsconfig.json 2000 undefined WatchType: Config file for the inferred project root +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/playground/tsconfig-json/tsconfig.d.ts 2000 undefined WatchType: Config file for the inferred project root +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/playground/tsconfig-json/tsconfig.ts 2000 undefined WatchType: Config file for the inferred project root +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/playground/tsconfig-json/tsconfig.js 2000 undefined WatchType: Config file for the inferred project root Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/playground/tsconfig-json/jsconfig.json 2000 undefined WatchType: Config file for the inferred project root +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/playground/tsconfig.d.ts 2000 undefined WatchType: Config file for the inferred project root +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/playground/tsconfig.ts 2000 undefined WatchType: Config file for the inferred project root +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/playground/tsconfig.js 2000 undefined WatchType: Config file for the inferred project root Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/playground/tsconfig.json 2000 undefined WatchType: Config file for the inferred project root Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/playground/jsconfig.json 2000 undefined WatchType: Config file for the inferred project root +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/tsconfig.d.ts 2000 undefined WatchType: Config file for the inferred project root +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/tsconfig.ts 2000 undefined WatchType: Config file for the inferred project root +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/tsconfig.js 2000 undefined WatchType: Config file for the inferred project root Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/tsconfig.json 2000 undefined WatchType: Config file for the inferred project root Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/jsconfig.json 2000 undefined WatchType: Config file for the inferred project root Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/inferredProject1* @@ -625,10 +637,34 @@ PolledWatches:: {"pollingInterval":500} /user/username/projects/myproject/playground/tsconfig-json/tests/spec.d.ts: *new* {"pollingInterval":2000} +/user/username/projects/myproject/playground/tsconfig-json/tests/tsconfig.d.ts: *new* + {"pollingInterval":2000} +/user/username/projects/myproject/playground/tsconfig-json/tests/tsconfig.js: *new* + {"pollingInterval":2000} /user/username/projects/myproject/playground/tsconfig-json/tests/tsconfig.json: *new* {"pollingInterval":2000} +/user/username/projects/myproject/playground/tsconfig-json/tests/tsconfig.ts: *new* + {"pollingInterval":2000} +/user/username/projects/myproject/playground/tsconfig-json/tsconfig.d.ts: *new* + {"pollingInterval":2000} +/user/username/projects/myproject/playground/tsconfig-json/tsconfig.js: *new* + {"pollingInterval":2000} +/user/username/projects/myproject/playground/tsconfig-json/tsconfig.ts: *new* + {"pollingInterval":2000} +/user/username/projects/myproject/playground/tsconfig.d.ts: *new* + {"pollingInterval":2000} +/user/username/projects/myproject/playground/tsconfig.js: *new* + {"pollingInterval":2000} +/user/username/projects/myproject/playground/tsconfig.ts: *new* + {"pollingInterval":2000} +/user/username/projects/myproject/tsconfig.d.ts: *new* + {"pollingInterval":2000} +/user/username/projects/myproject/tsconfig.js: *new* + {"pollingInterval":2000} /user/username/projects/myproject/tsconfig.json: *new* {"pollingInterval":2000} +/user/username/projects/myproject/tsconfig.ts: *new* + {"pollingInterval":2000} /user/username/projects/node_modules/@types: {"pollingInterval":500} diff --git a/tests/baselines/reference/tsserver/reloadProjects/inferred-project.js b/tests/baselines/reference/tsserver/reloadProjects/inferred-project.js index 1bdb1d7dd6fc3..a514f38bd576d 100644 --- a/tests/baselines/reference/tsserver/reloadProjects/inferred-project.js +++ b/tests/baselines/reference/tsserver/reloadProjects/inferred-project.js @@ -89,6 +89,9 @@ Info seq [hh:mm:ss:mss] request: } Info seq [hh:mm:ss:mss] Search path: /user/username/projects/myproject Info seq [hh:mm:ss:mss] For info: /user/username/projects/myproject/file1.ts :: No config files found. +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/tsconfig.d.ts 2000 {"excludeFiles":["/user/username/projects/myproject/file2.ts"]} WatchType: Config file for the inferred project root +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/tsconfig.ts 2000 {"excludeFiles":["/user/username/projects/myproject/file2.ts"]} WatchType: Config file for the inferred project root +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/tsconfig.js 2000 {"excludeFiles":["/user/username/projects/myproject/file2.ts"]} WatchType: Config file for the inferred project root Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/tsconfig.json 2000 {"excludeFiles":["/user/username/projects/myproject/file2.ts"]} WatchType: Config file for the inferred project root Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/jsconfig.json 2000 {"excludeFiles":["/user/username/projects/myproject/file2.ts"]} WatchType: Config file for the inferred project root Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/inferredProject1* @@ -132,8 +135,14 @@ After request PolledWatches:: /user/username/projects/myproject/jsconfig.json: *new* {"pollingInterval":2000} +/user/username/projects/myproject/tsconfig.d.ts: *new* + {"pollingInterval":2000} +/user/username/projects/myproject/tsconfig.js: *new* + {"pollingInterval":2000} /user/username/projects/myproject/tsconfig.json: *new* {"pollingInterval":2000} +/user/username/projects/myproject/tsconfig.ts: *new* + {"pollingInterval":2000} /user/username/projects/node_modules: *new* {"pollingInterval":500} /user/username/projects/node_modules/@types: *new* @@ -245,8 +254,14 @@ After request PolledWatches:: /user/username/projects/myproject/jsconfig.json: {"pollingInterval":2000} +/user/username/projects/myproject/tsconfig.d.ts: + {"pollingInterval":2000} +/user/username/projects/myproject/tsconfig.js: + {"pollingInterval":2000} /user/username/projects/myproject/tsconfig.json: {"pollingInterval":2000} +/user/username/projects/myproject/tsconfig.ts: + {"pollingInterval":2000} /user/username/projects/node_modules/@types: {"pollingInterval":500} *new* @@ -371,8 +386,14 @@ After request PolledWatches:: /user/username/projects/myproject/jsconfig.json: {"pollingInterval":2000} +/user/username/projects/myproject/tsconfig.d.ts: + {"pollingInterval":2000} +/user/username/projects/myproject/tsconfig.js: + {"pollingInterval":2000} /user/username/projects/myproject/tsconfig.json: {"pollingInterval":2000} +/user/username/projects/myproject/tsconfig.ts: + {"pollingInterval":2000} /user/username/projects/node_modules/@types: {"pollingInterval":500} *new* @@ -496,8 +517,14 @@ PolledWatches:: {"pollingInterval":500} /user/username/projects/myproject/jsconfig.json: {"pollingInterval":2000} +/user/username/projects/myproject/tsconfig.d.ts: + {"pollingInterval":2000} +/user/username/projects/myproject/tsconfig.js: + {"pollingInterval":2000} /user/username/projects/myproject/tsconfig.json: {"pollingInterval":2000} +/user/username/projects/myproject/tsconfig.ts: + {"pollingInterval":2000} /user/username/projects/node_modules/@types: {"pollingInterval":500} *new* diff --git a/tests/baselines/reference/tsserver/resolutionCache/non-relative-module-name-from-inferred-project.js b/tests/baselines/reference/tsserver/resolutionCache/non-relative-module-name-from-inferred-project.js index d1dad25b9ed1b..9169a7fbb6d9f 100644 --- a/tests/baselines/reference/tsserver/resolutionCache/non-relative-module-name-from-inferred-project.js +++ b/tests/baselines/reference/tsserver/resolutionCache/non-relative-module-name-from-inferred-project.js @@ -64,10 +64,19 @@ Info seq [hh:mm:ss:mss] request: } Info seq [hh:mm:ss:mss] Search path: /user/username/projects/myproject/product/src Info seq [hh:mm:ss:mss] For info: /user/username/projects/myproject/product/src/file1.ts :: No config files found. +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/product/src/tsconfig.d.ts 2000 undefined WatchType: Config file for the inferred project root +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/product/src/tsconfig.ts 2000 undefined WatchType: Config file for the inferred project root +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/product/src/tsconfig.js 2000 undefined WatchType: Config file for the inferred project root Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/product/src/tsconfig.json 2000 undefined WatchType: Config file for the inferred project root Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/product/src/jsconfig.json 2000 undefined WatchType: Config file for the inferred project root +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/product/tsconfig.d.ts 2000 undefined WatchType: Config file for the inferred project root +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/product/tsconfig.ts 2000 undefined WatchType: Config file for the inferred project root +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/product/tsconfig.js 2000 undefined WatchType: Config file for the inferred project root Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/product/tsconfig.json 2000 undefined WatchType: Config file for the inferred project root Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/product/jsconfig.json 2000 undefined WatchType: Config file for the inferred project root +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/tsconfig.d.ts 2000 undefined WatchType: Config file for the inferred project root +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/tsconfig.ts 2000 undefined WatchType: Config file for the inferred project root +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/tsconfig.js 2000 undefined WatchType: Config file for the inferred project root Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/tsconfig.json 2000 undefined WatchType: Config file for the inferred project root Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/jsconfig.json 2000 undefined WatchType: Config file for the inferred project root Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/inferredProject1* @@ -246,16 +255,34 @@ PolledWatches:: {"pollingInterval":500} /user/username/projects/myproject/product/src/node_modules/@types: *new* {"pollingInterval":500} +/user/username/projects/myproject/product/src/tsconfig.d.ts: *new* + {"pollingInterval":2000} +/user/username/projects/myproject/product/src/tsconfig.js: *new* + {"pollingInterval":2000} /user/username/projects/myproject/product/src/tsconfig.json: *new* {"pollingInterval":2000} +/user/username/projects/myproject/product/src/tsconfig.ts: *new* + {"pollingInterval":2000} /user/username/projects/myproject/product/test/node_modules: *new* {"pollingInterval":500} /user/username/projects/myproject/product/test/src/node_modules: *new* {"pollingInterval":500} +/user/username/projects/myproject/product/tsconfig.d.ts: *new* + {"pollingInterval":2000} +/user/username/projects/myproject/product/tsconfig.js: *new* + {"pollingInterval":2000} /user/username/projects/myproject/product/tsconfig.json: *new* {"pollingInterval":2000} +/user/username/projects/myproject/product/tsconfig.ts: *new* + {"pollingInterval":2000} +/user/username/projects/myproject/tsconfig.d.ts: *new* + {"pollingInterval":2000} +/user/username/projects/myproject/tsconfig.js: *new* + {"pollingInterval":2000} /user/username/projects/myproject/tsconfig.json: *new* {"pollingInterval":2000} +/user/username/projects/myproject/tsconfig.ts: *new* + {"pollingInterval":2000} /user/username/projects/node_modules/@types: *new* {"pollingInterval":500} diff --git a/tests/baselines/reference/tsserver/resolutionCache/npm-install-@types-works.js b/tests/baselines/reference/tsserver/resolutionCache/npm-install-@types-works.js index 746b72b2e010a..3c5b6c1734b52 100644 --- a/tests/baselines/reference/tsserver/resolutionCache/npm-install-@types-works.js +++ b/tests/baselines/reference/tsserver/resolutionCache/npm-install-@types-works.js @@ -32,6 +32,9 @@ Info seq [hh:mm:ss:mss] request: } Info seq [hh:mm:ss:mss] Search path: /a/b/projects/temp Info seq [hh:mm:ss:mss] For info: /a/b/projects/temp/a.ts :: No config files found. +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/b/projects/temp/tsconfig.d.ts 2000 undefined WatchType: Config file for the inferred project root +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/b/projects/temp/tsconfig.ts 2000 undefined WatchType: Config file for the inferred project root +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/b/projects/temp/tsconfig.js 2000 undefined WatchType: Config file for the inferred project root Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/b/projects/temp/tsconfig.json 2000 undefined WatchType: Config file for the inferred project root Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/b/projects/temp/jsconfig.json 2000 undefined WatchType: Config file for the inferred project root Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/inferredProject1* @@ -81,8 +84,14 @@ PolledWatches:: {"pollingInterval":500} /a/b/projects/temp/node_modules/@types: *new* {"pollingInterval":500} +/a/b/projects/temp/tsconfig.d.ts: *new* + {"pollingInterval":2000} +/a/b/projects/temp/tsconfig.js: *new* + {"pollingInterval":2000} /a/b/projects/temp/tsconfig.json: *new* {"pollingInterval":2000} +/a/b/projects/temp/tsconfig.ts: *new* + {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: *new* @@ -242,8 +251,14 @@ PolledWatches:: {"pollingInterval":500} /a/b/projects/temp/jsconfig.json: {"pollingInterval":2000} +/a/b/projects/temp/tsconfig.d.ts: + {"pollingInterval":2000} +/a/b/projects/temp/tsconfig.js: + {"pollingInterval":2000} /a/b/projects/temp/tsconfig.json: {"pollingInterval":2000} +/a/b/projects/temp/tsconfig.ts: + {"pollingInterval":2000} PolledWatches *deleted*:: /a/b/projects/temp/node_modules: @@ -303,8 +318,14 @@ PolledWatches:: {"pollingInterval":500} /a/b/projects/temp/jsconfig.json: {"pollingInterval":2000} +/a/b/projects/temp/tsconfig.d.ts: + {"pollingInterval":2000} +/a/b/projects/temp/tsconfig.js: + {"pollingInterval":2000} /a/b/projects/temp/tsconfig.json: {"pollingInterval":2000} +/a/b/projects/temp/tsconfig.ts: + {"pollingInterval":2000} PolledWatches *deleted*:: /a/b/projects/node_modules: diff --git a/tests/baselines/reference/tsserver/resolutionCache/renaming-module-should-restore-the-states-for-inferred-projects.js b/tests/baselines/reference/tsserver/resolutionCache/renaming-module-should-restore-the-states-for-inferred-projects.js index ecc6ac6021384..bebf6c98338af 100644 --- a/tests/baselines/reference/tsserver/resolutionCache/renaming-module-should-restore-the-states-for-inferred-projects.js +++ b/tests/baselines/reference/tsserver/resolutionCache/renaming-module-should-restore-the-states-for-inferred-projects.js @@ -19,6 +19,9 @@ Info seq [hh:mm:ss:mss] request: } Info seq [hh:mm:ss:mss] Search path: /users/username/projects/project Info seq [hh:mm:ss:mss] For info: /users/username/projects/project/file1.ts :: No config files found. +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /users/username/projects/project/tsconfig.d.ts 2000 undefined WatchType: Config file for the inferred project root +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /users/username/projects/project/tsconfig.ts 2000 undefined WatchType: Config file for the inferred project root +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /users/username/projects/project/tsconfig.js 2000 undefined WatchType: Config file for the inferred project root Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /users/username/projects/project/tsconfig.json 2000 undefined WatchType: Config file for the inferred project root Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /users/username/projects/project/jsconfig.json 2000 undefined WatchType: Config file for the inferred project root Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/inferredProject1* @@ -63,8 +66,14 @@ PolledWatches:: {"pollingInterval":2000} /users/username/projects/project/node_modules/@types: *new* {"pollingInterval":500} +/users/username/projects/project/tsconfig.d.ts: *new* + {"pollingInterval":2000} +/users/username/projects/project/tsconfig.js: *new* + {"pollingInterval":2000} /users/username/projects/project/tsconfig.json: *new* {"pollingInterval":2000} +/users/username/projects/project/tsconfig.ts: *new* + {"pollingInterval":2000} FsWatches:: /users/username/projects/project/moduleFile.ts: *new* @@ -125,8 +134,14 @@ PolledWatches:: {"pollingInterval":2000} /users/username/projects/project/node_modules/@types: {"pollingInterval":500} +/users/username/projects/project/tsconfig.d.ts: + {"pollingInterval":2000} +/users/username/projects/project/tsconfig.js: + {"pollingInterval":2000} /users/username/projects/project/tsconfig.json: {"pollingInterval":2000} +/users/username/projects/project/tsconfig.ts: + {"pollingInterval":2000} FsWatches *deleted*:: /users/username/projects/project/moduleFile.ts: @@ -210,8 +225,14 @@ PolledWatches:: {"pollingInterval":500} /users/username/projects/project/node_modules/@types: {"pollingInterval":500} +/users/username/projects/project/tsconfig.d.ts: + {"pollingInterval":2000} +/users/username/projects/project/tsconfig.js: + {"pollingInterval":2000} /users/username/projects/project/tsconfig.json: {"pollingInterval":2000} +/users/username/projects/project/tsconfig.ts: + {"pollingInterval":2000} FsWatches:: /users/username/projects/project: *new* @@ -378,8 +399,14 @@ PolledWatches:: {"pollingInterval":2000} /users/username/projects/project/node_modules/@types: {"pollingInterval":500} +/users/username/projects/project/tsconfig.d.ts: + {"pollingInterval":2000} +/users/username/projects/project/tsconfig.js: + {"pollingInterval":2000} /users/username/projects/project/tsconfig.json: {"pollingInterval":2000} +/users/username/projects/project/tsconfig.ts: + {"pollingInterval":2000} PolledWatches *deleted*:: /users/username/projects/project/moduleFile: diff --git a/tests/baselines/reference/tsserver/resolutionCache/should-remove-the-module-not-found-error.js b/tests/baselines/reference/tsserver/resolutionCache/should-remove-the-module-not-found-error.js index f127feefebd9b..fdc013043dc81 100644 --- a/tests/baselines/reference/tsserver/resolutionCache/should-remove-the-module-not-found-error.js +++ b/tests/baselines/reference/tsserver/resolutionCache/should-remove-the-module-not-found-error.js @@ -16,6 +16,9 @@ Info seq [hh:mm:ss:mss] request: } Info seq [hh:mm:ss:mss] Search path: /users/username/projects/project Info seq [hh:mm:ss:mss] For info: /users/username/projects/project/file1.ts :: No config files found. +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /users/username/projects/project/tsconfig.d.ts 2000 undefined WatchType: Config file for the inferred project root +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /users/username/projects/project/tsconfig.ts 2000 undefined WatchType: Config file for the inferred project root +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /users/username/projects/project/tsconfig.js 2000 undefined WatchType: Config file for the inferred project root Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /users/username/projects/project/tsconfig.json 2000 undefined WatchType: Config file for the inferred project root Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /users/username/projects/project/jsconfig.json 2000 undefined WatchType: Config file for the inferred project root Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/inferredProject1* @@ -62,8 +65,14 @@ PolledWatches:: {"pollingInterval":500} /users/username/projects/project/node_modules/@types: *new* {"pollingInterval":500} +/users/username/projects/project/tsconfig.d.ts: *new* + {"pollingInterval":2000} +/users/username/projects/project/tsconfig.js: *new* + {"pollingInterval":2000} /users/username/projects/project/tsconfig.json: *new* {"pollingInterval":2000} +/users/username/projects/project/tsconfig.ts: *new* + {"pollingInterval":2000} FsWatches:: /users/username/projects/project: *new* @@ -213,8 +222,14 @@ PolledWatches:: {"pollingInterval":2000} /users/username/projects/project/node_modules/@types: {"pollingInterval":500} +/users/username/projects/project/tsconfig.d.ts: + {"pollingInterval":2000} +/users/username/projects/project/tsconfig.js: + {"pollingInterval":2000} /users/username/projects/project/tsconfig.json: {"pollingInterval":2000} +/users/username/projects/project/tsconfig.ts: + {"pollingInterval":2000} PolledWatches *deleted*:: /users/username/projects/project/moduleFile: diff --git a/tests/baselines/reference/tsserver/resolutionCache/when-watching-node_modules-in-inferred-project-for-failed-lookup/closed-script-infos.js b/tests/baselines/reference/tsserver/resolutionCache/when-watching-node_modules-in-inferred-project-for-failed-lookup/closed-script-infos.js index 7654fc719e728..b93498bf3e72e 100644 --- a/tests/baselines/reference/tsserver/resolutionCache/when-watching-node_modules-in-inferred-project-for-failed-lookup/closed-script-infos.js +++ b/tests/baselines/reference/tsserver/resolutionCache/when-watching-node_modules-in-inferred-project-for-failed-lookup/closed-script-infos.js @@ -32,6 +32,9 @@ Info seq [hh:mm:ss:mss] request: } Info seq [hh:mm:ss:mss] Search path: /user/username/projects/myproject Info seq [hh:mm:ss:mss] For info: /user/username/projects/myproject/test.ts :: No config files found. +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/tsconfig.d.ts 2000 undefined WatchType: Config file for the inferred project root +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/tsconfig.ts 2000 undefined WatchType: Config file for the inferred project root +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/tsconfig.js 2000 undefined WatchType: Config file for the inferred project root Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/tsconfig.json 2000 undefined WatchType: Config file for the inferred project root Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/jsconfig.json 2000 undefined WatchType: Config file for the inferred project root Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/inferredProject1* @@ -78,8 +81,14 @@ PolledWatches:: {"pollingInterval":2000} /user/username/projects/myproject/node_modules/@types: *new* {"pollingInterval":500} +/user/username/projects/myproject/tsconfig.d.ts: *new* + {"pollingInterval":2000} +/user/username/projects/myproject/tsconfig.js: *new* + {"pollingInterval":2000} /user/username/projects/myproject/tsconfig.json: *new* {"pollingInterval":2000} +/user/username/projects/myproject/tsconfig.ts: *new* + {"pollingInterval":2000} /user/username/projects/node_modules/@types: *new* {"pollingInterval":500} diff --git a/tests/baselines/reference/tsserver/symLinks/when-not-symlink-but-differs-in-casing.js b/tests/baselines/reference/tsserver/symLinks/when-not-symlink-but-differs-in-casing.js index 6795a9635d768..4cfb5689ffcbb 100644 --- a/tests/baselines/reference/tsserver/symLinks/when-not-symlink-but-differs-in-casing.js +++ b/tests/baselines/reference/tsserver/symLinks/when-not-symlink-but-differs-in-casing.js @@ -52,12 +52,24 @@ Info seq [hh:mm:ss:mss] request: } Info seq [hh:mm:ss:mss] Search path: c:/temp/replay/axios-src/lib/core Info seq [hh:mm:ss:mss] For info: c:/temp/replay/axios-src/lib/core/AxiosHeaders.js :: No config files found. +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: c:/temp/replay/axios-src/lib/core/tsconfig.d.ts 2000 undefined WatchType: Config file for the inferred project root +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: c:/temp/replay/axios-src/lib/core/tsconfig.ts 2000 undefined WatchType: Config file for the inferred project root +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: c:/temp/replay/axios-src/lib/core/tsconfig.js 2000 undefined WatchType: Config file for the inferred project root Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: c:/temp/replay/axios-src/lib/core/tsconfig.json 2000 undefined WatchType: Config file for the inferred project root Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: c:/temp/replay/axios-src/lib/core/jsconfig.json 2000 undefined WatchType: Config file for the inferred project root +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: c:/temp/replay/axios-src/lib/tsconfig.d.ts 2000 undefined WatchType: Config file for the inferred project root +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: c:/temp/replay/axios-src/lib/tsconfig.ts 2000 undefined WatchType: Config file for the inferred project root +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: c:/temp/replay/axios-src/lib/tsconfig.js 2000 undefined WatchType: Config file for the inferred project root Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: c:/temp/replay/axios-src/lib/tsconfig.json 2000 undefined WatchType: Config file for the inferred project root Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: c:/temp/replay/axios-src/lib/jsconfig.json 2000 undefined WatchType: Config file for the inferred project root +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: c:/temp/replay/axios-src/tsconfig.d.ts 2000 undefined WatchType: Config file for the inferred project root +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: c:/temp/replay/axios-src/tsconfig.ts 2000 undefined WatchType: Config file for the inferred project root +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: c:/temp/replay/axios-src/tsconfig.js 2000 undefined WatchType: Config file for the inferred project root Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: c:/temp/replay/axios-src/tsconfig.json 2000 undefined WatchType: Config file for the inferred project root Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: c:/temp/replay/axios-src/jsconfig.json 2000 undefined WatchType: Config file for the inferred project root +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: c:/temp/replay/tsconfig.d.ts 2000 undefined WatchType: Config file for the inferred project root +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: c:/temp/replay/tsconfig.ts 2000 undefined WatchType: Config file for the inferred project root +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: c:/temp/replay/tsconfig.js 2000 undefined WatchType: Config file for the inferred project root Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: c:/temp/replay/tsconfig.json 2000 undefined WatchType: Config file for the inferred project root Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: c:/temp/replay/jsconfig.json 2000 undefined WatchType: Config file for the inferred project root Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/inferredProject1* @@ -125,24 +137,48 @@ c:/temp/replay/axios-src/lib/core/jsconfig.json: *new* {"pollingInterval":2000} c:/temp/replay/axios-src/lib/core/node_modules/@types: *new* {"pollingInterval":500} +c:/temp/replay/axios-src/lib/core/tsconfig.d.ts: *new* + {"pollingInterval":2000} +c:/temp/replay/axios-src/lib/core/tsconfig.js: *new* + {"pollingInterval":2000} c:/temp/replay/axios-src/lib/core/tsconfig.json: *new* {"pollingInterval":2000} +c:/temp/replay/axios-src/lib/core/tsconfig.ts: *new* + {"pollingInterval":2000} c:/temp/replay/axios-src/lib/jsconfig.json: *new* {"pollingInterval":2000} c:/temp/replay/axios-src/lib/node_modules/@types: *new* {"pollingInterval":500} +c:/temp/replay/axios-src/lib/tsconfig.d.ts: *new* + {"pollingInterval":2000} +c:/temp/replay/axios-src/lib/tsconfig.js: *new* + {"pollingInterval":2000} c:/temp/replay/axios-src/lib/tsconfig.json: *new* {"pollingInterval":2000} +c:/temp/replay/axios-src/lib/tsconfig.ts: *new* + {"pollingInterval":2000} c:/temp/replay/axios-src/node_modules/@types: *new* {"pollingInterval":500} +c:/temp/replay/axios-src/tsconfig.d.ts: *new* + {"pollingInterval":2000} +c:/temp/replay/axios-src/tsconfig.js: *new* + {"pollingInterval":2000} c:/temp/replay/axios-src/tsconfig.json: *new* {"pollingInterval":2000} +c:/temp/replay/axios-src/tsconfig.ts: *new* + {"pollingInterval":2000} c:/temp/replay/jsconfig.json: *new* {"pollingInterval":2000} c:/temp/replay/node_modules/@types: *new* {"pollingInterval":500} +c:/temp/replay/tsconfig.d.ts: *new* + {"pollingInterval":2000} +c:/temp/replay/tsconfig.js: *new* + {"pollingInterval":2000} c:/temp/replay/tsconfig.json: *new* {"pollingInterval":2000} +c:/temp/replay/tsconfig.ts: *new* + {"pollingInterval":2000} FsWatches:: c:/temp/replay/axios-src/package.json: *new* @@ -347,28 +383,52 @@ c:/temp/replay/axios-src/lib/core/node_modules/@types: {"pollingInterval":500} c:/temp/replay/axios-src/lib/core/settle.js: *new* {"pollingInterval":500} +c:/temp/replay/axios-src/lib/core/tsconfig.d.ts: + {"pollingInterval":2000} +c:/temp/replay/axios-src/lib/core/tsconfig.js: + {"pollingInterval":2000} c:/temp/replay/axios-src/lib/core/tsconfig.json: {"pollingInterval":2000} +c:/temp/replay/axios-src/lib/core/tsconfig.ts: + {"pollingInterval":2000} c:/temp/replay/axios-src/lib/jsconfig.json: {"pollingInterval":2000} c:/temp/replay/axios-src/lib/node_modules: *new* {"pollingInterval":500} c:/temp/replay/axios-src/lib/node_modules/@types: {"pollingInterval":500} +c:/temp/replay/axios-src/lib/tsconfig.d.ts: + {"pollingInterval":2000} +c:/temp/replay/axios-src/lib/tsconfig.js: + {"pollingInterval":2000} c:/temp/replay/axios-src/lib/tsconfig.json: {"pollingInterval":2000} +c:/temp/replay/axios-src/lib/tsconfig.ts: + {"pollingInterval":2000} c:/temp/replay/axios-src/node_modules/@types: {"pollingInterval":500} +c:/temp/replay/axios-src/tsconfig.d.ts: + {"pollingInterval":2000} +c:/temp/replay/axios-src/tsconfig.js: + {"pollingInterval":2000} c:/temp/replay/axios-src/tsconfig.json: {"pollingInterval":2000} +c:/temp/replay/axios-src/tsconfig.ts: + {"pollingInterval":2000} c:/temp/replay/jsconfig.json: {"pollingInterval":2000} c:/temp/replay/node_modules: *new* {"pollingInterval":500} c:/temp/replay/node_modules/@types: {"pollingInterval":500} +c:/temp/replay/tsconfig.d.ts: + {"pollingInterval":2000} +c:/temp/replay/tsconfig.js: + {"pollingInterval":2000} c:/temp/replay/tsconfig.json: {"pollingInterval":2000} +c:/temp/replay/tsconfig.ts: + {"pollingInterval":2000} FsWatches:: C:/temp/replay/axios-src/node_modules/follow-redirects/package.json: *new* @@ -589,28 +649,52 @@ c:/temp/replay/axios-src/lib/core/node_modules/@types: {"pollingInterval":500} c:/temp/replay/axios-src/lib/core/settle.js: {"pollingInterval":500} +c:/temp/replay/axios-src/lib/core/tsconfig.d.ts: + {"pollingInterval":2000} +c:/temp/replay/axios-src/lib/core/tsconfig.js: + {"pollingInterval":2000} c:/temp/replay/axios-src/lib/core/tsconfig.json: {"pollingInterval":2000} +c:/temp/replay/axios-src/lib/core/tsconfig.ts: + {"pollingInterval":2000} c:/temp/replay/axios-src/lib/jsconfig.json: {"pollingInterval":2000} c:/temp/replay/axios-src/lib/node_modules: {"pollingInterval":500} c:/temp/replay/axios-src/lib/node_modules/@types: {"pollingInterval":500} +c:/temp/replay/axios-src/lib/tsconfig.d.ts: + {"pollingInterval":2000} +c:/temp/replay/axios-src/lib/tsconfig.js: + {"pollingInterval":2000} c:/temp/replay/axios-src/lib/tsconfig.json: {"pollingInterval":2000} +c:/temp/replay/axios-src/lib/tsconfig.ts: + {"pollingInterval":2000} c:/temp/replay/axios-src/node_modules/@types: {"pollingInterval":500} +c:/temp/replay/axios-src/tsconfig.d.ts: + {"pollingInterval":2000} +c:/temp/replay/axios-src/tsconfig.js: + {"pollingInterval":2000} c:/temp/replay/axios-src/tsconfig.json: {"pollingInterval":2000} +c:/temp/replay/axios-src/tsconfig.ts: + {"pollingInterval":2000} c:/temp/replay/jsconfig.json: {"pollingInterval":2000} c:/temp/replay/node_modules: {"pollingInterval":500} c:/temp/replay/node_modules/@types: {"pollingInterval":500} +c:/temp/replay/tsconfig.d.ts: + {"pollingInterval":2000} +c:/temp/replay/tsconfig.js: + {"pollingInterval":2000} c:/temp/replay/tsconfig.json: {"pollingInterval":2000} +c:/temp/replay/tsconfig.ts: + {"pollingInterval":2000} FsWatches:: C:/temp/replay/axios-src/node_modules/follow-redirects/package.json: @@ -736,28 +820,52 @@ c:/temp/replay/axios-src/lib/core/node_modules/@types: {"pollingInterval":500} c:/temp/replay/axios-src/lib/core/settle.js: {"pollingInterval":500} +c:/temp/replay/axios-src/lib/core/tsconfig.d.ts: + {"pollingInterval":2000} +c:/temp/replay/axios-src/lib/core/tsconfig.js: + {"pollingInterval":2000} c:/temp/replay/axios-src/lib/core/tsconfig.json: {"pollingInterval":2000} +c:/temp/replay/axios-src/lib/core/tsconfig.ts: + {"pollingInterval":2000} c:/temp/replay/axios-src/lib/jsconfig.json: {"pollingInterval":2000} c:/temp/replay/axios-src/lib/node_modules: {"pollingInterval":500} c:/temp/replay/axios-src/lib/node_modules/@types: {"pollingInterval":500} +c:/temp/replay/axios-src/lib/tsconfig.d.ts: + {"pollingInterval":2000} +c:/temp/replay/axios-src/lib/tsconfig.js: + {"pollingInterval":2000} c:/temp/replay/axios-src/lib/tsconfig.json: {"pollingInterval":2000} +c:/temp/replay/axios-src/lib/tsconfig.ts: + {"pollingInterval":2000} c:/temp/replay/axios-src/node_modules/@types: {"pollingInterval":500} +c:/temp/replay/axios-src/tsconfig.d.ts: + {"pollingInterval":2000} +c:/temp/replay/axios-src/tsconfig.js: + {"pollingInterval":2000} c:/temp/replay/axios-src/tsconfig.json: {"pollingInterval":2000} +c:/temp/replay/axios-src/tsconfig.ts: + {"pollingInterval":2000} c:/temp/replay/jsconfig.json: {"pollingInterval":2000} c:/temp/replay/node_modules: {"pollingInterval":500} c:/temp/replay/node_modules/@types: {"pollingInterval":500} +c:/temp/replay/tsconfig.d.ts: + {"pollingInterval":2000} +c:/temp/replay/tsconfig.js: + {"pollingInterval":2000} c:/temp/replay/tsconfig.json: {"pollingInterval":2000} +c:/temp/replay/tsconfig.ts: + {"pollingInterval":2000} FsWatches:: C:/temp/replay/axios-src/node_modules/follow-redirects/package.json: diff --git a/tests/baselines/reference/tsserver/typingsInstaller/projectRootPath-is-provided-for-inferred-project.js b/tests/baselines/reference/tsserver/typingsInstaller/projectRootPath-is-provided-for-inferred-project.js index 70e40a3b282bb..c30ae50cc71cc 100644 --- a/tests/baselines/reference/tsserver/typingsInstaller/projectRootPath-is-provided-for-inferred-project.js +++ b/tests/baselines/reference/tsserver/typingsInstaller/projectRootPath-is-provided-for-inferred-project.js @@ -70,6 +70,9 @@ Info seq [hh:mm:ss:mss] request: } Info seq [hh:mm:ss:mss] Search path: /user/username/projects/san2 Info seq [hh:mm:ss:mss] For info: /user/username/projects/san2/x.js :: No config files found. +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/san2/tsconfig.d.ts 2000 undefined WatchType: Config file for the inferred project root +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/san2/tsconfig.ts 2000 undefined WatchType: Config file for the inferred project root +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/san2/tsconfig.js 2000 undefined WatchType: Config file for the inferred project root Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/san2/tsconfig.json 2000 undefined WatchType: Config file for the inferred project root Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/san2/jsconfig.json 2000 undefined WatchType: Config file for the inferred project root Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/inferredProject1* @@ -99,8 +102,14 @@ PolledWatches:: {"pollingInterval":2000} /user/username/projects/san2/node_modules/@types: *new* {"pollingInterval":500} +/user/username/projects/san2/tsconfig.d.ts: *new* + {"pollingInterval":2000} +/user/username/projects/san2/tsconfig.js: *new* + {"pollingInterval":2000} /user/username/projects/san2/tsconfig.json: *new* {"pollingInterval":2000} +/user/username/projects/san2/tsconfig.ts: *new* + {"pollingInterval":2000} Projects:: /dev/null/inferredProject1* (Inferred) *new* @@ -277,8 +286,14 @@ PolledWatches:: {"pollingInterval":500} /user/username/projects/san2/node_modules/@types: {"pollingInterval":500} +/user/username/projects/san2/tsconfig.d.ts: + {"pollingInterval":2000} +/user/username/projects/san2/tsconfig.js: + {"pollingInterval":2000} /user/username/projects/san2/tsconfig.json: {"pollingInterval":2000} +/user/username/projects/san2/tsconfig.ts: + {"pollingInterval":2000} Projects:: /dev/null/inferredProject1* (Inferred) *changed* diff --git a/tests/baselines/reference/tsserver/typingsInstaller/redo-resolutions-pointing-to-js-on-typing-install.js b/tests/baselines/reference/tsserver/typingsInstaller/redo-resolutions-pointing-to-js-on-typing-install.js index 0a058c251a1f3..d2544a7e6bfe4 100644 --- a/tests/baselines/reference/tsserver/typingsInstaller/redo-resolutions-pointing-to-js-on-typing-install.js +++ b/tests/baselines/reference/tsserver/typingsInstaller/redo-resolutions-pointing-to-js-on-typing-install.js @@ -20,8 +20,14 @@ Info seq [hh:mm:ss:mss] request: } Info seq [hh:mm:ss:mss] Search path: /user/username/projects/a/b Info seq [hh:mm:ss:mss] For info: /user/username/projects/a/b/app.js :: No config files found. +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/a/b/tsconfig.d.ts 2000 undefined WatchType: Config file for the inferred project root +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/a/b/tsconfig.ts 2000 undefined WatchType: Config file for the inferred project root +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/a/b/tsconfig.js 2000 undefined WatchType: Config file for the inferred project root Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/a/b/tsconfig.json 2000 undefined WatchType: Config file for the inferred project root Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/a/b/jsconfig.json 2000 undefined WatchType: Config file for the inferred project root +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/a/tsconfig.d.ts 2000 undefined WatchType: Config file for the inferred project root +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/a/tsconfig.ts 2000 undefined WatchType: Config file for the inferred project root +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/a/tsconfig.js 2000 undefined WatchType: Config file for the inferred project root Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/a/tsconfig.json 2000 undefined WatchType: Config file for the inferred project root Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/a/jsconfig.json 2000 undefined WatchType: Config file for the inferred project root Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/inferredProject1* @@ -64,16 +70,28 @@ PolledWatches:: {"pollingInterval":500} /user/username/projects/a/b/node_modules/@types: *new* {"pollingInterval":500} +/user/username/projects/a/b/tsconfig.d.ts: *new* + {"pollingInterval":2000} +/user/username/projects/a/b/tsconfig.js: *new* + {"pollingInterval":2000} /user/username/projects/a/b/tsconfig.json: *new* {"pollingInterval":2000} +/user/username/projects/a/b/tsconfig.ts: *new* + {"pollingInterval":2000} /user/username/projects/a/jsconfig.json: *new* {"pollingInterval":2000} /user/username/projects/a/node_modules: *new* {"pollingInterval":500} /user/username/projects/a/node_modules/@types: *new* {"pollingInterval":500} +/user/username/projects/a/tsconfig.d.ts: *new* + {"pollingInterval":2000} +/user/username/projects/a/tsconfig.js: *new* + {"pollingInterval":2000} /user/username/projects/a/tsconfig.json: *new* {"pollingInterval":2000} +/user/username/projects/a/tsconfig.ts: *new* + {"pollingInterval":2000} /user/username/projects/node_modules/@types: *new* {"pollingInterval":500} @@ -224,16 +242,28 @@ PolledWatches:: {"pollingInterval":500} /user/username/projects/a/b/node_modules/@types: {"pollingInterval":500} +/user/username/projects/a/b/tsconfig.d.ts: + {"pollingInterval":2000} +/user/username/projects/a/b/tsconfig.js: + {"pollingInterval":2000} /user/username/projects/a/b/tsconfig.json: {"pollingInterval":2000} +/user/username/projects/a/b/tsconfig.ts: + {"pollingInterval":2000} /user/username/projects/a/jsconfig.json: {"pollingInterval":2000} /user/username/projects/a/node_modules: {"pollingInterval":500} /user/username/projects/a/node_modules/@types: {"pollingInterval":500} +/user/username/projects/a/tsconfig.d.ts: + {"pollingInterval":2000} +/user/username/projects/a/tsconfig.js: + {"pollingInterval":2000} /user/username/projects/a/tsconfig.json: {"pollingInterval":2000} +/user/username/projects/a/tsconfig.ts: + {"pollingInterval":2000} /user/username/projects/node_modules/@types: {"pollingInterval":500} @@ -479,16 +509,28 @@ PolledWatches:: {"pollingInterval":500} /user/username/projects/a/b/node_modules/@types: {"pollingInterval":500} +/user/username/projects/a/b/tsconfig.d.ts: + {"pollingInterval":2000} +/user/username/projects/a/b/tsconfig.js: + {"pollingInterval":2000} /user/username/projects/a/b/tsconfig.json: {"pollingInterval":2000} +/user/username/projects/a/b/tsconfig.ts: + {"pollingInterval":2000} /user/username/projects/a/jsconfig.json: {"pollingInterval":2000} /user/username/projects/a/node_modules: {"pollingInterval":500} /user/username/projects/a/node_modules/@types: {"pollingInterval":500} +/user/username/projects/a/tsconfig.d.ts: + {"pollingInterval":2000} +/user/username/projects/a/tsconfig.js: + {"pollingInterval":2000} /user/username/projects/a/tsconfig.json: {"pollingInterval":2000} +/user/username/projects/a/tsconfig.ts: + {"pollingInterval":2000} /user/username/projects/node_modules/@types: {"pollingInterval":500} diff --git a/tests/baselines/reference/tsserver/watchEnvironment/inferred-project-watch-options-errors.js b/tests/baselines/reference/tsserver/watchEnvironment/inferred-project-watch-options-errors.js index e6f5a3a2c4c06..02c4fa2eb8ad1 100644 --- a/tests/baselines/reference/tsserver/watchEnvironment/inferred-project-watch-options-errors.js +++ b/tests/baselines/reference/tsserver/watchEnvironment/inferred-project-watch-options-errors.js @@ -59,8 +59,14 @@ Info seq [hh:mm:ss:mss] request: } Info seq [hh:mm:ss:mss] Search path: /user/username/projects/myproject/src Info seq [hh:mm:ss:mss] For info: /user/username/projects/myproject/src/main.ts :: No config files found. +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/src/tsconfig.d.ts 2000 undefined WatchType: Config file for the inferred project root +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/src/tsconfig.ts 2000 undefined WatchType: Config file for the inferred project root +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/src/tsconfig.js 2000 undefined WatchType: Config file for the inferred project root Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/src/tsconfig.json 2000 undefined WatchType: Config file for the inferred project root Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/src/jsconfig.json 2000 undefined WatchType: Config file for the inferred project root +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/tsconfig.d.ts 2000 undefined WatchType: Config file for the inferred project root +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/tsconfig.ts 2000 undefined WatchType: Config file for the inferred project root +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/tsconfig.js 2000 undefined WatchType: Config file for the inferred project root Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/tsconfig.json 2000 undefined WatchType: Config file for the inferred project root Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/jsconfig.json 2000 undefined WatchType: Config file for the inferred project root Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/inferredProject1* @@ -114,10 +120,22 @@ PolledWatches:: {"pollingInterval":500} /user/username/projects/myproject/src/jsconfig.json: *new* {"pollingInterval":2000} +/user/username/projects/myproject/src/tsconfig.d.ts: *new* + {"pollingInterval":2000} +/user/username/projects/myproject/src/tsconfig.js: *new* + {"pollingInterval":2000} /user/username/projects/myproject/src/tsconfig.json: *new* {"pollingInterval":2000} +/user/username/projects/myproject/src/tsconfig.ts: *new* + {"pollingInterval":2000} +/user/username/projects/myproject/tsconfig.d.ts: *new* + {"pollingInterval":2000} +/user/username/projects/myproject/tsconfig.js: *new* + {"pollingInterval":2000} /user/username/projects/myproject/tsconfig.json: *new* {"pollingInterval":2000} +/user/username/projects/myproject/tsconfig.ts: *new* + {"pollingInterval":2000} /user/username/projects/node_modules/@types: *new* {"pollingInterval":500} diff --git a/tests/baselines/reference/tsserver/watchEnvironment/inferred-project-watch-options-in-host-configuration.js b/tests/baselines/reference/tsserver/watchEnvironment/inferred-project-watch-options-in-host-configuration.js index 51920355326fa..e14bbf4c46463 100644 --- a/tests/baselines/reference/tsserver/watchEnvironment/inferred-project-watch-options-in-host-configuration.js +++ b/tests/baselines/reference/tsserver/watchEnvironment/inferred-project-watch-options-in-host-configuration.js @@ -89,8 +89,14 @@ Info seq [hh:mm:ss:mss] request: } Info seq [hh:mm:ss:mss] Search path: /user/username/projects/myproject/src Info seq [hh:mm:ss:mss] For info: /user/username/projects/myproject/src/main.ts :: No config files found. +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/src/tsconfig.d.ts 2000 {"excludeDirectories":["node_modules"]} WatchType: Config file for the inferred project root +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/src/tsconfig.ts 2000 {"excludeDirectories":["node_modules"]} WatchType: Config file for the inferred project root +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/src/tsconfig.js 2000 {"excludeDirectories":["node_modules"]} WatchType: Config file for the inferred project root Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/src/tsconfig.json 2000 {"excludeDirectories":["node_modules"]} WatchType: Config file for the inferred project root Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/src/jsconfig.json 2000 {"excludeDirectories":["node_modules"]} WatchType: Config file for the inferred project root +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/tsconfig.d.ts 2000 {"excludeDirectories":["node_modules"]} WatchType: Config file for the inferred project root +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/tsconfig.ts 2000 {"excludeDirectories":["node_modules"]} WatchType: Config file for the inferred project root +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/tsconfig.js 2000 {"excludeDirectories":["node_modules"]} WatchType: Config file for the inferred project root Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/tsconfig.json 2000 {"excludeDirectories":["node_modules"]} WatchType: Config file for the inferred project root Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/jsconfig.json 2000 {"excludeDirectories":["node_modules"]} WatchType: Config file for the inferred project root Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/inferredProject1* @@ -139,10 +145,22 @@ PolledWatches:: {"pollingInterval":2000} /user/username/projects/myproject/src/jsconfig.json: *new* {"pollingInterval":2000} +/user/username/projects/myproject/src/tsconfig.d.ts: *new* + {"pollingInterval":2000} +/user/username/projects/myproject/src/tsconfig.js: *new* + {"pollingInterval":2000} /user/username/projects/myproject/src/tsconfig.json: *new* {"pollingInterval":2000} +/user/username/projects/myproject/src/tsconfig.ts: *new* + {"pollingInterval":2000} +/user/username/projects/myproject/tsconfig.d.ts: *new* + {"pollingInterval":2000} +/user/username/projects/myproject/tsconfig.js: *new* + {"pollingInterval":2000} /user/username/projects/myproject/tsconfig.json: *new* {"pollingInterval":2000} +/user/username/projects/myproject/tsconfig.ts: *new* + {"pollingInterval":2000} /user/username/projects/node_modules/@types: *new* {"pollingInterval":500} diff --git a/tests/baselines/reference/tsserver/watchEnvironment/inferred-project-watch-options.js b/tests/baselines/reference/tsserver/watchEnvironment/inferred-project-watch-options.js index 09d005d305a35..ad5d5433bca7c 100644 --- a/tests/baselines/reference/tsserver/watchEnvironment/inferred-project-watch-options.js +++ b/tests/baselines/reference/tsserver/watchEnvironment/inferred-project-watch-options.js @@ -59,8 +59,14 @@ Info seq [hh:mm:ss:mss] request: } Info seq [hh:mm:ss:mss] Search path: /user/username/projects/myproject/src Info seq [hh:mm:ss:mss] For info: /user/username/projects/myproject/src/main.ts :: No config files found. +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/src/tsconfig.d.ts 2000 undefined WatchType: Config file for the inferred project root +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/src/tsconfig.ts 2000 undefined WatchType: Config file for the inferred project root +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/src/tsconfig.js 2000 undefined WatchType: Config file for the inferred project root Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/src/tsconfig.json 2000 undefined WatchType: Config file for the inferred project root Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/src/jsconfig.json 2000 undefined WatchType: Config file for the inferred project root +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/tsconfig.d.ts 2000 undefined WatchType: Config file for the inferred project root +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/tsconfig.ts 2000 undefined WatchType: Config file for the inferred project root +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/tsconfig.js 2000 undefined WatchType: Config file for the inferred project root Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/tsconfig.json 2000 undefined WatchType: Config file for the inferred project root Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/jsconfig.json 2000 undefined WatchType: Config file for the inferred project root Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/inferredProject1* @@ -110,10 +116,22 @@ PolledWatches:: {"pollingInterval":2000} /user/username/projects/myproject/src/jsconfig.json: *new* {"pollingInterval":2000} +/user/username/projects/myproject/src/tsconfig.d.ts: *new* + {"pollingInterval":2000} +/user/username/projects/myproject/src/tsconfig.js: *new* + {"pollingInterval":2000} /user/username/projects/myproject/src/tsconfig.json: *new* {"pollingInterval":2000} +/user/username/projects/myproject/src/tsconfig.ts: *new* + {"pollingInterval":2000} +/user/username/projects/myproject/tsconfig.d.ts: *new* + {"pollingInterval":2000} +/user/username/projects/myproject/tsconfig.js: *new* + {"pollingInterval":2000} /user/username/projects/myproject/tsconfig.json: *new* {"pollingInterval":2000} +/user/username/projects/myproject/tsconfig.ts: *new* + {"pollingInterval":2000} /user/username/projects/node_modules/@types: *new* {"pollingInterval":500} diff --git a/tests/baselines/reference/tsserver/watchEnvironment/project-with-ascii-file-names-with-i.js b/tests/baselines/reference/tsserver/watchEnvironment/project-with-ascii-file-names-with-i.js index 2487f28955c27..6d1e5b061f0ef 100644 --- a/tests/baselines/reference/tsserver/watchEnvironment/project-with-ascii-file-names-with-i.js +++ b/tests/baselines/reference/tsserver/watchEnvironment/project-with-ascii-file-names-with-i.js @@ -30,6 +30,9 @@ Info seq [hh:mm:ss:mss] request: } Info seq [hh:mm:ss:mss] Search path: /User/userName/Projects/i Info seq [hh:mm:ss:mss] For info: /User/userName/Projects/i/foo.ts :: No config files found. +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /User/userName/Projects/i/tsconfig.d.ts 2000 undefined WatchType: Config file for the inferred project root +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /User/userName/Projects/i/tsconfig.ts 2000 undefined WatchType: Config file for the inferred project root +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /User/userName/Projects/i/tsconfig.js 2000 undefined WatchType: Config file for the inferred project root Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /User/userName/Projects/i/tsconfig.json 2000 undefined WatchType: Config file for the inferred project root Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /User/userName/Projects/i/jsconfig.json 2000 undefined WatchType: Config file for the inferred project root Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/inferredProject1* @@ -75,8 +78,14 @@ PolledWatches:: {"pollingInterval":500} /User/userName/Projects/i/node_modules/@types: *new* {"pollingInterval":500} +/User/userName/Projects/i/tsconfig.d.ts: *new* + {"pollingInterval":2000} +/User/userName/Projects/i/tsconfig.js: *new* + {"pollingInterval":2000} /User/userName/Projects/i/tsconfig.json: *new* {"pollingInterval":2000} +/User/userName/Projects/i/tsconfig.ts: *new* + {"pollingInterval":2000} /User/userName/Projects/node_modules: *new* {"pollingInterval":500} /User/userName/Projects/node_modules/@types: *new* diff --git a/tests/baselines/reference/tsserver/watchEnvironment/project-with-ascii-file-names.js b/tests/baselines/reference/tsserver/watchEnvironment/project-with-ascii-file-names.js index f636fcf04e406..3aabdda4bd06c 100644 --- a/tests/baselines/reference/tsserver/watchEnvironment/project-with-ascii-file-names.js +++ b/tests/baselines/reference/tsserver/watchEnvironment/project-with-ascii-file-names.js @@ -30,6 +30,9 @@ Info seq [hh:mm:ss:mss] request: } Info seq [hh:mm:ss:mss] Search path: /User/userName/Projects/I Info seq [hh:mm:ss:mss] For info: /User/userName/Projects/I/foo.ts :: No config files found. +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /User/userName/Projects/I/tsconfig.d.ts 2000 undefined WatchType: Config file for the inferred project root +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /User/userName/Projects/I/tsconfig.ts 2000 undefined WatchType: Config file for the inferred project root +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /User/userName/Projects/I/tsconfig.js 2000 undefined WatchType: Config file for the inferred project root Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /User/userName/Projects/I/tsconfig.json 2000 undefined WatchType: Config file for the inferred project root Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /User/userName/Projects/I/jsconfig.json 2000 undefined WatchType: Config file for the inferred project root Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/inferredProject1* @@ -75,8 +78,14 @@ PolledWatches:: {"pollingInterval":500} /User/userName/Projects/I/node_modules/@types: *new* {"pollingInterval":500} +/User/userName/Projects/I/tsconfig.d.ts: *new* + {"pollingInterval":2000} +/User/userName/Projects/I/tsconfig.js: *new* + {"pollingInterval":2000} /User/userName/Projects/I/tsconfig.json: *new* {"pollingInterval":2000} +/User/userName/Projects/I/tsconfig.ts: *new* + {"pollingInterval":2000} /User/userName/Projects/node_modules: *new* {"pollingInterval":500} /User/userName/Projects/node_modules/@types: *new* diff --git a/tests/baselines/reference/tsserver/watchEnvironment/project-with-unicode-file-names.js b/tests/baselines/reference/tsserver/watchEnvironment/project-with-unicode-file-names.js index 0594fc8c86fbd..f6ae0de42b719 100644 --- a/tests/baselines/reference/tsserver/watchEnvironment/project-with-unicode-file-names.js +++ b/tests/baselines/reference/tsserver/watchEnvironment/project-with-unicode-file-names.js @@ -30,6 +30,9 @@ Info seq [hh:mm:ss:mss] request: } Info seq [hh:mm:ss:mss] Search path: /User/userName/Projects/İ Info seq [hh:mm:ss:mss] For info: /User/userName/Projects/İ/foo.ts :: No config files found. +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /User/userName/Projects/İ/tsconfig.d.ts 2000 undefined WatchType: Config file for the inferred project root +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /User/userName/Projects/İ/tsconfig.ts 2000 undefined WatchType: Config file for the inferred project root +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /User/userName/Projects/İ/tsconfig.js 2000 undefined WatchType: Config file for the inferred project root Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /User/userName/Projects/İ/tsconfig.json 2000 undefined WatchType: Config file for the inferred project root Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /User/userName/Projects/İ/jsconfig.json 2000 undefined WatchType: Config file for the inferred project root Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/inferredProject1* @@ -79,8 +82,14 @@ PolledWatches:: {"pollingInterval":500} /User/userName/Projects/İ/node_modules/@types: *new* {"pollingInterval":500} +/User/userName/Projects/İ/tsconfig.d.ts: *new* + {"pollingInterval":2000} +/User/userName/Projects/İ/tsconfig.js: *new* + {"pollingInterval":2000} /User/userName/Projects/İ/tsconfig.json: *new* {"pollingInterval":2000} +/User/userName/Projects/İ/tsconfig.ts: *new* + {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: *new* diff --git a/tests/baselines/reference/tsserver/watchEnvironment/watching-files-with-network-style-paths.js b/tests/baselines/reference/tsserver/watchEnvironment/watching-files-with-network-style-paths.js index 5e6edd8944614..10b3b36a34556 100644 --- a/tests/baselines/reference/tsserver/watchEnvironment/watching-files-with-network-style-paths.js +++ b/tests/baselines/reference/tsserver/watchEnvironment/watching-files-with-network-style-paths.js @@ -30,6 +30,9 @@ Info seq [hh:mm:ss:mss] request: } Info seq [hh:mm:ss:mss] Search path: c:/myprojects/project Info seq [hh:mm:ss:mss] For info: c:/myprojects/project/x.js :: No config files found. +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: c:/myprojects/project/tsconfig.d.ts 2000 undefined WatchType: Config file for the inferred project root +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: c:/myprojects/project/tsconfig.ts 2000 undefined WatchType: Config file for the inferred project root +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: c:/myprojects/project/tsconfig.js 2000 undefined WatchType: Config file for the inferred project root Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: c:/myprojects/project/tsconfig.json 2000 undefined WatchType: Config file for the inferred project root Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: c:/myprojects/project/jsconfig.json 2000 undefined WatchType: Config file for the inferred project root Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/inferredProject1* @@ -60,8 +63,14 @@ c:/myprojects/project/jsconfig.json: *new* {"pollingInterval":2000} c:/myprojects/project/node_modules/@types: *new* {"pollingInterval":500} +c:/myprojects/project/tsconfig.d.ts: *new* + {"pollingInterval":2000} +c:/myprojects/project/tsconfig.js: *new* + {"pollingInterval":2000} c:/myprojects/project/tsconfig.json: *new* {"pollingInterval":2000} +c:/myprojects/project/tsconfig.ts: *new* + {"pollingInterval":2000} FsWatches:: c:/a/lib/lib.d.ts: *new* @@ -220,8 +229,14 @@ c:/myprojects/project/node_modules: *new* {"pollingInterval":500} c:/myprojects/project/node_modules/@types: {"pollingInterval":500} +c:/myprojects/project/tsconfig.d.ts: + {"pollingInterval":2000} +c:/myprojects/project/tsconfig.js: + {"pollingInterval":2000} c:/myprojects/project/tsconfig.json: {"pollingInterval":2000} +c:/myprojects/project/tsconfig.ts: + {"pollingInterval":2000} FsWatches:: c:/a/lib/lib.d.ts: @@ -474,6 +489,9 @@ Info seq [hh:mm:ss:mss] request: } Info seq [hh:mm:ss:mss] Search path: //vda1cs4850/c$/myprojects/project Info seq [hh:mm:ss:mss] For info: //vda1cs4850/c$/myprojects/project/x.js :: No config files found. +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: //vda1cs4850/c$/myprojects/project/tsconfig.d.ts 2000 undefined WatchType: Config file for the inferred project root +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: //vda1cs4850/c$/myprojects/project/tsconfig.ts 2000 undefined WatchType: Config file for the inferred project root +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: //vda1cs4850/c$/myprojects/project/tsconfig.js 2000 undefined WatchType: Config file for the inferred project root Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: //vda1cs4850/c$/myprojects/project/tsconfig.json 2000 undefined WatchType: Config file for the inferred project root Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: //vda1cs4850/c$/myprojects/project/jsconfig.json 2000 undefined WatchType: Config file for the inferred project root Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/inferredProject1* @@ -504,8 +522,14 @@ PolledWatches:: {"pollingInterval":2000} //vda1cs4850/c$/myprojects/project/node_modules/@types: *new* {"pollingInterval":500} +//vda1cs4850/c$/myprojects/project/tsconfig.d.ts: *new* + {"pollingInterval":2000} +//vda1cs4850/c$/myprojects/project/tsconfig.js: *new* + {"pollingInterval":2000} //vda1cs4850/c$/myprojects/project/tsconfig.json: *new* {"pollingInterval":2000} +//vda1cs4850/c$/myprojects/project/tsconfig.ts: *new* + {"pollingInterval":2000} FsWatches:: //vda1cs4850/a/lib/lib.d.ts: *new* @@ -664,8 +688,14 @@ PolledWatches:: {"pollingInterval":500} //vda1cs4850/c$/myprojects/project/node_modules/@types: {"pollingInterval":500} +//vda1cs4850/c$/myprojects/project/tsconfig.d.ts: + {"pollingInterval":2000} +//vda1cs4850/c$/myprojects/project/tsconfig.js: + {"pollingInterval":2000} //vda1cs4850/c$/myprojects/project/tsconfig.json: {"pollingInterval":2000} +//vda1cs4850/c$/myprojects/project/tsconfig.ts: + {"pollingInterval":2000} FsWatches:: //vda1cs4850/a/lib/lib.d.ts: @@ -708,6 +738,9 @@ Info seq [hh:mm:ss:mss] request: } Info seq [hh:mm:ss:mss] Search path: c:/users/username/myprojects/project Info seq [hh:mm:ss:mss] For info: c:/users/username/myprojects/project/x.js :: No config files found. +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: c:/users/username/myprojects/project/tsconfig.d.ts 2000 undefined WatchType: Config file for the inferred project root +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: c:/users/username/myprojects/project/tsconfig.ts 2000 undefined WatchType: Config file for the inferred project root +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: c:/users/username/myprojects/project/tsconfig.js 2000 undefined WatchType: Config file for the inferred project root Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: c:/users/username/myprojects/project/tsconfig.json 2000 undefined WatchType: Config file for the inferred project root Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: c:/users/username/myprojects/project/jsconfig.json 2000 undefined WatchType: Config file for the inferred project root Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/inferredProject1* @@ -738,8 +771,14 @@ c:/users/username/myprojects/project/jsconfig.json: *new* {"pollingInterval":2000} c:/users/username/myprojects/project/node_modules/@types: *new* {"pollingInterval":500} +c:/users/username/myprojects/project/tsconfig.d.ts: *new* + {"pollingInterval":2000} +c:/users/username/myprojects/project/tsconfig.js: *new* + {"pollingInterval":2000} c:/users/username/myprojects/project/tsconfig.json: *new* {"pollingInterval":2000} +c:/users/username/myprojects/project/tsconfig.ts: *new* + {"pollingInterval":2000} FsWatches:: c:/a/lib/lib.d.ts: *new* @@ -898,8 +937,14 @@ c:/users/username/myprojects/project/node_modules: *new* {"pollingInterval":500} c:/users/username/myprojects/project/node_modules/@types: {"pollingInterval":500} +c:/users/username/myprojects/project/tsconfig.d.ts: + {"pollingInterval":2000} +c:/users/username/myprojects/project/tsconfig.js: + {"pollingInterval":2000} c:/users/username/myprojects/project/tsconfig.json: {"pollingInterval":2000} +c:/users/username/myprojects/project/tsconfig.ts: + {"pollingInterval":2000} FsWatches:: c:/a/lib/lib.d.ts: @@ -942,6 +987,9 @@ Info seq [hh:mm:ss:mss] request: } Info seq [hh:mm:ss:mss] Search path: //vda1cs4850/c$/users/username/myprojects/project Info seq [hh:mm:ss:mss] For info: //vda1cs4850/c$/users/username/myprojects/project/x.js :: No config files found. +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: //vda1cs4850/c$/users/username/myprojects/project/tsconfig.d.ts 2000 undefined WatchType: Config file for the inferred project root +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: //vda1cs4850/c$/users/username/myprojects/project/tsconfig.ts 2000 undefined WatchType: Config file for the inferred project root +Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: //vda1cs4850/c$/users/username/myprojects/project/tsconfig.js 2000 undefined WatchType: Config file for the inferred project root Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: //vda1cs4850/c$/users/username/myprojects/project/tsconfig.json 2000 undefined WatchType: Config file for the inferred project root Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: //vda1cs4850/c$/users/username/myprojects/project/jsconfig.json 2000 undefined WatchType: Config file for the inferred project root Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/inferredProject1* @@ -972,8 +1020,14 @@ PolledWatches:: {"pollingInterval":2000} //vda1cs4850/c$/users/username/myprojects/project/node_modules/@types: *new* {"pollingInterval":500} +//vda1cs4850/c$/users/username/myprojects/project/tsconfig.d.ts: *new* + {"pollingInterval":2000} +//vda1cs4850/c$/users/username/myprojects/project/tsconfig.js: *new* + {"pollingInterval":2000} //vda1cs4850/c$/users/username/myprojects/project/tsconfig.json: *new* {"pollingInterval":2000} +//vda1cs4850/c$/users/username/myprojects/project/tsconfig.ts: *new* + {"pollingInterval":2000} FsWatches:: //vda1cs4850/a/lib/lib.d.ts: *new* @@ -1132,8 +1186,14 @@ PolledWatches:: {"pollingInterval":500} //vda1cs4850/c$/users/username/myprojects/project/node_modules/@types: {"pollingInterval":500} +//vda1cs4850/c$/users/username/myprojects/project/tsconfig.d.ts: + {"pollingInterval":2000} +//vda1cs4850/c$/users/username/myprojects/project/tsconfig.js: + {"pollingInterval":2000} //vda1cs4850/c$/users/username/myprojects/project/tsconfig.json: {"pollingInterval":2000} +//vda1cs4850/c$/users/username/myprojects/project/tsconfig.ts: + {"pollingInterval":2000} FsWatches:: //vda1cs4850/a/lib/lib.d.ts: From a6ac74b29f370218fba02488cb432b8080182d61 Mon Sep 17 00:00:00 2001 From: Wesley Wigham Date: Mon, 1 Apr 2024 09:08:14 -0700 Subject: [PATCH 4/5] Format --- src/compiler/commandLineParser.ts | 4 ++-- src/compiler/types.ts | 26 +++++++++----------------- 2 files changed, 11 insertions(+), 19 deletions(-) diff --git a/src/compiler/commandLineParser.ts b/src/compiler/commandLineParser.ts index 7ec1a6a295170..8e179fa057ebf 100644 --- a/src/compiler/commandLineParser.ts +++ b/src/compiler/commandLineParser.ts @@ -2120,7 +2120,7 @@ export function getParsedCommandLineOfConfigFile( /** @internal */ export function loadConfigFromDefaultType( configFileName: string, -): { configText: string, errors: Diagnostic[] } | undefined { +): { configText: string; errors: Diagnostic[]; } | undefined { const program = createProgram({ rootNames: [configFileName], options: { @@ -2150,7 +2150,7 @@ export function loadConfigFromDefaultType( // And to save on API work, just serialize the raw value into a string and send it through the usual path return { errors: program.getSemanticDiagnostics(file).slice(), - configText: JSON.stringify(raw) + configText: JSON.stringify(raw), }; } diff --git a/src/compiler/types.ts b/src/compiler/types.ts index e489311c3257d..675d19f96245c 100644 --- a/src/compiler/types.ts +++ b/src/compiler/types.ts @@ -9913,21 +9913,13 @@ export interface PragmaMap extends Map(value: PragmaPseudoMap[TKey] | PragmaPseudoMap[TKey][], key: TKey, map: PragmaMap) => void): void; } -type IntoCompilerOptionsValue = - T["type"] extends "string" - ? string - : T["type"] extends "number" - ? number - : T["type"] extends "boolean" - ? boolean - : T["type"] extends "object" - ? Record - : T["type"] extends "list" - ? IntoCompilerOptionsValue["element"]>[] - : T["type"] extends "listOrElement" - ? IntoCompilerOptionsValue["element"]>[] | IntoCompilerOptionsValue["element"]> - : T["type"] extends Map - ? InputKeyTypes +type IntoCompilerOptionsValue = T["type"] extends "string" ? string + : T["type"] extends "number" ? number + : T["type"] extends "boolean" ? boolean + : T["type"] extends "object" ? Record + : T["type"] extends "list" ? IntoCompilerOptionsValue["element"]>[] + : T["type"] extends "listOrElement" ? IntoCompilerOptionsValue["element"]>[] | IntoCompilerOptionsValue["element"]> + : T["type"] extends Map ? InputKeyTypes : never; type IntoCompilerOptionsNameValuePair = { @@ -9938,7 +9930,7 @@ type IntoCompilerOptionsNameValuePairs = T extends type IntoCompilerOptionsDefinitionWorker = UnionToIntersection>; -type IntoCompilerOptionsDefinition = IntoCompilerOptionsDefinitionWorker extends infer U ? {[K in keyof U]: U[K]} : never; +type IntoCompilerOptionsDefinition = IntoCompilerOptionsDefinitionWorker extends infer U ? { [K in keyof U]: U[K]; } : never; export const _optionsType = [undefined! as IntoCompilerOptionsDefinition | undefined][0]; @@ -9948,7 +9940,7 @@ export const _optionsType = [undefined! as IntoCompilerOptionsDefinition; - references?: { path: string }[]; + references?: { path: string; }[]; files?: string[]; include?: string[]; exclude?: string[]; From 00afff969f8dd3a0444e20e2c041b1ee0d069e18 Mon Sep 17 00:00:00 2001 From: Wesley Wigham Date: Mon, 1 Apr 2024 09:29:20 -0700 Subject: [PATCH 5/5] Accept reordered baseline --- tests/baselines/reference/api/typescript.d.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/baselines/reference/api/typescript.d.ts b/tests/baselines/reference/api/typescript.d.ts index f4fe0ecb6ba16..898f80ee858fe 100644 --- a/tests/baselines/reference/api/typescript.d.ts +++ b/tests/baselines/reference/api/typescript.d.ts @@ -8292,7 +8292,7 @@ declare namespace ts { noUncheckedIndexedAccess?: boolean | undefined; noImplicitOverride?: boolean | undefined; noPropertyAccessFromIndexSignature?: boolean | undefined; - moduleResolution?: "node16" | "nodenext" | "node10" | "node" | "classic" | "bundler" | undefined; + moduleResolution?: "node" | "node16" | "nodenext" | "node10" | "classic" | "bundler" | undefined; baseUrl?: string | undefined; paths?: Record | undefined; rootDirs?: string[] | undefined;