diff --git a/src/testRunner/unittests/tsserver/cachingFileSystemInformation.ts b/src/testRunner/unittests/tsserver/cachingFileSystemInformation.ts index 0f042ba32abee..77e2de13023c8 100644 --- a/src/testRunner/unittests/tsserver/cachingFileSystemInformation.ts +++ b/src/testRunner/unittests/tsserver/cachingFileSystemInformation.ts @@ -146,7 +146,7 @@ namespace ts.projectSystem { logCacheAndClear(projectService.logger); host.writeFile(imported.path, imported.content); - host.runQueuedTimeoutCallbacks(); + projectService.runQueuedTimeoutCallbacks(); logSemanticDiagnostics(projectService, project, root); logCacheAndClear(projectService.logger); baselineTsserverLogs("cachingFileSystemInformation", "loads missing files from disk", projectService); @@ -280,7 +280,7 @@ namespace ts.projectSystem { // Create file cookie.ts host.writeFile(file3.path, file3.content); - host.runQueuedTimeoutCallbacks(); + projectService.runQueuedTimeoutCallbacks(); logCacheAndClear(projectService.logger); projectService.openClientFile(file3.path); @@ -479,15 +479,15 @@ namespace ts.projectSystem { if (npmInstallComplete || timeoutDuringPartialInstallation) { if (timeoutQueueLengthWhenRunningTimeouts) { // Expected project update - host.checkTimeoutQueueLengthAndRun(timeoutQueueLengthWhenRunningTimeouts + 1); // Scheduled invalidation of resolutions - host.runQueuedTimeoutCallbacks(); // Actual update + projectService.checkTimeoutQueueLengthAndRun(timeoutQueueLengthWhenRunningTimeouts + 1); // Scheduled invalidation of resolutions + projectService.runQueuedTimeoutCallbacks(); // Actual update } else { - host.checkTimeoutQueueLengthAndRun(timeoutQueueLengthWhenRunningTimeouts); + projectService.checkTimeoutQueueLengthAndRun(timeoutQueueLengthWhenRunningTimeouts); } } else { - host.checkTimeoutQueueLength(3); + projectService.checkTimeoutQueueLength(3); } } } diff --git a/src/testRunner/unittests/tsserver/configFileSearch.ts b/src/testRunner/unittests/tsserver/configFileSearch.ts index a81bedb6431e0..02829a326f997 100644 --- a/src/testRunner/unittests/tsserver/configFileSearch.ts +++ b/src/testRunner/unittests/tsserver/configFileSearch.ts @@ -43,7 +43,7 @@ namespace ts.projectSystem { // Delete config file - should create inferred project and not configured project host.deleteFile(configFile.path); - host.runQueuedTimeoutCallbacks(); + service.runQueuedTimeoutCallbacks(); checkNumberOfProjects(service, { inferredProjects: 1 }); baselineTsserverLogs("configFileSearch", "should use projectRootPath when searching for inferred project again", service); }); @@ -73,7 +73,7 @@ namespace ts.projectSystem { // Delete config file - should create inferred project with project root path set host.deleteFile(configFile.path); - host.runQueuedTimeoutCallbacks(); + service.runQueuedTimeoutCallbacks(); baselineTsserverLogs("configFileSearch", "should use projectRootPath when searching for inferred project again 2", service); }); @@ -98,10 +98,10 @@ namespace ts.projectSystem { const { host, projectService } = openClientFile([file, libFile, tsconfig]); host.deleteFile(tsconfig.path); - host.runQueuedTimeoutCallbacks(); + projectService.runQueuedTimeoutCallbacks(); host.writeFile(tsconfig.path, tsconfig.content); - host.runQueuedTimeoutCallbacks(); + projectService.runQueuedTimeoutCallbacks(); baselineTsserverLogs("configFileSearch", "tsconfig for the file exists", projectService); }); @@ -110,10 +110,10 @@ namespace ts.projectSystem { const { host, projectService } = openClientFile([file, libFile]); host.writeFile(tsconfig.path, tsconfig.content); - host.runQueuedTimeoutCallbacks(); + projectService.runQueuedTimeoutCallbacks(); host.deleteFile(tsconfig.path); - host.runQueuedTimeoutCallbacks(); + projectService.runQueuedTimeoutCallbacks(); baselineTsserverLogs("configFileSearch", "tsconfig for the file does not exist", projectService); }); diff --git a/src/testRunner/unittests/tsserver/configuredProjects.ts b/src/testRunner/unittests/tsserver/configuredProjects.ts index f6fb173d282e6..7e0446fd58626 100644 --- a/src/testRunner/unittests/tsserver/configuredProjects.ts +++ b/src/testRunner/unittests/tsserver/configuredProjects.ts @@ -90,11 +90,11 @@ namespace ts.projectSystem { // Add a tsconfig file host.writeFile(configFile.path, configFile.content); - host.checkTimeoutQueueLengthAndRun(2); // load configured project from disk + ensureProjectsForOpenFiles + projectService.checkTimeoutQueueLengthAndRun(2); // load configured project from disk + ensureProjectsForOpenFiles // remove the tsconfig file host.deleteFile(configFile.path); - host.checkTimeoutQueueLengthAndRun(1); // Refresh inferred projects + projectService.checkTimeoutQueueLengthAndRun(1); // Refresh inferred projects baselineTsserverLogs("configuredProjects", "add and then remove a config file in a folder with loose files", projectService); }); @@ -110,7 +110,7 @@ namespace ts.projectSystem { // add a new ts file host.writeFile(commonFile2.path, commonFile2.content); - host.checkTimeoutQueueLengthAndRun(2); + projectService.checkTimeoutQueueLengthAndRun(2); baselineTsserverLogs("configuredProjects", "add new files to a configured project without file list", projectService); }); @@ -548,7 +548,7 @@ namespace ts.projectSystem { assert.isTrue(configProject1.hasOpenRef()); // file1 and file3 host.writeFile(configFile.path, "{}"); - host.runQueuedTimeoutCallbacks(); + projectService.runQueuedTimeoutCallbacks(); assert.isTrue(configProject1.hasOpenRef()); // file1, file2, file3 assert.isTrue(projectService.inferredProjects[0].isOrphan()); @@ -577,6 +577,7 @@ namespace ts.projectSystem { content: "let zz = 1;" }; host.writeFile(file5.path, file5.content); + projectService.baselineHost("File5 written"); projectService.openClientFile(file5.path); baselineTsserverLogs("configuredProjects", "Open ref of configured project when open file gets added to the project as part of configured file update", projectService); @@ -1032,7 +1033,7 @@ foo();` strict: true } })); - host.checkTimeoutQueueLengthAndRun(3); + projectService.checkTimeoutQueueLengthAndRun(3); host.writeFile(bravoExtendedConfig.path, JSON.stringify({ extends: "./alpha.tsconfig.json", @@ -1040,15 +1041,15 @@ foo();` strict: false } })); - host.checkTimeoutQueueLengthAndRun(2); + projectService.checkTimeoutQueueLengthAndRun(2); host.writeFile(bConfig.path, JSON.stringify({ extends: "../extended/alpha.tsconfig.json", })); - host.checkTimeoutQueueLengthAndRun(2); + projectService.checkTimeoutQueueLengthAndRun(2); host.writeFile(alphaExtendedConfig.path, "{}"); - host.checkTimeoutQueueLengthAndRun(3); + projectService.checkTimeoutQueueLengthAndRun(3); baselineTsserverLogs("configuredProjects", "should watch the extended configs of multiple projects", projectService); }); @@ -1182,8 +1183,8 @@ foo();` projectService.openClientFile(file1.path); host.writeFile(file2.path, file2.content); - host.runQueuedTimeoutCallbacks(); // Scheduled invalidation of resolutions - host.runQueuedTimeoutCallbacks(); // Actual update + projectService.runQueuedTimeoutCallbacks(); // Scheduled invalidation of resolutions + projectService.runQueuedTimeoutCallbacks(); // Actual update // On next file open the files file2a should be closed and not watched any more projectService.openClientFile(file2.path); diff --git a/src/testRunner/unittests/tsserver/events/projectUpdatedInBackground.ts b/src/testRunner/unittests/tsserver/events/projectUpdatedInBackground.ts index 951c7215872d2..61991ef4a89fa 100644 --- a/src/testRunner/unittests/tsserver/events/projectUpdatedInBackground.ts +++ b/src/testRunner/unittests/tsserver/events/projectUpdatedInBackground.ts @@ -442,7 +442,7 @@ namespace ts.projectSystem { file3.content += "export class d {}"; host.writeFile(file3.path, file3.content); - host.checkTimeoutQueueLengthAndRun(2); + session.checkTimeoutQueueLengthAndRun(2); // Since this is first event verifyProjectsUpdatedInBackgroundEventHandler([{ @@ -453,8 +453,8 @@ namespace ts.projectSystem { }]); host.writeFile(file2.path, file2.content); - host.runQueuedTimeoutCallbacks(); // For invalidation - host.runQueuedTimeoutCallbacks(); // For actual update + session.runQueuedTimeoutCallbacks(); // For invalidation + session.runQueuedTimeoutCallbacks(); // For actual update verifyProjectsUpdatedInBackgroundEventHandler(useSlashRootAsSomeNotRootFolderInUserDirectory ? [{ eventName: server.ProjectsUpdatedInBackgroundEvent, diff --git a/src/testRunner/unittests/tsserver/helpers.ts b/src/testRunner/unittests/tsserver/helpers.ts index 41fa333494433..f5ec901b2a046 100644 --- a/src/testRunner/unittests/tsserver/helpers.ts +++ b/src/testRunner/unittests/tsserver/helpers.ts @@ -142,7 +142,7 @@ namespace ts.projectSystem { .replace(/getExportInfoMap: done in \d+(?:\.\d+)?/g, `getExportInfoMap: done in *`) .replace(/collectAutoImports: \d+(?:\.\d+)?/g, `collectAutoImports: *`) .replace(/dependencies in \d+(?:\.\d+)?/g, `dependencies in *`) - .replace(/\"exportMapKey\"\:\"[_$a-zA-Z][_$_$a-zA-Z0-9]*\|\d+\|/g, match => match.replace(/\|\d+\|/, `|*|`)) + .replace(/\"exportMapKey\"\:\s*\"[_$a-zA-Z][_$_$a-zA-Z0-9]*\|\d+\|/g, match => match.replace(/\|\d+\|/, `|*|`)) ) }, host); } @@ -395,15 +395,41 @@ namespace ts.projectSystem { private baseline(type: "request" | "response", requestOrResult: T): T { if (!this.logger.hasLevel(server.LogLevel.verbose)) return requestOrResult; if (type === "request") this.logger.info(`request:${server.indent(JSON.stringify(requestOrResult, undefined, 2))}`); - this.baselineHost(); + this.baselineHost(type === "request" ? "Before request" : "After request"); if (type === "response") this.logger.info(`response:${server.indent(JSON.stringify(requestOrResult, undefined, 2))}`); return requestOrResult; } - baselineHost() { + baselineHost(title: string) { + if (!this.logger.hasLevel(server.LogLevel.verbose)) return; + this.logger.logs.push(title); this.testhost.diff(this.logger.logs, this.hostDiff); this.testhost.serializeWatches(this.logger.logs); this.hostDiff = this.testhost.snap(); + this.testhost.writtenFiles.clear(); + } + + checkTimeoutQueueLengthAndRun(expected: number) { + this.baselineHost(`Before checking timeout queue length (${expected}) and running`); + this.testhost.checkTimeoutQueueLengthAndRun(expected); + this.baselineHost(`After checking timeout queue length (${expected}) and running`); + } + + checkTimeoutQueueLength(expected: number) { + this.baselineHost(`Checking timeout queue length: ${expected}`); + this.testhost.checkTimeoutQueueLength(expected); + } + + runQueuedTimeoutCallbacks(timeoutId?: number) { + this.baselineHost(`Before running timeout callback${timeoutId === undefined ? "s" : timeoutId}`); + this.testhost.runQueuedTimeoutCallbacks(timeoutId); + this.baselineHost(`After running timeout callback${timeoutId === undefined ? "s" : timeoutId}`); + } + + runQueuedImmediateCallbacks(checkCount?: number) { + this.baselineHost(`Before running immediate callbacks${checkCount === undefined ? "" : ` and checking length (${checkCount})`}`); + this.testhost.runQueuedImmediateCallbacks(checkCount); + this.baselineHost(`Before running immediate callbacks${checkCount === undefined ? "" : ` and checking length (${checkCount})`}`); } } @@ -471,7 +497,9 @@ namespace ts.projectSystem { } export class TestProjectService extends server.ProjectService { - constructor(host: server.ServerHost, public logger: Logger, cancellationToken: HostCancellationToken, useSingleInferredProject: boolean, + public testhost: TestFSWithWatch.TestServerHostTrackingWrittenFiles; + private hostDiff: ReturnType | undefined; + constructor(host: TestServerHost, public logger: Logger, cancellationToken: HostCancellationToken, useSingleInferredProject: boolean, typingsInstaller: server.ITypingsInstaller, opts: Partial = {}) { super({ host, @@ -484,14 +512,48 @@ namespace ts.projectSystem { typesMapLocation: customTypesMap.path, ...opts }); + this.testhost = TestFSWithWatch.changeToHostTrackingWrittenFiles(this.host as TestServerHost); + this.baselineHost("Creating project service"); } checkNumberOfProjects(count: { inferredProjects?: number, configuredProjects?: number, externalProjects?: number }) { checkNumberOfProjects(this, count); } + + baselineHost(title: string) { + if (!this.logger.hasLevel(server.LogLevel.verbose)) return; + this.logger.logs.push(title); + this.testhost.diff(this.logger.logs, this.hostDiff); + this.testhost.serializeWatches(this.logger.logs); + this.hostDiff = this.testhost.snap(); + this.testhost.writtenFiles.clear(); + } + + checkTimeoutQueueLengthAndRun(expected: number) { + this.baselineHost(`Before checking timeout queue length (${expected}) and running`); + this.testhost.checkTimeoutQueueLengthAndRun(expected); + this.baselineHost(`After checking timeout queue length (${expected}) and running`); + } + + checkTimeoutQueueLength(expected: number) { + this.baselineHost(`Checking timeout queue length: ${expected}`); + this.testhost.checkTimeoutQueueLength(expected); + } + + runQueuedTimeoutCallbacks(timeoutId?: number) { + this.baselineHost(`Before running timeout callback${timeoutId === undefined ? "s" : timeoutId}`); + this.testhost.runQueuedTimeoutCallbacks(timeoutId); + this.baselineHost(`After running timeout callback${timeoutId === undefined ? "s" : timeoutId}`); + } + + runQueuedImmediateCallbacks(checkCount?: number) { + this.baselineHost(`Before running immediate callbacks${checkCount === undefined ? "" : ` and checking length (${checkCount})`}`); + this.testhost.runQueuedImmediateCallbacks(checkCount); + this.baselineHost(`Before running immediate callbacks${checkCount === undefined ? "" : ` and checking length (${checkCount})`}`); + } } - export function createProjectService(host: server.ServerHost, options?: Partial) { + export function createProjectService(host: TestServerHost, options?: Partial) { const cancellationToken = options?.cancellationToken || server.nullCancellationToken; const logger = options?.logger || createHasErrorMessageLogger(); const useSingleInferredProject = options?.useSingleInferredProject !== undefined ? options.useSingleInferredProject : false; @@ -792,14 +854,14 @@ namespace ts.projectSystem { Debug.assert(session.logger.logs.length); for (let i = 0; i < files.length; i++) { if (existingTimeouts !== undefined) { - host.checkTimeoutQueueLength(existingTimeouts + 1); - host.runQueuedTimeoutCallbacks(host.getNextTimeoutId() - 1); + session.checkTimeoutQueueLength(existingTimeouts + 1); + session.runQueuedTimeoutCallbacks(host.getNextTimeoutId() - 1); } else { - host.checkTimeoutQueueLengthAndRun(1); + session.checkTimeoutQueueLengthAndRun(1); } - if (!skip?.[i]?.semantic) host.runQueuedImmediateCallbacks(1); - if (!skip?.[i]?.suggestion) host.runQueuedImmediateCallbacks(1); + if (!skip?.[i]?.semantic) session.runQueuedImmediateCallbacks(1); + if (!skip?.[i]?.suggestion) session.runQueuedImmediateCallbacks(1); } } diff --git a/src/testRunner/unittests/tsserver/moduleResolution.ts b/src/testRunner/unittests/tsserver/moduleResolution.ts index 914de1b3a22d3..c83ea4db1238c 100644 --- a/src/testRunner/unittests/tsserver/moduleResolution.ts +++ b/src/testRunner/unittests/tsserver/moduleResolution.ts @@ -46,34 +46,34 @@ namespace ts.projectSystem { host.writeFile(packageFile.path, JSON.stringify({ name: "app", version: "1.0.0", type: "module", })); - host.runQueuedTimeoutCallbacks(); // Failed lookup updates - host.runQueuedTimeoutCallbacks(); // Actual update + session.runQueuedTimeoutCallbacks(); // Failed lookup updates + session.runQueuedTimeoutCallbacks(); // Actual update verifyErr(); session.logger.info("Modify package json file to remove type module"); host.writeFile(packageFile.path, packageFile.content); - host.runQueuedTimeoutCallbacks(); // Failed lookup updates - host.runQueuedTimeoutCallbacks(); // Actual update + session.runQueuedTimeoutCallbacks(); // Failed lookup updates + session.runQueuedTimeoutCallbacks(); // Actual update verifyErr(); session.logger.info("Delete package.json"); host.deleteFile(packageFile.path); - host.runQueuedTimeoutCallbacks(); // Failed lookup updates - host.runQueuedTimeoutCallbacks(); // Actual update + session.runQueuedTimeoutCallbacks(); // Failed lookup updates + session.runQueuedTimeoutCallbacks(); // Actual update verifyErr(); session.logger.info("Modify package json file to add type module"); host.writeFile(packageFile.path, JSON.stringify({ name: "app", version: "1.0.0", type: "module", })); - host.runQueuedTimeoutCallbacks(); // Failed lookup updates - host.runQueuedTimeoutCallbacks(); // Actual update + session.runQueuedTimeoutCallbacks(); // Failed lookup updates + session.runQueuedTimeoutCallbacks(); // Actual update verifyErr(); session.logger.info("Delete package.json"); host.deleteFile(packageFile.path); - host.runQueuedTimeoutCallbacks(); // Failed lookup updates - host.runQueuedTimeoutCallbacks(); // Actual update + session.runQueuedTimeoutCallbacks(); // Failed lookup updates + session.runQueuedTimeoutCallbacks(); // Actual update verifyErr(); baselineTsserverLogs("moduleResolution", "package json file is edited", session); @@ -86,32 +86,32 @@ namespace ts.projectSystem { session.logger.info("Modify package json file to remove type module"); host.writeFile(packageFile.path, JSON.stringify({ name: "app", version: "1.0.0" })); - host.runQueuedTimeoutCallbacks(); // Failed lookup updates - host.runQueuedTimeoutCallbacks(); // Actual update + session.runQueuedTimeoutCallbacks(); // Failed lookup updates + session.runQueuedTimeoutCallbacks(); // Actual update verifyErr(); session.logger.info("Modify package json file to add type module"); host.writeFile(packageFile.path, packageFile.content); - host.runQueuedTimeoutCallbacks(); // Failed lookup updates - host.runQueuedTimeoutCallbacks(); // Actual update + session.runQueuedTimeoutCallbacks(); // Failed lookup updates + session.runQueuedTimeoutCallbacks(); // Actual update verifyErr(); session.logger.info("Delete package.json"); host.deleteFile(packageFile.path); - host.runQueuedTimeoutCallbacks(); // Failed lookup updates - host.runQueuedTimeoutCallbacks(); // Actual update + session.runQueuedTimeoutCallbacks(); // Failed lookup updates + session.runQueuedTimeoutCallbacks(); // Actual update verifyErr(); session.logger.info("Modify package json file to without type module"); host.writeFile(packageFile.path, JSON.stringify({ name: "app", version: "1.0.0" })); - host.runQueuedTimeoutCallbacks(); // Failed lookup updates - host.runQueuedTimeoutCallbacks(); // Actual update + session.runQueuedTimeoutCallbacks(); // Failed lookup updates + session.runQueuedTimeoutCallbacks(); // Actual update verifyErr(); session.logger.info("Delete package.json"); host.deleteFile(packageFile.path); - host.runQueuedTimeoutCallbacks(); // Failed lookup updates - host.runQueuedTimeoutCallbacks(); // Actual update + session.runQueuedTimeoutCallbacks(); // Failed lookup updates + session.runQueuedTimeoutCallbacks(); // Actual update verifyErr(); baselineTsserverLogs("moduleResolution", "package json file is edited when package json with type module exists", session); diff --git a/src/testRunner/unittests/tsserver/moduleSpecifierCache.ts b/src/testRunner/unittests/tsserver/moduleSpecifierCache.ts index b9423ec98dd96..8a9ff13178578 100644 --- a/src/testRunner/unittests/tsserver/moduleSpecifierCache.ts +++ b/src/testRunner/unittests/tsserver/moduleSpecifierCache.ts @@ -63,7 +63,7 @@ namespace ts.projectSystem { // Completion at an import statement will calculate and cache module specifiers triggerCompletions({ file: cTs.path, line: 1, offset: cTs.content.length + 1 }); host.writeFile("/node_modules/.staging/mobx-12345678/package.json", "{}"); - host.runQueuedTimeoutCallbacks(); + session.runQueuedTimeoutCallbacks(); assert.equal(moduleSpecifierCache.count(), 0); baselineTsserverLogs("moduleSpecifierCache", "invalidates module specifiers when changes happen in contained node_modules directories", session); }); diff --git a/src/testRunner/unittests/tsserver/projectErrors.ts b/src/testRunner/unittests/tsserver/projectErrors.ts index 750b968b6c0f8..2ddcf00cd4b26 100644 --- a/src/testRunner/unittests/tsserver/projectErrors.ts +++ b/src/testRunner/unittests/tsserver/projectErrors.ts @@ -289,8 +289,8 @@ namespace ts.projectSystem { verifyGetErrRequest({ session, host, files: [app] }); host.renameFolder(`${projectDir}/foo`, `${projectDir}/foo2`); - host.runQueuedTimeoutCallbacks(); - host.runQueuedTimeoutCallbacks(); + session.runQueuedTimeoutCallbacks(); + session.runQueuedTimeoutCallbacks(); verifyGetErrRequest({ session, host, files: [app] }); baselineTsserverLogs("projectErrors", `folder rename updates project structure and reports no errors`, session); }); @@ -310,7 +310,7 @@ namespace ts.projectSystem { } }); - host.checkTimeoutQueueLengthAndRun(1); + session.checkTimeoutQueueLengthAndRun(1); baselineTsserverLogs("projectErrors", "getting errors before opening file", session); }); @@ -474,13 +474,13 @@ declare module '@custom/plugin' { } }`; host.writeFile(configFile.path, configFile.content); - host.runQueuedTimeoutCallbacks(); + session.runQueuedTimeoutCallbacks(); configFile.content = `{ "compilerOptions": {} }`; host.writeFile(configFile.path, configFile.content); - host.runQueuedTimeoutCallbacks(); + session.runQueuedTimeoutCallbacks(); baselineTsserverLogs("projectErrors", "configFileDiagnostic events are generated when the config file changes", session); }); @@ -868,13 +868,13 @@ console.log(blabla);` function verifyWhileNpmInstall(timeouts: number) { filesAndFoldersToAdd.forEach(f => host.ensureFileOrFolder(f)); if (npmInstallComplete || timeoutDuringPartialInstallation) { - host.checkTimeoutQueueLengthAndRun(timeouts); // Invalidation of failed lookups + session.checkTimeoutQueueLengthAndRun(timeouts); // Invalidation of failed lookups if (timeouts) { - host.checkTimeoutQueueLengthAndRun(timeouts - 1); // Actual update + session.checkTimeoutQueueLengthAndRun(timeouts - 1); // Actual update } } else { - host.checkTimeoutQueueLength(timeouts ? 3 : 2); + session.checkTimeoutQueueLength(timeouts ? 3 : 2); } verifyGetErrRequest({ session, host, files: [main], existingTimeouts: !npmInstallComplete && !timeoutDuringPartialInstallation ? timeouts ? 3 : 2 : undefined }); } diff --git a/src/testRunner/unittests/tsserver/projectReferences.ts b/src/testRunner/unittests/tsserver/projectReferences.ts index 694b279395294..dfed05abe3c22 100644 --- a/src/testRunner/unittests/tsserver/projectReferences.ts +++ b/src/testRunner/unittests/tsserver/projectReferences.ts @@ -1257,16 +1257,16 @@ bar;` // Add new class to referenced project const class3 = `${tscWatch.projectRoot}/projects/project1/class3.ts`; host.writeFile(class3, `class class3 {}`); - host.checkTimeoutQueueLengthAndRun(2); + session.checkTimeoutQueueLengthAndRun(2); // Add excluded file to referenced project host.ensureFileOrFolder({ path: `${tscWatch.projectRoot}/projects/project1/temp/file.d.ts`, content: `declare class file {}` }); - host.checkTimeoutQueueLengthAndRun(0); + session.checkTimeoutQueueLengthAndRun(0); // Add output from new class to referenced project const class3Dts = `${tscWatch.projectRoot}/projects/project1/class3.d.ts`; host.writeFile(class3Dts, `declare class class3 {}`); - host.checkTimeoutQueueLengthAndRun(0); + session.checkTimeoutQueueLengthAndRun(0); baselineTsserverLogs("projectReferences", `new file is added to the referenced project when referenced project is not open`, session); }); @@ -1277,14 +1277,14 @@ bar;` // Add new class to referenced project const class3 = `${tscWatch.projectRoot}/projects/project1/class3.ts`; host.writeFile(class3, `class class3 {}`); - host.checkTimeoutQueueLengthAndRun(3); + session.checkTimeoutQueueLengthAndRun(3); // Add excluded file to referenced project host.ensureFileOrFolder({ path: `${tscWatch.projectRoot}/projects/project1/temp/file.d.ts`, content: `declare class file {}` }); - host.checkTimeoutQueueLengthAndRun(0); + session.checkTimeoutQueueLengthAndRun(0); // Add output from new class to referenced project const class3Dts = `${tscWatch.projectRoot}/projects/project1/class3.d.ts`; host.writeFile(class3Dts, `declare class class3 {}`); - host.checkTimeoutQueueLengthAndRun(0); + session.checkTimeoutQueueLengthAndRun(0); baselineTsserverLogs("projectReferences", `new file is added to the referenced project when referenced project is open`, session); }); @@ -1294,20 +1294,20 @@ bar;` // Add new class to referenced project const class3 = `${tscWatch.projectRoot}/projects/project1/class3.ts`; host.writeFile(class3, `class class3 {}`); - host.checkTimeoutQueueLengthAndRun(2); + session.checkTimeoutQueueLengthAndRun(2); // Add output of new class to referenced project const class3Dts = `${tscWatch.projectRoot}/projects/project1/class3.d.ts`; host.writeFile(class3Dts, `declare class class3 {}`); - host.checkTimeoutQueueLengthAndRun(2); + session.checkTimeoutQueueLengthAndRun(2); // Add excluded file to referenced project host.ensureFileOrFolder({ path: `${tscWatch.projectRoot}/projects/project1/temp/file.d.ts`, content: `declare class file {}` }); - host.checkTimeoutQueueLengthAndRun(0); + session.checkTimeoutQueueLengthAndRun(0); // Delete output from new class to referenced project host.deleteFile(class3Dts); - host.checkTimeoutQueueLengthAndRun(2); + session.checkTimeoutQueueLengthAndRun(2); // Write back output of new class to referenced project host.writeFile(class3Dts, `declare class class3 {}`); - host.checkTimeoutQueueLengthAndRun(2); + session.checkTimeoutQueueLengthAndRun(2); baselineTsserverLogs("projectReferences", `new file is added to the referenced project when referenced project is not open with disableSourceOfProjectReferenceRedirect`, session); }); @@ -1318,20 +1318,20 @@ bar;` // Add new class to referenced project const class3 = `${tscWatch.projectRoot}/projects/project1/class3.ts`; host.writeFile(class3, `class class3 {}`); - host.checkTimeoutQueueLengthAndRun(3); + session.checkTimeoutQueueLengthAndRun(3); // Add output of new class to referenced project const class3Dts = `${tscWatch.projectRoot}/projects/project1/class3.d.ts`; host.writeFile(class3Dts, `declare class class3 {}`); - host.checkTimeoutQueueLengthAndRun(2); + session.checkTimeoutQueueLengthAndRun(2); // Add excluded file to referenced project host.ensureFileOrFolder({ path: `${tscWatch.projectRoot}/projects/project1/temp/file.d.ts`, content: `declare class file {}` }); - host.checkTimeoutQueueLengthAndRun(0); + session.checkTimeoutQueueLengthAndRun(0); // Delete output from new class to referenced project host.deleteFile(class3Dts); - host.checkTimeoutQueueLengthAndRun(2); + session.checkTimeoutQueueLengthAndRun(2); // Write back output of new class to referenced project host.writeFile(class3Dts, `declare class class3 {}`); - host.checkTimeoutQueueLengthAndRun(2); + session.checkTimeoutQueueLengthAndRun(2); baselineTsserverLogs("projectReferences", `new file is added to the referenced project when referenced project is open with disableSourceOfProjectReferenceRedirect`, session); }); }); diff --git a/src/testRunner/unittests/tsserver/projectReferencesSourcemap.ts b/src/testRunner/unittests/tsserver/projectReferencesSourcemap.ts index d951b02058c2c..3773d1fa8c314 100644 --- a/src/testRunner/unittests/tsserver/projectReferencesSourcemap.ts +++ b/src/testRunner/unittests/tsserver/projectReferencesSourcemap.ts @@ -311,11 +311,11 @@ fn5(); // Edit it(`when usage file changes, document position mapper doesnt change, when timeout occurs before request`, () => { // Create DocumentPositionMapper - const { host, session, dependencyMap, documentPositionMapper } = setupWithAction(); + const { session, dependencyMap, documentPositionMapper } = setupWithAction(); // change makeChangeToMainTs(session); - host.runQueuedTimeoutCallbacks(); + session.runQueuedTimeoutCallbacks(); verifyDocumentPositionMapperEqual(session, dependencyMap, documentPositionMapper); // action @@ -355,7 +355,7 @@ fn5(); // change changeDtsFile(host); - host.runQueuedTimeoutCallbacks(); + session.runQueuedTimeoutCallbacks(); verifyDocumentPositionMapperEqual(session, dependencyMap, documentPositionMapper); // action @@ -395,7 +395,7 @@ fn5(); // change changeDtsMapFile(host); - host.runQueuedTimeoutCallbacks(); + session.runQueuedTimeoutCallbacks(); verifyDocumentPositionMapperEqual(session, dependencyMap, documentPositionMapper); // action @@ -554,11 +554,11 @@ fn5(); // Edit it(`when usage file changes, document position mapper doesnt change, when timeout occurs before request`, () => { // Create DocumentPositionMapper - const { host, session, dependencyMap, documentPositionMapper } = setupWithAction(); + const { session, dependencyMap, documentPositionMapper } = setupWithAction(); // change makeChangeToMainTs(session); - host.runQueuedTimeoutCallbacks(); + session.runQueuedTimeoutCallbacks(); verifyDocumentPositionMapperEqual(session, dependencyMap, documentPositionMapper); // action @@ -598,7 +598,7 @@ fn5(); // change changeDtsFile(host); - host.runQueuedTimeoutCallbacks(); + session.runQueuedTimeoutCallbacks(); verifyDocumentPositionMapperEqual(session, dependencyMap, documentPositionMapper); // action @@ -638,7 +638,7 @@ fn5(); // change changeDtsMapFile(host); - host.runQueuedTimeoutCallbacks(); + session.runQueuedTimeoutCallbacks(); verifyDocumentPositionMapperEqual(session, dependencyMap, documentPositionMapper); // action @@ -778,7 +778,7 @@ fn5(); // Make change, without rebuild of solution host.writeFile(dependencyTs.path, `function fooBar() { } ${dependencyTs.content}`); - host.runQueuedTimeoutCallbacks(); + session.runQueuedTimeoutCallbacks(); verifyDocumentPositionMapperEqual(session, dependencyMap, documentPositionMapper); // action @@ -855,11 +855,11 @@ ${dependencyTs.content}`); // Edit it(`when usage file changes, document position mapper doesnt change, when timeout occurs before request`, () => { // Create DocumentPositionMapper - const { host, session, dependencyMap, documentPositionMapper } = setupWithAction(); + const { session, dependencyMap, documentPositionMapper } = setupWithAction(); // change makeChangeToMainTs(session); - host.runQueuedTimeoutCallbacks(); + session.runQueuedTimeoutCallbacks(); verifyDocumentPositionMapperEqual(session, dependencyMap, documentPositionMapper); // action @@ -899,7 +899,7 @@ ${dependencyTs.content}`); // change changeDtsFile(host); - host.runQueuedTimeoutCallbacks(); + session.runQueuedTimeoutCallbacks(); verifyDocumentPositionMapperEqual(session, dependencyMap, documentPositionMapper); // action @@ -939,7 +939,7 @@ ${dependencyTs.content}`); // change changeDtsMapFile(host); - host.runQueuedTimeoutCallbacks(); + session.runQueuedTimeoutCallbacks(); verifyDocumentPositionMapperEqual(session, dependencyMap, documentPositionMapper); // action @@ -1107,11 +1107,11 @@ ${dependencyTs.content}`); // Edit it(`when usage file changes, document position mapper doesnt change, when timeout occurs before request`, () => { // Create DocumentPositionMapper - const { host, session, dependencyMap, documentPositionMapper } = setupWithAction(); + const { session, dependencyMap, documentPositionMapper } = setupWithAction(); // change makeChangeToDependencyTs(session); - host.runQueuedTimeoutCallbacks(); + session.runQueuedTimeoutCallbacks(); verifyDocumentPositionMapperEqual(session, dependencyMap, documentPositionMapper); // action @@ -1151,7 +1151,7 @@ ${dependencyTs.content}`); // change changeDtsFile(host); - host.runQueuedTimeoutCallbacks(); + session.runQueuedTimeoutCallbacks(); verifyDocumentPositionMapperEqual(session, dependencyMap, documentPositionMapper); // action @@ -1191,7 +1191,7 @@ ${dependencyTs.content}`); // change changeDtsMapFile(host); - host.runQueuedTimeoutCallbacks(); + session.runQueuedTimeoutCallbacks(); verifyDocumentPositionMapperEqual(session, dependencyMap, documentPositionMapper); // action @@ -1350,11 +1350,11 @@ ${dependencyTs.content}`); // Edit it(`when usage file changes, document position mapper doesnt change, when timeout occurs before request`, () => { // Create DocumentPositionMapper - const { host, session, dependencyMap, documentPositionMapper } = setupWithAction(); + const { session, dependencyMap, documentPositionMapper } = setupWithAction(); // change makeChangeToDependencyTs(session); - host.runQueuedTimeoutCallbacks(); + session.runQueuedTimeoutCallbacks(); verifyDocumentPositionMapperEqual(session, dependencyMap, documentPositionMapper); // action @@ -1394,7 +1394,7 @@ ${dependencyTs.content}`); // change changeDtsFile(host); - host.runQueuedTimeoutCallbacks(); + session.runQueuedTimeoutCallbacks(); verifyDocumentPositionMapperEqual(session, dependencyMap, documentPositionMapper); // action @@ -1434,7 +1434,7 @@ ${dependencyTs.content}`); // change changeDtsMapFile(host); - host.runQueuedTimeoutCallbacks(); + session.runQueuedTimeoutCallbacks(); verifyDocumentPositionMapperEqual(session, dependencyMap, documentPositionMapper); // action @@ -1568,7 +1568,7 @@ ${dependencyTs.content}`); }); it(`when defining project source changes, when timeout occurs before request`, () => { // Create DocumentPositionMapper - const { host, session, dependencyMap, documentPositionMapper } = setupWithAction(); + const { session, dependencyMap, documentPositionMapper } = setupWithAction(); // change // Make change, without rebuild of solution @@ -1578,7 +1578,7 @@ ${dependencyTs.content}`); file: dependencyTs.path, line: 1, offset: 1, endLine: 1, endOffset: 1, insertString: `function fooBar() { } `} }); - host.runQueuedTimeoutCallbacks(); + session.runQueuedTimeoutCallbacks(); verifyDocumentPositionMapperEqual(session, dependencyMap, documentPositionMapper); // action @@ -1659,11 +1659,11 @@ ${dependencyTs.content}`); // Edit it(`when usage file changes, document position mapper doesnt change, when timeout occurs before request`, () => { // Create DocumentPositionMapper - const { host, session, dependencyMap, documentPositionMapper } = setupWithAction(); + const { session, dependencyMap, documentPositionMapper } = setupWithAction(); // change makeChangeToDependencyTs(session); - host.runQueuedTimeoutCallbacks(); + session.runQueuedTimeoutCallbacks(); verifyDocumentPositionMapperEqual(session, dependencyMap, documentPositionMapper); // action @@ -1703,7 +1703,7 @@ ${dependencyTs.content}`); // change changeDtsFile(host); - host.runQueuedTimeoutCallbacks(); + session.runQueuedTimeoutCallbacks(); verifyDocumentPositionMapperEqual(session, dependencyMap, documentPositionMapper); // action @@ -1743,7 +1743,7 @@ ${dependencyTs.content}`); // change changeDtsMapFile(host); - host.runQueuedTimeoutCallbacks(); + session.runQueuedTimeoutCallbacks(); verifyDocumentPositionMapperEqual(session, dependencyMap, documentPositionMapper); // action @@ -1921,12 +1921,12 @@ ${dependencyTs.content}`); // Edit it(`when usage file changes, document position mapper doesnt change, when timeout occurs before request`, () => { // Create DocumentPositionMapper - const { host, session, dependencyMap, documentPositionMapper } = setupWithAction(); + const { session, dependencyMap, documentPositionMapper } = setupWithAction(); // change makeChangeToMainTs(session); makeChangeToDependencyTs(session); - host.runQueuedTimeoutCallbacks(); + session.runQueuedTimeoutCallbacks(); verifyDocumentPositionMapperEqual(session, dependencyMap, documentPositionMapper); // action @@ -1983,7 +1983,7 @@ ${dependencyTs.content}`); // change changeDtsFile(host); - host.runQueuedTimeoutCallbacks(); + session.runQueuedTimeoutCallbacks(); verifyDocumentPositionMapperEqual(session, dependencyMap, documentPositionMapper); // action @@ -2039,7 +2039,7 @@ ${dependencyTs.content}`); // change changeDtsMapFile(host); - host.runQueuedTimeoutCallbacks(); + session.runQueuedTimeoutCallbacks(); verifyDocumentPositionMapperEqual(session, dependencyMap, documentPositionMapper); // action @@ -2274,12 +2274,12 @@ ${dependencyTs.content}`); // Edit it(`when usage file changes, document position mapper doesnt change, when timeout occurs before request`, () => { // Create DocumentPositionMapper - const { host, session, dependencyMap, documentPositionMapper } = setupWithAction(); + const { session, dependencyMap, documentPositionMapper } = setupWithAction(); // change makeChangeToMainTs(session); makeChangeToDependencyTs(session); - host.runQueuedTimeoutCallbacks(); + session.runQueuedTimeoutCallbacks(); verifyDocumentPositionMapperEqual(session, dependencyMap, documentPositionMapper); // action @@ -2336,7 +2336,7 @@ ${dependencyTs.content}`); // change changeDtsFile(host); - host.runQueuedTimeoutCallbacks(); + session.runQueuedTimeoutCallbacks(); verifyDocumentPositionMapperEqual(session, dependencyMap, documentPositionMapper); // action @@ -2392,7 +2392,7 @@ ${dependencyTs.content}`); // change changeDtsMapFile(host); - host.runQueuedTimeoutCallbacks(); + session.runQueuedTimeoutCallbacks(); verifyDocumentPositionMapperEqual(session, dependencyMap, documentPositionMapper); // action @@ -2592,7 +2592,7 @@ ${dependencyTs.content}`); }); it(`when defining project source changes, when timeout occurs before request`, () => { // Create DocumentPositionMapper - const { host, session, dependencyMap, documentPositionMapper } = setupWithAction(); + const { session, dependencyMap, documentPositionMapper } = setupWithAction(); // change // Make change, without rebuild of solution @@ -2602,7 +2602,7 @@ ${dependencyTs.content}`); file: dependencyTs.path, line: 1, offset: 1, endLine: 1, endOffset: 1, insertString: `function fooBar() { } `} }); - host.runQueuedTimeoutCallbacks(); + session.runQueuedTimeoutCallbacks(); verifyDocumentPositionMapperEqual(session, dependencyMap, documentPositionMapper); // action @@ -2716,12 +2716,12 @@ ${dependencyTs.content}`); // Edit it(`when usage file changes, document position mapper doesnt change, when timeout occurs before request`, () => { // Create DocumentPositionMapper - const { host, session, dependencyMap, documentPositionMapper } = setupWithAction(); + const { session, dependencyMap, documentPositionMapper } = setupWithAction(); // change makeChangeToMainTs(session); makeChangeToDependencyTs(session); - host.runQueuedTimeoutCallbacks(); + session.runQueuedTimeoutCallbacks(); verifyDocumentPositionMapperEqual(session, dependencyMap, documentPositionMapper); // action @@ -2778,7 +2778,7 @@ ${dependencyTs.content}`); // change changeDtsFile(host); - host.runQueuedTimeoutCallbacks(); + session.runQueuedTimeoutCallbacks(); verifyDocumentPositionMapperEqual(session, dependencyMap, documentPositionMapper); // action @@ -2834,7 +2834,7 @@ ${dependencyTs.content}`); // change changeDtsMapFile(host); - host.runQueuedTimeoutCallbacks(); + session.runQueuedTimeoutCallbacks(); verifyDocumentPositionMapperEqual(session, dependencyMap, documentPositionMapper); // action diff --git a/src/testRunner/unittests/tsserver/projects.ts b/src/testRunner/unittests/tsserver/projects.ts index 84d09a3dbda25..fb4f19ec0f034 100644 --- a/src/testRunner/unittests/tsserver/projects.ts +++ b/src/testRunner/unittests/tsserver/projects.ts @@ -19,7 +19,7 @@ namespace ts.projectSystem { session.executeCommand(getErrRequest); host.writeFile(commonFile2.path, commonFile2.content); - host.runQueuedTimeoutCallbacks(); + session.runQueuedTimeoutCallbacks(); session.executeCommand(getErrRequest); baselineTsserverLogs("projects", "handles the missing files added with tripleslash ref", session); }); @@ -1520,24 +1520,24 @@ namespace ts.projectSystem { openFile(fileB); openFile(fileSubA); - host.checkTimeoutQueueLengthAndRun(0); + session.checkTimeoutQueueLengthAndRun(0); // This should schedule 2 timeouts for ensuring project structure and ensuring projects for open file host.deleteFile(fileSubA.path); host.deleteFolder(getDirectoryPath(fileSubA.path)); host.writeFile(fileA.path, fileA.content); - host.checkTimeoutQueueLength(2); + session.checkTimeoutQueueLength(2); closeFilesForSession([fileSubA], session); // This should cancel existing updates and schedule new ones - host.checkTimeoutQueueLength(2); + session.checkTimeoutQueueLength(2); // Open the fileA (as if rename) // config project is updated to check if fileA is present in it openFile(fileA); // Run the timeout for updating configured project and ensuring projects for open file - host.checkTimeoutQueueLengthAndRun(2); + session.checkTimeoutQueueLengthAndRun(2); // file is deleted but watches are not yet invoked const originalFileExists = host.fileExists; @@ -1548,13 +1548,13 @@ namespace ts.projectSystem { // This should create inferred project since fileSubA not on the disk openFile(fileSubA); - host.checkTimeoutQueueLengthAndRun(2); // Update configured project and projects for open file + session.checkTimeoutQueueLengthAndRun(2); // Update configured project and projects for open file host.fileExists = originalFileExists; // Actually trigger the file move host.deleteFile(fileA.path); host.ensureFileOrFolder(fileSubA); - host.checkTimeoutQueueLength(2); + session.checkTimeoutQueueLength(2); verifyGetErrRequest({ session, host, files: [fileB, fileSubA], existingTimeouts: 2 }); baselineTsserverLogs("projects", "handles delayed directory watch invoke on file creation", session); diff --git a/src/testRunner/unittests/tsserver/projectsWithReferences.ts b/src/testRunner/unittests/tsserver/projectsWithReferences.ts index 531745f2e9f93..ffb977494cd4e 100644 --- a/src/testRunner/unittests/tsserver/projectsWithReferences.ts +++ b/src/testRunner/unittests/tsserver/projectsWithReferences.ts @@ -16,18 +16,18 @@ namespace ts.projectSystem { // local edit in ts file host.appendFile(logicIndex.path, `function foo() {}`); - host.checkTimeoutQueueLengthAndRun(2); + service.checkTimeoutQueueLengthAndRun(2); // non local edit in ts file host.appendFile(logicIndex.path, `export function gfoo() {}`); - host.checkTimeoutQueueLengthAndRun(2); + service.checkTimeoutQueueLengthAndRun(2); // change in project reference config file host.writeFile(logicConfig.path, JSON.stringify({ compilerOptions: { composite: true, declaration: true, declarationDir: "decls" }, references: [{ path: "../core" }] })); - host.checkTimeoutQueueLengthAndRun(2); + service.checkTimeoutQueueLengthAndRun(2); baselineTsserverLogs("projectsWithReferences", "sample project", service); }); @@ -89,7 +89,7 @@ export class A {}` // non local edit host.appendFile(bTs.path, `export function gFoo() { }`); - host.checkTimeoutQueueLengthAndRun(2); + service.checkTimeoutQueueLengthAndRun(2); baselineTsserverLogs("projectsWithReferences", "transitive references with non local edit", service); }); @@ -103,11 +103,11 @@ export class A {}` host.ensureFileOrFolder(nRefsTs); cTsConfigJson.compilerOptions.paths = { "@ref/*": ["../nrefs/*"] }; host.writeFile(cConfig.path, JSON.stringify(cTsConfigJson)); - host.checkTimeoutQueueLengthAndRun(2); + service.checkTimeoutQueueLengthAndRun(2); // revert the edit on config file host.writeFile(cConfig.path, cConfig.content); - host.checkTimeoutQueueLengthAndRun(2); + service.checkTimeoutQueueLengthAndRun(2); baselineTsserverLogs("projectsWithReferences", "transitive references with edit on config file", service); }); @@ -121,33 +121,33 @@ export class A {}` host.ensureFileOrFolder(nRefsTs); bTsConfigJson.compilerOptions.paths = { "@ref/*": ["../nrefs/*"] }; host.writeFile(bConfig.path, JSON.stringify(bTsConfigJson)); - host.checkTimeoutQueueLengthAndRun(2); + service.checkTimeoutQueueLengthAndRun(2); // revert the edit on config file host.writeFile(bConfig.path, bConfig.content); - host.checkTimeoutQueueLengthAndRun(2); + service.checkTimeoutQueueLengthAndRun(2); baselineTsserverLogs("projectsWithReferences", "transitive references with edit in referenced config file", service); }); it("deleting referenced config file", () => { const { host, service, bConfig } = createService(); host.deleteFile(bConfig.path); - host.checkTimeoutQueueLengthAndRun(3); // Schedules failed lookup invalidation + service.checkTimeoutQueueLengthAndRun(3); // Schedules failed lookup invalidation // revert host.writeFile(bConfig.path, bConfig.content); - host.checkTimeoutQueueLengthAndRun(3); // Schedules failed lookup invalidation + service.checkTimeoutQueueLengthAndRun(3); // Schedules failed lookup invalidation baselineTsserverLogs("projectsWithReferences", "transitive references with deleting referenced config file", service); }); it("deleting transitively referenced config file", () => { const { host, service, aConfig } = createService(); host.deleteFile(aConfig.path); - host.checkTimeoutQueueLengthAndRun(3); // Schedules failed lookup invalidation + service.checkTimeoutQueueLengthAndRun(3); // Schedules failed lookup invalidation // revert host.writeFile(aConfig.path, aConfig.content); - host.checkTimeoutQueueLengthAndRun(3); // Schedules failed lookup invalidation + service.checkTimeoutQueueLengthAndRun(3); // Schedules failed lookup invalidation baselineTsserverLogs("projectsWithReferences", "transitive references with deleting transitively referenced config file", service); }); }); @@ -204,7 +204,7 @@ export class A {}` // non local edit host.appendFile(bTs.path, `export function gFoo() { }`); - host.checkTimeoutQueueLengthAndRun(2); + service.checkTimeoutQueueLengthAndRun(2); baselineTsserverLogs("projectsWithReferences", "trasitive references without files with non local edit", service); }); @@ -218,11 +218,11 @@ export class A {}` host.ensureFileOrFolder(nRefsTs); cTsConfigJson.compilerOptions.paths = { "@ref/*": ["../nrefs/*"] }; host.writeFile(cConfig.path, JSON.stringify(cTsConfigJson)); - host.checkTimeoutQueueLengthAndRun(2); + service.checkTimeoutQueueLengthAndRun(2); // revert the edit on config file host.writeFile(cConfig.path, cConfig.content); - host.checkTimeoutQueueLengthAndRun(2); + service.checkTimeoutQueueLengthAndRun(2); baselineTsserverLogs("projectsWithReferences", "trasitive references without files with edit on config file", service); }); @@ -236,33 +236,33 @@ export class A {}` host.ensureFileOrFolder(nRefsTs); bTsConfigJson.compilerOptions.paths = { "@ref/*": ["../nrefs/*"] }; host.writeFile(bConfig.path, JSON.stringify(bTsConfigJson)); - host.checkTimeoutQueueLengthAndRun(2); + service.checkTimeoutQueueLengthAndRun(2); // revert the edit on config file host.writeFile(bConfig.path, bConfig.content); - host.checkTimeoutQueueLengthAndRun(2); + service.checkTimeoutQueueLengthAndRun(2); baselineTsserverLogs("projectsWithReferences", "trasitive references without files with edit in referenced config file", service); }); it("deleting referenced config file", () => { const { host, service, bConfig } = createService(); host.deleteFile(bConfig.path); - host.checkTimeoutQueueLengthAndRun(3); // Schedules failed lookup invalidation + service.checkTimeoutQueueLengthAndRun(3); // Schedules failed lookup invalidation // revert host.writeFile(bConfig.path, bConfig.content); - host.checkTimeoutQueueLengthAndRun(3); // Schedules failed lookup invalidation + service.checkTimeoutQueueLengthAndRun(3); // Schedules failed lookup invalidation baselineTsserverLogs("projectsWithReferences", "trasitive references without files with deleting referenced config file", service); }); it("deleting transitively referenced config file", () => { const { host, service, aConfig } = createService(); host.deleteFile(aConfig.path); - host.checkTimeoutQueueLengthAndRun(3); // Schedules failed lookup invalidation + service.checkTimeoutQueueLengthAndRun(3); // Schedules failed lookup invalidation // revert host.writeFile(aConfig.path, aConfig.content); - host.checkTimeoutQueueLengthAndRun(3); // Schedules failed lookup invalidation + service.checkTimeoutQueueLengthAndRun(3); // Schedules failed lookup invalidation baselineTsserverLogs("projectsWithReferences", "trasitive references without files with deleting transitively referenced config file", service); }); }); diff --git a/src/testRunner/unittests/tsserver/resolutionCache.ts b/src/testRunner/unittests/tsserver/resolutionCache.ts index 37b24702126ff..4141a3c1e3fb8 100644 --- a/src/testRunner/unittests/tsserver/resolutionCache.ts +++ b/src/testRunner/unittests/tsserver/resolutionCache.ts @@ -87,7 +87,7 @@ namespace ts.projectSystem { session.executeCommand(getErrRequest); host.writeFile(moduleFile.path, moduleFile.content); - host.runQueuedTimeoutCallbacks(); + session.runQueuedTimeoutCallbacks(); // Make a change to trigger the program rebuild const changeRequest = makeSessionRequest( @@ -126,10 +126,10 @@ namespace ts.projectSystem { content: "export = pad;declare function pad(length: number, text: string, char ?: string): string;" }; host.ensureFileOrFolder(padIndex, /*ignoreWatchInvokedWithTriggerAsFileCreate*/ true); - host.runQueuedTimeoutCallbacks(); // Scheduled invalidation of resolutions - host.runQueuedTimeoutCallbacks(); // Actual update - host.runQueuedTimeoutCallbacks(); - host.runQueuedImmediateCallbacks(); + session.runQueuedTimeoutCallbacks(); // Scheduled invalidation of resolutions + session.runQueuedTimeoutCallbacks(); // Actual update + session.runQueuedTimeoutCallbacks(); + session.runQueuedImmediateCallbacks(); baselineTsserverLogs("resolutionCache", `npm install @types works`, session); }); @@ -210,7 +210,7 @@ namespace ts.projectSystem { } }); - host.checkTimeoutQueueLength(0); + session.checkTimeoutQueueLength(0); baselineTsserverLogs("resolutionCache", "suppressed diagnostic events", session); }); }); @@ -237,11 +237,11 @@ namespace ts.projectSystem { const moduleFileNewPath = "/a/b/moduleFile1.ts"; host.renameFile(moduleFile.path, moduleFileNewPath); - host.runQueuedTimeoutCallbacks(); + session.runQueuedTimeoutCallbacks(); session.executeCommand(getErrRequest); host.renameFile(moduleFileNewPath, moduleFile.path); - host.runQueuedTimeoutCallbacks(); + session.runQueuedTimeoutCallbacks(); // Make a change to trigger the program rebuild const changeRequest = makeSessionRequest( @@ -249,7 +249,7 @@ namespace ts.projectSystem { { file: file1.path, line: 1, offset: 44, endLine: 1, endOffset: 44, insertString: "\n" } ); session.executeCommand(changeRequest); - host.runQueuedTimeoutCallbacks(); + session.runQueuedTimeoutCallbacks(); session.executeCommand(getErrRequest); baselineTsserverLogs("resolutionCache", "renaming module should restore the states for inferred projects", session); @@ -280,11 +280,11 @@ namespace ts.projectSystem { const moduleFileNewPath = "/a/b/moduleFile1.ts"; host.renameFile(moduleFile.path, moduleFileNewPath); - host.runQueuedTimeoutCallbacks(); + session.runQueuedTimeoutCallbacks(); session.executeCommand(getErrRequest); host.renameFile(moduleFileNewPath, moduleFile.path); - host.runQueuedTimeoutCallbacks(); + session.runQueuedTimeoutCallbacks(); session.executeCommand(getErrRequest); baselineTsserverLogs("resolutionCache", "renaming module should restore the states for configured projects", session); }); @@ -377,7 +377,7 @@ namespace ts.projectSystem { host.writeFile(file1.path, file1.content + fileContent); host.writeFile(file2.path, file2.content + fileContent); - host.runQueuedTimeoutCallbacks(); + service.runQueuedTimeoutCallbacks(); baselineTsserverLogs("resolutionCache", "relative module name from files in same folder", service); }); @@ -393,7 +393,7 @@ namespace ts.projectSystem { host.writeFile(file1.path, file1.content + fileContent); host.writeFile(file2.path, file2.content + fileContent); - host.runQueuedTimeoutCallbacks(); + service.runQueuedTimeoutCallbacks(); baselineTsserverLogs("resolutionCache", "non relative module name from files in same folder", service); }); }); @@ -435,7 +435,7 @@ namespace ts.projectSystem { host.writeFile(file2.path, file2.content + fileContent2); host.writeFile(file3.path, file3.content + fileContent3); host.writeFile(file4.path, file4.content + fileContent4); - host.runQueuedTimeoutCallbacks(); + service.runQueuedTimeoutCallbacks(); baselineTsserverLogs("resolutionCache", "relative module name from files in different folders", service); }); @@ -452,7 +452,7 @@ namespace ts.projectSystem { host.writeFile(file2.path, file2.content + fileContent); host.writeFile(file3.path, file3.content + fileContent); host.writeFile(file4.path, file4.content + fileContent); - host.runQueuedTimeoutCallbacks(); + service.runQueuedTimeoutCallbacks(); baselineTsserverLogs("resolutionCache", "non relative module name from files in different folders", service); }); @@ -474,7 +474,7 @@ namespace ts.projectSystem { host.writeFile(file2.path, file2.content + importModuleContent); host.writeFile(file3.path, file3.content + importModuleContent); host.writeFile(file4.path, file4.content + importModuleContent); - host.runQueuedTimeoutCallbacks(); + service.runQueuedTimeoutCallbacks(); baselineTsserverLogs("resolutionCache", "non relative module name from inferred project", service); }); }); @@ -595,7 +595,7 @@ export const x = 10;` // invoke callback to simulate saving host.modifyFile(file1.path, file1.content, { invokeFileDeleteCreateAsPartInsteadOfChange: true }); - host.checkTimeoutQueueLengthAndRun(0); + service.checkTimeoutQueueLengthAndRun(0); baselineTsserverLogs("resolutionCache", "avoid unnecessary lookup invalidation on save", service); }); }); diff --git a/src/testRunner/unittests/tsserver/symLinks.ts b/src/testRunner/unittests/tsserver/symLinks.ts index 1187d9420655a..578d3b14134da 100644 --- a/src/testRunner/unittests/tsserver/symLinks.ts +++ b/src/testRunner/unittests/tsserver/symLinks.ts @@ -127,8 +127,8 @@ new C();` host.ensureFileOrFolder(nodeModulesRecorgnizersText); host.writeFile(recongnizerTextDistTypingFile.path, recongnizerTextDistTypingFile.content); - host.runQueuedTimeoutCallbacks(); // Scheduled invalidation of resolutions - host.runQueuedTimeoutCallbacks(); // Actual update + session.runQueuedTimeoutCallbacks(); // Scheduled invalidation of resolutions + session.runQueuedTimeoutCallbacks(); // Actual update verifyGetErrRequest({ session, host, files: [recognizersDateTimeSrcFile] }); @@ -138,8 +138,8 @@ new C();` ...config, compilerOptions: { ...config.compilerOptions, resolveJsonModule: true } })); - host.runQueuedTimeoutCallbacks(); // Scheduled invalidation of resolutions - host.runQueuedTimeoutCallbacks(); // Actual update + session.runQueuedTimeoutCallbacks(); // Scheduled invalidation of resolutions + session.runQueuedTimeoutCallbacks(); // Actual update baselineTsserverLogs("symLinks", `module resolution${withPathMapping ? " with path mapping" : ""} when project compiles from sources`, session); }); @@ -150,8 +150,8 @@ new C();` verifyGetErrRequest({ session, host, files: [recognizersDateTimeSrcFile] }); host.writeFile(recongnizerTextDistTypingFile.path, recongnizerTextDistTypingFile.content); - host.runQueuedTimeoutCallbacks(); // Scheduled invalidation of resolutions - host.runQueuedTimeoutCallbacks(); // Actual update + session.runQueuedTimeoutCallbacks(); // Scheduled invalidation of resolutions + session.runQueuedTimeoutCallbacks(); // Actual update verifyGetErrRequest({ session, host, files: [recognizersDateTimeSrcFile] }); baselineTsserverLogs("symLinks", `module resolution${withPathMapping ? " with path mapping" : ""} when project has node_modules setup but doesnt have modules in typings folder and then recompiles`, session); @@ -164,14 +164,14 @@ new C();` verifyGetErrRequest({ session, host, files: [recognizersDateTimeSrcFile] }); host.deleteFolder(recognizersTextDist, /*recursive*/ true); - host.runQueuedTimeoutCallbacks(); // Scheduled invalidation of resolutions - host.runQueuedTimeoutCallbacks(); // Actual update + session.runQueuedTimeoutCallbacks(); // Scheduled invalidation of resolutions + session.runQueuedTimeoutCallbacks(); // Actual update verifyGetErrRequest({ session, host, files: [recognizersDateTimeSrcFile] }); host.ensureFileOrFolder(recongnizerTextDistTypingFile); - host.runQueuedTimeoutCallbacks(); // Scheduled invalidation of resolutions - host.runQueuedTimeoutCallbacks(); // Actual update + session.runQueuedTimeoutCallbacks(); // Scheduled invalidation of resolutions + session.runQueuedTimeoutCallbacks(); // Actual update verifyGetErrRequest({ session, host, files: [recognizersDateTimeSrcFile] }); baselineTsserverLogs("symLinks", `module resolution${withPathMapping ? " with path mapping" : ""} when project recompiles after deleting generated folders`, session); diff --git a/src/testRunner/unittests/tsserver/typingsInstaller.ts b/src/testRunner/unittests/tsserver/typingsInstaller.ts index 59ce0f973bfb9..d6678083a1200 100644 --- a/src/testRunner/unittests/tsserver/typingsInstaller.ts +++ b/src/testRunner/unittests/tsserver/typingsInstaller.ts @@ -138,7 +138,7 @@ namespace ts.projectSystem { projectService.openClientFile(file1.path); installer.installAll(/*expectedCount*/ 1); - host.checkTimeoutQueueLengthAndRun(2); + projectService.checkTimeoutQueueLengthAndRun(2); baselineTsserverLogs("typingsInstaller", "configured projects", projectService); }); @@ -1035,7 +1035,7 @@ namespace ts.projectSystem { installer.installAll(/*expectedCount*/ 1); - host.checkTimeoutQueueLengthAndRun(2); + projectService.checkTimeoutQueueLengthAndRun(2); baselineTsserverLogs("typingsInstaller", "configured projects discover from bower_components", projectService); }); @@ -1212,7 +1212,7 @@ namespace ts.projectSystem { for (const name of typeNames) { assert.isTrue(host.fileExists(typePath(name)), `typings for '${name}' should be created`); } - host.checkTimeoutQueueLengthAndRun(2); + service.checkTimeoutQueueLengthAndRun(2); baselineTsserverLogs("typingsInstaller", "redo resolutions pointing to js on typing install", service); }); diff --git a/src/testRunner/unittests/tsserver/watchEnvironment.ts b/src/testRunner/unittests/tsserver/watchEnvironment.ts index a3690b5dfcc3c..3fe442f4b98e0 100644 --- a/src/testRunner/unittests/tsserver/watchEnvironment.ts +++ b/src/testRunner/unittests/tsserver/watchEnvironment.ts @@ -39,7 +39,7 @@ namespace ts.projectSystem { content: "" }; host.writeFile(file2.path, file2.content); - host.runQueuedTimeoutCallbacks(); + session.runQueuedTimeoutCallbacks(); session.executeCommandSeq({ command: protocol.CommandTypes.CompletionInfo, arguments: protocolFileLocationFromSubstring(index, '"', { index: 1 }) @@ -149,8 +149,7 @@ namespace ts.projectSystem { emacsIgnoredFileFromIgnoreDirectory ].forEach(ignoredEntity => { host.ensureFileOrFolder(ignoredEntity); - host.checkTimeoutQueueLength(0); - session.baselineHost(); + session.checkTimeoutQueueLength(0); }); baselineTsserverLogs("watchEnvironment", `recursive directory does not watch files starting with dot in node_modules`, session); @@ -385,7 +384,7 @@ namespace ts.projectSystem { const { main, bar, foo } = setupFiles(); const files = [libFile, main, bar, foo]; const host = createServerHost(files, { currentDirectory: tscWatch.projectRoot }); - const service = createProjectService(host); + const service = createProjectService(host, { logger: createLoggerWithInMemoryLogs(host) }); service.openExternalProject({ projectFileName: `${tscWatch.projectRoot}/project.csproj`, rootFiles: toExternalFiles([main.path, bar.path, foo.path]), @@ -393,18 +392,8 @@ namespace ts.projectSystem { } as protocol.ExternalProject); service.openClientFile(main.path); const project = service.externalProjects[0]; - assert.deepEqual(project.getAllProjectErrors(), [ - { - messageText: `File specification cannot contain a parent directory ('..') that appears after a recursive directory wildcard ('**'): '**/../*'.`, - category: Diagnostics.File_specification_cannot_contain_a_parent_directory_that_appears_after_a_recursive_directory_wildcard_Asterisk_Asterisk_Colon_0.category, - code: Diagnostics.File_specification_cannot_contain_a_parent_directory_that_appears_after_a_recursive_directory_wildcard_Asterisk_Asterisk_Colon_0.code, - file: undefined, - start: undefined, - length: undefined, - reportsDeprecated: undefined, - reportsUnnecessary: undefined, - } - ]); + service.logger.info(JSON.stringify(project.getAllProjectErrors(), undefined, 2)); + baselineTsserverLogs("watchEnvironment", `external project watch options errors`, service); }); function setupInferredProject(configureHost?: boolean) { @@ -438,22 +427,12 @@ namespace ts.projectSystem { const { main, bar, foo } = setupFiles(); const files = [libFile, main, bar, foo]; const host = createServerHost(files, { currentDirectory: tscWatch.projectRoot }); - const service = createProjectService(host, { useInferredProjectPerProjectRoot: true }); + const service = createProjectService(host, { useInferredProjectPerProjectRoot: true, logger: createLoggerWithInMemoryLogs(host) }); service.setCompilerOptionsForInferredProjects({ excludeDirectories: ["**/../*"] }, tscWatch.projectRoot); service.openClientFile(main.path, main.content, ScriptKind.TS, tscWatch.projectRoot); const project = service.inferredProjects[0]; - assert.deepEqual(project.getAllProjectErrors(), [ - { - messageText: `File specification cannot contain a parent directory ('..') that appears after a recursive directory wildcard ('**'): '**/../*'.`, - category: Diagnostics.File_specification_cannot_contain_a_parent_directory_that_appears_after_a_recursive_directory_wildcard_Asterisk_Asterisk_Colon_0.category, - code: Diagnostics.File_specification_cannot_contain_a_parent_directory_that_appears_after_a_recursive_directory_wildcard_Asterisk_Asterisk_Colon_0.code, - file: undefined, - start: undefined, - length: undefined, - reportsDeprecated: undefined, - reportsUnnecessary: undefined, - } - ]); + service.logger.info(JSON.stringify(project.getAllProjectErrors(), undefined, 2)); + baselineTsserverLogs("watchEnvironment", `inferred project watch options errors`, service); }); }); }); 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 7449783102a2f..12d886ed02ffe 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 @@ -1,4 +1,15 @@ Info 0 [16:00:07.000] Provided types map file "/typesMap.json" doesn't exist +Creating project service +//// [/c/foo.ts] +import {y} from "bar" + + +PolledWatches:: + +FsWatches:: + +FsWatchesRecursive:: + Info 1 [16:00:08.000] Search path: /c Info 2 [16:00:09.000] For info: /c/foo.ts :: No config files found. Info 3 [16:00:10.000] Plugins were requested but not running in environment that supports 'require'. Nothing will be loaded @@ -37,9 +48,40 @@ Info 21 [16:00:34.000] readDirectory:: [] Info 22 [16:00:37.000] DirectoryWatcher:: Triggered with /c/bar.d.ts :: WatchInfo: /c 0 undefined Project: /dev/null/inferredProject1* WatchType: Failed Lookup Locations Info 23 [16:00:38.000] Scheduled: /dev/null/inferredProject1*FailedLookupInvalidation Info 24 [16:00:39.000] Elapsed:: *ms DirectoryWatcher:: Triggered with /c/bar.d.ts :: WatchInfo: /c 0 undefined Project: /dev/null/inferredProject1* WatchType: Failed Lookup Locations +Before running timeout callbacks +//// [/c/bar.d.ts] +export var y = 1 + + +PolledWatches:: +/c/node_modules: + {"pollingInterval":500} +/c/node_modules/@types: + {"pollingInterval":500} + +FsWatches:: +/c: + {} + +FsWatchesRecursive:: + Info 25 [16:00:40.000] Running: /dev/null/inferredProject1*FailedLookupInvalidation Info 26 [16:00:41.000] Scheduled: /dev/null/inferredProject1* Info 27 [16:00:42.000] Scheduled: *ensureProjectForOpenFiles* +After running timeout callbacks + +PolledWatches:: +/c/node_modules: + {"pollingInterval":500} +/c/node_modules/@types: + {"pollingInterval":500} + +FsWatches:: +/c: + {} + +FsWatchesRecursive:: + Info 28 [16:00:43.000] Starting updateGraphWorker: Project: /dev/null/inferredProject1* Info 29 [16:00:44.000] FileWatcher:: Added:: WatchInfo: /c/bar.d.ts 500 undefined WatchType: Closed Script info Info 30 [16:00:45.000] DirectoryWatcher:: Close:: WatchInfo: /c/node_modules 1 undefined Project: /dev/null/inferredProject1* WatchType: Failed Lookup Locations diff --git a/tests/baselines/reference/tsserver/cachingFileSystemInformation/npm-install-works-when-timeout-occurs-after-installation.js b/tests/baselines/reference/tsserver/cachingFileSystemInformation/npm-install-works-when-timeout-occurs-after-installation.js index 0354e48333b60..b599ebbf1abbe 100644 --- a/tests/baselines/reference/tsserver/cachingFileSystemInformation/npm-install-works-when-timeout-occurs-after-installation.js +++ b/tests/baselines/reference/tsserver/cachingFileSystemInformation/npm-install-works-when-timeout-occurs-after-installation.js @@ -1,4 +1,55 @@ Info 0 [16:00:27.000] Provided types map file "/typesMap.json" doesn't exist +Creating project service +//// [/user/username/rootfolder/otherfolder/a/b/app.ts] +import _ from 'lodash'; + +//// [/a/lib/lib.d.ts] +/// +interface Boolean {} +interface Function {} +interface CallableFunction {} +interface NewableFunction {} +interface IArguments {} +interface Number { toExponential: any; } +interface Object {} +interface RegExp {} +interface String { charAt: any; } +interface Array { length: number; [n: number]: T; } + +//// [/user/username/rootfolder/otherfolder/a/b/tsconfig.json] +{ "compilerOptions": { } } + +//// [/user/username/rootfolder/otherfolder/a/b/package.json] + +{ + "name": "test", + "version": "1.0.0", + "description": "", + "main": "index.js", + "dependencies": { + "lodash", + "rxjs" + }, + "devDependencies": { + "@types/lodash", + "typescript" + }, + "scripts": { + "test": "echo "Error: no test specified" && exit 1" + }, + "keywords": [], + "author": "", + "license": "ISC" +} + + + +PolledWatches:: + +FsWatches:: + +FsWatchesRecursive:: + Info 1 [16:00:28.000] Search path: /user/username/rootfolder/otherfolder/a/b Info 2 [16:00:29.000] For info: /user/username/rootfolder/otherfolder/a/b/app.ts :: Config file name: /user/username/rootfolder/otherfolder/a/b/tsconfig.json Info 3 [16:00:30.000] Creating configuration project /user/username/rootfolder/otherfolder/a/b/tsconfig.json @@ -135,6 +186,378 @@ Info 110 [16:02:55.000] Elapsed:: *ms DirectoryWatcher:: Triggered with /user/u Info 111 [16:02:56.000] DirectoryWatcher:: Triggered with /user/username/rootfolder/otherfolder/a/b/node_modules/.staging/symbol-observable-24bcbbff/lib/index.js :: WatchInfo: /user/username/rootfolder/otherfolder/a/b 1 undefined Config: /user/username/rootfolder/otherfolder/a/b/tsconfig.json WatchType: Wild card directory Info 112 [16:02:57.000] Project: /user/username/rootfolder/otherfolder/a/b/tsconfig.json Detected ignored path: /user/username/rootfolder/otherfolder/a/b/node_modules/.staging/symbol-observable-24bcbbff/lib/index.js Info 113 [16:02:58.000] Elapsed:: *ms DirectoryWatcher:: Triggered with /user/username/rootfolder/otherfolder/a/b/node_modules/.staging/symbol-observable-24bcbbff/lib/index.js :: WatchInfo: /user/username/rootfolder/otherfolder/a/b 1 undefined Config: /user/username/rootfolder/otherfolder/a/b/tsconfig.json WatchType: Wild card directory +Checking timeout queue length: 3 +//// [/user/username/rootfolder/otherfolder/a/b/node_modules/.staging/symbol-observable-24bcbbff/package.json] +{ + "name": "symbol-observable", + "version": "1.0.4", + "description": "Symbol.observable ponyfill", + "license": "MIT", + "repository": "blesh/symbol-observable", + "author": { + "name": "Ben Lesh", + "email": "ben@benlesh.com" + }, + "engines": { + "node": ">=0.10.0" + }, + "scripts": { + "test": "npm run build && mocha && tsc ./ts-test/test.ts && node ./ts-test/test.js && check-es3-syntax -p lib/ --kill", + "build": "babel es --out-dir lib", + "prepublish": "npm test" + }, + "files": [ + " + +//// [/user/username/rootfolder/otherfolder/a/b/node_modules/.staging/lodash-b0733faa/package.json] +{ + "name": "lodash", + "version": "4.17.4", + "description": "Lodash modular utilities.", + "keywords": "modules, stdlib, util", + "homepage": "https://lodash.com/", + "repository": "lodash/lodash", + "icon": "https://lodash.com/icon.svg", + "license": "MIT", + "main": "lodash.js", + "author": "John-David Dalton (http://allyoucanleet.com/)", + "contributors": [ + "John-David Dalton (http://allyoucanleet.com/)", + "Mathias Bynens ", + "contributors": [ + { + "name": "Ben Lesh", + "email": "ben@benlesh.com" + }, + { + "name": "Paul Taylor", + "email": "paul.e.taylor@me.com" + }, + { + "name": "Jeff Cross", + "email": "crossj@google.com" + }, + { + "name": "Matthew Podwysocki", + "email": "matthewp@microsoft.com" + }, + { + "name": "OJ Kwon", + "email": "kwon.ohjoong@gmail.com" + }, + { + "name": "Andre Staltz", + "email": "andre@staltz.com" + } + ], + "license": "Apache-2.0", + "bugs": { + "url": "https://github.com/ReactiveX/RxJS/issues" + }, + "homepage": "https://github.com/ReactiveX/RxJS", + "devDependencies": { + "babel-polyfill": "^6.23.0", + "benchmark": "^2.1.0", + "benchpress": "2.0.0-beta.1", + "chai": "^3.5.0", + "color": "^0.11.1", + "colors": "1.1.2", + "commitizen": "^2.8.6", + "coveralls": "^2.11.13", + "cz-conventional-changelog": "^1.2.0", + "danger": "^1.1.0", + "doctoc": "^1.0.0", + "escape-string-regexp": "^1.0.5 ", + "esdoc": "^0.4.7", + "eslint": "^3.8.0", + "fs-extra": "^2.1.2", + "get-folder-size": "^1.0.0", + "glob": "^7.0.3", + "gm": "^1.22.0", + "google-closure-compiler-js": "^20170218.0.0", + "gzip-size": "^3.0.0", + "http-server": "^0.9.0", + "husky": "^0.13.3", + "lint-staged": "3.2.5", + "lodash": "^4.15.0", + "madge": "^1.4.3", + "markdown-doctest": "^0.9.1", + "minimist": "^1.2.0", + "mkdirp": "^0.5.1", + "mocha": "^3.0.2", + "mocha-in-sauce": "0.0.1", + "npm-run-all": "^4.0.2", + "npm-scripts-info": "^0.3.4", + "nyc": "^10.2.0", + "opn-cli": "^3.1.0", + "platform": "^1.3.1", + "promise": "^7.1.1", + "protractor": "^3.1.1", + "rollup": "0.36.3", + "rollup-plugin-inject": "^2.0.0", + "rollup-plugin-node-resolve": "^2.0.0", + "rx": "latest", + "rxjs": "latest", + "shx": "^0.2.2", + "sinon": "^2.1.0", + "sinon-chai": "^2.9.0", + "source-map-support": "^0.4.0", + "tslib": "^1.5.0", + "eslint": "^4.4.2", + "typescript": "~2.0.6", + "typings": "^2.0.0", + "validate-commit-msg": "^2.14.0", + "watch": "^1.0.1", + "webpack": "^1.13.1", + "xmlhttprequest": "1.8.0" + }, + "engines": { + "npm": ">=2.0.0" + }, + "typings": "Rx.d.ts", + "dependencies": { + "symbol-observable": "^1.0.1" + } +} + +//// [/user/username/rootfolder/otherfolder/a/b/node_modules/.staging/typescript-8493ea5d/package.json] +{ + "name": "typescript", + "author": "Microsoft Corp.", + "homepage": "http://typescriptlang.org/", + "version": "2.4.2", + "license": "Apache-2.0", + "description": "TypeScript is a language for application scale JavaScript development", + "keywords": [ + "TypeScript", + "Microsoft", + "compiler", + "language", + "javascript" + ], + "bugs": { + "url": "https://github.com/Microsoft/TypeScript/issues" + }, + "repository": { + "type": "git", + "url": "https://github.com/Microsoft/TypeScript.git" + }, + "main": "./lib/typescript.js", + "typings": "./lib/typescript.d.ts", + "bin": { + "tsc": "./bin/tsc", + "tsserver": "./bin/tsserver" + }, + "engines": { + "node": ">=4.2.0" + }, + "devDependencies": { + "@types/browserify": "latest", + "@types/chai": "latest", + "@types/convert-source-map": "latest", + "@types/del": "latest", + "@types/glob": "latest", + "@types/gulp": "latest", + "@types/gulp-concat": "latest", + "@types/gulp-help": "latest", + "@types/gulp-newer": "latest", + "@types/gulp-sourcemaps": "latest", + "@types/merge2": "latest", + "@types/minimatch": "latest", + "@types/minimist": "latest", + "@types/mkdirp": "latest", + "@types/mocha": "latest", + "@types/node": "latest", + "@types/q": "latest", + "@types/run-sequence": "latest", + "@types/through2": "latest", + "browserify": "latest", + "chai": "latest", + "convert-source-map": "latest", + "del": "latest", + "gulp": "latest", + "gulp-clone": "latest", + "gulp-concat": "latest", + "gulp-help": "latest", + "gulp-insert": "latest", + "gulp-newer": "latest", + "gulp-sourcemaps": "latest", + "gulp-typescript": "latest", + "into-stream": "latest", + "istanbul": "latest", + "jake": "latest", + "merge2": "latest", + "minimist": "latest", + "mkdirp": "latest", + "mocha": "latest", + "mocha-fivemat-progress-reporter": "latest", + "q": "latest", + "run-sequence": "latest", + "sorcery": "latest", + "through2": "latest", + "travis-fold": "latest", + "ts-node": "latest", + "eslint": "5.16.0", + "typescript": "^2.4" + }, + "scripts": { + "pretest": "jake tests", + "test": "jake runtests-parallel", + "build": "npm run build:compiler && npm run build:tests", + "build:compiler": "jake local", + "build:tests": "jake tests", + "start": "node lib/tsc", + "clean": "jake clean", + "gulp": "gulp", + "jake": "jake", + "lint": "jake lint", + "setup-hooks": "node scripts/link-hooks.js" + }, + "browser": { + "buffer": false, + "fs": false, + "os": false, + "path": false + } +} + +//// [/user/username/rootfolder/otherfolder/a/b/node_modules/.staging/symbol-observable-24bcbbff/index.js] +module.exports = require('./lib/index'); + + +//// [/user/username/rootfolder/otherfolder/a/b/node_modules/.staging/symbol-observable-24bcbbff/index.d.ts] +declare const observableSymbol: symbol; +export default observableSymbol; + + +//// [/user/username/rootfolder/otherfolder/a/b/node_modules/.staging/symbol-observable-24bcbbff/lib/index.js] +'use strict'; + +Object.defineProperty(exports, "__esModule", { + value: true +}); + +var _ponyfill = require('./ponyfill'); + +var _ponyfill2 = _interopRequireDefault(_ponyfill); + +function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { 'default': obj }; } + +var root; /* global window */ + + +if (typeof self !== 'undefined') { + root = self; +} else if (typeof window !== 'undefined') { + root = window; +} else if (typeof global !== 'undefined') { + root = global; +} else if (typeof module !== 'undefined') { + root = module; +} else { + root = Function('return this')(); +} + +var result = (0, _ponyfill2['default'])(root); +exports['default'] = result; + + +PolledWatches:: +/user/username/rootfolder/otherfolder/a/node_modules: + {"pollingInterval":500} +/user/username/rootfolder/otherfolder/node_modules: + {"pollingInterval":500} +/user/username/rootfolder/otherfolder/a/b/node_modules/@types: + {"pollingInterval":500} +/user/username/rootfolder/otherfolder/a/node_modules/@types: + {"pollingInterval":500} +/user/username/rootfolder/otherfolder/node_modules/@types: + {"pollingInterval":500} + +FsWatches:: +/user/username/rootfolder/otherfolder/a/b/tsconfig.json: + {} +/a/lib/lib.d.ts: + {} + +FsWatchesRecursive:: +/user/username/rootfolder/otherfolder/a/b: + {} +/user/username/rootfolder/otherfolder/a/b/node_modules: + {} + Info 114 [16:03:08.000] DirectoryWatcher:: Triggered with /user/username/rootfolder/otherfolder/a/b/node_modules/.staging/typescript-8493ea5d/lib :: WatchInfo: /user/username/rootfolder/otherfolder/a/b/node_modules 1 undefined Project: /user/username/rootfolder/otherfolder/a/b/tsconfig.json WatchType: Failed Lookup Locations Info 115 [16:03:09.000] Elapsed:: *ms DirectoryWatcher:: Triggered with /user/username/rootfolder/otherfolder/a/b/node_modules/.staging/typescript-8493ea5d/lib :: WatchInfo: /user/username/rootfolder/otherfolder/a/b/node_modules 1 undefined Project: /user/username/rootfolder/otherfolder/a/b/tsconfig.json WatchType: Failed Lookup Locations Info 116 [16:03:10.000] DirectoryWatcher:: Triggered with /user/username/rootfolder/otherfolder/a/b/node_modules/.staging/typescript-8493ea5d/lib :: WatchInfo: /user/username/rootfolder/otherfolder/a/b 1 undefined Config: /user/username/rootfolder/otherfolder/a/b/tsconfig.json WatchType: Wild card directory @@ -165,11 +588,113 @@ Info 140 [16:03:44.000] Elapsed:: *ms DirectoryWatcher:: Triggered with /user/u Info 141 [16:03:45.000] DirectoryWatcher:: Triggered with /user/username/rootfolder/otherfolder/a/b/node_modules/.staging/typescript-8493ea5d/package.json.3017591594 :: WatchInfo: /user/username/rootfolder/otherfolder/a/b 1 undefined Config: /user/username/rootfolder/otherfolder/a/b/tsconfig.json WatchType: Wild card directory Info 142 [16:03:46.000] Project: /user/username/rootfolder/otherfolder/a/b/tsconfig.json Detected ignored path: /user/username/rootfolder/otherfolder/a/b/node_modules/.staging/typescript-8493ea5d/package.json.3017591594 Info 143 [16:03:47.000] Elapsed:: *ms DirectoryWatcher:: Triggered with /user/username/rootfolder/otherfolder/a/b/node_modules/.staging/typescript-8493ea5d/package.json.3017591594 :: WatchInfo: /user/username/rootfolder/otherfolder/a/b 1 undefined Config: /user/username/rootfolder/otherfolder/a/b/tsconfig.json WatchType: Wild card directory +Checking timeout queue length: 3 +//// [/user/username/rootfolder/otherfolder/a/b/node_modules/.staging/@types/lodash-e56c4fe7/package.json] +{ + "name": "@types/lodash", + "version": "4.14.74", + "description": "TypeScript definitions for Lo-Dash", + "license": "MIT", + "contributors": [ + { + "name": "Brian Zengel", + "url": "https://github.com/bczengel" + }, + { + "name": "Ilya Mochalov", + "url": "https://github.com/chrootsu" + }, + { + "name": "Stepan Mikhaylyuk", + "url": "https://github.com/stepancar" + }, + { + "name": "Eric L Anderson", + "url": "https://github.com/ericanderson" + }, + { + "name": "AJ Richardson", + "url": "https://github.com/aj-r" + }, + { + "name": "Junyoung Clare Jang", + "url": "https://github.com/ailrun" + } + ], + "main": "", + "repository": { + "type": "git", + "url": "https://www.github.com/DefinitelyTyped/DefinitelyTyped.git" + }, + "scripts": {}, + "dependencies": {}, + "typesPublisherContentHash": "12af578ffaf8d86d2df37e591857906a86b983fa9258414326544a0fe6af0de8", + "typeScriptVersion": "2.2" +} + +//// [/user/username/rootfolder/otherfolder/a/b/node_modules/.staging/lodash-b0733faa/index.js] +module.exports = require('./lodash'); + +//// [/user/username/rootfolder/otherfolder/a/b/node_modules/.staging/typescript-8493ea5d/package.json.3017591594] + + + +PolledWatches:: +/user/username/rootfolder/otherfolder/a/node_modules: + {"pollingInterval":500} +/user/username/rootfolder/otherfolder/node_modules: + {"pollingInterval":500} +/user/username/rootfolder/otherfolder/a/b/node_modules/@types: + {"pollingInterval":500} +/user/username/rootfolder/otherfolder/a/node_modules/@types: + {"pollingInterval":500} +/user/username/rootfolder/otherfolder/node_modules/@types: + {"pollingInterval":500} + +FsWatches:: +/user/username/rootfolder/otherfolder/a/b/tsconfig.json: + {} +/a/lib/lib.d.ts: + {} + +FsWatchesRecursive:: +/user/username/rootfolder/otherfolder/a/b: + {} +/user/username/rootfolder/otherfolder/a/b/node_modules: + {} + Info 144 [16:03:49.000] DirectoryWatcher:: Triggered with /user/username/rootfolder/otherfolder/a/b/node_modules/.staging/typescript-8493ea5d/package.json.3017591594 :: WatchInfo: /user/username/rootfolder/otherfolder/a/b/node_modules 1 undefined Project: /user/username/rootfolder/otherfolder/a/b/tsconfig.json WatchType: Failed Lookup Locations Info 145 [16:03:50.000] Elapsed:: *ms DirectoryWatcher:: Triggered with /user/username/rootfolder/otherfolder/a/b/node_modules/.staging/typescript-8493ea5d/package.json.3017591594 :: WatchInfo: /user/username/rootfolder/otherfolder/a/b/node_modules 1 undefined Project: /user/username/rootfolder/otherfolder/a/b/tsconfig.json WatchType: Failed Lookup Locations Info 146 [16:03:51.000] DirectoryWatcher:: Triggered with /user/username/rootfolder/otherfolder/a/b/node_modules/.staging/typescript-8493ea5d/package.json.3017591594 :: WatchInfo: /user/username/rootfolder/otherfolder/a/b 1 undefined Config: /user/username/rootfolder/otherfolder/a/b/tsconfig.json WatchType: Wild card directory Info 147 [16:03:52.000] Project: /user/username/rootfolder/otherfolder/a/b/tsconfig.json Detected ignored path: /user/username/rootfolder/otherfolder/a/b/node_modules/.staging/typescript-8493ea5d/package.json.3017591594 Info 148 [16:03:53.000] Elapsed:: *ms DirectoryWatcher:: Triggered with /user/username/rootfolder/otherfolder/a/b/node_modules/.staging/typescript-8493ea5d/package.json.3017591594 :: WatchInfo: /user/username/rootfolder/otherfolder/a/b 1 undefined Config: /user/username/rootfolder/otherfolder/a/b/tsconfig.json WatchType: Wild card directory +Checking timeout queue length: 3 +//// [/user/username/rootfolder/otherfolder/a/b/node_modules/.staging/typescript-8493ea5d/package.json.3017591594] deleted + +PolledWatches:: +/user/username/rootfolder/otherfolder/a/node_modules: + {"pollingInterval":500} +/user/username/rootfolder/otherfolder/node_modules: + {"pollingInterval":500} +/user/username/rootfolder/otherfolder/a/b/node_modules/@types: + {"pollingInterval":500} +/user/username/rootfolder/otherfolder/a/node_modules/@types: + {"pollingInterval":500} +/user/username/rootfolder/otherfolder/node_modules/@types: + {"pollingInterval":500} + +FsWatches:: +/user/username/rootfolder/otherfolder/a/b/tsconfig.json: + {} +/a/lib/lib.d.ts: + {} + +FsWatchesRecursive:: +/user/username/rootfolder/otherfolder/a/b: + {} +/user/username/rootfolder/otherfolder/a/b/node_modules: + {} + Info 149 [16:04:14.000] DirectoryWatcher:: Triggered with /user/username/rootfolder/otherfolder/a/b/node_modules/.staging/rxjs-22375c61/bundles :: WatchInfo: /user/username/rootfolder/otherfolder/a/b/node_modules 1 undefined Project: /user/username/rootfolder/otherfolder/a/b/tsconfig.json WatchType: Failed Lookup Locations Info 150 [16:04:15.000] Elapsed:: *ms DirectoryWatcher:: Triggered with /user/username/rootfolder/otherfolder/a/b/node_modules/.staging/rxjs-22375c61/bundles :: WatchInfo: /user/username/rootfolder/otherfolder/a/b/node_modules 1 undefined Project: /user/username/rootfolder/otherfolder/a/b/tsconfig.json WatchType: Failed Lookup Locations Info 151 [16:04:16.000] DirectoryWatcher:: Triggered with /user/username/rootfolder/otherfolder/a/b/node_modules/.staging/rxjs-22375c61/bundles :: WatchInfo: /user/username/rootfolder/otherfolder/a/b 1 undefined Config: /user/username/rootfolder/otherfolder/a/b/tsconfig.json WatchType: Wild card directory @@ -205,6 +730,47 @@ Info 180 [16:04:57.000] Elapsed:: *ms DirectoryWatcher:: Triggered with /user/u Info 181 [16:04:58.000] DirectoryWatcher:: Triggered with /user/username/rootfolder/otherfolder/a/b/node_modules/.staging/@types/lodash-e56c4fe7/index.d.ts :: WatchInfo: /user/username/rootfolder/otherfolder/a/b 1 undefined Config: /user/username/rootfolder/otherfolder/a/b/tsconfig.json WatchType: Wild card directory Info 182 [16:04:59.000] Project: /user/username/rootfolder/otherfolder/a/b/tsconfig.json Detected ignored path: /user/username/rootfolder/otherfolder/a/b/node_modules/.staging/@types/lodash-e56c4fe7/index.d.ts Info 183 [16:05:00.000] Elapsed:: *ms DirectoryWatcher:: Triggered with /user/username/rootfolder/otherfolder/a/b/node_modules/.staging/@types/lodash-e56c4fe7/index.d.ts :: WatchInfo: /user/username/rootfolder/otherfolder/a/b 1 undefined Config: /user/username/rootfolder/otherfolder/a/b/tsconfig.json WatchType: Wild card directory +Checking timeout queue length: 3 +//// [/user/username/rootfolder/otherfolder/a/b/node_modules/.staging/@types/lodash-e56c4fe7/index.d.ts] + +// Stub for lodash +export = _; +export as namespace _; +declare var _: _.LoDashStatic; +declare namespace _ { + interface LoDashStatic { + someProp: string; + } + class SomeClass { + someMethod(): void; + } +} + + +PolledWatches:: +/user/username/rootfolder/otherfolder/a/node_modules: + {"pollingInterval":500} +/user/username/rootfolder/otherfolder/node_modules: + {"pollingInterval":500} +/user/username/rootfolder/otherfolder/a/b/node_modules/@types: + {"pollingInterval":500} +/user/username/rootfolder/otherfolder/a/node_modules/@types: + {"pollingInterval":500} +/user/username/rootfolder/otherfolder/node_modules/@types: + {"pollingInterval":500} + +FsWatches:: +/user/username/rootfolder/otherfolder/a/b/tsconfig.json: + {} +/a/lib/lib.d.ts: + {} + +FsWatchesRecursive:: +/user/username/rootfolder/otherfolder/a/b: + {} +/user/username/rootfolder/otherfolder/a/b/node_modules: + {} + Info 184 [16:05:13.000] DirectoryWatcher:: Triggered with /user/username/rootfolder/otherfolder/a/b/node_modules/.staging/rxjs-22375c61/src/scheduler :: WatchInfo: /user/username/rootfolder/otherfolder/a/b/node_modules 1 undefined Project: /user/username/rootfolder/otherfolder/a/b/tsconfig.json WatchType: Failed Lookup Locations Info 185 [16:05:14.000] Elapsed:: *ms DirectoryWatcher:: Triggered with /user/username/rootfolder/otherfolder/a/b/node_modules/.staging/rxjs-22375c61/src/scheduler :: WatchInfo: /user/username/rootfolder/otherfolder/a/b/node_modules 1 undefined Project: /user/username/rootfolder/otherfolder/a/b/tsconfig.json WatchType: Failed Lookup Locations Info 186 [16:05:15.000] DirectoryWatcher:: Triggered with /user/username/rootfolder/otherfolder/a/b/node_modules/.staging/rxjs-22375c61/src/scheduler :: WatchInfo: /user/username/rootfolder/otherfolder/a/b 1 undefined Config: /user/username/rootfolder/otherfolder/a/b/tsconfig.json WatchType: Wild card directory @@ -230,6 +796,263 @@ Info 205 [16:05:42.000] Elapsed:: *ms DirectoryWatcher:: Triggered with /user/u Info 206 [16:05:43.000] DirectoryWatcher:: Triggered with /user/username/rootfolder/otherfolder/a/b/node_modules/.staging/rxjs-22375c61/package.json.2252192041 :: WatchInfo: /user/username/rootfolder/otherfolder/a/b 1 undefined Config: /user/username/rootfolder/otherfolder/a/b/tsconfig.json WatchType: Wild card directory Info 207 [16:05:44.000] Project: /user/username/rootfolder/otherfolder/a/b/tsconfig.json Detected ignored path: /user/username/rootfolder/otherfolder/a/b/node_modules/.staging/rxjs-22375c61/package.json.2252192041 Info 208 [16:05:45.000] Elapsed:: *ms DirectoryWatcher:: Triggered with /user/username/rootfolder/otherfolder/a/b/node_modules/.staging/rxjs-22375c61/package.json.2252192041 :: WatchInfo: /user/username/rootfolder/otherfolder/a/b 1 undefined Config: /user/username/rootfolder/otherfolder/a/b/tsconfig.json WatchType: Wild card directory +Checking timeout queue length: 3 +//// [/user/username/rootfolder/otherfolder/a/b/node_modules/.staging/rxjs-22375c61/package.json.2252192041] +{ + "_args": [ + [ + { + "raw": "rxjs@^5.4.2", + "scope": null, + "escapedName": "rxjs", + "name": "rxjs", + "rawSpec": "^5.4.2", + "spec": ">=5.4.2 <6.0.0", + "type": "range" + }, + "C:\\Users\\shkamat\\Desktop\\app" + ] + ], + "_from": "rxjs@>=5.4.2 <6.0.0", + "_id": "rxjs@5.4.3", + "_inCache": true, + "_location": "/rxjs", + "_nodeVersion": "7.7.2", + "_npmOperationalInternal": { + "host": "s3://npm-registry-packages", + "tmp": "tmp/rxjs-5.4.3.tgz_1502407898166_0.6800217325799167" + }, + "_npmUser": { + "name": "blesh", + "email": "ben@benlesh.com" + }, + "_npmVersion": "5.3.0", + "_phantomChildren": {}, + "_requested": { + "raw": "rxjs@^5.4.2", + "scope": null, + "escapedName": "rxjs", + "name": "rxjs", + "rawSpec": "^5.4.2", + "spec": ">=5.4.2 <6.0.0", + "type": "range" + }, + "_requiredBy": [ + "/" + ], + "_resolved": "https://registry.npmjs.org/rxjs/-/rxjs-5.4.3.tgz", + "_shasum": "0758cddee6033d68e0fd53676f0f3596ce3d483f", + "_shrinkwrap": null, + "_spec": "rxjs@^5.4.2", + "_where": "C:\\Users\\shkamat\\Desktop\\app", + "author": { + "name": "Ben Lesh", + "email": "ben@benlesh.com" + }, + "bugs": { + "url": "https://github.com/ReactiveX/RxJS/issues" + }, + "config": { + "commitizen": { + "path": "cz-conventional-changelog" + } + }, + "contributors": [ + { + "name": "Ben Lesh", + "email": "ben@benlesh.com" + }, + { + "name": "Paul Taylor", + "email": "paul.e.taylor@me.com" + }, + { + "name": "Jeff Cross", + "email": "crossj@google.com" + }, + { + "name": "Matthew Podwysocki", + "email": "matthewp@microsoft.com" + }, + { + "name": "OJ Kwon", + "email": "kwon.ohjoong@gmail.com" + }, + { + "name": "Andre Staltz", + "email": "andre@staltz.com" + } + ], + "dependencies": { + "symbol-observable": "^1.0.1" + }, + "description": "Reactive Extensions for modern JavaScript", + "devDependencies": { + "babel-polyfill": "^6.23.0", + "benchmark": "^2.1.0", + "benchpress": "2.0.0-beta.1", + "chai": "^3.5.0", + "color": "^0.11.1", + "colors": "1.1.2", + "commitizen": "^2.8.6", + "coveralls": "^2.11.13", + "cz-conventional-changelog": "^1.2.0", + "danger": "^1.1.0", + "doctoc": "^1.0.0", + "escape-string-regexp": "^1.0.5 ", + "esdoc": "^0.4.7", + "eslint": "^3.8.0", + "fs-extra": "^2.1.2", + "get-folder-size": "^1.0.0", + "glob": "^7.0.3", + "gm": "^1.22.0", + "google-closure-compiler-js": "^20170218.0.0", + "gzip-size": "^3.0.0", + "http-server": "^0.9.0", + "husky": "^0.13.3", + "lint-staged": "3.2.5", + "lodash": "^4.15.0", + "madge": "^1.4.3", + "markdown-doctest": "^0.9.1", + "minimist": "^1.2.0", + "mkdirp": "^0.5.1", + "mocha": "^3.0.2", + "mocha-in-sauce": "0.0.1", + "npm-run-all": "^4.0.2", + "npm-scripts-info": "^0.3.4", + "nyc": "^10.2.0", + "opn-cli": "^3.1.0", + "platform": "^1.3.1", + "promise": "^7.1.1", + "protractor": "^3.1.1", + "rollup": "0.36.3", + "rollup-plugin-inject": "^2.0.0", + "rollup-plugin-node-resolve": "^2.0.0", + "rx": "latest", + "rxjs": "latest", + "shx": "^0.2.2", + "sinon": "^2.1.0", + "sinon-chai": "^2.9.0", + "source-map-support": "^0.4.0", + "tslib": "^1.5.0", + "eslint": "^5.16.0", + "typescript": "~2.0.6", + "typings": "^2.0.0", + "validate-commit-msg": "^2.14.0", + "watch": "^1.0.1", + "webpack": "^1.13.1", + "xmlhttprequest": "1.8.0" + }, + "directories": {}, + "dist": { + "integrity": "sha512-fSNi+y+P9ss+EZuV0GcIIqPUK07DEaMRUtLJvdcvMyFjc9dizuDjere+A4V7JrLGnm9iCc+nagV/4QdMTkqC4A==", + "shasum": "0758cddee6033d68e0fd53676f0f3596ce3d483f", + "tarball": "https://registry.npmjs.org/rxjs/-/rxjs-5.4.3.tgz" + }, + "engines": { + "npm": ">=2.0.0" + }, + "homepage": "https://github.com/ReactiveX/RxJS", + "keywords": [ + "Rx", + "RxJS", + "ReactiveX", + "ReactiveExtensions", + "Streams", + "Observables", + "Observable", + "Stream", + "ES6", + "ES2015" + ], + "license": "Apache-2.0", + "lint-staged": { + "*.@(js)": [ + "eslint --fix", + "git add" + ], + "*.@(ts)": [ + "eslint -c .eslintrc --ext .ts . --fix", + "git add" + ] + }, + "main": "Rx.js", + "maintainers": [ + { + "name": "blesh", + "email": "ben@benlesh.com" + } + ], + "name": "rxjs", + "optionalDependencies": {}, + "readme": "ERROR: No README data found!", + "repository": { + "type": "git", + "url": "git+ssh://git@github.com/ReactiveX/RxJS.git" + }, + "scripts-info": { + "info": "List available script", + "build_all": "Build all packages (ES6, CJS, UMD) and generate packages", + "build_cjs": "Build CJS package with clean up existing build, copy source into dist", + "build_es6": "Build ES6 package with clean up existing build, copy source into dist", + "build_closure_core": "Minify Global core build using closure compiler", + "build_global": "Build Global package, then minify build", + "build_perf": "Build CJS & Global build, run macro performance test", + "build_test": "Build CJS package & test spec, execute mocha test runner", + "build_cover": "Run lint to current code, build CJS & test spec, execute test coverage", + "build_docs": "Build ES6 & global package, create documentation using it", + "build_spec": "Build test specs", + "check_circular_dependencies": "Check codebase has circular dependencies", + "clean_spec": "Clean up existing test spec build output", + "clean_dist_cjs": "Clean up existing CJS package output", + "clean_dist_es6": "Clean up existing ES6 package output", + "clean_dist_global": "Clean up existing Global package output", + "commit": "Run git commit wizard", + "compile_dist_cjs": "Compile codebase into CJS module", + "compile_module_es6": "Compile codebase into ES6", + "cover": "Execute test coverage", + "lint_perf": "Run lint against performance test suite", + "lint_spec": "Run lint against test spec", + "lint_src": "Run lint against source", + "lint": "Run lint against everything", + "perf": "Run macro performance benchmark", + "perf_micro": "Run micro performance benchmark", + "test_mocha": "Execute mocha test runner against existing test spec build", + "test_browser": "Execute mocha test runner on browser against existing test spec build", + "test": "Clean up existing test spec build, build test spec and execute mocha test runner", + "tests2png": "Generate marble diagram image from test spec", + "watch": "Watch codebase, trigger compile when source code changes" + }, + "typings": "Rx.d.ts", + "version": "5.4.3" +} + + + +PolledWatches:: +/user/username/rootfolder/otherfolder/a/node_modules: + {"pollingInterval":500} +/user/username/rootfolder/otherfolder/node_modules: + {"pollingInterval":500} +/user/username/rootfolder/otherfolder/a/b/node_modules/@types: + {"pollingInterval":500} +/user/username/rootfolder/otherfolder/a/node_modules/@types: + {"pollingInterval":500} +/user/username/rootfolder/otherfolder/node_modules/@types: + {"pollingInterval":500} + +FsWatches:: +/user/username/rootfolder/otherfolder/a/b/tsconfig.json: + {} +/a/lib/lib.d.ts: + {} + +FsWatchesRecursive:: +/user/username/rootfolder/otherfolder/a/b: + {} +/user/username/rootfolder/otherfolder/a/b/node_modules: + {} + Info 209 [16:05:47.000] DirectoryWatcher:: Triggered with /user/username/rootfolder/otherfolder/a/b/node_modules/.staging/rxjs-22375c61/package.json.2252192041 :: WatchInfo: /user/username/rootfolder/otherfolder/a/b/node_modules 1 undefined Project: /user/username/rootfolder/otherfolder/a/b/tsconfig.json WatchType: Failed Lookup Locations Info 210 [16:05:48.000] Elapsed:: *ms DirectoryWatcher:: Triggered with /user/username/rootfolder/otherfolder/a/b/node_modules/.staging/rxjs-22375c61/package.json.2252192041 :: WatchInfo: /user/username/rootfolder/otherfolder/a/b/node_modules 1 undefined Project: /user/username/rootfolder/otherfolder/a/b/tsconfig.json WatchType: Failed Lookup Locations Info 211 [16:05:49.000] DirectoryWatcher:: Triggered with /user/username/rootfolder/otherfolder/a/b/node_modules/.staging/rxjs-22375c61/package.json.2252192041 :: WatchInfo: /user/username/rootfolder/otherfolder/a/b 1 undefined Config: /user/username/rootfolder/otherfolder/a/b/tsconfig.json WatchType: Wild card directory @@ -297,6 +1120,33 @@ Info 272 [16:07:14.000] Elapsed:: *ms DirectoryWatcher:: Triggered with /user/u Info 273 [16:07:15.000] DirectoryWatcher:: Triggered with /user/username/rootfolder/otherfolder/a/b/node_modules/.bin :: WatchInfo: /user/username/rootfolder/otherfolder/a/b 1 undefined Config: /user/username/rootfolder/otherfolder/a/b/tsconfig.json WatchType: Wild card directory Info 274 [16:07:16.000] Project: /user/username/rootfolder/otherfolder/a/b/tsconfig.json Detected ignored path: /user/username/rootfolder/otherfolder/a/b/node_modules/.bin Info 275 [16:07:17.000] Elapsed:: *ms DirectoryWatcher:: Triggered with /user/username/rootfolder/otherfolder/a/b/node_modules/.bin :: WatchInfo: /user/username/rootfolder/otherfolder/a/b 1 undefined Config: /user/username/rootfolder/otherfolder/a/b/tsconfig.json WatchType: Wild card directory +Checking timeout queue length: 3 +//// [/user/username/rootfolder/otherfolder/a/b/node_modules/.staging/rxjs-22375c61/package.json.2252192041] deleted + +PolledWatches:: +/user/username/rootfolder/otherfolder/a/node_modules: + {"pollingInterval":500} +/user/username/rootfolder/otherfolder/node_modules: + {"pollingInterval":500} +/user/username/rootfolder/otherfolder/a/node_modules/@types: + {"pollingInterval":500} +/user/username/rootfolder/otherfolder/node_modules/@types: + {"pollingInterval":500} + +FsWatches:: +/user/username/rootfolder/otherfolder/a/b/tsconfig.json: + {} +/a/lib/lib.d.ts: + {} + +FsWatchesRecursive:: +/user/username/rootfolder/otherfolder/a/b: + {} +/user/username/rootfolder/otherfolder/a/b/node_modules: + {} +/user/username/rootfolder/otherfolder/a/b/node_modules/@types: + {} + Info 276 [16:07:19.000] DirectoryWatcher:: Triggered with /user/username/rootfolder/otherfolder/a/b/node_modules/.staging/@types/lodash-e56c4fe7/index.d.ts :: WatchInfo: /user/username/rootfolder/otherfolder/a/b/node_modules 1 undefined Project: /user/username/rootfolder/otherfolder/a/b/tsconfig.json WatchType: Failed Lookup Locations Info 277 [16:07:20.000] Elapsed:: *ms DirectoryWatcher:: Triggered with /user/username/rootfolder/otherfolder/a/b/node_modules/.staging/@types/lodash-e56c4fe7/index.d.ts :: WatchInfo: /user/username/rootfolder/otherfolder/a/b/node_modules 1 undefined Project: /user/username/rootfolder/otherfolder/a/b/tsconfig.json WatchType: Failed Lookup Locations Info 278 [16:07:21.000] DirectoryWatcher:: Triggered with /user/username/rootfolder/otherfolder/a/b/node_modules/.staging/@types/lodash-e56c4fe7/index.d.ts :: WatchInfo: /user/username/rootfolder/otherfolder/a/b 1 undefined Config: /user/username/rootfolder/otherfolder/a/b/tsconfig.json WatchType: Wild card directory @@ -617,9 +1467,504 @@ Info 592 [16:13:55.000] DirectoryWatcher:: Triggered with /user/username/rootfo Info 593 [16:13:56.000] Scheduled: /user/username/rootfolder/otherfolder/a/b/tsconfig.json, Cancelled earlier one Info 594 [16:13:57.000] Scheduled: *ensureProjectForOpenFiles*, Cancelled earlier one Info 595 [16:13:58.000] Elapsed:: *ms DirectoryWatcher:: Triggered with /user/username/rootfolder/otherfolder/a/b/node_modules/rxjs/testing :: WatchInfo: /user/username/rootfolder/otherfolder/a/b 1 undefined Config: /user/username/rootfolder/otherfolder/a/b/tsconfig.json WatchType: Wild card directory +Before checking timeout queue length (3) and running +//// [/user/username/rootfolder/otherfolder/a/b/node_modules/symbolle/package.json] +{ + "name": "symbol-observable", + "version": "1.0.4", + "description": "Symbol.observable ponyfill", + "license": "MIT", + "repository": "blesh/symbol-observable", + "author": { + "name": "Ben Lesh", + "email": "ben@benlesh.com" + }, + "engines": { + "node": ">=0.10.0" + }, + "scripts": { + "test": "npm run build && mocha && tsc ./ts-test/test.ts && node ./ts-test/test.js && check-es3-syntax -p lib/ --kill", + "build": "babel es --out-dir lib", + "prepublish": "npm test" + }, + "files": [ + " + +//// [/user/username/rootfolder/otherfolder/a/b/node_modules/lodash/package.json] +{ + "name": "lodash", + "version": "4.17.4", + "description": "Lodash modular utilities.", + "keywords": "modules, stdlib, util", + "homepage": "https://lodash.com/", + "repository": "lodash/lodash", + "icon": "https://lodash.com/icon.svg", + "license": "MIT", + "main": "lodash.js", + "author": "John-David Dalton (http://allyoucanleet.com/)", + "contributors": [ + "John-David Dalton (http://allyoucanleet.com/)", + "Mathias Bynens ", + "contributors": [ + { + "name": "Ben Lesh", + "email": "ben@benlesh.com" + }, + { + "name": "Paul Taylor", + "email": "paul.e.taylor@me.com" + }, + { + "name": "Jeff Cross", + "email": "crossj@google.com" + }, + { + "name": "Matthew Podwysocki", + "email": "matthewp@microsoft.com" + }, + { + "name": "OJ Kwon", + "email": "kwon.ohjoong@gmail.com" + }, + { + "name": "Andre Staltz", + "email": "andre@staltz.com" + } + ], + "license": "Apache-2.0", + "bugs": { + "url": "https://github.com/ReactiveX/RxJS/issues" + }, + "homepage": "https://github.com/ReactiveX/RxJS", + "devDependencies": { + "babel-polyfill": "^6.23.0", + "benchmark": "^2.1.0", + "benchpress": "2.0.0-beta.1", + "chai": "^3.5.0", + "color": "^0.11.1", + "colors": "1.1.2", + "commitizen": "^2.8.6", + "coveralls": "^2.11.13", + "cz-conventional-changelog": "^1.2.0", + "danger": "^1.1.0", + "doctoc": "^1.0.0", + "escape-string-regexp": "^1.0.5 ", + "esdoc": "^0.4.7", + "eslint": "^3.8.0", + "fs-extra": "^2.1.2", + "get-folder-size": "^1.0.0", + "glob": "^7.0.3", + "gm": "^1.22.0", + "google-closure-compiler-js": "^20170218.0.0", + "gzip-size": "^3.0.0", + "http-server": "^0.9.0", + "husky": "^0.13.3", + "lint-staged": "3.2.5", + "lodash": "^4.15.0", + "madge": "^1.4.3", + "markdown-doctest": "^0.9.1", + "minimist": "^1.2.0", + "mkdirp": "^0.5.1", + "mocha": "^3.0.2", + "mocha-in-sauce": "0.0.1", + "npm-run-all": "^4.0.2", + "npm-scripts-info": "^0.3.4", + "nyc": "^10.2.0", + "opn-cli": "^3.1.0", + "platform": "^1.3.1", + "promise": "^7.1.1", + "protractor": "^3.1.1", + "rollup": "0.36.3", + "rollup-plugin-inject": "^2.0.0", + "rollup-plugin-node-resolve": "^2.0.0", + "rx": "latest", + "rxjs": "latest", + "shx": "^0.2.2", + "sinon": "^2.1.0", + "sinon-chai": "^2.9.0", + "source-map-support": "^0.4.0", + "tslib": "^1.5.0", + "eslint": "^4.4.2", + "typescript": "~2.0.6", + "typings": "^2.0.0", + "validate-commit-msg": "^2.14.0", + "watch": "^1.0.1", + "webpack": "^1.13.1", + "xmlhttprequest": "1.8.0" + }, + "engines": { + "npm": ">=2.0.0" + }, + "typings": "Rx.d.ts", + "dependencies": { + "symbol-observable": "^1.0.1" + } +} + +//// [/user/username/rootfolder/otherfolder/a/b/node_modules/typescript/package.json] +{ + "name": "typescript", + "author": "Microsoft Corp.", + "homepage": "http://typescriptlang.org/", + "version": "2.4.2", + "license": "Apache-2.0", + "description": "TypeScript is a language for application scale JavaScript development", + "keywords": [ + "TypeScript", + "Microsoft", + "compiler", + "language", + "javascript" + ], + "bugs": { + "url": "https://github.com/Microsoft/TypeScript/issues" + }, + "repository": { + "type": "git", + "url": "https://github.com/Microsoft/TypeScript.git" + }, + "main": "./lib/typescript.js", + "typings": "./lib/typescript.d.ts", + "bin": { + "tsc": "./bin/tsc", + "tsserver": "./bin/tsserver" + }, + "engines": { + "node": ">=4.2.0" + }, + "devDependencies": { + "@types/browserify": "latest", + "@types/chai": "latest", + "@types/convert-source-map": "latest", + "@types/del": "latest", + "@types/glob": "latest", + "@types/gulp": "latest", + "@types/gulp-concat": "latest", + "@types/gulp-help": "latest", + "@types/gulp-newer": "latest", + "@types/gulp-sourcemaps": "latest", + "@types/merge2": "latest", + "@types/minimatch": "latest", + "@types/minimist": "latest", + "@types/mkdirp": "latest", + "@types/mocha": "latest", + "@types/node": "latest", + "@types/q": "latest", + "@types/run-sequence": "latest", + "@types/through2": "latest", + "browserify": "latest", + "chai": "latest", + "convert-source-map": "latest", + "del": "latest", + "gulp": "latest", + "gulp-clone": "latest", + "gulp-concat": "latest", + "gulp-help": "latest", + "gulp-insert": "latest", + "gulp-newer": "latest", + "gulp-sourcemaps": "latest", + "gulp-typescript": "latest", + "into-stream": "latest", + "istanbul": "latest", + "jake": "latest", + "merge2": "latest", + "minimist": "latest", + "mkdirp": "latest", + "mocha": "latest", + "mocha-fivemat-progress-reporter": "latest", + "q": "latest", + "run-sequence": "latest", + "sorcery": "latest", + "through2": "latest", + "travis-fold": "latest", + "ts-node": "latest", + "eslint": "5.16.0", + "typescript": "^2.4" + }, + "scripts": { + "pretest": "jake tests", + "test": "jake runtests-parallel", + "build": "npm run build:compiler && npm run build:tests", + "build:compiler": "jake local", + "build:tests": "jake tests", + "start": "node lib/tsc", + "clean": "jake clean", + "gulp": "gulp", + "jake": "jake", + "lint": "jake lint", + "setup-hooks": "node scripts/link-hooks.js" + }, + "browser": { + "buffer": false, + "fs": false, + "os": false, + "path": false + } +} + +//// [/user/username/rootfolder/otherfolder/a/b/node_modules/symbolle/index.js] +module.exports = require('./lib/index'); + + +//// [/user/username/rootfolder/otherfolder/a/b/node_modules/symbolle/index.d.ts] +declare const observableSymbol: symbol; +export default observableSymbol; + + +//// [/user/username/rootfolder/otherfolder/a/b/node_modules/symbolle/lib/index.js] +'use strict'; + +Object.defineProperty(exports, "__esModule", { + value: true +}); + +var _ponyfill = require('./ponyfill'); + +var _ponyfill2 = _interopRequireDefault(_ponyfill); + +function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { 'default': obj }; } + +var root; /* global window */ + + +if (typeof self !== 'undefined') { + root = self; +} else if (typeof window !== 'undefined') { + root = window; +} else if (typeof global !== 'undefined') { + root = global; +} else if (typeof module !== 'undefined') { + root = module; +} else { + root = Function('return this')(); +} + +var result = (0, _ponyfill2['default'])(root); +exports['default'] = result; + +//// [/user/username/rootfolder/otherfolder/a/b/node_modules/@types/lodash/package.json] +{ + "name": "@types/lodash", + "version": "4.14.74", + "description": "TypeScript definitions for Lo-Dash", + "license": "MIT", + "contributors": [ + { + "name": "Brian Zengel", + "url": "https://github.com/bczengel" + }, + { + "name": "Ilya Mochalov", + "url": "https://github.com/chrootsu" + }, + { + "name": "Stepan Mikhaylyuk", + "url": "https://github.com/stepancar" + }, + { + "name": "Eric L Anderson", + "url": "https://github.com/ericanderson" + }, + { + "name": "AJ Richardson", + "url": "https://github.com/aj-r" + }, + { + "name": "Junyoung Clare Jang", + "url": "https://github.com/ailrun" + } + ], + "main": "", + "repository": { + "type": "git", + "url": "https://www.github.com/DefinitelyTyped/DefinitelyTyped.git" + }, + "scripts": {}, + "dependencies": {}, + "typesPublisherContentHash": "12af578ffaf8d86d2df37e591857906a86b983fa9258414326544a0fe6af0de8", + "typeScriptVersion": "2.2" +} + +//// [/user/username/rootfolder/otherfolder/a/b/node_modules/lodash/index.js] +module.exports = require('./lodash'); + +//// [/user/username/rootfolder/otherfolder/a/b/node_modules/@types/lodash/index.d.ts] + +// Stub for lodash +export = _; +export as namespace _; +declare var _: _.LoDashStatic; +declare namespace _ { + interface LoDashStatic { + someProp: string; + } + class SomeClass { + someMethod(): void; + } +} + +//// [/user/username/rootfolder/otherfolder/a/b/node_modules/.staging/symbol-observable-24bcbbff/package.json] deleted +//// [/user/username/rootfolder/otherfolder/a/b/node_modules/.staging/lodash-b0733faa/package.json] deleted +//// [/user/username/rootfolder/otherfolder/a/b/node_modules/.staging/rxjs-22375c61/package.json] deleted +//// [/user/username/rootfolder/otherfolder/a/b/node_modules/.staging/typescript-8493ea5d/package.json] deleted +//// [/user/username/rootfolder/otherfolder/a/b/node_modules/.staging/symbol-observable-24bcbbff/index.js] deleted +//// [/user/username/rootfolder/otherfolder/a/b/node_modules/.staging/symbol-observable-24bcbbff/index.d.ts] deleted +//// [/user/username/rootfolder/otherfolder/a/b/node_modules/.staging/symbol-observable-24bcbbff/lib/index.js] deleted +//// [/user/username/rootfolder/otherfolder/a/b/node_modules/.staging/@types/lodash-e56c4fe7/package.json] deleted +//// [/user/username/rootfolder/otherfolder/a/b/node_modules/.staging/lodash-b0733faa/index.js] deleted +//// [/user/username/rootfolder/otherfolder/a/b/node_modules/.staging/@types/lodash-e56c4fe7/index.d.ts] deleted + +PolledWatches:: +/user/username/rootfolder/otherfolder/a/node_modules: + {"pollingInterval":500} +/user/username/rootfolder/otherfolder/node_modules: + {"pollingInterval":500} +/user/username/rootfolder/otherfolder/a/node_modules/@types: + {"pollingInterval":500} +/user/username/rootfolder/otherfolder/node_modules/@types: + {"pollingInterval":500} + +FsWatches:: +/user/username/rootfolder/otherfolder/a/b/tsconfig.json: + {} +/a/lib/lib.d.ts: + {} + +FsWatchesRecursive:: +/user/username/rootfolder/otherfolder/a/b: + {} +/user/username/rootfolder/otherfolder/a/b/node_modules: + {} +/user/username/rootfolder/otherfolder/a/b/node_modules/@types: + {} + Info 596 [16:13:59.000] Running: /user/username/rootfolder/otherfolder/a/b/tsconfig.jsonFailedLookupInvalidation Info 597 [16:14:00.000] Scheduled: /user/username/rootfolder/otherfolder/a/b/tsconfig.json, Cancelled earlier one Info 598 [16:14:01.000] Scheduled: *ensureProjectForOpenFiles*, Cancelled earlier one +After checking timeout queue length (3) and running + +PolledWatches:: +/user/username/rootfolder/otherfolder/a/node_modules: + {"pollingInterval":500} +/user/username/rootfolder/otherfolder/node_modules: + {"pollingInterval":500} +/user/username/rootfolder/otherfolder/a/node_modules/@types: + {"pollingInterval":500} +/user/username/rootfolder/otherfolder/node_modules/@types: + {"pollingInterval":500} + +FsWatches:: +/user/username/rootfolder/otherfolder/a/b/tsconfig.json: + {} +/a/lib/lib.d.ts: + {} + +FsWatchesRecursive:: +/user/username/rootfolder/otherfolder/a/b: + {} +/user/username/rootfolder/otherfolder/a/b/node_modules: + {} +/user/username/rootfolder/otherfolder/a/b/node_modules/@types: + {} + +Before running timeout callbacks + +PolledWatches:: +/user/username/rootfolder/otherfolder/a/node_modules: + {"pollingInterval":500} +/user/username/rootfolder/otherfolder/node_modules: + {"pollingInterval":500} +/user/username/rootfolder/otherfolder/a/node_modules/@types: + {"pollingInterval":500} +/user/username/rootfolder/otherfolder/node_modules/@types: + {"pollingInterval":500} + +FsWatches:: +/user/username/rootfolder/otherfolder/a/b/tsconfig.json: + {} +/a/lib/lib.d.ts: + {} + +FsWatchesRecursive:: +/user/username/rootfolder/otherfolder/a/b: + {} +/user/username/rootfolder/otherfolder/a/b/node_modules: + {} +/user/username/rootfolder/otherfolder/a/b/node_modules/@types: + {} + Info 599 [16:14:02.000] Running: /user/username/rootfolder/otherfolder/a/b/tsconfig.json Info 600 [16:14:03.000] Starting updateGraphWorker: Project: /user/username/rootfolder/otherfolder/a/b/tsconfig.json Info 601 [16:14:04.000] DirectoryWatcher:: Added:: WatchInfo: /user/username/rootfolder/otherfolder/a/b/node_modules 1 undefined WatchType: node_modules for closed script infos and package.jsons affecting module specifier cache @@ -663,4 +2008,29 @@ Info 616 [16:14:26.000] Files (3) Info 616 [16:14:27.000] ----------------------------------------------- Info 616 [16:14:28.000] Open files: Info 616 [16:14:29.000] FileName: /user/username/rootfolder/otherfolder/a/b/app.ts ProjectRootPath: undefined -Info 616 [16:14:30.000] Projects: /user/username/rootfolder/otherfolder/a/b/tsconfig.json \ No newline at end of file +Info 616 [16:14:30.000] Projects: /user/username/rootfolder/otherfolder/a/b/tsconfig.json +After running timeout callbacks + +PolledWatches:: +/user/username/rootfolder/otherfolder/a/node_modules/@types: + {"pollingInterval":500} +/user/username/rootfolder/otherfolder/node_modules/@types: + {"pollingInterval":500} + +FsWatches:: +/user/username/rootfolder/otherfolder/a/b/tsconfig.json: + {} +/a/lib/lib.d.ts: + {} +/user/username/rootfolder/otherfolder/a/b/node_modules/lodash/package.json: + {} +/user/username/rootfolder/otherfolder/a/b/node_modules/@types/lodash/package.json: + {} + +FsWatchesRecursive:: +/user/username/rootfolder/otherfolder/a/b: + {} +/user/username/rootfolder/otherfolder/a/b/node_modules: + {} +/user/username/rootfolder/otherfolder/a/b/node_modules/@types: + {} diff --git a/tests/baselines/reference/tsserver/cachingFileSystemInformation/npm-install-works-when-timeout-occurs-inbetween-installation.js b/tests/baselines/reference/tsserver/cachingFileSystemInformation/npm-install-works-when-timeout-occurs-inbetween-installation.js index e0e408da8eed4..fe28d10e5b847 100644 --- a/tests/baselines/reference/tsserver/cachingFileSystemInformation/npm-install-works-when-timeout-occurs-inbetween-installation.js +++ b/tests/baselines/reference/tsserver/cachingFileSystemInformation/npm-install-works-when-timeout-occurs-inbetween-installation.js @@ -1,4 +1,55 @@ Info 0 [16:00:27.000] Provided types map file "/typesMap.json" doesn't exist +Creating project service +//// [/user/username/rootfolder/otherfolder/a/b/app.ts] +import _ from 'lodash'; + +//// [/a/lib/lib.d.ts] +/// +interface Boolean {} +interface Function {} +interface CallableFunction {} +interface NewableFunction {} +interface IArguments {} +interface Number { toExponential: any; } +interface Object {} +interface RegExp {} +interface String { charAt: any; } +interface Array { length: number; [n: number]: T; } + +//// [/user/username/rootfolder/otherfolder/a/b/tsconfig.json] +{ "compilerOptions": { } } + +//// [/user/username/rootfolder/otherfolder/a/b/package.json] + +{ + "name": "test", + "version": "1.0.0", + "description": "", + "main": "index.js", + "dependencies": { + "lodash", + "rxjs" + }, + "devDependencies": { + "@types/lodash", + "typescript" + }, + "scripts": { + "test": "echo "Error: no test specified" && exit 1" + }, + "keywords": [], + "author": "", + "license": "ISC" +} + + + +PolledWatches:: + +FsWatches:: + +FsWatchesRecursive:: + Info 1 [16:00:28.000] Search path: /user/username/rootfolder/otherfolder/a/b Info 2 [16:00:29.000] For info: /user/username/rootfolder/otherfolder/a/b/app.ts :: Config file name: /user/username/rootfolder/otherfolder/a/b/tsconfig.json Info 3 [16:00:30.000] Creating configuration project /user/username/rootfolder/otherfolder/a/b/tsconfig.json @@ -135,9 +186,433 @@ Info 110 [16:02:55.000] Elapsed:: *ms DirectoryWatcher:: Triggered with /user/u Info 111 [16:02:56.000] DirectoryWatcher:: Triggered with /user/username/rootfolder/otherfolder/a/b/node_modules/.staging/symbol-observable-24bcbbff/lib/index.js :: WatchInfo: /user/username/rootfolder/otherfolder/a/b 1 undefined Config: /user/username/rootfolder/otherfolder/a/b/tsconfig.json WatchType: Wild card directory Info 112 [16:02:57.000] Project: /user/username/rootfolder/otherfolder/a/b/tsconfig.json Detected ignored path: /user/username/rootfolder/otherfolder/a/b/node_modules/.staging/symbol-observable-24bcbbff/lib/index.js Info 113 [16:02:58.000] Elapsed:: *ms DirectoryWatcher:: Triggered with /user/username/rootfolder/otherfolder/a/b/node_modules/.staging/symbol-observable-24bcbbff/lib/index.js :: WatchInfo: /user/username/rootfolder/otherfolder/a/b 1 undefined Config: /user/username/rootfolder/otherfolder/a/b/tsconfig.json WatchType: Wild card directory +Before checking timeout queue length (3) and running +//// [/user/username/rootfolder/otherfolder/a/b/node_modules/.staging/symbol-observable-24bcbbff/package.json] +{ + "name": "symbol-observable", + "version": "1.0.4", + "description": "Symbol.observable ponyfill", + "license": "MIT", + "repository": "blesh/symbol-observable", + "author": { + "name": "Ben Lesh", + "email": "ben@benlesh.com" + }, + "engines": { + "node": ">=0.10.0" + }, + "scripts": { + "test": "npm run build && mocha && tsc ./ts-test/test.ts && node ./ts-test/test.js && check-es3-syntax -p lib/ --kill", + "build": "babel es --out-dir lib", + "prepublish": "npm test" + }, + "files": [ + " + +//// [/user/username/rootfolder/otherfolder/a/b/node_modules/.staging/lodash-b0733faa/package.json] +{ + "name": "lodash", + "version": "4.17.4", + "description": "Lodash modular utilities.", + "keywords": "modules, stdlib, util", + "homepage": "https://lodash.com/", + "repository": "lodash/lodash", + "icon": "https://lodash.com/icon.svg", + "license": "MIT", + "main": "lodash.js", + "author": "John-David Dalton (http://allyoucanleet.com/)", + "contributors": [ + "John-David Dalton (http://allyoucanleet.com/)", + "Mathias Bynens ", + "contributors": [ + { + "name": "Ben Lesh", + "email": "ben@benlesh.com" + }, + { + "name": "Paul Taylor", + "email": "paul.e.taylor@me.com" + }, + { + "name": "Jeff Cross", + "email": "crossj@google.com" + }, + { + "name": "Matthew Podwysocki", + "email": "matthewp@microsoft.com" + }, + { + "name": "OJ Kwon", + "email": "kwon.ohjoong@gmail.com" + }, + { + "name": "Andre Staltz", + "email": "andre@staltz.com" + } + ], + "license": "Apache-2.0", + "bugs": { + "url": "https://github.com/ReactiveX/RxJS/issues" + }, + "homepage": "https://github.com/ReactiveX/RxJS", + "devDependencies": { + "babel-polyfill": "^6.23.0", + "benchmark": "^2.1.0", + "benchpress": "2.0.0-beta.1", + "chai": "^3.5.0", + "color": "^0.11.1", + "colors": "1.1.2", + "commitizen": "^2.8.6", + "coveralls": "^2.11.13", + "cz-conventional-changelog": "^1.2.0", + "danger": "^1.1.0", + "doctoc": "^1.0.0", + "escape-string-regexp": "^1.0.5 ", + "esdoc": "^0.4.7", + "eslint": "^3.8.0", + "fs-extra": "^2.1.2", + "get-folder-size": "^1.0.0", + "glob": "^7.0.3", + "gm": "^1.22.0", + "google-closure-compiler-js": "^20170218.0.0", + "gzip-size": "^3.0.0", + "http-server": "^0.9.0", + "husky": "^0.13.3", + "lint-staged": "3.2.5", + "lodash": "^4.15.0", + "madge": "^1.4.3", + "markdown-doctest": "^0.9.1", + "minimist": "^1.2.0", + "mkdirp": "^0.5.1", + "mocha": "^3.0.2", + "mocha-in-sauce": "0.0.1", + "npm-run-all": "^4.0.2", + "npm-scripts-info": "^0.3.4", + "nyc": "^10.2.0", + "opn-cli": "^3.1.0", + "platform": "^1.3.1", + "promise": "^7.1.1", + "protractor": "^3.1.1", + "rollup": "0.36.3", + "rollup-plugin-inject": "^2.0.0", + "rollup-plugin-node-resolve": "^2.0.0", + "rx": "latest", + "rxjs": "latest", + "shx": "^0.2.2", + "sinon": "^2.1.0", + "sinon-chai": "^2.9.0", + "source-map-support": "^0.4.0", + "tslib": "^1.5.0", + "eslint": "^4.4.2", + "typescript": "~2.0.6", + "typings": "^2.0.0", + "validate-commit-msg": "^2.14.0", + "watch": "^1.0.1", + "webpack": "^1.13.1", + "xmlhttprequest": "1.8.0" + }, + "engines": { + "npm": ">=2.0.0" + }, + "typings": "Rx.d.ts", + "dependencies": { + "symbol-observable": "^1.0.1" + } +} + +//// [/user/username/rootfolder/otherfolder/a/b/node_modules/.staging/typescript-8493ea5d/package.json] +{ + "name": "typescript", + "author": "Microsoft Corp.", + "homepage": "http://typescriptlang.org/", + "version": "2.4.2", + "license": "Apache-2.0", + "description": "TypeScript is a language for application scale JavaScript development", + "keywords": [ + "TypeScript", + "Microsoft", + "compiler", + "language", + "javascript" + ], + "bugs": { + "url": "https://github.com/Microsoft/TypeScript/issues" + }, + "repository": { + "type": "git", + "url": "https://github.com/Microsoft/TypeScript.git" + }, + "main": "./lib/typescript.js", + "typings": "./lib/typescript.d.ts", + "bin": { + "tsc": "./bin/tsc", + "tsserver": "./bin/tsserver" + }, + "engines": { + "node": ">=4.2.0" + }, + "devDependencies": { + "@types/browserify": "latest", + "@types/chai": "latest", + "@types/convert-source-map": "latest", + "@types/del": "latest", + "@types/glob": "latest", + "@types/gulp": "latest", + "@types/gulp-concat": "latest", + "@types/gulp-help": "latest", + "@types/gulp-newer": "latest", + "@types/gulp-sourcemaps": "latest", + "@types/merge2": "latest", + "@types/minimatch": "latest", + "@types/minimist": "latest", + "@types/mkdirp": "latest", + "@types/mocha": "latest", + "@types/node": "latest", + "@types/q": "latest", + "@types/run-sequence": "latest", + "@types/through2": "latest", + "browserify": "latest", + "chai": "latest", + "convert-source-map": "latest", + "del": "latest", + "gulp": "latest", + "gulp-clone": "latest", + "gulp-concat": "latest", + "gulp-help": "latest", + "gulp-insert": "latest", + "gulp-newer": "latest", + "gulp-sourcemaps": "latest", + "gulp-typescript": "latest", + "into-stream": "latest", + "istanbul": "latest", + "jake": "latest", + "merge2": "latest", + "minimist": "latest", + "mkdirp": "latest", + "mocha": "latest", + "mocha-fivemat-progress-reporter": "latest", + "q": "latest", + "run-sequence": "latest", + "sorcery": "latest", + "through2": "latest", + "travis-fold": "latest", + "ts-node": "latest", + "eslint": "5.16.0", + "typescript": "^2.4" + }, + "scripts": { + "pretest": "jake tests", + "test": "jake runtests-parallel", + "build": "npm run build:compiler && npm run build:tests", + "build:compiler": "jake local", + "build:tests": "jake tests", + "start": "node lib/tsc", + "clean": "jake clean", + "gulp": "gulp", + "jake": "jake", + "lint": "jake lint", + "setup-hooks": "node scripts/link-hooks.js" + }, + "browser": { + "buffer": false, + "fs": false, + "os": false, + "path": false + } +} + +//// [/user/username/rootfolder/otherfolder/a/b/node_modules/.staging/symbol-observable-24bcbbff/index.js] +module.exports = require('./lib/index'); + + +//// [/user/username/rootfolder/otherfolder/a/b/node_modules/.staging/symbol-observable-24bcbbff/index.d.ts] +declare const observableSymbol: symbol; +export default observableSymbol; + + +//// [/user/username/rootfolder/otherfolder/a/b/node_modules/.staging/symbol-observable-24bcbbff/lib/index.js] +'use strict'; + +Object.defineProperty(exports, "__esModule", { + value: true +}); + +var _ponyfill = require('./ponyfill'); + +var _ponyfill2 = _interopRequireDefault(_ponyfill); + +function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { 'default': obj }; } + +var root; /* global window */ + + +if (typeof self !== 'undefined') { + root = self; +} else if (typeof window !== 'undefined') { + root = window; +} else if (typeof global !== 'undefined') { + root = global; +} else if (typeof module !== 'undefined') { + root = module; +} else { + root = Function('return this')(); +} + +var result = (0, _ponyfill2['default'])(root); +exports['default'] = result; + + +PolledWatches:: +/user/username/rootfolder/otherfolder/a/node_modules: + {"pollingInterval":500} +/user/username/rootfolder/otherfolder/node_modules: + {"pollingInterval":500} +/user/username/rootfolder/otherfolder/a/b/node_modules/@types: + {"pollingInterval":500} +/user/username/rootfolder/otherfolder/a/node_modules/@types: + {"pollingInterval":500} +/user/username/rootfolder/otherfolder/node_modules/@types: + {"pollingInterval":500} + +FsWatches:: +/user/username/rootfolder/otherfolder/a/b/tsconfig.json: + {} +/a/lib/lib.d.ts: + {} + +FsWatchesRecursive:: +/user/username/rootfolder/otherfolder/a/b: + {} +/user/username/rootfolder/otherfolder/a/b/node_modules: + {} + Info 114 [16:02:59.000] Running: /user/username/rootfolder/otherfolder/a/b/tsconfig.jsonFailedLookupInvalidation Info 115 [16:03:00.000] Scheduled: /user/username/rootfolder/otherfolder/a/b/tsconfig.json, Cancelled earlier one Info 116 [16:03:01.000] Scheduled: *ensureProjectForOpenFiles*, Cancelled earlier one +After checking timeout queue length (3) and running + +PolledWatches:: +/user/username/rootfolder/otherfolder/a/node_modules: + {"pollingInterval":500} +/user/username/rootfolder/otherfolder/node_modules: + {"pollingInterval":500} +/user/username/rootfolder/otherfolder/a/b/node_modules/@types: + {"pollingInterval":500} +/user/username/rootfolder/otherfolder/a/node_modules/@types: + {"pollingInterval":500} +/user/username/rootfolder/otherfolder/node_modules/@types: + {"pollingInterval":500} + +FsWatches:: +/user/username/rootfolder/otherfolder/a/b/tsconfig.json: + {} +/a/lib/lib.d.ts: + {} + +FsWatchesRecursive:: +/user/username/rootfolder/otherfolder/a/b: + {} +/user/username/rootfolder/otherfolder/a/b/node_modules: + {} + +Before running timeout callbacks + +PolledWatches:: +/user/username/rootfolder/otherfolder/a/node_modules: + {"pollingInterval":500} +/user/username/rootfolder/otherfolder/node_modules: + {"pollingInterval":500} +/user/username/rootfolder/otherfolder/a/b/node_modules/@types: + {"pollingInterval":500} +/user/username/rootfolder/otherfolder/a/node_modules/@types: + {"pollingInterval":500} +/user/username/rootfolder/otherfolder/node_modules/@types: + {"pollingInterval":500} + +FsWatches:: +/user/username/rootfolder/otherfolder/a/b/tsconfig.json: + {} +/a/lib/lib.d.ts: + {} + +FsWatchesRecursive:: +/user/username/rootfolder/otherfolder/a/b: + {} +/user/username/rootfolder/otherfolder/a/b/node_modules: + {} + Info 117 [16:03:02.000] Running: /user/username/rootfolder/otherfolder/a/b/tsconfig.json Info 118 [16:03:03.000] Starting updateGraphWorker: Project: /user/username/rootfolder/otherfolder/a/b/tsconfig.json Info 119 [16:03:04.000] Finishing updateGraphWorker: Project: /user/username/rootfolder/otherfolder/a/b/tsconfig.json Version: 2 structureChanged: true structureIsReused:: SafeModules Elapsed:: *ms @@ -159,6 +634,32 @@ Info 124 [16:03:17.000] ----------------------------------------------- Info 124 [16:03:18.000] Open files: Info 124 [16:03:19.000] FileName: /user/username/rootfolder/otherfolder/a/b/app.ts ProjectRootPath: undefined Info 124 [16:03:20.000] Projects: /user/username/rootfolder/otherfolder/a/b/tsconfig.json +After running timeout callbacks + +PolledWatches:: +/user/username/rootfolder/otherfolder/a/node_modules: + {"pollingInterval":500} +/user/username/rootfolder/otherfolder/node_modules: + {"pollingInterval":500} +/user/username/rootfolder/otherfolder/a/b/node_modules/@types: + {"pollingInterval":500} +/user/username/rootfolder/otherfolder/a/node_modules/@types: + {"pollingInterval":500} +/user/username/rootfolder/otherfolder/node_modules/@types: + {"pollingInterval":500} + +FsWatches:: +/user/username/rootfolder/otherfolder/a/b/tsconfig.json: + {} +/a/lib/lib.d.ts: + {} + +FsWatchesRecursive:: +/user/username/rootfolder/otherfolder/a/b: + {} +/user/username/rootfolder/otherfolder/a/b/node_modules: + {} + Info 124 [16:03:30.000] DirectoryWatcher:: Triggered with /user/username/rootfolder/otherfolder/a/b/node_modules/.staging/typescript-8493ea5d/lib :: WatchInfo: /user/username/rootfolder/otherfolder/a/b/node_modules 1 undefined Project: /user/username/rootfolder/otherfolder/a/b/tsconfig.json WatchType: Failed Lookup Locations Info 125 [16:03:31.000] Elapsed:: *ms DirectoryWatcher:: Triggered with /user/username/rootfolder/otherfolder/a/b/node_modules/.staging/typescript-8493ea5d/lib :: WatchInfo: /user/username/rootfolder/otherfolder/a/b/node_modules 1 undefined Project: /user/username/rootfolder/otherfolder/a/b/tsconfig.json WatchType: Failed Lookup Locations Info 126 [16:03:32.000] DirectoryWatcher:: Triggered with /user/username/rootfolder/otherfolder/a/b/node_modules/.staging/typescript-8493ea5d/lib :: WatchInfo: /user/username/rootfolder/otherfolder/a/b 1 undefined Config: /user/username/rootfolder/otherfolder/a/b/tsconfig.json WatchType: Wild card directory @@ -189,11 +690,165 @@ Info 150 [16:04:06.000] Elapsed:: *ms DirectoryWatcher:: Triggered with /user/u Info 151 [16:04:07.000] DirectoryWatcher:: Triggered with /user/username/rootfolder/otherfolder/a/b/node_modules/.staging/typescript-8493ea5d/package.json.3017591594 :: WatchInfo: /user/username/rootfolder/otherfolder/a/b 1 undefined Config: /user/username/rootfolder/otherfolder/a/b/tsconfig.json WatchType: Wild card directory Info 152 [16:04:08.000] Project: /user/username/rootfolder/otherfolder/a/b/tsconfig.json Detected ignored path: /user/username/rootfolder/otherfolder/a/b/node_modules/.staging/typescript-8493ea5d/package.json.3017591594 Info 153 [16:04:09.000] Elapsed:: *ms DirectoryWatcher:: Triggered with /user/username/rootfolder/otherfolder/a/b/node_modules/.staging/typescript-8493ea5d/package.json.3017591594 :: WatchInfo: /user/username/rootfolder/otherfolder/a/b 1 undefined Config: /user/username/rootfolder/otherfolder/a/b/tsconfig.json WatchType: Wild card directory +Before checking timeout queue length (0) and running +//// [/user/username/rootfolder/otherfolder/a/b/node_modules/.staging/@types/lodash-e56c4fe7/package.json] +{ + "name": "@types/lodash", + "version": "4.14.74", + "description": "TypeScript definitions for Lo-Dash", + "license": "MIT", + "contributors": [ + { + "name": "Brian Zengel", + "url": "https://github.com/bczengel" + }, + { + "name": "Ilya Mochalov", + "url": "https://github.com/chrootsu" + }, + { + "name": "Stepan Mikhaylyuk", + "url": "https://github.com/stepancar" + }, + { + "name": "Eric L Anderson", + "url": "https://github.com/ericanderson" + }, + { + "name": "AJ Richardson", + "url": "https://github.com/aj-r" + }, + { + "name": "Junyoung Clare Jang", + "url": "https://github.com/ailrun" + } + ], + "main": "", + "repository": { + "type": "git", + "url": "https://www.github.com/DefinitelyTyped/DefinitelyTyped.git" + }, + "scripts": {}, + "dependencies": {}, + "typesPublisherContentHash": "12af578ffaf8d86d2df37e591857906a86b983fa9258414326544a0fe6af0de8", + "typeScriptVersion": "2.2" +} + +//// [/user/username/rootfolder/otherfolder/a/b/node_modules/.staging/lodash-b0733faa/index.js] +module.exports = require('./lodash'); + +//// [/user/username/rootfolder/otherfolder/a/b/node_modules/.staging/typescript-8493ea5d/package.json.3017591594] + + + +PolledWatches:: +/user/username/rootfolder/otherfolder/a/node_modules: + {"pollingInterval":500} +/user/username/rootfolder/otherfolder/node_modules: + {"pollingInterval":500} +/user/username/rootfolder/otherfolder/a/b/node_modules/@types: + {"pollingInterval":500} +/user/username/rootfolder/otherfolder/a/node_modules/@types: + {"pollingInterval":500} +/user/username/rootfolder/otherfolder/node_modules/@types: + {"pollingInterval":500} + +FsWatches:: +/user/username/rootfolder/otherfolder/a/b/tsconfig.json: + {} +/a/lib/lib.d.ts: + {} + +FsWatchesRecursive:: +/user/username/rootfolder/otherfolder/a/b: + {} +/user/username/rootfolder/otherfolder/a/b/node_modules: + {} + +After checking timeout queue length (0) and running + +PolledWatches:: +/user/username/rootfolder/otherfolder/a/node_modules: + {"pollingInterval":500} +/user/username/rootfolder/otherfolder/node_modules: + {"pollingInterval":500} +/user/username/rootfolder/otherfolder/a/b/node_modules/@types: + {"pollingInterval":500} +/user/username/rootfolder/otherfolder/a/node_modules/@types: + {"pollingInterval":500} +/user/username/rootfolder/otherfolder/node_modules/@types: + {"pollingInterval":500} + +FsWatches:: +/user/username/rootfolder/otherfolder/a/b/tsconfig.json: + {} +/a/lib/lib.d.ts: + {} + +FsWatchesRecursive:: +/user/username/rootfolder/otherfolder/a/b: + {} +/user/username/rootfolder/otherfolder/a/b/node_modules: + {} + Info 154 [16:04:11.000] DirectoryWatcher:: Triggered with /user/username/rootfolder/otherfolder/a/b/node_modules/.staging/typescript-8493ea5d/package.json.3017591594 :: WatchInfo: /user/username/rootfolder/otherfolder/a/b/node_modules 1 undefined Project: /user/username/rootfolder/otherfolder/a/b/tsconfig.json WatchType: Failed Lookup Locations Info 155 [16:04:12.000] Elapsed:: *ms DirectoryWatcher:: Triggered with /user/username/rootfolder/otherfolder/a/b/node_modules/.staging/typescript-8493ea5d/package.json.3017591594 :: WatchInfo: /user/username/rootfolder/otherfolder/a/b/node_modules 1 undefined Project: /user/username/rootfolder/otherfolder/a/b/tsconfig.json WatchType: Failed Lookup Locations Info 156 [16:04:13.000] DirectoryWatcher:: Triggered with /user/username/rootfolder/otherfolder/a/b/node_modules/.staging/typescript-8493ea5d/package.json.3017591594 :: WatchInfo: /user/username/rootfolder/otherfolder/a/b 1 undefined Config: /user/username/rootfolder/otherfolder/a/b/tsconfig.json WatchType: Wild card directory Info 157 [16:04:14.000] Project: /user/username/rootfolder/otherfolder/a/b/tsconfig.json Detected ignored path: /user/username/rootfolder/otherfolder/a/b/node_modules/.staging/typescript-8493ea5d/package.json.3017591594 Info 158 [16:04:15.000] Elapsed:: *ms DirectoryWatcher:: Triggered with /user/username/rootfolder/otherfolder/a/b/node_modules/.staging/typescript-8493ea5d/package.json.3017591594 :: WatchInfo: /user/username/rootfolder/otherfolder/a/b 1 undefined Config: /user/username/rootfolder/otherfolder/a/b/tsconfig.json WatchType: Wild card directory +Before checking timeout queue length (0) and running +//// [/user/username/rootfolder/otherfolder/a/b/node_modules/.staging/typescript-8493ea5d/package.json.3017591594] deleted + +PolledWatches:: +/user/username/rootfolder/otherfolder/a/node_modules: + {"pollingInterval":500} +/user/username/rootfolder/otherfolder/node_modules: + {"pollingInterval":500} +/user/username/rootfolder/otherfolder/a/b/node_modules/@types: + {"pollingInterval":500} +/user/username/rootfolder/otherfolder/a/node_modules/@types: + {"pollingInterval":500} +/user/username/rootfolder/otherfolder/node_modules/@types: + {"pollingInterval":500} + +FsWatches:: +/user/username/rootfolder/otherfolder/a/b/tsconfig.json: + {} +/a/lib/lib.d.ts: + {} + +FsWatchesRecursive:: +/user/username/rootfolder/otherfolder/a/b: + {} +/user/username/rootfolder/otherfolder/a/b/node_modules: + {} + +After checking timeout queue length (0) and running + +PolledWatches:: +/user/username/rootfolder/otherfolder/a/node_modules: + {"pollingInterval":500} +/user/username/rootfolder/otherfolder/node_modules: + {"pollingInterval":500} +/user/username/rootfolder/otherfolder/a/b/node_modules/@types: + {"pollingInterval":500} +/user/username/rootfolder/otherfolder/a/node_modules/@types: + {"pollingInterval":500} +/user/username/rootfolder/otherfolder/node_modules/@types: + {"pollingInterval":500} + +FsWatches:: +/user/username/rootfolder/otherfolder/a/b/tsconfig.json: + {} +/a/lib/lib.d.ts: + {} + +FsWatchesRecursive:: +/user/username/rootfolder/otherfolder/a/b: + {} +/user/username/rootfolder/otherfolder/a/b/node_modules: + {} + Info 159 [16:04:36.000] DirectoryWatcher:: Triggered with /user/username/rootfolder/otherfolder/a/b/node_modules/.staging/rxjs-22375c61/bundles :: WatchInfo: /user/username/rootfolder/otherfolder/a/b/node_modules 1 undefined Project: /user/username/rootfolder/otherfolder/a/b/tsconfig.json WatchType: Failed Lookup Locations Info 160 [16:04:37.000] Elapsed:: *ms DirectoryWatcher:: Triggered with /user/username/rootfolder/otherfolder/a/b/node_modules/.staging/rxjs-22375c61/bundles :: WatchInfo: /user/username/rootfolder/otherfolder/a/b/node_modules 1 undefined Project: /user/username/rootfolder/otherfolder/a/b/tsconfig.json WatchType: Failed Lookup Locations Info 161 [16:04:38.000] DirectoryWatcher:: Triggered with /user/username/rootfolder/otherfolder/a/b/node_modules/.staging/rxjs-22375c61/bundles :: WatchInfo: /user/username/rootfolder/otherfolder/a/b 1 undefined Config: /user/username/rootfolder/otherfolder/a/b/tsconfig.json WatchType: Wild card directory @@ -229,6 +884,73 @@ Info 190 [16:05:19.000] Elapsed:: *ms DirectoryWatcher:: Triggered with /user/u Info 191 [16:05:20.000] DirectoryWatcher:: Triggered with /user/username/rootfolder/otherfolder/a/b/node_modules/.staging/@types/lodash-e56c4fe7/index.d.ts :: WatchInfo: /user/username/rootfolder/otherfolder/a/b 1 undefined Config: /user/username/rootfolder/otherfolder/a/b/tsconfig.json WatchType: Wild card directory Info 192 [16:05:21.000] Project: /user/username/rootfolder/otherfolder/a/b/tsconfig.json Detected ignored path: /user/username/rootfolder/otherfolder/a/b/node_modules/.staging/@types/lodash-e56c4fe7/index.d.ts Info 193 [16:05:22.000] Elapsed:: *ms DirectoryWatcher:: Triggered with /user/username/rootfolder/otherfolder/a/b/node_modules/.staging/@types/lodash-e56c4fe7/index.d.ts :: WatchInfo: /user/username/rootfolder/otherfolder/a/b 1 undefined Config: /user/username/rootfolder/otherfolder/a/b/tsconfig.json WatchType: Wild card directory +Before checking timeout queue length (0) and running +//// [/user/username/rootfolder/otherfolder/a/b/node_modules/.staging/@types/lodash-e56c4fe7/index.d.ts] + +// Stub for lodash +export = _; +export as namespace _; +declare var _: _.LoDashStatic; +declare namespace _ { + interface LoDashStatic { + someProp: string; + } + class SomeClass { + someMethod(): void; + } +} + + +PolledWatches:: +/user/username/rootfolder/otherfolder/a/node_modules: + {"pollingInterval":500} +/user/username/rootfolder/otherfolder/node_modules: + {"pollingInterval":500} +/user/username/rootfolder/otherfolder/a/b/node_modules/@types: + {"pollingInterval":500} +/user/username/rootfolder/otherfolder/a/node_modules/@types: + {"pollingInterval":500} +/user/username/rootfolder/otherfolder/node_modules/@types: + {"pollingInterval":500} + +FsWatches:: +/user/username/rootfolder/otherfolder/a/b/tsconfig.json: + {} +/a/lib/lib.d.ts: + {} + +FsWatchesRecursive:: +/user/username/rootfolder/otherfolder/a/b: + {} +/user/username/rootfolder/otherfolder/a/b/node_modules: + {} + +After checking timeout queue length (0) and running + +PolledWatches:: +/user/username/rootfolder/otherfolder/a/node_modules: + {"pollingInterval":500} +/user/username/rootfolder/otherfolder/node_modules: + {"pollingInterval":500} +/user/username/rootfolder/otherfolder/a/b/node_modules/@types: + {"pollingInterval":500} +/user/username/rootfolder/otherfolder/a/node_modules/@types: + {"pollingInterval":500} +/user/username/rootfolder/otherfolder/node_modules/@types: + {"pollingInterval":500} + +FsWatches:: +/user/username/rootfolder/otherfolder/a/b/tsconfig.json: + {} +/a/lib/lib.d.ts: + {} + +FsWatchesRecursive:: +/user/username/rootfolder/otherfolder/a/b: + {} +/user/username/rootfolder/otherfolder/a/b/node_modules: + {} + Info 194 [16:05:35.000] DirectoryWatcher:: Triggered with /user/username/rootfolder/otherfolder/a/b/node_modules/.staging/rxjs-22375c61/src/scheduler :: WatchInfo: /user/username/rootfolder/otherfolder/a/b/node_modules 1 undefined Project: /user/username/rootfolder/otherfolder/a/b/tsconfig.json WatchType: Failed Lookup Locations Info 195 [16:05:36.000] Elapsed:: *ms DirectoryWatcher:: Triggered with /user/username/rootfolder/otherfolder/a/b/node_modules/.staging/rxjs-22375c61/src/scheduler :: WatchInfo: /user/username/rootfolder/otherfolder/a/b/node_modules 1 undefined Project: /user/username/rootfolder/otherfolder/a/b/tsconfig.json WatchType: Failed Lookup Locations Info 196 [16:05:37.000] DirectoryWatcher:: Triggered with /user/username/rootfolder/otherfolder/a/b/node_modules/.staging/rxjs-22375c61/src/scheduler :: WatchInfo: /user/username/rootfolder/otherfolder/a/b 1 undefined Config: /user/username/rootfolder/otherfolder/a/b/tsconfig.json WatchType: Wild card directory @@ -254,6 +976,289 @@ Info 215 [16:06:04.000] Elapsed:: *ms DirectoryWatcher:: Triggered with /user/u Info 216 [16:06:05.000] DirectoryWatcher:: Triggered with /user/username/rootfolder/otherfolder/a/b/node_modules/.staging/rxjs-22375c61/package.json.2252192041 :: WatchInfo: /user/username/rootfolder/otherfolder/a/b 1 undefined Config: /user/username/rootfolder/otherfolder/a/b/tsconfig.json WatchType: Wild card directory Info 217 [16:06:06.000] Project: /user/username/rootfolder/otherfolder/a/b/tsconfig.json Detected ignored path: /user/username/rootfolder/otherfolder/a/b/node_modules/.staging/rxjs-22375c61/package.json.2252192041 Info 218 [16:06:07.000] Elapsed:: *ms DirectoryWatcher:: Triggered with /user/username/rootfolder/otherfolder/a/b/node_modules/.staging/rxjs-22375c61/package.json.2252192041 :: WatchInfo: /user/username/rootfolder/otherfolder/a/b 1 undefined Config: /user/username/rootfolder/otherfolder/a/b/tsconfig.json WatchType: Wild card directory +Before checking timeout queue length (0) and running +//// [/user/username/rootfolder/otherfolder/a/b/node_modules/.staging/rxjs-22375c61/package.json.2252192041] +{ + "_args": [ + [ + { + "raw": "rxjs@^5.4.2", + "scope": null, + "escapedName": "rxjs", + "name": "rxjs", + "rawSpec": "^5.4.2", + "spec": ">=5.4.2 <6.0.0", + "type": "range" + }, + "C:\\Users\\shkamat\\Desktop\\app" + ] + ], + "_from": "rxjs@>=5.4.2 <6.0.0", + "_id": "rxjs@5.4.3", + "_inCache": true, + "_location": "/rxjs", + "_nodeVersion": "7.7.2", + "_npmOperationalInternal": { + "host": "s3://npm-registry-packages", + "tmp": "tmp/rxjs-5.4.3.tgz_1502407898166_0.6800217325799167" + }, + "_npmUser": { + "name": "blesh", + "email": "ben@benlesh.com" + }, + "_npmVersion": "5.3.0", + "_phantomChildren": {}, + "_requested": { + "raw": "rxjs@^5.4.2", + "scope": null, + "escapedName": "rxjs", + "name": "rxjs", + "rawSpec": "^5.4.2", + "spec": ">=5.4.2 <6.0.0", + "type": "range" + }, + "_requiredBy": [ + "/" + ], + "_resolved": "https://registry.npmjs.org/rxjs/-/rxjs-5.4.3.tgz", + "_shasum": "0758cddee6033d68e0fd53676f0f3596ce3d483f", + "_shrinkwrap": null, + "_spec": "rxjs@^5.4.2", + "_where": "C:\\Users\\shkamat\\Desktop\\app", + "author": { + "name": "Ben Lesh", + "email": "ben@benlesh.com" + }, + "bugs": { + "url": "https://github.com/ReactiveX/RxJS/issues" + }, + "config": { + "commitizen": { + "path": "cz-conventional-changelog" + } + }, + "contributors": [ + { + "name": "Ben Lesh", + "email": "ben@benlesh.com" + }, + { + "name": "Paul Taylor", + "email": "paul.e.taylor@me.com" + }, + { + "name": "Jeff Cross", + "email": "crossj@google.com" + }, + { + "name": "Matthew Podwysocki", + "email": "matthewp@microsoft.com" + }, + { + "name": "OJ Kwon", + "email": "kwon.ohjoong@gmail.com" + }, + { + "name": "Andre Staltz", + "email": "andre@staltz.com" + } + ], + "dependencies": { + "symbol-observable": "^1.0.1" + }, + "description": "Reactive Extensions for modern JavaScript", + "devDependencies": { + "babel-polyfill": "^6.23.0", + "benchmark": "^2.1.0", + "benchpress": "2.0.0-beta.1", + "chai": "^3.5.0", + "color": "^0.11.1", + "colors": "1.1.2", + "commitizen": "^2.8.6", + "coveralls": "^2.11.13", + "cz-conventional-changelog": "^1.2.0", + "danger": "^1.1.0", + "doctoc": "^1.0.0", + "escape-string-regexp": "^1.0.5 ", + "esdoc": "^0.4.7", + "eslint": "^3.8.0", + "fs-extra": "^2.1.2", + "get-folder-size": "^1.0.0", + "glob": "^7.0.3", + "gm": "^1.22.0", + "google-closure-compiler-js": "^20170218.0.0", + "gzip-size": "^3.0.0", + "http-server": "^0.9.0", + "husky": "^0.13.3", + "lint-staged": "3.2.5", + "lodash": "^4.15.0", + "madge": "^1.4.3", + "markdown-doctest": "^0.9.1", + "minimist": "^1.2.0", + "mkdirp": "^0.5.1", + "mocha": "^3.0.2", + "mocha-in-sauce": "0.0.1", + "npm-run-all": "^4.0.2", + "npm-scripts-info": "^0.3.4", + "nyc": "^10.2.0", + "opn-cli": "^3.1.0", + "platform": "^1.3.1", + "promise": "^7.1.1", + "protractor": "^3.1.1", + "rollup": "0.36.3", + "rollup-plugin-inject": "^2.0.0", + "rollup-plugin-node-resolve": "^2.0.0", + "rx": "latest", + "rxjs": "latest", + "shx": "^0.2.2", + "sinon": "^2.1.0", + "sinon-chai": "^2.9.0", + "source-map-support": "^0.4.0", + "tslib": "^1.5.0", + "eslint": "^5.16.0", + "typescript": "~2.0.6", + "typings": "^2.0.0", + "validate-commit-msg": "^2.14.0", + "watch": "^1.0.1", + "webpack": "^1.13.1", + "xmlhttprequest": "1.8.0" + }, + "directories": {}, + "dist": { + "integrity": "sha512-fSNi+y+P9ss+EZuV0GcIIqPUK07DEaMRUtLJvdcvMyFjc9dizuDjere+A4V7JrLGnm9iCc+nagV/4QdMTkqC4A==", + "shasum": "0758cddee6033d68e0fd53676f0f3596ce3d483f", + "tarball": "https://registry.npmjs.org/rxjs/-/rxjs-5.4.3.tgz" + }, + "engines": { + "npm": ">=2.0.0" + }, + "homepage": "https://github.com/ReactiveX/RxJS", + "keywords": [ + "Rx", + "RxJS", + "ReactiveX", + "ReactiveExtensions", + "Streams", + "Observables", + "Observable", + "Stream", + "ES6", + "ES2015" + ], + "license": "Apache-2.0", + "lint-staged": { + "*.@(js)": [ + "eslint --fix", + "git add" + ], + "*.@(ts)": [ + "eslint -c .eslintrc --ext .ts . --fix", + "git add" + ] + }, + "main": "Rx.js", + "maintainers": [ + { + "name": "blesh", + "email": "ben@benlesh.com" + } + ], + "name": "rxjs", + "optionalDependencies": {}, + "readme": "ERROR: No README data found!", + "repository": { + "type": "git", + "url": "git+ssh://git@github.com/ReactiveX/RxJS.git" + }, + "scripts-info": { + "info": "List available script", + "build_all": "Build all packages (ES6, CJS, UMD) and generate packages", + "build_cjs": "Build CJS package with clean up existing build, copy source into dist", + "build_es6": "Build ES6 package with clean up existing build, copy source into dist", + "build_closure_core": "Minify Global core build using closure compiler", + "build_global": "Build Global package, then minify build", + "build_perf": "Build CJS & Global build, run macro performance test", + "build_test": "Build CJS package & test spec, execute mocha test runner", + "build_cover": "Run lint to current code, build CJS & test spec, execute test coverage", + "build_docs": "Build ES6 & global package, create documentation using it", + "build_spec": "Build test specs", + "check_circular_dependencies": "Check codebase has circular dependencies", + "clean_spec": "Clean up existing test spec build output", + "clean_dist_cjs": "Clean up existing CJS package output", + "clean_dist_es6": "Clean up existing ES6 package output", + "clean_dist_global": "Clean up existing Global package output", + "commit": "Run git commit wizard", + "compile_dist_cjs": "Compile codebase into CJS module", + "compile_module_es6": "Compile codebase into ES6", + "cover": "Execute test coverage", + "lint_perf": "Run lint against performance test suite", + "lint_spec": "Run lint against test spec", + "lint_src": "Run lint against source", + "lint": "Run lint against everything", + "perf": "Run macro performance benchmark", + "perf_micro": "Run micro performance benchmark", + "test_mocha": "Execute mocha test runner against existing test spec build", + "test_browser": "Execute mocha test runner on browser against existing test spec build", + "test": "Clean up existing test spec build, build test spec and execute mocha test runner", + "tests2png": "Generate marble diagram image from test spec", + "watch": "Watch codebase, trigger compile when source code changes" + }, + "typings": "Rx.d.ts", + "version": "5.4.3" +} + + + +PolledWatches:: +/user/username/rootfolder/otherfolder/a/node_modules: + {"pollingInterval":500} +/user/username/rootfolder/otherfolder/node_modules: + {"pollingInterval":500} +/user/username/rootfolder/otherfolder/a/b/node_modules/@types: + {"pollingInterval":500} +/user/username/rootfolder/otherfolder/a/node_modules/@types: + {"pollingInterval":500} +/user/username/rootfolder/otherfolder/node_modules/@types: + {"pollingInterval":500} + +FsWatches:: +/user/username/rootfolder/otherfolder/a/b/tsconfig.json: + {} +/a/lib/lib.d.ts: + {} + +FsWatchesRecursive:: +/user/username/rootfolder/otherfolder/a/b: + {} +/user/username/rootfolder/otherfolder/a/b/node_modules: + {} + +After checking timeout queue length (0) and running + +PolledWatches:: +/user/username/rootfolder/otherfolder/a/node_modules: + {"pollingInterval":500} +/user/username/rootfolder/otherfolder/node_modules: + {"pollingInterval":500} +/user/username/rootfolder/otherfolder/a/b/node_modules/@types: + {"pollingInterval":500} +/user/username/rootfolder/otherfolder/a/node_modules/@types: + {"pollingInterval":500} +/user/username/rootfolder/otherfolder/node_modules/@types: + {"pollingInterval":500} + +FsWatches:: +/user/username/rootfolder/otherfolder/a/b/tsconfig.json: + {} +/a/lib/lib.d.ts: + {} + +FsWatchesRecursive:: +/user/username/rootfolder/otherfolder/a/b: + {} +/user/username/rootfolder/otherfolder/a/b/node_modules: + {} + Info 219 [16:06:09.000] DirectoryWatcher:: Triggered with /user/username/rootfolder/otherfolder/a/b/node_modules/.staging/rxjs-22375c61/package.json.2252192041 :: WatchInfo: /user/username/rootfolder/otherfolder/a/b/node_modules 1 undefined Project: /user/username/rootfolder/otherfolder/a/b/tsconfig.json WatchType: Failed Lookup Locations Info 220 [16:06:10.000] Elapsed:: *ms DirectoryWatcher:: Triggered with /user/username/rootfolder/otherfolder/a/b/node_modules/.staging/rxjs-22375c61/package.json.2252192041 :: WatchInfo: /user/username/rootfolder/otherfolder/a/b/node_modules 1 undefined Project: /user/username/rootfolder/otherfolder/a/b/tsconfig.json WatchType: Failed Lookup Locations Info 221 [16:06:11.000] DirectoryWatcher:: Triggered with /user/username/rootfolder/otherfolder/a/b/node_modules/.staging/rxjs-22375c61/package.json.2252192041 :: WatchInfo: /user/username/rootfolder/otherfolder/a/b 1 undefined Config: /user/username/rootfolder/otherfolder/a/b/tsconfig.json WatchType: Wild card directory @@ -321,9 +1326,88 @@ Info 282 [16:07:36.000] Elapsed:: *ms DirectoryWatcher:: Triggered with /user/u Info 283 [16:07:37.000] DirectoryWatcher:: Triggered with /user/username/rootfolder/otherfolder/a/b/node_modules/.bin :: WatchInfo: /user/username/rootfolder/otherfolder/a/b 1 undefined Config: /user/username/rootfolder/otherfolder/a/b/tsconfig.json WatchType: Wild card directory Info 284 [16:07:38.000] Project: /user/username/rootfolder/otherfolder/a/b/tsconfig.json Detected ignored path: /user/username/rootfolder/otherfolder/a/b/node_modules/.bin Info 285 [16:07:39.000] Elapsed:: *ms DirectoryWatcher:: Triggered with /user/username/rootfolder/otherfolder/a/b/node_modules/.bin :: WatchInfo: /user/username/rootfolder/otherfolder/a/b 1 undefined Config: /user/username/rootfolder/otherfolder/a/b/tsconfig.json WatchType: Wild card directory +Before checking timeout queue length (3) and running +//// [/user/username/rootfolder/otherfolder/a/b/node_modules/.staging/rxjs-22375c61/package.json.2252192041] deleted + +PolledWatches:: +/user/username/rootfolder/otherfolder/a/node_modules: + {"pollingInterval":500} +/user/username/rootfolder/otherfolder/node_modules: + {"pollingInterval":500} +/user/username/rootfolder/otherfolder/a/node_modules/@types: + {"pollingInterval":500} +/user/username/rootfolder/otherfolder/node_modules/@types: + {"pollingInterval":500} + +FsWatches:: +/user/username/rootfolder/otherfolder/a/b/tsconfig.json: + {} +/a/lib/lib.d.ts: + {} + +FsWatchesRecursive:: +/user/username/rootfolder/otherfolder/a/b: + {} +/user/username/rootfolder/otherfolder/a/b/node_modules: + {} +/user/username/rootfolder/otherfolder/a/b/node_modules/@types: + {} + Info 286 [16:07:40.000] Running: /user/username/rootfolder/otherfolder/a/b/tsconfig.jsonFailedLookupInvalidation Info 287 [16:07:41.000] Scheduled: /user/username/rootfolder/otherfolder/a/b/tsconfig.json, Cancelled earlier one Info 288 [16:07:42.000] Scheduled: *ensureProjectForOpenFiles*, Cancelled earlier one +After checking timeout queue length (3) and running + +PolledWatches:: +/user/username/rootfolder/otherfolder/a/node_modules: + {"pollingInterval":500} +/user/username/rootfolder/otherfolder/node_modules: + {"pollingInterval":500} +/user/username/rootfolder/otherfolder/a/node_modules/@types: + {"pollingInterval":500} +/user/username/rootfolder/otherfolder/node_modules/@types: + {"pollingInterval":500} + +FsWatches:: +/user/username/rootfolder/otherfolder/a/b/tsconfig.json: + {} +/a/lib/lib.d.ts: + {} + +FsWatchesRecursive:: +/user/username/rootfolder/otherfolder/a/b: + {} +/user/username/rootfolder/otherfolder/a/b/node_modules: + {} +/user/username/rootfolder/otherfolder/a/b/node_modules/@types: + {} + +Before running timeout callbacks + +PolledWatches:: +/user/username/rootfolder/otherfolder/a/node_modules: + {"pollingInterval":500} +/user/username/rootfolder/otherfolder/node_modules: + {"pollingInterval":500} +/user/username/rootfolder/otherfolder/a/node_modules/@types: + {"pollingInterval":500} +/user/username/rootfolder/otherfolder/node_modules/@types: + {"pollingInterval":500} + +FsWatches:: +/user/username/rootfolder/otherfolder/a/b/tsconfig.json: + {} +/a/lib/lib.d.ts: + {} + +FsWatchesRecursive:: +/user/username/rootfolder/otherfolder/a/b: + {} +/user/username/rootfolder/otherfolder/a/b/node_modules: + {} +/user/username/rootfolder/otherfolder/a/b/node_modules/@types: + {} + Info 289 [16:07:43.000] Running: /user/username/rootfolder/otherfolder/a/b/tsconfig.json Info 290 [16:07:44.000] Starting updateGraphWorker: Project: /user/username/rootfolder/otherfolder/a/b/tsconfig.json Info 291 [16:07:45.000] Finishing updateGraphWorker: Project: /user/username/rootfolder/otherfolder/a/b/tsconfig.json Version: 3 structureChanged: true structureIsReused:: SafeModules Elapsed:: *ms @@ -345,6 +1429,32 @@ Info 296 [16:07:58.000] ----------------------------------------------- Info 296 [16:07:59.000] Open files: Info 296 [16:08:00.000] FileName: /user/username/rootfolder/otherfolder/a/b/app.ts ProjectRootPath: undefined Info 296 [16:08:01.000] Projects: /user/username/rootfolder/otherfolder/a/b/tsconfig.json +After running timeout callbacks + +PolledWatches:: +/user/username/rootfolder/otherfolder/a/node_modules: + {"pollingInterval":500} +/user/username/rootfolder/otherfolder/node_modules: + {"pollingInterval":500} +/user/username/rootfolder/otherfolder/a/node_modules/@types: + {"pollingInterval":500} +/user/username/rootfolder/otherfolder/node_modules/@types: + {"pollingInterval":500} + +FsWatches:: +/user/username/rootfolder/otherfolder/a/b/tsconfig.json: + {} +/a/lib/lib.d.ts: + {} + +FsWatchesRecursive:: +/user/username/rootfolder/otherfolder/a/b: + {} +/user/username/rootfolder/otherfolder/a/b/node_modules: + {} +/user/username/rootfolder/otherfolder/a/b/node_modules/@types: + {} + Info 296 [16:08:03.000] DirectoryWatcher:: Triggered with /user/username/rootfolder/otherfolder/a/b/node_modules/.staging/@types/lodash-e56c4fe7/index.d.ts :: WatchInfo: /user/username/rootfolder/otherfolder/a/b/node_modules 1 undefined Project: /user/username/rootfolder/otherfolder/a/b/tsconfig.json WatchType: Failed Lookup Locations Info 297 [16:08:04.000] Elapsed:: *ms DirectoryWatcher:: Triggered with /user/username/rootfolder/otherfolder/a/b/node_modules/.staging/@types/lodash-e56c4fe7/index.d.ts :: WatchInfo: /user/username/rootfolder/otherfolder/a/b/node_modules 1 undefined Project: /user/username/rootfolder/otherfolder/a/b/tsconfig.json WatchType: Failed Lookup Locations Info 298 [16:08:05.000] DirectoryWatcher:: Triggered with /user/username/rootfolder/otherfolder/a/b/node_modules/.staging/@types/lodash-e56c4fe7/index.d.ts :: WatchInfo: /user/username/rootfolder/otherfolder/a/b 1 undefined Config: /user/username/rootfolder/otherfolder/a/b/tsconfig.json WatchType: Wild card directory @@ -665,9 +1775,504 @@ Info 612 [16:14:39.000] DirectoryWatcher:: Triggered with /user/username/rootfo Info 613 [16:14:40.000] Scheduled: /user/username/rootfolder/otherfolder/a/b/tsconfig.json, Cancelled earlier one Info 614 [16:14:41.000] Scheduled: *ensureProjectForOpenFiles*, Cancelled earlier one Info 615 [16:14:42.000] Elapsed:: *ms DirectoryWatcher:: Triggered with /user/username/rootfolder/otherfolder/a/b/node_modules/rxjs/testing :: WatchInfo: /user/username/rootfolder/otherfolder/a/b 1 undefined Config: /user/username/rootfolder/otherfolder/a/b/tsconfig.json WatchType: Wild card directory +Before checking timeout queue length (3) and running +//// [/user/username/rootfolder/otherfolder/a/b/node_modules/symbolle/package.json] +{ + "name": "symbol-observable", + "version": "1.0.4", + "description": "Symbol.observable ponyfill", + "license": "MIT", + "repository": "blesh/symbol-observable", + "author": { + "name": "Ben Lesh", + "email": "ben@benlesh.com" + }, + "engines": { + "node": ">=0.10.0" + }, + "scripts": { + "test": "npm run build && mocha && tsc ./ts-test/test.ts && node ./ts-test/test.js && check-es3-syntax -p lib/ --kill", + "build": "babel es --out-dir lib", + "prepublish": "npm test" + }, + "files": [ + " + +//// [/user/username/rootfolder/otherfolder/a/b/node_modules/lodash/package.json] +{ + "name": "lodash", + "version": "4.17.4", + "description": "Lodash modular utilities.", + "keywords": "modules, stdlib, util", + "homepage": "https://lodash.com/", + "repository": "lodash/lodash", + "icon": "https://lodash.com/icon.svg", + "license": "MIT", + "main": "lodash.js", + "author": "John-David Dalton (http://allyoucanleet.com/)", + "contributors": [ + "John-David Dalton (http://allyoucanleet.com/)", + "Mathias Bynens ", + "contributors": [ + { + "name": "Ben Lesh", + "email": "ben@benlesh.com" + }, + { + "name": "Paul Taylor", + "email": "paul.e.taylor@me.com" + }, + { + "name": "Jeff Cross", + "email": "crossj@google.com" + }, + { + "name": "Matthew Podwysocki", + "email": "matthewp@microsoft.com" + }, + { + "name": "OJ Kwon", + "email": "kwon.ohjoong@gmail.com" + }, + { + "name": "Andre Staltz", + "email": "andre@staltz.com" + } + ], + "license": "Apache-2.0", + "bugs": { + "url": "https://github.com/ReactiveX/RxJS/issues" + }, + "homepage": "https://github.com/ReactiveX/RxJS", + "devDependencies": { + "babel-polyfill": "^6.23.0", + "benchmark": "^2.1.0", + "benchpress": "2.0.0-beta.1", + "chai": "^3.5.0", + "color": "^0.11.1", + "colors": "1.1.2", + "commitizen": "^2.8.6", + "coveralls": "^2.11.13", + "cz-conventional-changelog": "^1.2.0", + "danger": "^1.1.0", + "doctoc": "^1.0.0", + "escape-string-regexp": "^1.0.5 ", + "esdoc": "^0.4.7", + "eslint": "^3.8.0", + "fs-extra": "^2.1.2", + "get-folder-size": "^1.0.0", + "glob": "^7.0.3", + "gm": "^1.22.0", + "google-closure-compiler-js": "^20170218.0.0", + "gzip-size": "^3.0.0", + "http-server": "^0.9.0", + "husky": "^0.13.3", + "lint-staged": "3.2.5", + "lodash": "^4.15.0", + "madge": "^1.4.3", + "markdown-doctest": "^0.9.1", + "minimist": "^1.2.0", + "mkdirp": "^0.5.1", + "mocha": "^3.0.2", + "mocha-in-sauce": "0.0.1", + "npm-run-all": "^4.0.2", + "npm-scripts-info": "^0.3.4", + "nyc": "^10.2.0", + "opn-cli": "^3.1.0", + "platform": "^1.3.1", + "promise": "^7.1.1", + "protractor": "^3.1.1", + "rollup": "0.36.3", + "rollup-plugin-inject": "^2.0.0", + "rollup-plugin-node-resolve": "^2.0.0", + "rx": "latest", + "rxjs": "latest", + "shx": "^0.2.2", + "sinon": "^2.1.0", + "sinon-chai": "^2.9.0", + "source-map-support": "^0.4.0", + "tslib": "^1.5.0", + "eslint": "^4.4.2", + "typescript": "~2.0.6", + "typings": "^2.0.0", + "validate-commit-msg": "^2.14.0", + "watch": "^1.0.1", + "webpack": "^1.13.1", + "xmlhttprequest": "1.8.0" + }, + "engines": { + "npm": ">=2.0.0" + }, + "typings": "Rx.d.ts", + "dependencies": { + "symbol-observable": "^1.0.1" + } +} + +//// [/user/username/rootfolder/otherfolder/a/b/node_modules/typescript/package.json] +{ + "name": "typescript", + "author": "Microsoft Corp.", + "homepage": "http://typescriptlang.org/", + "version": "2.4.2", + "license": "Apache-2.0", + "description": "TypeScript is a language for application scale JavaScript development", + "keywords": [ + "TypeScript", + "Microsoft", + "compiler", + "language", + "javascript" + ], + "bugs": { + "url": "https://github.com/Microsoft/TypeScript/issues" + }, + "repository": { + "type": "git", + "url": "https://github.com/Microsoft/TypeScript.git" + }, + "main": "./lib/typescript.js", + "typings": "./lib/typescript.d.ts", + "bin": { + "tsc": "./bin/tsc", + "tsserver": "./bin/tsserver" + }, + "engines": { + "node": ">=4.2.0" + }, + "devDependencies": { + "@types/browserify": "latest", + "@types/chai": "latest", + "@types/convert-source-map": "latest", + "@types/del": "latest", + "@types/glob": "latest", + "@types/gulp": "latest", + "@types/gulp-concat": "latest", + "@types/gulp-help": "latest", + "@types/gulp-newer": "latest", + "@types/gulp-sourcemaps": "latest", + "@types/merge2": "latest", + "@types/minimatch": "latest", + "@types/minimist": "latest", + "@types/mkdirp": "latest", + "@types/mocha": "latest", + "@types/node": "latest", + "@types/q": "latest", + "@types/run-sequence": "latest", + "@types/through2": "latest", + "browserify": "latest", + "chai": "latest", + "convert-source-map": "latest", + "del": "latest", + "gulp": "latest", + "gulp-clone": "latest", + "gulp-concat": "latest", + "gulp-help": "latest", + "gulp-insert": "latest", + "gulp-newer": "latest", + "gulp-sourcemaps": "latest", + "gulp-typescript": "latest", + "into-stream": "latest", + "istanbul": "latest", + "jake": "latest", + "merge2": "latest", + "minimist": "latest", + "mkdirp": "latest", + "mocha": "latest", + "mocha-fivemat-progress-reporter": "latest", + "q": "latest", + "run-sequence": "latest", + "sorcery": "latest", + "through2": "latest", + "travis-fold": "latest", + "ts-node": "latest", + "eslint": "5.16.0", + "typescript": "^2.4" + }, + "scripts": { + "pretest": "jake tests", + "test": "jake runtests-parallel", + "build": "npm run build:compiler && npm run build:tests", + "build:compiler": "jake local", + "build:tests": "jake tests", + "start": "node lib/tsc", + "clean": "jake clean", + "gulp": "gulp", + "jake": "jake", + "lint": "jake lint", + "setup-hooks": "node scripts/link-hooks.js" + }, + "browser": { + "buffer": false, + "fs": false, + "os": false, + "path": false + } +} + +//// [/user/username/rootfolder/otherfolder/a/b/node_modules/symbolle/index.js] +module.exports = require('./lib/index'); + + +//// [/user/username/rootfolder/otherfolder/a/b/node_modules/symbolle/index.d.ts] +declare const observableSymbol: symbol; +export default observableSymbol; + + +//// [/user/username/rootfolder/otherfolder/a/b/node_modules/symbolle/lib/index.js] +'use strict'; + +Object.defineProperty(exports, "__esModule", { + value: true +}); + +var _ponyfill = require('./ponyfill'); + +var _ponyfill2 = _interopRequireDefault(_ponyfill); + +function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { 'default': obj }; } + +var root; /* global window */ + + +if (typeof self !== 'undefined') { + root = self; +} else if (typeof window !== 'undefined') { + root = window; +} else if (typeof global !== 'undefined') { + root = global; +} else if (typeof module !== 'undefined') { + root = module; +} else { + root = Function('return this')(); +} + +var result = (0, _ponyfill2['default'])(root); +exports['default'] = result; + +//// [/user/username/rootfolder/otherfolder/a/b/node_modules/@types/lodash/package.json] +{ + "name": "@types/lodash", + "version": "4.14.74", + "description": "TypeScript definitions for Lo-Dash", + "license": "MIT", + "contributors": [ + { + "name": "Brian Zengel", + "url": "https://github.com/bczengel" + }, + { + "name": "Ilya Mochalov", + "url": "https://github.com/chrootsu" + }, + { + "name": "Stepan Mikhaylyuk", + "url": "https://github.com/stepancar" + }, + { + "name": "Eric L Anderson", + "url": "https://github.com/ericanderson" + }, + { + "name": "AJ Richardson", + "url": "https://github.com/aj-r" + }, + { + "name": "Junyoung Clare Jang", + "url": "https://github.com/ailrun" + } + ], + "main": "", + "repository": { + "type": "git", + "url": "https://www.github.com/DefinitelyTyped/DefinitelyTyped.git" + }, + "scripts": {}, + "dependencies": {}, + "typesPublisherContentHash": "12af578ffaf8d86d2df37e591857906a86b983fa9258414326544a0fe6af0de8", + "typeScriptVersion": "2.2" +} + +//// [/user/username/rootfolder/otherfolder/a/b/node_modules/lodash/index.js] +module.exports = require('./lodash'); + +//// [/user/username/rootfolder/otherfolder/a/b/node_modules/@types/lodash/index.d.ts] + +// Stub for lodash +export = _; +export as namespace _; +declare var _: _.LoDashStatic; +declare namespace _ { + interface LoDashStatic { + someProp: string; + } + class SomeClass { + someMethod(): void; + } +} + +//// [/user/username/rootfolder/otherfolder/a/b/node_modules/.staging/symbol-observable-24bcbbff/package.json] deleted +//// [/user/username/rootfolder/otherfolder/a/b/node_modules/.staging/lodash-b0733faa/package.json] deleted +//// [/user/username/rootfolder/otherfolder/a/b/node_modules/.staging/rxjs-22375c61/package.json] deleted +//// [/user/username/rootfolder/otherfolder/a/b/node_modules/.staging/typescript-8493ea5d/package.json] deleted +//// [/user/username/rootfolder/otherfolder/a/b/node_modules/.staging/symbol-observable-24bcbbff/index.js] deleted +//// [/user/username/rootfolder/otherfolder/a/b/node_modules/.staging/symbol-observable-24bcbbff/index.d.ts] deleted +//// [/user/username/rootfolder/otherfolder/a/b/node_modules/.staging/symbol-observable-24bcbbff/lib/index.js] deleted +//// [/user/username/rootfolder/otherfolder/a/b/node_modules/.staging/@types/lodash-e56c4fe7/package.json] deleted +//// [/user/username/rootfolder/otherfolder/a/b/node_modules/.staging/lodash-b0733faa/index.js] deleted +//// [/user/username/rootfolder/otherfolder/a/b/node_modules/.staging/@types/lodash-e56c4fe7/index.d.ts] deleted + +PolledWatches:: +/user/username/rootfolder/otherfolder/a/node_modules: + {"pollingInterval":500} +/user/username/rootfolder/otherfolder/node_modules: + {"pollingInterval":500} +/user/username/rootfolder/otherfolder/a/node_modules/@types: + {"pollingInterval":500} +/user/username/rootfolder/otherfolder/node_modules/@types: + {"pollingInterval":500} + +FsWatches:: +/user/username/rootfolder/otherfolder/a/b/tsconfig.json: + {} +/a/lib/lib.d.ts: + {} + +FsWatchesRecursive:: +/user/username/rootfolder/otherfolder/a/b: + {} +/user/username/rootfolder/otherfolder/a/b/node_modules: + {} +/user/username/rootfolder/otherfolder/a/b/node_modules/@types: + {} + Info 616 [16:14:43.000] Running: /user/username/rootfolder/otherfolder/a/b/tsconfig.jsonFailedLookupInvalidation Info 617 [16:14:44.000] Scheduled: /user/username/rootfolder/otherfolder/a/b/tsconfig.json, Cancelled earlier one Info 618 [16:14:45.000] Scheduled: *ensureProjectForOpenFiles*, Cancelled earlier one +After checking timeout queue length (3) and running + +PolledWatches:: +/user/username/rootfolder/otherfolder/a/node_modules: + {"pollingInterval":500} +/user/username/rootfolder/otherfolder/node_modules: + {"pollingInterval":500} +/user/username/rootfolder/otherfolder/a/node_modules/@types: + {"pollingInterval":500} +/user/username/rootfolder/otherfolder/node_modules/@types: + {"pollingInterval":500} + +FsWatches:: +/user/username/rootfolder/otherfolder/a/b/tsconfig.json: + {} +/a/lib/lib.d.ts: + {} + +FsWatchesRecursive:: +/user/username/rootfolder/otherfolder/a/b: + {} +/user/username/rootfolder/otherfolder/a/b/node_modules: + {} +/user/username/rootfolder/otherfolder/a/b/node_modules/@types: + {} + +Before running timeout callbacks + +PolledWatches:: +/user/username/rootfolder/otherfolder/a/node_modules: + {"pollingInterval":500} +/user/username/rootfolder/otherfolder/node_modules: + {"pollingInterval":500} +/user/username/rootfolder/otherfolder/a/node_modules/@types: + {"pollingInterval":500} +/user/username/rootfolder/otherfolder/node_modules/@types: + {"pollingInterval":500} + +FsWatches:: +/user/username/rootfolder/otherfolder/a/b/tsconfig.json: + {} +/a/lib/lib.d.ts: + {} + +FsWatchesRecursive:: +/user/username/rootfolder/otherfolder/a/b: + {} +/user/username/rootfolder/otherfolder/a/b/node_modules: + {} +/user/username/rootfolder/otherfolder/a/b/node_modules/@types: + {} + Info 619 [16:14:46.000] Running: /user/username/rootfolder/otherfolder/a/b/tsconfig.json Info 620 [16:14:47.000] Starting updateGraphWorker: Project: /user/username/rootfolder/otherfolder/a/b/tsconfig.json Info 621 [16:14:48.000] DirectoryWatcher:: Added:: WatchInfo: /user/username/rootfolder/otherfolder/a/b/node_modules 1 undefined WatchType: node_modules for closed script infos and package.jsons affecting module specifier cache @@ -711,4 +2316,29 @@ Info 636 [16:15:10.000] Files (3) Info 636 [16:15:11.000] ----------------------------------------------- Info 636 [16:15:12.000] Open files: Info 636 [16:15:13.000] FileName: /user/username/rootfolder/otherfolder/a/b/app.ts ProjectRootPath: undefined -Info 636 [16:15:14.000] Projects: /user/username/rootfolder/otherfolder/a/b/tsconfig.json \ No newline at end of file +Info 636 [16:15:14.000] Projects: /user/username/rootfolder/otherfolder/a/b/tsconfig.json +After running timeout callbacks + +PolledWatches:: +/user/username/rootfolder/otherfolder/a/node_modules/@types: + {"pollingInterval":500} +/user/username/rootfolder/otherfolder/node_modules/@types: + {"pollingInterval":500} + +FsWatches:: +/user/username/rootfolder/otherfolder/a/b/tsconfig.json: + {} +/a/lib/lib.d.ts: + {} +/user/username/rootfolder/otherfolder/a/b/node_modules/lodash/package.json: + {} +/user/username/rootfolder/otherfolder/a/b/node_modules/@types/lodash/package.json: + {} + +FsWatchesRecursive:: +/user/username/rootfolder/otherfolder/a/b: + {} +/user/username/rootfolder/otherfolder/a/b/node_modules: + {} +/user/username/rootfolder/otherfolder/a/b/node_modules/@types: + {} diff --git a/tests/baselines/reference/tsserver/cachingFileSystemInformation/watchDirectories-for-config-file-with-case-insensitive-file-system.js b/tests/baselines/reference/tsserver/cachingFileSystemInformation/watchDirectories-for-config-file-with-case-insensitive-file-system.js index 0f216134d562f..e1fdf30cf2d90 100644 --- a/tests/baselines/reference/tsserver/cachingFileSystemInformation/watchDirectories-for-config-file-with-case-insensitive-file-system.js +++ b/tests/baselines/reference/tsserver/cachingFileSystemInformation/watchDirectories-for-config-file-with-case-insensitive-file-system.js @@ -1,4 +1,34 @@ Info 0 [16:00:33.000] Provided types map file "/typesMap.json" doesn't exist +Creating project service +//// [/Users/someuser/work/applications/frontend/src/app/utils/Analytic.ts] +export class SomeClass { }; + +//// [/Users/someuser/work/applications/frontend/src/app/redux/configureStore.ts] +export class configureStore { } + +//// [/a/lib/lib.es2016.full.d.ts] +/// +interface Boolean {} +interface Function {} +interface CallableFunction {} +interface NewableFunction {} +interface IArguments {} +interface Number { toExponential: any; } +interface Object {} +interface RegExp {} +interface String { charAt: any; } +interface Array { length: number; [n: number]: T; } + +//// [/Users/someuser/work/applications/frontend/tsconfig.json] +{"compilerOptions":{"strict":true,"strictNullChecks":true,"target":"es2016","module":"commonjs","moduleResolution":"node","sourceMap":true,"noEmitOnError":true,"experimentalDecorators":true,"emitDecoratorMetadata":true,"types":["node","jest"],"noUnusedLocals":true,"outDir":"./compiled","typeRoots":["types","node_modules/@types"],"baseUrl":".","paths":{"*":["types/*"]}},"include":["src/**/*"],"exclude":["node_modules","compiled"]} + + +PolledWatches:: + +FsWatches:: + +FsWatchesRecursive:: + Info 1 [16:00:34.000] Search path: /Users/someuser/work/applications/frontend/src/app/utils Info 2 [16:00:35.000] For info: /Users/someuser/work/applications/frontend/src/app/utils/Analytic.ts :: Config file name: /Users/someuser/work/applications/frontend/tsconfig.json Info 3 [16:00:36.000] Creating configuration project /Users/someuser/work/applications/frontend/tsconfig.json @@ -77,6 +107,31 @@ Info 22 [16:01:03.000] DirectoryWatcher:: Triggered with /users/someuser/work/ Info 23 [16:01:04.000] Scheduled: /Users/someuser/work/applications/frontend/tsconfig.json Info 24 [16:01:05.000] Scheduled: *ensureProjectForOpenFiles* Info 25 [16:01:06.000] Elapsed:: *ms DirectoryWatcher:: Triggered with /users/someuser/work/applications/frontend/src/app/utils/Cookie.ts :: WatchInfo: /users/someuser/work/applications/frontend/src 1 undefined Config: /Users/someuser/work/applications/frontend/tsconfig.json WatchType: Wild card directory +Before running timeout callbacks +//// [/Users/someuser/work/applications/frontend/src/app/utils/Cookie.ts] +export class Cookie { } + + +PolledWatches:: +/users/someuser/work/applications/frontend/types: + {"pollingInterval":500} +/users/someuser/work/applications/frontend/node_modules: + {"pollingInterval":500} +/users/someuser/work/applications/node_modules: + {"pollingInterval":500} + +FsWatches:: +/users/someuser/work/applications/frontend/tsconfig.json: + {} +/users/someuser/work/applications/frontend/src/app/redux/configurestore.ts: + {} +/a/lib/lib.es2016.full.d.ts: + {} + +FsWatchesRecursive:: +/users/someuser/work/applications/frontend/src: + {} + Info 26 [16:01:07.000] Running: /Users/someuser/work/applications/frontend/tsconfig.json Info 27 [16:01:08.000] FileWatcher:: Added:: WatchInfo: /Users/someuser/work/applications/frontend/src/app/utils/Cookie.ts 500 undefined WatchType: Closed Script info Info 28 [16:01:09.000] Starting updateGraphWorker: Project: /Users/someuser/work/applications/frontend/tsconfig.json @@ -116,6 +171,30 @@ Info 36 [16:01:25.000] ----------------------------------------------- Info 36 [16:01:26.000] Open files: Info 36 [16:01:27.000] FileName: /Users/someuser/work/applications/frontend/src/app/utils/Analytic.ts ProjectRootPath: undefined Info 36 [16:01:28.000] Projects: /Users/someuser/work/applications/frontend/tsconfig.json +After running timeout callbacks + +PolledWatches:: +/users/someuser/work/applications/frontend/types: + {"pollingInterval":500} +/users/someuser/work/applications/frontend/node_modules: + {"pollingInterval":500} +/users/someuser/work/applications/node_modules: + {"pollingInterval":500} + +FsWatches:: +/users/someuser/work/applications/frontend/tsconfig.json: + {} +/users/someuser/work/applications/frontend/src/app/redux/configurestore.ts: + {} +/a/lib/lib.es2016.full.d.ts: + {} +/users/someuser/work/applications/frontend/src/app/utils/cookie.ts: + {} + +FsWatchesRecursive:: +/users/someuser/work/applications/frontend/src: + {} + Info 36 [16:01:29.000] fileExists:: [{"key":"/users/someuser/work/applications/frontend/src/app/utils/cookie.ts","count":1},{"key":"/Users/someuser/work/applications/frontend/src/app/utils/Cookie.ts","count":1}] Info 37 [16:01:30.000] directoryExists:: [{"key":"/users/someuser/work/applications/frontend/src/app/utils/cookie.ts","count":1}] Info 38 [16:01:31.000] getDirectories:: [] diff --git a/tests/baselines/reference/tsserver/cachingFileSystemInformation/watchDirectories-for-config-file-with-case-sensitive-file-system.js b/tests/baselines/reference/tsserver/cachingFileSystemInformation/watchDirectories-for-config-file-with-case-sensitive-file-system.js index 6240cc7ac5e60..8b0d7c76c3f5e 100644 --- a/tests/baselines/reference/tsserver/cachingFileSystemInformation/watchDirectories-for-config-file-with-case-sensitive-file-system.js +++ b/tests/baselines/reference/tsserver/cachingFileSystemInformation/watchDirectories-for-config-file-with-case-sensitive-file-system.js @@ -1,4 +1,34 @@ Info 0 [16:00:33.000] Provided types map file "/typesMap.json" doesn't exist +Creating project service +//// [/Users/someuser/work/applications/frontend/src/app/utils/Analytic.ts] +export class SomeClass { }; + +//// [/Users/someuser/work/applications/frontend/src/app/redux/configureStore.ts] +export class configureStore { } + +//// [/a/lib/lib.es2016.full.d.ts] +/// +interface Boolean {} +interface Function {} +interface CallableFunction {} +interface NewableFunction {} +interface IArguments {} +interface Number { toExponential: any; } +interface Object {} +interface RegExp {} +interface String { charAt: any; } +interface Array { length: number; [n: number]: T; } + +//// [/Users/someuser/work/applications/frontend/tsconfig.json] +{"compilerOptions":{"strict":true,"strictNullChecks":true,"target":"es2016","module":"commonjs","moduleResolution":"node","sourceMap":true,"noEmitOnError":true,"experimentalDecorators":true,"emitDecoratorMetadata":true,"types":["node","jest"],"noUnusedLocals":true,"outDir":"./compiled","typeRoots":["types","node_modules/@types"],"baseUrl":".","paths":{"*":["types/*"]}},"include":["src/**/*"],"exclude":["node_modules","compiled"]} + + +PolledWatches:: + +FsWatches:: + +FsWatchesRecursive:: + Info 1 [16:00:34.000] Search path: /Users/someuser/work/applications/frontend/src/app/utils Info 2 [16:00:35.000] For info: /Users/someuser/work/applications/frontend/src/app/utils/Analytic.ts :: Config file name: /Users/someuser/work/applications/frontend/tsconfig.json Info 3 [16:00:36.000] Creating configuration project /Users/someuser/work/applications/frontend/tsconfig.json @@ -77,6 +107,31 @@ Info 22 [16:01:03.000] DirectoryWatcher:: Triggered with /Users/someuser/work/ Info 23 [16:01:04.000] Scheduled: /Users/someuser/work/applications/frontend/tsconfig.json Info 24 [16:01:05.000] Scheduled: *ensureProjectForOpenFiles* Info 25 [16:01:06.000] Elapsed:: *ms DirectoryWatcher:: Triggered with /Users/someuser/work/applications/frontend/src/app/utils/Cookie.ts :: WatchInfo: /Users/someuser/work/applications/frontend/src 1 undefined Config: /Users/someuser/work/applications/frontend/tsconfig.json WatchType: Wild card directory +Before running timeout callbacks +//// [/Users/someuser/work/applications/frontend/src/app/utils/Cookie.ts] +export class Cookie { } + + +PolledWatches:: +/Users/someuser/work/applications/frontend/types: + {"pollingInterval":500} +/Users/someuser/work/applications/frontend/node_modules: + {"pollingInterval":500} +/Users/someuser/work/applications/node_modules: + {"pollingInterval":500} + +FsWatches:: +/Users/someuser/work/applications/frontend/tsconfig.json: + {} +/Users/someuser/work/applications/frontend/src/app/redux/configureStore.ts: + {} +/a/lib/lib.es2016.full.d.ts: + {} + +FsWatchesRecursive:: +/Users/someuser/work/applications/frontend/src: + {} + Info 26 [16:01:07.000] Running: /Users/someuser/work/applications/frontend/tsconfig.json Info 27 [16:01:08.000] FileWatcher:: Added:: WatchInfo: /Users/someuser/work/applications/frontend/src/app/utils/Cookie.ts 500 undefined WatchType: Closed Script info Info 28 [16:01:09.000] Starting updateGraphWorker: Project: /Users/someuser/work/applications/frontend/tsconfig.json @@ -116,6 +171,30 @@ Info 36 [16:01:25.000] ----------------------------------------------- Info 36 [16:01:26.000] Open files: Info 36 [16:01:27.000] FileName: /Users/someuser/work/applications/frontend/src/app/utils/Analytic.ts ProjectRootPath: undefined Info 36 [16:01:28.000] Projects: /Users/someuser/work/applications/frontend/tsconfig.json +After running timeout callbacks + +PolledWatches:: +/Users/someuser/work/applications/frontend/types: + {"pollingInterval":500} +/Users/someuser/work/applications/frontend/node_modules: + {"pollingInterval":500} +/Users/someuser/work/applications/node_modules: + {"pollingInterval":500} + +FsWatches:: +/Users/someuser/work/applications/frontend/tsconfig.json: + {} +/Users/someuser/work/applications/frontend/src/app/redux/configureStore.ts: + {} +/a/lib/lib.es2016.full.d.ts: + {} +/Users/someuser/work/applications/frontend/src/app/utils/Cookie.ts: + {} + +FsWatchesRecursive:: +/Users/someuser/work/applications/frontend/src: + {} + Info 36 [16:01:29.000] fileExists:: [{"key":"/Users/someuser/work/applications/frontend/src/app/utils/Cookie.ts","count":2}] Info 37 [16:01:30.000] directoryExists:: [{"key":"/Users/someuser/work/applications/frontend/src/app/utils/Cookie.ts","count":1}] Info 38 [16:01:31.000] getDirectories:: [] 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 39ccadd19d3a8..6bef4381945d9 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 @@ -8,6 +8,7 @@ Info 1 [16:00:24.000] request: "file": "/a/b/controllers/vessels/client.ts" } } +Before request //// [/a/b/controllers/vessels/client.ts] import { Vessel } from '~/models/vessel'; @@ -90,6 +91,7 @@ Info 20 [16:00:45.000] ----------------------------------------------- Info 20 [16:00:46.000] Open files: Info 20 [16:00:47.000] FileName: /a/b/controllers/vessels/client.ts ProjectRootPath: undefined Info 20 [16:00:48.000] Projects: /a/b/tsconfig.json +After request PolledWatches:: /a/lib/lib.es6.d.ts: @@ -123,6 +125,7 @@ Info 21 [16:00:50.000] request: "position": 54 } } +Before request PolledWatches:: /a/lib/lib.es6.d.ts: @@ -142,6 +145,7 @@ FsWatchesRecursive:: /a/b: {} +After request PolledWatches:: /a/lib/lib.es6.d.ts: @@ -192,6 +196,7 @@ Info 28 [16:00:57.000] request: "file": "/a/b/models/vessel.ts" } } +Before request PolledWatches:: /a/lib/lib.es6.d.ts: @@ -223,6 +228,7 @@ Info 32 [16:01:05.000] FileName: /a/b/controllers/vessels/client.ts ProjectRo Info 32 [16:01:06.000] Projects: /a/b/tsconfig.json Info 32 [16:01:07.000] FileName: /a/b/models/vessel.ts ProjectRootPath: undefined Info 32 [16:01:08.000] Projects: /a/b/tsconfig.json +After request PolledWatches:: /a/lib/lib.es6.d.ts: diff --git a/tests/baselines/reference/tsserver/cachingFileSystemInformation/works-using-legacy-resolution-logic.js b/tests/baselines/reference/tsserver/cachingFileSystemInformation/works-using-legacy-resolution-logic.js index 6b3a229768e9d..f4363a6862eb2 100644 --- a/tests/baselines/reference/tsserver/cachingFileSystemInformation/works-using-legacy-resolution-logic.js +++ b/tests/baselines/reference/tsserver/cachingFileSystemInformation/works-using-legacy-resolution-logic.js @@ -1,4 +1,18 @@ Info 0 [16:00:11.000] Provided types map file "/typesMap.json" doesn't exist +Creating project service +//// [/c/d/f0.ts] +import {x} from "f1" + +//// [/c/f1.ts] +foo() + + +PolledWatches:: + +FsWatches:: + +FsWatchesRecursive:: + Info 1 [16:00:12.000] Search path: /c/d Info 2 [16:00:13.000] For info: /c/d/f0.ts :: No config files found. Info 3 [16:00:14.000] Plugins were requested but not running in environment that supports 'require'. Nothing will be loaded 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 0a548f895b812..3bf144e306c6d 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 @@ -1,4 +1,34 @@ Info 0 [16:00:23.000] Provided types map file "/typesMap.json" doesn't exist +Creating project service +//// [/a/b/projects/project/src/file1.ts] + + +//// [/a/lib/lib.d.ts] +/// +interface Boolean {} +interface Function {} +interface CallableFunction {} +interface NewableFunction {} +interface IArguments {} +interface Number { toExponential: any; } +interface Object {} +interface RegExp {} +interface String { charAt: any; } +interface Array { length: number; [n: number]: T; } + +//// [/a/b/projects/project/src/tsconfig.json] +{} + +//// [/a/b/projects/tsconfig.json] +{} + + +PolledWatches:: + +FsWatches:: + +FsWatchesRecursive:: + Info 1 [16:00:24.000] Search path: /a/b/projects/project/src Info 2 [16:00:25.000] For info: /a/b/projects/project/src/file1.ts :: Config file name: /a/b/projects/project/src/tsconfig.json Info 3 [16:00:26.000] Creating configuration project /a/b/projects/project/src/tsconfig.json @@ -65,6 +95,17 @@ Info 31 [16:01:01.000] Search path: /a/b/projects/project/src Info 32 [16:01:02.000] For info: /a/b/projects/project/src/file1.ts :: No config files found. Info 33 [16:01:03.000] Scheduled: *ensureProjectForOpenFiles* Info 34 [16:01:04.000] Elapsed:: *ms FileWatcher:: Triggered with /a/b/projects/project/src/tsconfig.json 2:: WatchInfo: /a/b/projects/project/src/tsconfig.json 2000 undefined Project: /a/b/projects/project/src/tsconfig.json WatchType: Config file +Before running timeout callbacks +//// [/a/b/projects/project/src/tsconfig.json] deleted + +PolledWatches:: + +FsWatches:: +/a/lib/lib.d.ts: + {} + +FsWatchesRecursive:: + Info 35 [16:01:05.500] Running: *ensureProjectForOpenFiles* Info 36 [16:01:06.500] Before ensureProjectForOpenFiles: Info 37 [16:01:07.500] Open files: @@ -98,4 +139,23 @@ Info 50 [16:01:24.500] Files (2) Info 50 [16:01:25.500] ----------------------------------------------- Info 50 [16:01:26.500] Open files: Info 50 [16:01:27.500] FileName: /a/b/projects/project/src/file1.ts ProjectRootPath: /a/b/projects/project -Info 50 [16:01:28.500] Projects: /dev/null/inferredProject1* \ No newline at end of file +Info 50 [16:01:28.500] Projects: /dev/null/inferredProject1* +After running timeout callbacks + +PolledWatches:: +/a/b/projects/project/src/tsconfig.json: + {"pollingInterval":2000} +/a/b/projects/project/src/jsconfig.json: + {"pollingInterval":2000} +/a/b/projects/project/tsconfig.json: + {"pollingInterval":2000} +/a/b/projects/project/jsconfig.json: + {"pollingInterval":2000} +/a/b/projects/project/node_modules/@types: + {"pollingInterval":500} + +FsWatches:: +/a/lib/lib.d.ts: + {} + +FsWatchesRecursive:: 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 88e0186a7b80c..0b6bd1d7bbc4a 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 @@ -1,4 +1,34 @@ Info 0 [16:00:23.000] Provided types map file "/typesMap.json" doesn't exist +Creating project service +//// [/a/b/projects/project/src/file1.ts] + + +//// [/a/lib/lib.d.ts] +/// +interface Boolean {} +interface Function {} +interface CallableFunction {} +interface NewableFunction {} +interface IArguments {} +interface Number { toExponential: any; } +interface Object {} +interface RegExp {} +interface String { charAt: any; } +interface Array { length: number; [n: number]: T; } + +//// [/a/b/projects/project/src/tsconfig.json] +{} + +//// [/a/b/projects/tsconfig.json] +{} + + +PolledWatches:: + +FsWatches:: + +FsWatchesRecursive:: + Info 1 [16:00:24.000] Search path: /a/b/projects/project/src Info 2 [16:00:25.000] For info: /a/b/projects/project/src/file1.ts :: Config file name: /a/b/projects/project/src/tsconfig.json Info 3 [16:00:26.000] Creating configuration project /a/b/projects/project/src/tsconfig.json @@ -65,6 +95,17 @@ Info 31 [16:01:01.000] Search path: /a/b/projects/project/src Info 32 [16:01:02.000] For info: /a/b/projects/project/src/file1.ts :: No config files found. Info 33 [16:01:03.000] Scheduled: *ensureProjectForOpenFiles* Info 34 [16:01:04.000] Elapsed:: *ms FileWatcher:: Triggered with /a/b/projects/project/src/tsconfig.json 2:: WatchInfo: /a/b/projects/project/src/tsconfig.json 2000 undefined Project: /a/b/projects/project/src/tsconfig.json WatchType: Config file +Before running timeout callbacks +//// [/a/b/projects/project/src/tsconfig.json] deleted + +PolledWatches:: + +FsWatches:: +/a/lib/lib.d.ts: + {} + +FsWatchesRecursive:: + Info 35 [16:01:05.500] Running: *ensureProjectForOpenFiles* Info 36 [16:01:06.500] Before ensureProjectForOpenFiles: Info 37 [16:01:07.500] Open files: @@ -100,4 +141,25 @@ Info 52 [16:01:26.500] Files (2) Info 52 [16:01:27.500] ----------------------------------------------- Info 52 [16:01:28.500] Open files: Info 52 [16:01:29.500] FileName: /a/b/projects/project/src/file1.ts ProjectRootPath: /a/b/projects/project -Info 52 [16:01:30.500] Projects: /dev/null/inferredProject1* \ No newline at end of file +Info 52 [16:01:30.500] Projects: /dev/null/inferredProject1* +After running timeout callbacks + +PolledWatches:: +/a/b/projects/project/src/tsconfig.json: + {"pollingInterval":2000} +/a/b/projects/project/src/jsconfig.json: + {"pollingInterval":2000} +/a/b/projects/project/tsconfig.json: + {"pollingInterval":2000} +/a/b/projects/project/jsconfig.json: + {"pollingInterval":2000} +/a/b/projects/project/src/node_modules/@types: + {"pollingInterval":500} +/a/b/projects/project/node_modules/@types: + {"pollingInterval":500} + +FsWatches:: +/a/lib/lib.d.ts: + {} + +FsWatchesRecursive:: 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 0b0490d4af9cd..ea18c9a413071 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 @@ -1,4 +1,28 @@ Info 0 [16:00:19.000] Provided types map file "/typesMap.json" doesn't exist +Creating project service +//// [/a/b/projects/project/src/index.ts] +let y = 10 + +//// [/a/lib/lib.d.ts] +/// +interface Boolean {} +interface Function {} +interface CallableFunction {} +interface NewableFunction {} +interface IArguments {} +interface Number { toExponential: any; } +interface Object {} +interface RegExp {} +interface String { charAt: any; } +interface Array { length: number; [n: number]: T; } + + +PolledWatches:: + +FsWatches:: + +FsWatchesRecursive:: + Info 1 [16:00:20.000] Search path: /a/b/projects/project/src Info 2 [16:00:21.000] For info: /a/b/projects/project/src/index.ts :: No config files found. Info 3 [16:00:22.000] Plugins were requested but not running in environment that supports 'require'. Nothing will be loaded @@ -45,6 +69,31 @@ Info 27 [16:00:54.000] For info: /a/b/projects/project/src/index.ts :: Config Info 28 [16:00:55.000] Scheduled: /a/b/projects/project/tsconfig.json, Cancelled earlier one Info 29 [16:00:56.000] Scheduled: *ensureProjectForOpenFiles*, Cancelled earlier one Info 30 [16:00:57.000] Elapsed:: *ms FileWatcher:: Triggered with /a/b/projects/project/tsconfig.json 0:: WatchInfo: /a/b/projects/project/tsconfig.json 2000 undefined WatchType: Config file for the inferred project root +Before running timeout callbacks +//// [/a/b/projects/project/tsconfig.json] +{} + + +PolledWatches:: +/a/b/projects/project/src/tsconfig.json: + {"pollingInterval":2000} +/a/b/projects/project/src/jsconfig.json: + {"pollingInterval":2000} +/a/b/projects/project/jsconfig.json: + {"pollingInterval":2000} +/a/b/projects/project/src/node_modules/@types: + {"pollingInterval":500} +/a/b/projects/project/node_modules/@types: + {"pollingInterval":500} + +FsWatches:: +/a/lib/lib.d.ts: + {} +/a/b/projects/project/tsconfig.json: + {} + +FsWatchesRecursive:: + Info 31 [16:00:58.000] Running: /a/b/projects/project/tsconfig.json Info 32 [16:00:59.000] Loading configured project /a/b/projects/project/tsconfig.json Info 33 [16:01:00.000] Config: /a/b/projects/project/tsconfig.json : { @@ -110,6 +159,24 @@ Info 55 [16:01:36.000] ----------------------------------------------- Info 55 [16:01:37.000] Open files: Info 55 [16:01:38.000] FileName: /a/b/projects/project/src/index.ts ProjectRootPath: /a/b/projects/proj Info 55 [16:01:39.000] Projects: /a/b/projects/project/tsconfig.json +After running timeout callbacks + +PolledWatches:: +/a/b/projects/project/src/node_modules/@types: + {"pollingInterval":500} +/a/b/projects/project/node_modules/@types: + {"pollingInterval":500} + +FsWatches:: +/a/lib/lib.d.ts: + {} +/a/b/projects/project/tsconfig.json: + {} + +FsWatchesRecursive:: +/a/b/projects/project: + {} + Info 55 [16:01:41.000] FileWatcher:: Triggered with /a/b/projects/project/tsconfig.json 2:: WatchInfo: /a/b/projects/project/tsconfig.json 2000 undefined WatchType: Config file for the inferred project root Info 56 [16:01:42.000] `remove Project:: Info 57 [16:01:43.000] Project '/a/b/projects/project/tsconfig.json' (Configured) @@ -133,6 +200,21 @@ Info 65 [16:01:51.000] Search path: /a/b/projects/project/src Info 66 [16:01:52.000] For info: /a/b/projects/project/src/index.ts :: No config files found. Info 67 [16:01:53.000] Scheduled: *ensureProjectForOpenFiles* Info 68 [16:01:54.000] Elapsed:: *ms FileWatcher:: Triggered with /a/b/projects/project/tsconfig.json 2:: WatchInfo: /a/b/projects/project/tsconfig.json 2000 undefined WatchType: Config file for the inferred project root +Before running timeout callbacks +//// [/a/b/projects/project/tsconfig.json] deleted + +PolledWatches:: +/a/b/projects/project/src/node_modules/@types: + {"pollingInterval":500} +/a/b/projects/project/node_modules/@types: + {"pollingInterval":500} + +FsWatches:: +/a/lib/lib.d.ts: + {} + +FsWatchesRecursive:: + Info 69 [16:01:55.500] Running: *ensureProjectForOpenFiles* Info 70 [16:01:56.500] Before ensureProjectForOpenFiles: Info 71 [16:01:57.500] Project '/dev/null/inferredProject1*' (Inferred) @@ -167,4 +249,25 @@ Info 81 [16:02:14.500] Files (2) Info 81 [16:02:15.500] ----------------------------------------------- Info 81 [16:02:16.500] Open files: Info 81 [16:02:17.500] FileName: /a/b/projects/project/src/index.ts ProjectRootPath: /a/b/projects/proj -Info 81 [16:02:18.500] Projects: /dev/null/inferredProject1* \ No newline at end of file +Info 81 [16:02:18.500] Projects: /dev/null/inferredProject1* +After running timeout callbacks + +PolledWatches:: +/a/b/projects/project/src/node_modules/@types: + {"pollingInterval":500} +/a/b/projects/project/node_modules/@types: + {"pollingInterval":500} +/a/b/projects/project/src/tsconfig.json: + {"pollingInterval":2000} +/a/b/projects/project/src/jsconfig.json: + {"pollingInterval":2000} +/a/b/projects/project/tsconfig.json: + {"pollingInterval":2000} +/a/b/projects/project/jsconfig.json: + {"pollingInterval":2000} + +FsWatches:: +/a/lib/lib.d.ts: + {} + +FsWatchesRecursive:: 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 98331d066fd9f..77859cdf35078 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 @@ -1,4 +1,31 @@ Info 0 [16:00:21.000] Provided types map file "/typesMap.json" doesn't exist +Creating project service +//// [/a/b/projects/project/src/index.ts] +let y = 10 + +//// [/a/lib/lib.d.ts] +/// +interface Boolean {} +interface Function {} +interface CallableFunction {} +interface NewableFunction {} +interface IArguments {} +interface Number { toExponential: any; } +interface Object {} +interface RegExp {} +interface String { charAt: any; } +interface Array { length: number; [n: number]: T; } + +//// [/a/b/projects/project/tsconfig.json] +{} + + +PolledWatches:: + +FsWatches:: + +FsWatchesRecursive:: + Info 1 [16:00:22.000] Search path: /a/b/projects/project/src Info 2 [16:00:23.000] For info: /a/b/projects/project/src/index.ts :: Config file name: /a/b/projects/project/tsconfig.json Info 3 [16:00:24.000] Creating configuration project /a/b/projects/project/tsconfig.json @@ -61,6 +88,17 @@ Info 27 [16:00:55.000] Search path: /a/b/projects/project/src Info 28 [16:00:56.000] For info: /a/b/projects/project/src/index.ts :: No config files found. Info 29 [16:00:57.000] Scheduled: *ensureProjectForOpenFiles* Info 30 [16:00:58.000] Elapsed:: *ms FileWatcher:: Triggered with /a/b/projects/project/tsconfig.json 2:: WatchInfo: /a/b/projects/project/tsconfig.json 2000 undefined Project: /a/b/projects/project/tsconfig.json WatchType: Config file +Before running timeout callbacks +//// [/a/b/projects/project/tsconfig.json] deleted + +PolledWatches:: + +FsWatches:: +/a/lib/lib.d.ts: + {} + +FsWatchesRecursive:: + Info 31 [16:00:59.500] Running: *ensureProjectForOpenFiles* Info 32 [16:01:00.500] Before ensureProjectForOpenFiles: Info 33 [16:01:01.500] Open files: @@ -97,6 +135,28 @@ Info 48 [16:01:21.500] ----------------------------------------------- Info 48 [16:01:22.500] Open files: Info 48 [16:01:23.500] FileName: /a/b/projects/project/src/index.ts ProjectRootPath: /a/b/projects/proj Info 48 [16:01:24.500] Projects: /dev/null/inferredProject1* +After running timeout callbacks + +PolledWatches:: +/a/b/projects/project/src/tsconfig.json: + {"pollingInterval":2000} +/a/b/projects/project/src/jsconfig.json: + {"pollingInterval":2000} +/a/b/projects/project/tsconfig.json: + {"pollingInterval":2000} +/a/b/projects/project/jsconfig.json: + {"pollingInterval":2000} +/a/b/projects/project/src/node_modules/@types: + {"pollingInterval":500} +/a/b/projects/project/node_modules/@types: + {"pollingInterval":500} + +FsWatches:: +/a/lib/lib.d.ts: + {} + +FsWatchesRecursive:: + Info 48 [16:01:27.500] FileWatcher:: Triggered with /a/b/projects/project/tsconfig.json 0:: WatchInfo: /a/b/projects/project/tsconfig.json 2000 undefined WatchType: Config file for the inferred project root Info 49 [16:01:28.500] Search path: /a/b/projects/project/src Info 50 [16:01:29.500] For info: /a/b/projects/project/src/index.ts :: Config file name: /a/b/projects/project/tsconfig.json @@ -110,6 +170,31 @@ Info 57 [16:01:36.500] For info: /a/b/projects/project/src/index.ts :: Config Info 58 [16:01:37.500] Scheduled: /a/b/projects/project/tsconfig.json, Cancelled earlier one Info 59 [16:01:38.500] Scheduled: *ensureProjectForOpenFiles*, Cancelled earlier one Info 60 [16:01:39.500] Elapsed:: *ms FileWatcher:: Triggered with /a/b/projects/project/tsconfig.json 0:: WatchInfo: /a/b/projects/project/tsconfig.json 2000 undefined WatchType: Config file for the inferred project root +Before running timeout callbacks +//// [/a/b/projects/project/tsconfig.json] +{} + + +PolledWatches:: +/a/b/projects/project/src/tsconfig.json: + {"pollingInterval":2000} +/a/b/projects/project/src/jsconfig.json: + {"pollingInterval":2000} +/a/b/projects/project/jsconfig.json: + {"pollingInterval":2000} +/a/b/projects/project/src/node_modules/@types: + {"pollingInterval":500} +/a/b/projects/project/node_modules/@types: + {"pollingInterval":500} + +FsWatches:: +/a/lib/lib.d.ts: + {} +/a/b/projects/project/tsconfig.json: + {} + +FsWatchesRecursive:: + Info 61 [16:01:40.500] Running: /a/b/projects/project/tsconfig.json Info 62 [16:01:41.500] Loading configured project /a/b/projects/project/tsconfig.json Info 63 [16:01:42.500] Config: /a/b/projects/project/tsconfig.json : { @@ -174,4 +259,21 @@ Info 85 [16:02:17.500] Files (0) Info 85 [16:02:18.500] ----------------------------------------------- Info 85 [16:02:19.500] Open files: Info 85 [16:02:20.500] FileName: /a/b/projects/project/src/index.ts ProjectRootPath: /a/b/projects/proj -Info 85 [16:02:21.500] Projects: /a/b/projects/project/tsconfig.json \ No newline at end of file +Info 85 [16:02:21.500] Projects: /a/b/projects/project/tsconfig.json +After running timeout callbacks + +PolledWatches:: +/a/b/projects/project/src/node_modules/@types: + {"pollingInterval":500} +/a/b/projects/project/node_modules/@types: + {"pollingInterval":500} + +FsWatches:: +/a/lib/lib.d.ts: + {} +/a/b/projects/project/tsconfig.json: + {} + +FsWatchesRecursive:: +/a/b/projects/project: + {} 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 6a349d566b894..ced97345168b6 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 @@ -1,4 +1,28 @@ Info 0 [16:00:23.000] Provided types map file "/typesMap.json" doesn't exist +Creating project service +//// [/a/lib/lib.d.ts] +/// +interface Boolean {} +interface Function {} +interface CallableFunction {} +interface NewableFunction {} +interface IArguments {} +interface Number { toExponential: any; } +interface Object {} +interface RegExp {} +interface String { charAt: any; } +interface Array { length: number; [n: number]: T; } + +//// [/root/teams/VSCode68/Shared Documents/General/jt-ts-test-workspace/x.js] +const x = 10 + + +PolledWatches:: + +FsWatches:: + +FsWatchesRecursive:: + Info 1 [16:00:24.000] Search path: /root/teams/VSCode68/Shared Documents/General/jt-ts-test-workspace Info 2 [16:00:25.000] For info: /root/teams/VSCode68/Shared Documents/General/jt-ts-test-workspace/x.js :: No config files found. Info 3 [16:00:26.000] Plugins were requested but not running in environment that supports 'require'. Nothing will be loaded 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 945068b32b29c..1f607f709e89f 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 @@ -1,4 +1,28 @@ Info 0 [16:00:23.000] Provided types map file "/typesMap.json" doesn't exist +Creating project service +//// [/a/lib/lib.d.ts] +/// +interface Boolean {} +interface Function {} +interface CallableFunction {} +interface NewableFunction {} +interface IArguments {} +interface Number { toExponential: any; } +interface Object {} +interface RegExp {} +interface String { charAt: any; } +interface Array { length: number; [n: number]: T; } + +//// [/root/teams/VSCode68/Shared Documents/General/jt-ts-test-workspace/x.js] +const x = 10 + + +PolledWatches:: + +FsWatches:: + +FsWatchesRecursive:: + Info 1 [16:00:24.000] Search path: /root/teams/VSCode68/Shared Documents/General/jt-ts-test-workspace Info 2 [16:00:25.000] For info: /root/teams/VSCode68/Shared Documents/General/jt-ts-test-workspace/x.js :: No config files found. Info 3 [16:00:26.000] Plugins were requested but not running in environment that supports 'require'. Nothing will be loaded diff --git a/tests/baselines/reference/tsserver/configuredProjects/Open-ref-of-configured-project-when-open-file-gets-added-to-the-project-as-part-of-configured-file-update.js b/tests/baselines/reference/tsserver/configuredProjects/Open-ref-of-configured-project-when-open-file-gets-added-to-the-project-as-part-of-configured-file-update.js index cf4ebf47d10ab..db0e806ddd748 100644 --- a/tests/baselines/reference/tsserver/configuredProjects/Open-ref-of-configured-project-when-open-file-gets-added-to-the-project-as-part-of-configured-file-update.js +++ b/tests/baselines/reference/tsserver/configuredProjects/Open-ref-of-configured-project-when-open-file-gets-added-to-the-project-as-part-of-configured-file-update.js @@ -1,4 +1,27 @@ Info 0 [16:00:19.000] Provided types map file "/typesMap.json" doesn't exist +Creating project service +//// [/a/b/src/file1.ts] +let x = 1; + +//// [/a/b/src/file2.ts] +let y = 1; + +//// [/a/b/file3.ts] +let z = 1; + +//// [/a/file4.ts] +let z = 1; + +//// [/a/b/tsconfig.json] +{"files":["src/file1.ts","file3.ts"]} + + +PolledWatches:: + +FsWatches:: + +FsWatchesRecursive:: + Info 1 [16:00:20.000] Search path: /a/b/src Info 2 [16:00:21.000] For info: /a/b/src/file1.ts :: Config file name: /a/b/tsconfig.json Info 3 [16:00:22.000] Creating configuration project /a/b/tsconfig.json @@ -131,6 +154,27 @@ Info 44 [16:01:54.000] For info: /a/b/src/file2.ts :: Config file name: /a/b/t Info 45 [16:01:55.000] Scheduled: /a/b/tsconfig.json, Cancelled earlier one Info 46 [16:01:56.000] Scheduled: *ensureProjectForOpenFiles* Info 47 [16:01:57.000] Elapsed:: *ms FileWatcher:: Triggered with /a/b/tsconfig.json 1:: WatchInfo: /a/b/tsconfig.json 2000 undefined Project: /a/b/tsconfig.json WatchType: Config file +Before running timeout callbacks +//// [/a/b/tsconfig.json] +{} + + +PolledWatches:: +/a/lib/lib.d.ts: + {"pollingInterval":500} +/a/b/node_modules/@types: + {"pollingInterval":500} +/a/b/src/node_modules/@types: + {"pollingInterval":500} +/a/node_modules/@types: + {"pollingInterval":500} + +FsWatches:: +/a/b/tsconfig.json: + {} + +FsWatchesRecursive:: + Info 48 [16:01:58.000] Running: /a/b/tsconfig.json Info 49 [16:01:59.000] Reloading configured project /a/b/tsconfig.json Info 50 [16:02:00.000] Config: /a/b/tsconfig.json : { @@ -217,6 +261,26 @@ Info 68 [16:02:50.000] FileName: /a/b/file3.ts ProjectRootPath: undefined Info 68 [16:02:51.000] Projects: /a/b/tsconfig.json Info 68 [16:02:52.000] FileName: /a/file4.ts ProjectRootPath: undefined Info 68 [16:02:53.000] Projects: /dev/null/inferredProject2* +After running timeout callbacks + +PolledWatches:: +/a/lib/lib.d.ts: + {"pollingInterval":500} +/a/b/node_modules/@types: + {"pollingInterval":500} +/a/b/src/node_modules/@types: + {"pollingInterval":500} +/a/node_modules/@types: + {"pollingInterval":500} + +FsWatches:: +/a/b/tsconfig.json: + {} + +FsWatchesRecursive:: +/a/b: + {} + Info 68 [16:02:54.000] FileWatcher:: Added:: WatchInfo: /a/b/src/file1.ts 500 undefined WatchType: Closed Script info Info 69 [16:02:55.000] Project '/a/b/tsconfig.json' (Configured) Info 69 [16:02:56.000] Files (3) @@ -319,6 +383,33 @@ Info 86 [16:04:10.000] ----------------------------------------------- Info 86 [16:04:11.000] Open files: Info 86 [16:04:12.000] FileName: /a/file4.ts ProjectRootPath: undefined Info 86 [16:04:13.000] Projects: /dev/null/inferredProject2* +File5 written +//// [/file5.ts] +let zz = 1; + + +PolledWatches:: +/a/lib/lib.d.ts: + {"pollingInterval":500} +/a/b/node_modules/@types: + {"pollingInterval":500} +/a/node_modules/@types: + {"pollingInterval":500} + +FsWatches:: +/a/b/tsconfig.json: + {} +/a/b/src/file1.ts: + {} +/a/b/src/file2.ts: + {} +/a/b/file3.ts: + {} + +FsWatchesRecursive:: +/a/b: + {} + Info 86 [16:04:16.000] Search path: / Info 87 [16:04:17.000] For info: /file5.ts :: No config files found. Info 88 [16:04:18.000] Plugins were requested but not running in environment that supports 'require'. Nothing will be loaded 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 1903613299fa2..c6848604fa520 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 @@ -1,4 +1,31 @@ Info 0 [16:00:21.000] Provided types map file "/typesMap.json" doesn't exist +Creating project service +//// [/a/lib/lib.d.ts] +/// +interface Boolean {} +interface Function {} +interface CallableFunction {} +interface NewableFunction {} +interface IArguments {} +interface Number { toExponential: any; } +interface Object {} +interface RegExp {} +interface String { charAt: any; } +interface Array { length: number; [n: number]: T; } + +//// [/user/username/projects/myproject/commonFile1.ts] +let x = 1 + +//// [/user/username/projects/myproject/commonFile2.ts] +let y = 1 + + +PolledWatches:: + +FsWatches:: + +FsWatchesRecursive:: + Info 1 [16:00:22.000] Search path: /user/username/projects/myproject Info 2 [16:00:23.000] For info: /user/username/projects/myproject/commonFile1.ts :: No config files found. Info 3 [16:00:24.000] Plugins were requested but not running in environment that supports 'require'. Nothing will be loaded @@ -77,6 +104,27 @@ Info 37 [16:01:17.000] Search path: /user/username/projects/myproject Info 38 [16:01:18.000] For info: /user/username/projects/myproject/commonFile2.ts :: Config file name: /user/username/projects/myproject/tsconfig.json Info 39 [16:01:19.000] Scheduled: *ensureProjectForOpenFiles*, Cancelled earlier one Info 40 [16:01:20.000] Elapsed:: *ms FileWatcher:: Triggered with /user/username/projects/myproject/tsconfig.json 0:: WatchInfo: /user/username/projects/myproject/tsconfig.json 2000 undefined WatchType: Config file for the inferred project root +Before checking timeout queue length (2) and running +//// [/user/username/projects/myproject/tsconfig.json] +{ + "files": ["commonFile1.ts"] + } + + +PolledWatches:: +/user/username/projects/myproject/jsconfig.json: + {"pollingInterval":2000} +/user/username/projects/myproject/node_modules/@types: + {"pollingInterval":500} + +FsWatches:: +/a/lib/lib.d.ts: + {} +/user/username/projects/myproject/tsconfig.json: + {} + +FsWatchesRecursive:: + Info 41 [16:01:21.000] Running: /user/username/projects/myproject/tsconfig.json Info 42 [16:01:22.000] Loading configured project /user/username/projects/myproject/tsconfig.json Info 43 [16:01:23.000] Config: /user/username/projects/myproject/tsconfig.json : { @@ -149,6 +197,22 @@ Info 60 [16:02:04.000] FileName: /user/username/projects/myproject/commonFile Info 60 [16:02:05.000] Projects: /user/username/projects/myproject/tsconfig.json Info 60 [16:02:06.000] FileName: /user/username/projects/myproject/commonFile2.ts ProjectRootPath: undefined Info 60 [16:02:07.000] Projects: /dev/null/inferredProject2* +After checking timeout queue length (2) and running + +PolledWatches:: +/user/username/projects/myproject/jsconfig.json: + {"pollingInterval":2000} +/user/username/projects/myproject/node_modules/@types: + {"pollingInterval":500} + +FsWatches:: +/a/lib/lib.d.ts: + {} +/user/username/projects/myproject/tsconfig.json: + {} + +FsWatchesRecursive:: + Info 60 [16:02:09.000] FileWatcher:: Triggered with /user/username/projects/myproject/tsconfig.json 2:: WatchInfo: /user/username/projects/myproject/tsconfig.json 2000 undefined WatchType: Config file for the inferred project root Info 61 [16:02:10.000] `remove Project:: Info 62 [16:02:11.000] Project '/user/username/projects/myproject/tsconfig.json' (Configured) @@ -171,6 +235,23 @@ Info 69 [16:02:18.000] Search path: /user/username/projects/myproject Info 70 [16:02:19.000] For info: /user/username/projects/myproject/commonFile2.ts :: No config files found. Info 71 [16:02:20.000] Scheduled: *ensureProjectForOpenFiles* Info 72 [16:02:21.000] Elapsed:: *ms FileWatcher:: Triggered with /user/username/projects/myproject/tsconfig.json 2:: WatchInfo: /user/username/projects/myproject/tsconfig.json 2000 undefined WatchType: Config file for the inferred project root +Before checking timeout queue length (1) and running +//// [/user/username/projects/myproject/tsconfig.json] deleted + +PolledWatches:: +/user/username/projects/myproject/jsconfig.json: + {"pollingInterval":2000} +/user/username/projects/myproject/node_modules/@types: + {"pollingInterval":500} + +FsWatches:: +/a/lib/lib.d.ts: + {} +/user/username/projects/myproject/tsconfig.json: + {} + +FsWatchesRecursive:: + Info 73 [16:02:22.500] Running: *ensureProjectForOpenFiles* Info 74 [16:02:23.500] Before ensureProjectForOpenFiles: Info 75 [16:02:24.500] Project '/dev/null/inferredProject1*' (Inferred) @@ -213,4 +294,19 @@ Info 81 [16:02:47.500] Open files: Info 81 [16:02:48.500] FileName: /user/username/projects/myproject/commonFile1.ts ProjectRootPath: undefined Info 81 [16:02:49.500] Projects: /dev/null/inferredProject1* Info 81 [16:02:50.500] FileName: /user/username/projects/myproject/commonFile2.ts ProjectRootPath: undefined -Info 81 [16:02:51.500] Projects: /dev/null/inferredProject2* \ No newline at end of file +Info 81 [16:02:51.500] Projects: /dev/null/inferredProject2* +After checking timeout queue length (1) and running + +PolledWatches:: +/user/username/projects/myproject/jsconfig.json: + {"pollingInterval":2000} +/user/username/projects/myproject/node_modules/@types: + {"pollingInterval":500} + +FsWatches:: +/a/lib/lib.d.ts: + {} +/user/username/projects/myproject/tsconfig.json: + {} + +FsWatchesRecursive:: diff --git a/tests/baselines/reference/tsserver/configuredProjects/add-new-files-to-a-configured-project-without-file-list.js b/tests/baselines/reference/tsserver/configuredProjects/add-new-files-to-a-configured-project-without-file-list.js index cc09e95087edb..68c6ea573d055 100644 --- a/tests/baselines/reference/tsserver/configuredProjects/add-new-files-to-a-configured-project-without-file-list.js +++ b/tests/baselines/reference/tsserver/configuredProjects/add-new-files-to-a-configured-project-without-file-list.js @@ -1,4 +1,31 @@ Info 0 [16:00:15.000] Provided types map file "/typesMap.json" doesn't exist +Creating project service +//// [/a/b/commonFile1.ts] +let x = 1 + +//// [/a/lib/lib.d.ts] +/// +interface Boolean {} +interface Function {} +interface CallableFunction {} +interface NewableFunction {} +interface IArguments {} +interface Number { toExponential: any; } +interface Object {} +interface RegExp {} +interface String { charAt: any; } +interface Array { length: number; [n: number]: T; } + +//// [/a/b/tsconfig.json] +{} + + +PolledWatches:: + +FsWatches:: + +FsWatchesRecursive:: + Info 1 [16:00:16.000] Search path: /a/b Info 2 [16:00:17.000] For info: /a/b/commonFile1.ts :: Config file name: /a/b/tsconfig.json Info 3 [16:00:18.000] Creating configuration project /a/b/tsconfig.json @@ -42,6 +69,25 @@ Info 17 [16:00:40.000] DirectoryWatcher:: Triggered with /a/b/commonFile2.ts : Info 18 [16:00:41.000] Scheduled: /a/b/tsconfig.json Info 19 [16:00:42.000] Scheduled: *ensureProjectForOpenFiles* Info 20 [16:00:43.000] Elapsed:: *ms DirectoryWatcher:: Triggered with /a/b/commonFile2.ts :: WatchInfo: /a/b 1 undefined Config: /a/b/tsconfig.json WatchType: Wild card directory +Before checking timeout queue length (2) and running +//// [/a/b/commonFile2.ts] +let y = 1 + + +PolledWatches:: +/a/b/node_modules/@types: + {"pollingInterval":500} + +FsWatches:: +/a/b/tsconfig.json: + {} +/a/lib/lib.d.ts: + {} + +FsWatchesRecursive:: +/a/b: + {} + Info 21 [16:00:44.000] Running: /a/b/tsconfig.json Info 22 [16:00:45.000] FileWatcher:: Added:: WatchInfo: /a/b/commonFile2.ts 500 undefined WatchType: Closed Script info Info 23 [16:00:46.000] Starting updateGraphWorker: Project: /a/b/tsconfig.json @@ -77,4 +123,21 @@ Info 31 [16:01:01.000] Files (3) Info 31 [16:01:02.000] ----------------------------------------------- Info 31 [16:01:03.000] Open files: Info 31 [16:01:04.000] FileName: /a/b/commonFile1.ts ProjectRootPath: undefined -Info 31 [16:01:05.000] Projects: /a/b/tsconfig.json \ No newline at end of file +Info 31 [16:01:05.000] Projects: /a/b/tsconfig.json +After checking timeout queue length (2) and running + +PolledWatches:: +/a/b/node_modules/@types: + {"pollingInterval":500} + +FsWatches:: +/a/b/tsconfig.json: + {} +/a/lib/lib.d.ts: + {} +/a/b/commonfile2.ts: + {} + +FsWatchesRecursive:: +/a/b: + {} diff --git a/tests/baselines/reference/tsserver/configuredProjects/changed-module-resolution-reflected-when-specifying-files-list.js b/tests/baselines/reference/tsserver/configuredProjects/changed-module-resolution-reflected-when-specifying-files-list.js index a1b0307281501..adb7e4f2afbe4 100644 --- a/tests/baselines/reference/tsserver/configuredProjects/changed-module-resolution-reflected-when-specifying-files-list.js +++ b/tests/baselines/reference/tsserver/configuredProjects/changed-module-resolution-reflected-when-specifying-files-list.js @@ -1,4 +1,34 @@ Info 0 [16:00:17.000] Provided types map file "/typesMap.json" doesn't exist +Creating project service +//// [/a/b/file1.ts] +import classc from "file2" + +//// [/a/file2.ts] +export classc { method2a() { return 10; } } + +//// [/a/b/tsconfig.json] +{"files":["/a/b/file1.ts"],"compilerOptions":{"module":"amd"}} + +//// [/a/lib/lib.d.ts] +/// +interface Boolean {} +interface Function {} +interface CallableFunction {} +interface NewableFunction {} +interface IArguments {} +interface Number { toExponential: any; } +interface Object {} +interface RegExp {} +interface String { charAt: any; } +interface Array { length: number; [n: number]: T; } + + +PolledWatches:: + +FsWatches:: + +FsWatchesRecursive:: + Info 1 [16:00:18.000] Search path: /a/b Info 2 [16:00:19.000] For info: /a/b/file1.ts :: Config file name: /a/b/tsconfig.json Info 3 [16:00:20.000] Creating configuration project /a/b/tsconfig.json @@ -46,9 +76,66 @@ Info 18 [16:00:40.000] Projects: /a/b/tsconfig.json Info 18 [16:00:43.000] DirectoryWatcher:: Triggered with /a/b/file2.ts :: WatchInfo: /a/b 0 undefined Project: /a/b/tsconfig.json WatchType: Failed Lookup Locations Info 19 [16:00:44.000] Scheduled: /a/b/tsconfig.jsonFailedLookupInvalidation Info 20 [16:00:45.000] Elapsed:: *ms DirectoryWatcher:: Triggered with /a/b/file2.ts :: WatchInfo: /a/b 0 undefined Project: /a/b/tsconfig.json WatchType: Failed Lookup Locations +Before running timeout callbacks +//// [/a/b/file2.ts] +export classc { method2() { return 10; } } + + +PolledWatches:: +/a/b/node_modules/@types: + {"pollingInterval":500} + +FsWatches:: +/a/b/tsconfig.json: + {} +/a/file2.ts: + {} +/a/lib/lib.d.ts: + {} +/a/b: + {} + +FsWatchesRecursive:: + Info 21 [16:00:46.000] Running: /a/b/tsconfig.jsonFailedLookupInvalidation Info 22 [16:00:47.000] Scheduled: /a/b/tsconfig.json Info 23 [16:00:48.000] Scheduled: *ensureProjectForOpenFiles* +After running timeout callbacks + +PolledWatches:: +/a/b/node_modules/@types: + {"pollingInterval":500} + +FsWatches:: +/a/b/tsconfig.json: + {} +/a/file2.ts: + {} +/a/lib/lib.d.ts: + {} +/a/b: + {} + +FsWatchesRecursive:: + +Before running timeout callbacks + +PolledWatches:: +/a/b/node_modules/@types: + {"pollingInterval":500} + +FsWatches:: +/a/b/tsconfig.json: + {} +/a/file2.ts: + {} +/a/lib/lib.d.ts: + {} +/a/b: + {} + +FsWatchesRecursive:: + Info 24 [16:00:49.000] Running: /a/b/tsconfig.json Info 25 [16:00:50.000] Starting updateGraphWorker: Project: /a/b/tsconfig.json Info 26 [16:00:51.000] FileWatcher:: Added:: WatchInfo: /a/b/file2.ts 500 undefined WatchType: Closed Script info @@ -87,6 +174,24 @@ Info 36 [16:01:09.000] ----------------------------------------------- Info 36 [16:01:10.000] Open files: Info 36 [16:01:11.000] FileName: /a/b/file1.ts ProjectRootPath: undefined Info 36 [16:01:12.000] Projects: /a/b/tsconfig.json +After running timeout callbacks + +PolledWatches:: +/a/b/node_modules/@types: + {"pollingInterval":500} + +FsWatches:: +/a/b/tsconfig.json: + {} +/a/file2.ts: + {} +/a/lib/lib.d.ts: + {} +/a/b/file2.ts: + {} + +FsWatchesRecursive:: + Info 36 [16:01:13.000] FileWatcher:: Close:: WatchInfo: /a/b/file2.ts 500 undefined WatchType: Closed Script info Info 37 [16:01:14.000] Search path: /a/b Info 38 [16:01:15.000] For info: /a/b/file2.ts :: Config file name: /a/b/tsconfig.json diff --git a/tests/baselines/reference/tsserver/configuredProjects/create-configured-project-with-the-file-list.js b/tests/baselines/reference/tsserver/configuredProjects/create-configured-project-with-the-file-list.js index f29359d8f1f6f..1913e245993eb 100644 --- a/tests/baselines/reference/tsserver/configuredProjects/create-configured-project-with-the-file-list.js +++ b/tests/baselines/reference/tsserver/configuredProjects/create-configured-project-with-the-file-list.js @@ -1,4 +1,41 @@ Info 0 [16:00:21.000] Provided types map file "/typesMap.json" doesn't exist +Creating project service +//// [/a/b/tsconfig.json] + + { + "compilerOptions": {}, + "include": ["*.ts"] + } + +//// [/a/lib/lib.d.ts] +/// +interface Boolean {} +interface Function {} +interface CallableFunction {} +interface NewableFunction {} +interface IArguments {} +interface Number { toExponential: any; } +interface Object {} +interface RegExp {} +interface String { charAt: any; } +interface Array { length: number; [n: number]: T; } + +//// [/a/b/f1.ts] +let x = 1 + +//// [/a/b/f2.ts] +let y = 1 + +//// [/a/b/c/f3.ts] +let z = 1 + + +PolledWatches:: + +FsWatches:: + +FsWatchesRecursive:: + Info 1 [16:00:22.000] Search path: /a/b Info 2 [16:00:23.000] For info: /a/b/f1.ts :: Config file name: /a/b/tsconfig.json Info 3 [16:00:24.000] Creating configuration project /a/b/tsconfig.json diff --git a/tests/baselines/reference/tsserver/configuredProjects/create-configured-project-without-file-list.js b/tests/baselines/reference/tsserver/configuredProjects/create-configured-project-without-file-list.js index 8fe246f9840e9..f976e5ede4f52 100644 --- a/tests/baselines/reference/tsserver/configuredProjects/create-configured-project-without-file-list.js +++ b/tests/baselines/reference/tsserver/configuredProjects/create-configured-project-without-file-list.js @@ -1,4 +1,43 @@ Info 0 [16:00:25.000] Provided types map file "/typesMap.json" doesn't exist +Creating project service +//// [/a/b/tsconfig.json] + + { + "compilerOptions": {}, + "exclude": [ + "e" + ] + } + +//// [/a/lib/lib.d.ts] +/// +interface Boolean {} +interface Function {} +interface CallableFunction {} +interface NewableFunction {} +interface IArguments {} +interface Number { toExponential: any; } +interface Object {} +interface RegExp {} +interface String { charAt: any; } +interface Array { length: number; [n: number]: T; } + +//// [/a/b/c/f1.ts] +let x = 1 + +//// [/a/b/d/f2.ts] +let y = 1 + +//// [/a/b/e/f3.ts] +let z = 1 + + +PolledWatches:: + +FsWatches:: + +FsWatchesRecursive:: + Info 1 [16:00:26.000] Search path: /a/b/c Info 2 [16:00:27.000] For info: /a/b/c/f1.ts :: Config file name: /a/b/tsconfig.json Info 3 [16:00:28.000] Creating configuration project /a/b/tsconfig.json 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 ca22c60b570fa..32ef887ad3d55 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 @@ -10,6 +10,7 @@ Info 1 [16:00:28.000] request: "seq": 1, "type": "request" } +Before request //// [/user/username/projects/myproject/src/foo.ts] export function foo() { } @@ -91,6 +92,7 @@ Info 23 [16:00:52.000] ----------------------------------------------- Info 23 [16:00:53.000] Open files: Info 23 [16:00:54.000] FileName: /user/username/projects/myproject/src/foo.ts ProjectRootPath: /user/username/projects/myproject Info 23 [16:00:55.000] Projects: /user/username/projects/myproject/tsconfig.json +After request PolledWatches:: /user/username/projects/myproject/node_modules/@types: @@ -126,6 +128,7 @@ Info 27 [16:01:02.000] request: "seq": 2, "type": "request" } +Before request //// [/user/username/projects/myproject/src/sub/fooBar.ts] export function fooBar() { } @@ -189,6 +192,7 @@ Info 48 [16:01:30.000] FileName: /user/username/projects/myproject/src/foo.ts Info 48 [16:01:31.000] Projects: /user/username/projects/myproject/tsconfig.json Info 48 [16:01:32.000] FileName: /user/username/projects/myproject/src/sub/fooBar.ts ProjectRootPath: /user/username/projects/myproject Info 48 [16:01:33.000] Projects: /dev/null/inferredProject1* +After request PolledWatches:: /user/username/projects/myproject/node_modules/@types: @@ -237,6 +241,7 @@ Info 49 [16:01:35.000] request: "seq": 3, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/node_modules/@types: @@ -268,6 +273,7 @@ FsWatchesRecursive:: /user/username/projects/myproject/src: {} +After request PolledWatches:: /user/username/projects/myproject/node_modules/@types: @@ -303,17 +309,464 @@ Info 50 [16:01:36.000] response: { "responseRequired": false } +Checking timeout queue length: 1 + +PolledWatches:: +/user/username/projects/myproject/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/myproject/src/sub/tsconfig.json: + {"pollingInterval":2000} +/user/username/projects/myproject/src/sub/jsconfig.json: + {"pollingInterval":2000} +/user/username/projects/myproject/src/tsconfig.json: + {"pollingInterval":2000} +/user/username/projects/myproject/src/jsconfig.json: + {"pollingInterval":2000} +/user/username/projects/myproject/jsconfig.json: + {"pollingInterval":2000} +/user/username/projects/myproject/src/sub/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/myproject/src/node_modules/@types: + {"pollingInterval":500} + +FsWatches:: +/user/username/projects/myproject/tsconfig.json: + {} +/user/username/projects/myproject/src/bar.ts: + {} +/a/lib/lib.d.ts: + {} + +FsWatchesRecursive:: +/user/username/projects/myproject/src: + {} + +Before running timeout callback1 + +PolledWatches:: +/user/username/projects/myproject/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/myproject/src/sub/tsconfig.json: + {"pollingInterval":2000} +/user/username/projects/myproject/src/sub/jsconfig.json: + {"pollingInterval":2000} +/user/username/projects/myproject/src/tsconfig.json: + {"pollingInterval":2000} +/user/username/projects/myproject/src/jsconfig.json: + {"pollingInterval":2000} +/user/username/projects/myproject/jsconfig.json: + {"pollingInterval":2000} +/user/username/projects/myproject/src/sub/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/myproject/src/node_modules/@types: + {"pollingInterval":500} + +FsWatches:: +/user/username/projects/myproject/tsconfig.json: + {} +/user/username/projects/myproject/src/bar.ts: + {} +/a/lib/lib.d.ts: + {} + +FsWatchesRecursive:: +/user/username/projects/myproject/src: + {} + Info 51 [16:01:37.000] event: {"seq":0,"type":"event","event":"syntaxDiag","body":{"file":"/user/username/projects/myproject/src/foo.ts","diagnostics":[]}} +After running timeout callback1 + +PolledWatches:: +/user/username/projects/myproject/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/myproject/src/sub/tsconfig.json: + {"pollingInterval":2000} +/user/username/projects/myproject/src/sub/jsconfig.json: + {"pollingInterval":2000} +/user/username/projects/myproject/src/tsconfig.json: + {"pollingInterval":2000} +/user/username/projects/myproject/src/jsconfig.json: + {"pollingInterval":2000} +/user/username/projects/myproject/jsconfig.json: + {"pollingInterval":2000} +/user/username/projects/myproject/src/sub/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/myproject/src/node_modules/@types: + {"pollingInterval":500} + +FsWatches:: +/user/username/projects/myproject/tsconfig.json: + {} +/user/username/projects/myproject/src/bar.ts: + {} +/a/lib/lib.d.ts: + {} + +FsWatchesRecursive:: +/user/username/projects/myproject/src: + {} + +Before running immediate callbacks and checking length (1) + +PolledWatches:: +/user/username/projects/myproject/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/myproject/src/sub/tsconfig.json: + {"pollingInterval":2000} +/user/username/projects/myproject/src/sub/jsconfig.json: + {"pollingInterval":2000} +/user/username/projects/myproject/src/tsconfig.json: + {"pollingInterval":2000} +/user/username/projects/myproject/src/jsconfig.json: + {"pollingInterval":2000} +/user/username/projects/myproject/jsconfig.json: + {"pollingInterval":2000} +/user/username/projects/myproject/src/sub/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/myproject/src/node_modules/@types: + {"pollingInterval":500} + +FsWatches:: +/user/username/projects/myproject/tsconfig.json: + {} +/user/username/projects/myproject/src/bar.ts: + {} +/a/lib/lib.d.ts: + {} + +FsWatchesRecursive:: +/user/username/projects/myproject/src: + {} + Info 52 [16:01:38.000] event: {"seq":0,"type":"event","event":"semanticDiag","body":{"file":"/user/username/projects/myproject/src/foo.ts","diagnostics":[]}} +Before running immediate callbacks and checking length (1) + +PolledWatches:: +/user/username/projects/myproject/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/myproject/src/sub/tsconfig.json: + {"pollingInterval":2000} +/user/username/projects/myproject/src/sub/jsconfig.json: + {"pollingInterval":2000} +/user/username/projects/myproject/src/tsconfig.json: + {"pollingInterval":2000} +/user/username/projects/myproject/src/jsconfig.json: + {"pollingInterval":2000} +/user/username/projects/myproject/jsconfig.json: + {"pollingInterval":2000} +/user/username/projects/myproject/src/sub/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/myproject/src/node_modules/@types: + {"pollingInterval":500} + +FsWatches:: +/user/username/projects/myproject/tsconfig.json: + {} +/user/username/projects/myproject/src/bar.ts: + {} +/a/lib/lib.d.ts: + {} + +FsWatchesRecursive:: +/user/username/projects/myproject/src: + {} + +Before running immediate callbacks and checking length (1) + +PolledWatches:: +/user/username/projects/myproject/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/myproject/src/sub/tsconfig.json: + {"pollingInterval":2000} +/user/username/projects/myproject/src/sub/jsconfig.json: + {"pollingInterval":2000} +/user/username/projects/myproject/src/tsconfig.json: + {"pollingInterval":2000} +/user/username/projects/myproject/src/jsconfig.json: + {"pollingInterval":2000} +/user/username/projects/myproject/jsconfig.json: + {"pollingInterval":2000} +/user/username/projects/myproject/src/sub/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/myproject/src/node_modules/@types: + {"pollingInterval":500} + +FsWatches:: +/user/username/projects/myproject/tsconfig.json: + {} +/user/username/projects/myproject/src/bar.ts: + {} +/a/lib/lib.d.ts: + {} + +FsWatchesRecursive:: +/user/username/projects/myproject/src: + {} + Info 53 [16:01:39.000] event: {"seq":0,"type":"event","event":"suggestionDiag","body":{"file":"/user/username/projects/myproject/src/foo.ts","diagnostics":[]}} +Before running immediate callbacks and checking length (1) + +PolledWatches:: +/user/username/projects/myproject/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/myproject/src/sub/tsconfig.json: + {"pollingInterval":2000} +/user/username/projects/myproject/src/sub/jsconfig.json: + {"pollingInterval":2000} +/user/username/projects/myproject/src/tsconfig.json: + {"pollingInterval":2000} +/user/username/projects/myproject/src/jsconfig.json: + {"pollingInterval":2000} +/user/username/projects/myproject/jsconfig.json: + {"pollingInterval":2000} +/user/username/projects/myproject/src/sub/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/myproject/src/node_modules/@types: + {"pollingInterval":500} + +FsWatches:: +/user/username/projects/myproject/tsconfig.json: + {} +/user/username/projects/myproject/src/bar.ts: + {} +/a/lib/lib.d.ts: + {} + +FsWatchesRecursive:: +/user/username/projects/myproject/src: + {} + +Checking timeout queue length: 1 + +PolledWatches:: +/user/username/projects/myproject/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/myproject/src/sub/tsconfig.json: + {"pollingInterval":2000} +/user/username/projects/myproject/src/sub/jsconfig.json: + {"pollingInterval":2000} +/user/username/projects/myproject/src/tsconfig.json: + {"pollingInterval":2000} +/user/username/projects/myproject/src/jsconfig.json: + {"pollingInterval":2000} +/user/username/projects/myproject/jsconfig.json: + {"pollingInterval":2000} +/user/username/projects/myproject/src/sub/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/myproject/src/node_modules/@types: + {"pollingInterval":500} + +FsWatches:: +/user/username/projects/myproject/tsconfig.json: + {} +/user/username/projects/myproject/src/bar.ts: + {} +/a/lib/lib.d.ts: + {} + +FsWatchesRecursive:: +/user/username/projects/myproject/src: + {} + +Before running timeout callback2 + +PolledWatches:: +/user/username/projects/myproject/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/myproject/src/sub/tsconfig.json: + {"pollingInterval":2000} +/user/username/projects/myproject/src/sub/jsconfig.json: + {"pollingInterval":2000} +/user/username/projects/myproject/src/tsconfig.json: + {"pollingInterval":2000} +/user/username/projects/myproject/src/jsconfig.json: + {"pollingInterval":2000} +/user/username/projects/myproject/jsconfig.json: + {"pollingInterval":2000} +/user/username/projects/myproject/src/sub/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/myproject/src/node_modules/@types: + {"pollingInterval":500} + +FsWatches:: +/user/username/projects/myproject/tsconfig.json: + {} +/user/username/projects/myproject/src/bar.ts: + {} +/a/lib/lib.d.ts: + {} + +FsWatchesRecursive:: +/user/username/projects/myproject/src: + {} + Info 54 [16:01:40.000] event: {"seq":0,"type":"event","event":"syntaxDiag","body":{"file":"/user/username/projects/myproject/src/sub/fooBar.ts","diagnostics":[]}} +After running timeout callback2 + +PolledWatches:: +/user/username/projects/myproject/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/myproject/src/sub/tsconfig.json: + {"pollingInterval":2000} +/user/username/projects/myproject/src/sub/jsconfig.json: + {"pollingInterval":2000} +/user/username/projects/myproject/src/tsconfig.json: + {"pollingInterval":2000} +/user/username/projects/myproject/src/jsconfig.json: + {"pollingInterval":2000} +/user/username/projects/myproject/jsconfig.json: + {"pollingInterval":2000} +/user/username/projects/myproject/src/sub/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/myproject/src/node_modules/@types: + {"pollingInterval":500} + +FsWatches:: +/user/username/projects/myproject/tsconfig.json: + {} +/user/username/projects/myproject/src/bar.ts: + {} +/a/lib/lib.d.ts: + {} + +FsWatchesRecursive:: +/user/username/projects/myproject/src: + {} + +Before running immediate callbacks and checking length (1) + +PolledWatches:: +/user/username/projects/myproject/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/myproject/src/sub/tsconfig.json: + {"pollingInterval":2000} +/user/username/projects/myproject/src/sub/jsconfig.json: + {"pollingInterval":2000} +/user/username/projects/myproject/src/tsconfig.json: + {"pollingInterval":2000} +/user/username/projects/myproject/src/jsconfig.json: + {"pollingInterval":2000} +/user/username/projects/myproject/jsconfig.json: + {"pollingInterval":2000} +/user/username/projects/myproject/src/sub/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/myproject/src/node_modules/@types: + {"pollingInterval":500} + +FsWatches:: +/user/username/projects/myproject/tsconfig.json: + {} +/user/username/projects/myproject/src/bar.ts: + {} +/a/lib/lib.d.ts: + {} + +FsWatchesRecursive:: +/user/username/projects/myproject/src: + {} + Info 55 [16:01:41.000] event: {"seq":0,"type":"event","event":"semanticDiag","body":{"file":"/user/username/projects/myproject/src/sub/fooBar.ts","diagnostics":[]}} +Before running immediate callbacks and checking length (1) + +PolledWatches:: +/user/username/projects/myproject/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/myproject/src/sub/tsconfig.json: + {"pollingInterval":2000} +/user/username/projects/myproject/src/sub/jsconfig.json: + {"pollingInterval":2000} +/user/username/projects/myproject/src/tsconfig.json: + {"pollingInterval":2000} +/user/username/projects/myproject/src/jsconfig.json: + {"pollingInterval":2000} +/user/username/projects/myproject/jsconfig.json: + {"pollingInterval":2000} +/user/username/projects/myproject/src/sub/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/myproject/src/node_modules/@types: + {"pollingInterval":500} + +FsWatches:: +/user/username/projects/myproject/tsconfig.json: + {} +/user/username/projects/myproject/src/bar.ts: + {} +/a/lib/lib.d.ts: + {} + +FsWatchesRecursive:: +/user/username/projects/myproject/src: + {} + +Before running immediate callbacks and checking length (1) + +PolledWatches:: +/user/username/projects/myproject/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/myproject/src/sub/tsconfig.json: + {"pollingInterval":2000} +/user/username/projects/myproject/src/sub/jsconfig.json: + {"pollingInterval":2000} +/user/username/projects/myproject/src/tsconfig.json: + {"pollingInterval":2000} +/user/username/projects/myproject/src/jsconfig.json: + {"pollingInterval":2000} +/user/username/projects/myproject/jsconfig.json: + {"pollingInterval":2000} +/user/username/projects/myproject/src/sub/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/myproject/src/node_modules/@types: + {"pollingInterval":500} + +FsWatches:: +/user/username/projects/myproject/tsconfig.json: + {} +/user/username/projects/myproject/src/bar.ts: + {} +/a/lib/lib.d.ts: + {} + +FsWatchesRecursive:: +/user/username/projects/myproject/src: + {} + Info 56 [16:01:42.000] event: {"seq":0,"type":"event","event":"suggestionDiag","body":{"file":"/user/username/projects/myproject/src/sub/fooBar.ts","diagnostics":[]}} Info 57 [16:01:43.000] event: - {"seq":0,"type":"event","event":"requestCompleted","body":{"request_seq":3}} \ No newline at end of file + {"seq":0,"type":"event","event":"requestCompleted","body":{"request_seq":3}} +Before running immediate callbacks and checking length (1) + +PolledWatches:: +/user/username/projects/myproject/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/myproject/src/sub/tsconfig.json: + {"pollingInterval":2000} +/user/username/projects/myproject/src/sub/jsconfig.json: + {"pollingInterval":2000} +/user/username/projects/myproject/src/tsconfig.json: + {"pollingInterval":2000} +/user/username/projects/myproject/src/jsconfig.json: + {"pollingInterval":2000} +/user/username/projects/myproject/jsconfig.json: + {"pollingInterval":2000} +/user/username/projects/myproject/src/sub/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/myproject/src/node_modules/@types: + {"pollingInterval":500} + +FsWatches:: +/user/username/projects/myproject/tsconfig.json: + {} +/user/username/projects/myproject/src/bar.ts: + {} +/a/lib/lib.d.ts: + {} + +FsWatchesRecursive:: +/user/username/projects/myproject/src: + {} 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.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.js index bdd01d459567f..f607fe109263c 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.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.js @@ -10,6 +10,7 @@ Info 1 [16:00:28.000] request: "seq": 1, "type": "request" } +Before request //// [/user/username/projects/myproject/src/foo.ts] export function foo() { } @@ -91,6 +92,7 @@ Info 23 [16:00:52.000] ----------------------------------------------- Info 23 [16:00:53.000] Open files: Info 23 [16:00:54.000] FileName: /user/username/projects/myproject/src/foo.ts ProjectRootPath: /user/username/projects/myproject Info 23 [16:00:55.000] Projects: /user/username/projects/myproject/tsconfig.json +After request PolledWatches:: /user/username/projects/myproject/node_modules/@types: @@ -127,6 +129,7 @@ Info 28 [16:01:03.000] request: "seq": 2, "type": "request" } +Before request //// [/user/username/projects/myproject/src/sub/fooBar.ts] export function fooBar() { } @@ -178,6 +181,7 @@ Info 36 [16:01:15.000] FileName: /user/username/projects/myproject/src/foo.ts Info 36 [16:01:16.000] Projects: /user/username/projects/myproject/tsconfig.json Info 36 [16:01:17.000] FileName: /user/username/projects/myproject/src/sub/fooBar.ts ProjectRootPath: /user/username/projects/myproject Info 36 [16:01:18.000] Projects: /user/username/projects/myproject/tsconfig.json +After request PolledWatches:: /user/username/projects/myproject/node_modules/@types: @@ -212,6 +216,7 @@ Info 37 [16:01:20.000] request: "seq": 3, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/node_modules/@types: @@ -229,6 +234,7 @@ FsWatchesRecursive:: /user/username/projects/myproject/src: {} +After request PolledWatches:: /user/username/projects/myproject/node_modules/@types: @@ -250,17 +256,268 @@ Info 38 [16:01:21.000] response: { "responseRequired": false } +Checking timeout queue length: 3 + +PolledWatches:: +/user/username/projects/myproject/node_modules/@types: + {"pollingInterval":500} + +FsWatches:: +/user/username/projects/myproject/tsconfig.json: + {} +/user/username/projects/myproject/src/bar.ts: + {} +/a/lib/lib.d.ts: + {} + +FsWatchesRecursive:: +/user/username/projects/myproject/src: + {} + +Before running timeout callback3 + +PolledWatches:: +/user/username/projects/myproject/node_modules/@types: + {"pollingInterval":500} + +FsWatches:: +/user/username/projects/myproject/tsconfig.json: + {} +/user/username/projects/myproject/src/bar.ts: + {} +/a/lib/lib.d.ts: + {} + +FsWatchesRecursive:: +/user/username/projects/myproject/src: + {} + Info 39 [16:01:22.000] event: {"seq":0,"type":"event","event":"syntaxDiag","body":{"file":"/user/username/projects/myproject/src/foo.ts","diagnostics":[]}} +After running timeout callback3 + +PolledWatches:: +/user/username/projects/myproject/node_modules/@types: + {"pollingInterval":500} + +FsWatches:: +/user/username/projects/myproject/tsconfig.json: + {} +/user/username/projects/myproject/src/bar.ts: + {} +/a/lib/lib.d.ts: + {} + +FsWatchesRecursive:: +/user/username/projects/myproject/src: + {} + +Before running immediate callbacks and checking length (1) + +PolledWatches:: +/user/username/projects/myproject/node_modules/@types: + {"pollingInterval":500} + +FsWatches:: +/user/username/projects/myproject/tsconfig.json: + {} +/user/username/projects/myproject/src/bar.ts: + {} +/a/lib/lib.d.ts: + {} + +FsWatchesRecursive:: +/user/username/projects/myproject/src: + {} + Info 40 [16:01:23.000] event: {"seq":0,"type":"event","event":"semanticDiag","body":{"file":"/user/username/projects/myproject/src/foo.ts","diagnostics":[]}} +Before running immediate callbacks and checking length (1) + +PolledWatches:: +/user/username/projects/myproject/node_modules/@types: + {"pollingInterval":500} + +FsWatches:: +/user/username/projects/myproject/tsconfig.json: + {} +/user/username/projects/myproject/src/bar.ts: + {} +/a/lib/lib.d.ts: + {} + +FsWatchesRecursive:: +/user/username/projects/myproject/src: + {} + +Before running immediate callbacks and checking length (1) + +PolledWatches:: +/user/username/projects/myproject/node_modules/@types: + {"pollingInterval":500} + +FsWatches:: +/user/username/projects/myproject/tsconfig.json: + {} +/user/username/projects/myproject/src/bar.ts: + {} +/a/lib/lib.d.ts: + {} + +FsWatchesRecursive:: +/user/username/projects/myproject/src: + {} + Info 41 [16:01:24.000] event: {"seq":0,"type":"event","event":"suggestionDiag","body":{"file":"/user/username/projects/myproject/src/foo.ts","diagnostics":[]}} +Before running immediate callbacks and checking length (1) + +PolledWatches:: +/user/username/projects/myproject/node_modules/@types: + {"pollingInterval":500} + +FsWatches:: +/user/username/projects/myproject/tsconfig.json: + {} +/user/username/projects/myproject/src/bar.ts: + {} +/a/lib/lib.d.ts: + {} + +FsWatchesRecursive:: +/user/username/projects/myproject/src: + {} + +Checking timeout queue length: 3 + +PolledWatches:: +/user/username/projects/myproject/node_modules/@types: + {"pollingInterval":500} + +FsWatches:: +/user/username/projects/myproject/tsconfig.json: + {} +/user/username/projects/myproject/src/bar.ts: + {} +/a/lib/lib.d.ts: + {} + +FsWatchesRecursive:: +/user/username/projects/myproject/src: + {} + +Before running timeout callback4 + +PolledWatches:: +/user/username/projects/myproject/node_modules/@types: + {"pollingInterval":500} + +FsWatches:: +/user/username/projects/myproject/tsconfig.json: + {} +/user/username/projects/myproject/src/bar.ts: + {} +/a/lib/lib.d.ts: + {} + +FsWatchesRecursive:: +/user/username/projects/myproject/src: + {} + Info 42 [16:01:25.000] event: {"seq":0,"type":"event","event":"syntaxDiag","body":{"file":"/user/username/projects/myproject/src/sub/fooBar.ts","diagnostics":[]}} +After running timeout callback4 + +PolledWatches:: +/user/username/projects/myproject/node_modules/@types: + {"pollingInterval":500} + +FsWatches:: +/user/username/projects/myproject/tsconfig.json: + {} +/user/username/projects/myproject/src/bar.ts: + {} +/a/lib/lib.d.ts: + {} + +FsWatchesRecursive:: +/user/username/projects/myproject/src: + {} + +Before running immediate callbacks and checking length (1) + +PolledWatches:: +/user/username/projects/myproject/node_modules/@types: + {"pollingInterval":500} + +FsWatches:: +/user/username/projects/myproject/tsconfig.json: + {} +/user/username/projects/myproject/src/bar.ts: + {} +/a/lib/lib.d.ts: + {} + +FsWatchesRecursive:: +/user/username/projects/myproject/src: + {} + Info 43 [16:01:26.000] event: {"seq":0,"type":"event","event":"semanticDiag","body":{"file":"/user/username/projects/myproject/src/sub/fooBar.ts","diagnostics":[]}} +Before running immediate callbacks and checking length (1) + +PolledWatches:: +/user/username/projects/myproject/node_modules/@types: + {"pollingInterval":500} + +FsWatches:: +/user/username/projects/myproject/tsconfig.json: + {} +/user/username/projects/myproject/src/bar.ts: + {} +/a/lib/lib.d.ts: + {} + +FsWatchesRecursive:: +/user/username/projects/myproject/src: + {} + +Before running immediate callbacks and checking length (1) + +PolledWatches:: +/user/username/projects/myproject/node_modules/@types: + {"pollingInterval":500} + +FsWatches:: +/user/username/projects/myproject/tsconfig.json: + {} +/user/username/projects/myproject/src/bar.ts: + {} +/a/lib/lib.d.ts: + {} + +FsWatchesRecursive:: +/user/username/projects/myproject/src: + {} + Info 44 [16:01:27.000] event: {"seq":0,"type":"event","event":"suggestionDiag","body":{"file":"/user/username/projects/myproject/src/sub/fooBar.ts","diagnostics":[]}} Info 45 [16:01:28.000] event: - {"seq":0,"type":"event","event":"requestCompleted","body":{"request_seq":3}} \ No newline at end of file + {"seq":0,"type":"event","event":"requestCompleted","body":{"request_seq":3}} +Before running immediate callbacks and checking length (1) + +PolledWatches:: +/user/username/projects/myproject/node_modules/@types: + {"pollingInterval":500} + +FsWatches:: +/user/username/projects/myproject/tsconfig.json: + {} +/user/username/projects/myproject/src/bar.ts: + {} +/a/lib/lib.d.ts: + {} + +FsWatchesRecursive:: +/user/username/projects/myproject/src: + {} 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 bf88f548e7023..145d8af914b5e 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 @@ -10,6 +10,7 @@ Info 1 [16:00:28.000] request: "seq": 1, "type": "request" } +Before request //// [/user/username/projects/myproject/src/foo.ts] export function foo() { } @@ -91,6 +92,7 @@ Info 23 [16:00:52.000] ----------------------------------------------- Info 23 [16:00:53.000] Open files: Info 23 [16:00:54.000] FileName: /user/username/projects/myproject/src/foo.ts ProjectRootPath: /user/username/projects/myproject Info 23 [16:00:55.000] Projects: /user/username/projects/myproject/tsconfig.json +After request PolledWatches:: /user/username/projects/myproject/node_modules/@types: @@ -126,6 +128,7 @@ Info 27 [16:01:02.000] request: "seq": 2, "type": "request" } +Before request //// [/user/username/projects/myproject/src/sub/fooBar.ts] export function fooBar() { } @@ -189,6 +192,7 @@ Info 48 [16:01:30.000] FileName: /user/username/projects/myproject/src/foo.ts Info 48 [16:01:31.000] Projects: /user/username/projects/myproject/tsconfig.json Info 48 [16:01:32.000] FileName: /user/username/projects/myproject/src/sub/fooBar.ts ProjectRootPath: /user/username/projects/myproject Info 48 [16:01:33.000] Projects: /dev/null/inferredProject1* +After request PolledWatches:: /user/username/projects/myproject/node_modules/@types: @@ -237,6 +241,7 @@ Info 49 [16:01:35.000] request: "seq": 3, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/node_modules/@types: @@ -268,6 +273,7 @@ FsWatchesRecursive:: /user/username/projects/myproject/src: {} +After request PolledWatches:: /user/username/projects/myproject/node_modules/@types: @@ -303,17 +309,464 @@ Info 50 [16:01:36.000] response: { "responseRequired": false } +Checking timeout queue length: 1 + +PolledWatches:: +/user/username/projects/myproject/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/myproject/src/sub/tsconfig.json: + {"pollingInterval":2000} +/user/username/projects/myproject/src/sub/jsconfig.json: + {"pollingInterval":2000} +/user/username/projects/myproject/src/tsconfig.json: + {"pollingInterval":2000} +/user/username/projects/myproject/src/jsconfig.json: + {"pollingInterval":2000} +/user/username/projects/myproject/jsconfig.json: + {"pollingInterval":2000} +/user/username/projects/myproject/src/sub/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/myproject/src/node_modules/@types: + {"pollingInterval":500} + +FsWatches:: +/user/username/projects/myproject/tsconfig.json: + {} +/user/username/projects/myproject/src/bar.ts: + {} +/a/lib/lib.d.ts: + {} + +FsWatchesRecursive:: +/user/username/projects/myproject/src: + {} + +Before running timeout callback1 + +PolledWatches:: +/user/username/projects/myproject/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/myproject/src/sub/tsconfig.json: + {"pollingInterval":2000} +/user/username/projects/myproject/src/sub/jsconfig.json: + {"pollingInterval":2000} +/user/username/projects/myproject/src/tsconfig.json: + {"pollingInterval":2000} +/user/username/projects/myproject/src/jsconfig.json: + {"pollingInterval":2000} +/user/username/projects/myproject/jsconfig.json: + {"pollingInterval":2000} +/user/username/projects/myproject/src/sub/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/myproject/src/node_modules/@types: + {"pollingInterval":500} + +FsWatches:: +/user/username/projects/myproject/tsconfig.json: + {} +/user/username/projects/myproject/src/bar.ts: + {} +/a/lib/lib.d.ts: + {} + +FsWatchesRecursive:: +/user/username/projects/myproject/src: + {} + Info 51 [16:01:37.000] event: {"seq":0,"type":"event","event":"syntaxDiag","body":{"file":"/user/username/projects/myproject/src/sub/fooBar.ts","diagnostics":[]}} +After running timeout callback1 + +PolledWatches:: +/user/username/projects/myproject/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/myproject/src/sub/tsconfig.json: + {"pollingInterval":2000} +/user/username/projects/myproject/src/sub/jsconfig.json: + {"pollingInterval":2000} +/user/username/projects/myproject/src/tsconfig.json: + {"pollingInterval":2000} +/user/username/projects/myproject/src/jsconfig.json: + {"pollingInterval":2000} +/user/username/projects/myproject/jsconfig.json: + {"pollingInterval":2000} +/user/username/projects/myproject/src/sub/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/myproject/src/node_modules/@types: + {"pollingInterval":500} + +FsWatches:: +/user/username/projects/myproject/tsconfig.json: + {} +/user/username/projects/myproject/src/bar.ts: + {} +/a/lib/lib.d.ts: + {} + +FsWatchesRecursive:: +/user/username/projects/myproject/src: + {} + +Before running immediate callbacks and checking length (1) + +PolledWatches:: +/user/username/projects/myproject/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/myproject/src/sub/tsconfig.json: + {"pollingInterval":2000} +/user/username/projects/myproject/src/sub/jsconfig.json: + {"pollingInterval":2000} +/user/username/projects/myproject/src/tsconfig.json: + {"pollingInterval":2000} +/user/username/projects/myproject/src/jsconfig.json: + {"pollingInterval":2000} +/user/username/projects/myproject/jsconfig.json: + {"pollingInterval":2000} +/user/username/projects/myproject/src/sub/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/myproject/src/node_modules/@types: + {"pollingInterval":500} + +FsWatches:: +/user/username/projects/myproject/tsconfig.json: + {} +/user/username/projects/myproject/src/bar.ts: + {} +/a/lib/lib.d.ts: + {} + +FsWatchesRecursive:: +/user/username/projects/myproject/src: + {} + Info 52 [16:01:38.000] event: {"seq":0,"type":"event","event":"semanticDiag","body":{"file":"/user/username/projects/myproject/src/sub/fooBar.ts","diagnostics":[]}} +Before running immediate callbacks and checking length (1) + +PolledWatches:: +/user/username/projects/myproject/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/myproject/src/sub/tsconfig.json: + {"pollingInterval":2000} +/user/username/projects/myproject/src/sub/jsconfig.json: + {"pollingInterval":2000} +/user/username/projects/myproject/src/tsconfig.json: + {"pollingInterval":2000} +/user/username/projects/myproject/src/jsconfig.json: + {"pollingInterval":2000} +/user/username/projects/myproject/jsconfig.json: + {"pollingInterval":2000} +/user/username/projects/myproject/src/sub/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/myproject/src/node_modules/@types: + {"pollingInterval":500} + +FsWatches:: +/user/username/projects/myproject/tsconfig.json: + {} +/user/username/projects/myproject/src/bar.ts: + {} +/a/lib/lib.d.ts: + {} + +FsWatchesRecursive:: +/user/username/projects/myproject/src: + {} + +Before running immediate callbacks and checking length (1) + +PolledWatches:: +/user/username/projects/myproject/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/myproject/src/sub/tsconfig.json: + {"pollingInterval":2000} +/user/username/projects/myproject/src/sub/jsconfig.json: + {"pollingInterval":2000} +/user/username/projects/myproject/src/tsconfig.json: + {"pollingInterval":2000} +/user/username/projects/myproject/src/jsconfig.json: + {"pollingInterval":2000} +/user/username/projects/myproject/jsconfig.json: + {"pollingInterval":2000} +/user/username/projects/myproject/src/sub/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/myproject/src/node_modules/@types: + {"pollingInterval":500} + +FsWatches:: +/user/username/projects/myproject/tsconfig.json: + {} +/user/username/projects/myproject/src/bar.ts: + {} +/a/lib/lib.d.ts: + {} + +FsWatchesRecursive:: +/user/username/projects/myproject/src: + {} + Info 53 [16:01:39.000] event: {"seq":0,"type":"event","event":"suggestionDiag","body":{"file":"/user/username/projects/myproject/src/sub/fooBar.ts","diagnostics":[]}} +Before running immediate callbacks and checking length (1) + +PolledWatches:: +/user/username/projects/myproject/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/myproject/src/sub/tsconfig.json: + {"pollingInterval":2000} +/user/username/projects/myproject/src/sub/jsconfig.json: + {"pollingInterval":2000} +/user/username/projects/myproject/src/tsconfig.json: + {"pollingInterval":2000} +/user/username/projects/myproject/src/jsconfig.json: + {"pollingInterval":2000} +/user/username/projects/myproject/jsconfig.json: + {"pollingInterval":2000} +/user/username/projects/myproject/src/sub/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/myproject/src/node_modules/@types: + {"pollingInterval":500} + +FsWatches:: +/user/username/projects/myproject/tsconfig.json: + {} +/user/username/projects/myproject/src/bar.ts: + {} +/a/lib/lib.d.ts: + {} + +FsWatchesRecursive:: +/user/username/projects/myproject/src: + {} + +Checking timeout queue length: 1 + +PolledWatches:: +/user/username/projects/myproject/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/myproject/src/sub/tsconfig.json: + {"pollingInterval":2000} +/user/username/projects/myproject/src/sub/jsconfig.json: + {"pollingInterval":2000} +/user/username/projects/myproject/src/tsconfig.json: + {"pollingInterval":2000} +/user/username/projects/myproject/src/jsconfig.json: + {"pollingInterval":2000} +/user/username/projects/myproject/jsconfig.json: + {"pollingInterval":2000} +/user/username/projects/myproject/src/sub/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/myproject/src/node_modules/@types: + {"pollingInterval":500} + +FsWatches:: +/user/username/projects/myproject/tsconfig.json: + {} +/user/username/projects/myproject/src/bar.ts: + {} +/a/lib/lib.d.ts: + {} + +FsWatchesRecursive:: +/user/username/projects/myproject/src: + {} + +Before running timeout callback2 + +PolledWatches:: +/user/username/projects/myproject/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/myproject/src/sub/tsconfig.json: + {"pollingInterval":2000} +/user/username/projects/myproject/src/sub/jsconfig.json: + {"pollingInterval":2000} +/user/username/projects/myproject/src/tsconfig.json: + {"pollingInterval":2000} +/user/username/projects/myproject/src/jsconfig.json: + {"pollingInterval":2000} +/user/username/projects/myproject/jsconfig.json: + {"pollingInterval":2000} +/user/username/projects/myproject/src/sub/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/myproject/src/node_modules/@types: + {"pollingInterval":500} + +FsWatches:: +/user/username/projects/myproject/tsconfig.json: + {} +/user/username/projects/myproject/src/bar.ts: + {} +/a/lib/lib.d.ts: + {} + +FsWatchesRecursive:: +/user/username/projects/myproject/src: + {} + Info 54 [16:01:40.000] event: {"seq":0,"type":"event","event":"syntaxDiag","body":{"file":"/user/username/projects/myproject/src/foo.ts","diagnostics":[]}} +After running timeout callback2 + +PolledWatches:: +/user/username/projects/myproject/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/myproject/src/sub/tsconfig.json: + {"pollingInterval":2000} +/user/username/projects/myproject/src/sub/jsconfig.json: + {"pollingInterval":2000} +/user/username/projects/myproject/src/tsconfig.json: + {"pollingInterval":2000} +/user/username/projects/myproject/src/jsconfig.json: + {"pollingInterval":2000} +/user/username/projects/myproject/jsconfig.json: + {"pollingInterval":2000} +/user/username/projects/myproject/src/sub/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/myproject/src/node_modules/@types: + {"pollingInterval":500} + +FsWatches:: +/user/username/projects/myproject/tsconfig.json: + {} +/user/username/projects/myproject/src/bar.ts: + {} +/a/lib/lib.d.ts: + {} + +FsWatchesRecursive:: +/user/username/projects/myproject/src: + {} + +Before running immediate callbacks and checking length (1) + +PolledWatches:: +/user/username/projects/myproject/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/myproject/src/sub/tsconfig.json: + {"pollingInterval":2000} +/user/username/projects/myproject/src/sub/jsconfig.json: + {"pollingInterval":2000} +/user/username/projects/myproject/src/tsconfig.json: + {"pollingInterval":2000} +/user/username/projects/myproject/src/jsconfig.json: + {"pollingInterval":2000} +/user/username/projects/myproject/jsconfig.json: + {"pollingInterval":2000} +/user/username/projects/myproject/src/sub/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/myproject/src/node_modules/@types: + {"pollingInterval":500} + +FsWatches:: +/user/username/projects/myproject/tsconfig.json: + {} +/user/username/projects/myproject/src/bar.ts: + {} +/a/lib/lib.d.ts: + {} + +FsWatchesRecursive:: +/user/username/projects/myproject/src: + {} + Info 55 [16:01:41.000] event: {"seq":0,"type":"event","event":"semanticDiag","body":{"file":"/user/username/projects/myproject/src/foo.ts","diagnostics":[]}} +Before running immediate callbacks and checking length (1) + +PolledWatches:: +/user/username/projects/myproject/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/myproject/src/sub/tsconfig.json: + {"pollingInterval":2000} +/user/username/projects/myproject/src/sub/jsconfig.json: + {"pollingInterval":2000} +/user/username/projects/myproject/src/tsconfig.json: + {"pollingInterval":2000} +/user/username/projects/myproject/src/jsconfig.json: + {"pollingInterval":2000} +/user/username/projects/myproject/jsconfig.json: + {"pollingInterval":2000} +/user/username/projects/myproject/src/sub/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/myproject/src/node_modules/@types: + {"pollingInterval":500} + +FsWatches:: +/user/username/projects/myproject/tsconfig.json: + {} +/user/username/projects/myproject/src/bar.ts: + {} +/a/lib/lib.d.ts: + {} + +FsWatchesRecursive:: +/user/username/projects/myproject/src: + {} + +Before running immediate callbacks and checking length (1) + +PolledWatches:: +/user/username/projects/myproject/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/myproject/src/sub/tsconfig.json: + {"pollingInterval":2000} +/user/username/projects/myproject/src/sub/jsconfig.json: + {"pollingInterval":2000} +/user/username/projects/myproject/src/tsconfig.json: + {"pollingInterval":2000} +/user/username/projects/myproject/src/jsconfig.json: + {"pollingInterval":2000} +/user/username/projects/myproject/jsconfig.json: + {"pollingInterval":2000} +/user/username/projects/myproject/src/sub/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/myproject/src/node_modules/@types: + {"pollingInterval":500} + +FsWatches:: +/user/username/projects/myproject/tsconfig.json: + {} +/user/username/projects/myproject/src/bar.ts: + {} +/a/lib/lib.d.ts: + {} + +FsWatchesRecursive:: +/user/username/projects/myproject/src: + {} + Info 56 [16:01:42.000] event: {"seq":0,"type":"event","event":"suggestionDiag","body":{"file":"/user/username/projects/myproject/src/foo.ts","diagnostics":[]}} Info 57 [16:01:43.000] event: - {"seq":0,"type":"event","event":"requestCompleted","body":{"request_seq":3}} \ No newline at end of file + {"seq":0,"type":"event","event":"requestCompleted","body":{"request_seq":3}} +Before running immediate callbacks and checking length (1) + +PolledWatches:: +/user/username/projects/myproject/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/myproject/src/sub/tsconfig.json: + {"pollingInterval":2000} +/user/username/projects/myproject/src/sub/jsconfig.json: + {"pollingInterval":2000} +/user/username/projects/myproject/src/tsconfig.json: + {"pollingInterval":2000} +/user/username/projects/myproject/src/jsconfig.json: + {"pollingInterval":2000} +/user/username/projects/myproject/jsconfig.json: + {"pollingInterval":2000} +/user/username/projects/myproject/src/sub/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/myproject/src/node_modules/@types: + {"pollingInterval":500} + +FsWatches:: +/user/username/projects/myproject/tsconfig.json: + {} +/user/username/projects/myproject/src/bar.ts: + {} +/a/lib/lib.d.ts: + {} + +FsWatchesRecursive:: +/user/username/projects/myproject/src: + {} 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.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.js index b3eaf824398a4..ff272e034c518 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.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.js @@ -10,6 +10,7 @@ Info 1 [16:00:28.000] request: "seq": 1, "type": "request" } +Before request //// [/user/username/projects/myproject/src/foo.ts] export function foo() { } @@ -91,6 +92,7 @@ Info 23 [16:00:52.000] ----------------------------------------------- Info 23 [16:00:53.000] Open files: Info 23 [16:00:54.000] FileName: /user/username/projects/myproject/src/foo.ts ProjectRootPath: /user/username/projects/myproject Info 23 [16:00:55.000] Projects: /user/username/projects/myproject/tsconfig.json +After request PolledWatches:: /user/username/projects/myproject/node_modules/@types: @@ -127,6 +129,7 @@ Info 28 [16:01:03.000] request: "seq": 2, "type": "request" } +Before request //// [/user/username/projects/myproject/src/sub/fooBar.ts] export function fooBar() { } @@ -178,6 +181,7 @@ Info 36 [16:01:15.000] FileName: /user/username/projects/myproject/src/foo.ts Info 36 [16:01:16.000] Projects: /user/username/projects/myproject/tsconfig.json Info 36 [16:01:17.000] FileName: /user/username/projects/myproject/src/sub/fooBar.ts ProjectRootPath: /user/username/projects/myproject Info 36 [16:01:18.000] Projects: /user/username/projects/myproject/tsconfig.json +After request PolledWatches:: /user/username/projects/myproject/node_modules/@types: @@ -212,6 +216,7 @@ Info 37 [16:01:20.000] request: "seq": 3, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/node_modules/@types: @@ -229,6 +234,7 @@ FsWatchesRecursive:: /user/username/projects/myproject/src: {} +After request PolledWatches:: /user/username/projects/myproject/node_modules/@types: @@ -250,17 +256,268 @@ Info 38 [16:01:21.000] response: { "responseRequired": false } +Checking timeout queue length: 3 + +PolledWatches:: +/user/username/projects/myproject/node_modules/@types: + {"pollingInterval":500} + +FsWatches:: +/user/username/projects/myproject/tsconfig.json: + {} +/user/username/projects/myproject/src/bar.ts: + {} +/a/lib/lib.d.ts: + {} + +FsWatchesRecursive:: +/user/username/projects/myproject/src: + {} + +Before running timeout callback3 + +PolledWatches:: +/user/username/projects/myproject/node_modules/@types: + {"pollingInterval":500} + +FsWatches:: +/user/username/projects/myproject/tsconfig.json: + {} +/user/username/projects/myproject/src/bar.ts: + {} +/a/lib/lib.d.ts: + {} + +FsWatchesRecursive:: +/user/username/projects/myproject/src: + {} + Info 39 [16:01:22.000] event: {"seq":0,"type":"event","event":"syntaxDiag","body":{"file":"/user/username/projects/myproject/src/sub/fooBar.ts","diagnostics":[]}} +After running timeout callback3 + +PolledWatches:: +/user/username/projects/myproject/node_modules/@types: + {"pollingInterval":500} + +FsWatches:: +/user/username/projects/myproject/tsconfig.json: + {} +/user/username/projects/myproject/src/bar.ts: + {} +/a/lib/lib.d.ts: + {} + +FsWatchesRecursive:: +/user/username/projects/myproject/src: + {} + +Before running immediate callbacks and checking length (1) + +PolledWatches:: +/user/username/projects/myproject/node_modules/@types: + {"pollingInterval":500} + +FsWatches:: +/user/username/projects/myproject/tsconfig.json: + {} +/user/username/projects/myproject/src/bar.ts: + {} +/a/lib/lib.d.ts: + {} + +FsWatchesRecursive:: +/user/username/projects/myproject/src: + {} + Info 40 [16:01:23.000] event: {"seq":0,"type":"event","event":"semanticDiag","body":{"file":"/user/username/projects/myproject/src/sub/fooBar.ts","diagnostics":[]}} +Before running immediate callbacks and checking length (1) + +PolledWatches:: +/user/username/projects/myproject/node_modules/@types: + {"pollingInterval":500} + +FsWatches:: +/user/username/projects/myproject/tsconfig.json: + {} +/user/username/projects/myproject/src/bar.ts: + {} +/a/lib/lib.d.ts: + {} + +FsWatchesRecursive:: +/user/username/projects/myproject/src: + {} + +Before running immediate callbacks and checking length (1) + +PolledWatches:: +/user/username/projects/myproject/node_modules/@types: + {"pollingInterval":500} + +FsWatches:: +/user/username/projects/myproject/tsconfig.json: + {} +/user/username/projects/myproject/src/bar.ts: + {} +/a/lib/lib.d.ts: + {} + +FsWatchesRecursive:: +/user/username/projects/myproject/src: + {} + Info 41 [16:01:24.000] event: {"seq":0,"type":"event","event":"suggestionDiag","body":{"file":"/user/username/projects/myproject/src/sub/fooBar.ts","diagnostics":[]}} +Before running immediate callbacks and checking length (1) + +PolledWatches:: +/user/username/projects/myproject/node_modules/@types: + {"pollingInterval":500} + +FsWatches:: +/user/username/projects/myproject/tsconfig.json: + {} +/user/username/projects/myproject/src/bar.ts: + {} +/a/lib/lib.d.ts: + {} + +FsWatchesRecursive:: +/user/username/projects/myproject/src: + {} + +Checking timeout queue length: 3 + +PolledWatches:: +/user/username/projects/myproject/node_modules/@types: + {"pollingInterval":500} + +FsWatches:: +/user/username/projects/myproject/tsconfig.json: + {} +/user/username/projects/myproject/src/bar.ts: + {} +/a/lib/lib.d.ts: + {} + +FsWatchesRecursive:: +/user/username/projects/myproject/src: + {} + +Before running timeout callback4 + +PolledWatches:: +/user/username/projects/myproject/node_modules/@types: + {"pollingInterval":500} + +FsWatches:: +/user/username/projects/myproject/tsconfig.json: + {} +/user/username/projects/myproject/src/bar.ts: + {} +/a/lib/lib.d.ts: + {} + +FsWatchesRecursive:: +/user/username/projects/myproject/src: + {} + Info 42 [16:01:25.000] event: {"seq":0,"type":"event","event":"syntaxDiag","body":{"file":"/user/username/projects/myproject/src/foo.ts","diagnostics":[]}} +After running timeout callback4 + +PolledWatches:: +/user/username/projects/myproject/node_modules/@types: + {"pollingInterval":500} + +FsWatches:: +/user/username/projects/myproject/tsconfig.json: + {} +/user/username/projects/myproject/src/bar.ts: + {} +/a/lib/lib.d.ts: + {} + +FsWatchesRecursive:: +/user/username/projects/myproject/src: + {} + +Before running immediate callbacks and checking length (1) + +PolledWatches:: +/user/username/projects/myproject/node_modules/@types: + {"pollingInterval":500} + +FsWatches:: +/user/username/projects/myproject/tsconfig.json: + {} +/user/username/projects/myproject/src/bar.ts: + {} +/a/lib/lib.d.ts: + {} + +FsWatchesRecursive:: +/user/username/projects/myproject/src: + {} + Info 43 [16:01:26.000] event: {"seq":0,"type":"event","event":"semanticDiag","body":{"file":"/user/username/projects/myproject/src/foo.ts","diagnostics":[]}} +Before running immediate callbacks and checking length (1) + +PolledWatches:: +/user/username/projects/myproject/node_modules/@types: + {"pollingInterval":500} + +FsWatches:: +/user/username/projects/myproject/tsconfig.json: + {} +/user/username/projects/myproject/src/bar.ts: + {} +/a/lib/lib.d.ts: + {} + +FsWatchesRecursive:: +/user/username/projects/myproject/src: + {} + +Before running immediate callbacks and checking length (1) + +PolledWatches:: +/user/username/projects/myproject/node_modules/@types: + {"pollingInterval":500} + +FsWatches:: +/user/username/projects/myproject/tsconfig.json: + {} +/user/username/projects/myproject/src/bar.ts: + {} +/a/lib/lib.d.ts: + {} + +FsWatchesRecursive:: +/user/username/projects/myproject/src: + {} + Info 44 [16:01:27.000] event: {"seq":0,"type":"event","event":"suggestionDiag","body":{"file":"/user/username/projects/myproject/src/foo.ts","diagnostics":[]}} Info 45 [16:01:28.000] event: - {"seq":0,"type":"event","event":"requestCompleted","body":{"request_seq":3}} \ No newline at end of file + {"seq":0,"type":"event","event":"requestCompleted","body":{"request_seq":3}} +Before running immediate callbacks and checking length (1) + +PolledWatches:: +/user/username/projects/myproject/node_modules/@types: + {"pollingInterval":500} + +FsWatches:: +/user/username/projects/myproject/tsconfig.json: + {} +/user/username/projects/myproject/src/bar.ts: + {} +/a/lib/lib.d.ts: + {} + +FsWatchesRecursive:: +/user/username/projects/myproject/src: + {} 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 c6bf681663e7f..5717af5831bce 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 @@ -10,6 +10,7 @@ Info 1 [16:00:28.000] request: "seq": 1, "type": "request" } +Before request //// [/user/username/projects/myproject/src/foo.ts] export function foo() { } @@ -91,6 +92,7 @@ Info 23 [16:00:52.000] ----------------------------------------------- Info 23 [16:00:53.000] Open files: Info 23 [16:00:54.000] FileName: /user/username/projects/myproject/src/foo.ts ProjectRootPath: /user/username/projects/myproject Info 23 [16:00:55.000] Projects: /user/username/projects/myproject/tsconfig.json +After request PolledWatches:: /user/username/projects/myproject/node_modules/@types: @@ -123,6 +125,7 @@ Info 24 [16:00:57.000] request: "seq": 2, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/node_modules/@types: @@ -183,6 +186,7 @@ Info 45 [16:01:25.000] FileName: /user/username/projects/myproject/src/foo.ts Info 45 [16:01:26.000] Projects: /user/username/projects/myproject/tsconfig.json Info 45 [16:01:27.000] FileName: /user/username/projects/myproject/src/sub/fooBar.ts ProjectRootPath: /user/username/projects/myproject Info 45 [16:01:28.000] Projects: /dev/null/inferredProject1* +After request PolledWatches:: /user/username/projects/myproject/node_modules/@types: @@ -234,6 +238,7 @@ Info 49 [16:01:35.000] request: "seq": 3, "type": "request" } +Before request //// [/user/username/projects/myproject/src/sub/fooBar.ts] export function fooBar() { } @@ -268,6 +273,7 @@ FsWatchesRecursive:: /user/username/projects/myproject/src: {} +After request PolledWatches:: /user/username/projects/myproject/node_modules/@types: @@ -303,17 +309,464 @@ Info 50 [16:01:36.000] response: { "responseRequired": false } +Checking timeout queue length: 1 + +PolledWatches:: +/user/username/projects/myproject/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/myproject/src/sub/tsconfig.json: + {"pollingInterval":2000} +/user/username/projects/myproject/src/sub/jsconfig.json: + {"pollingInterval":2000} +/user/username/projects/myproject/src/tsconfig.json: + {"pollingInterval":2000} +/user/username/projects/myproject/src/jsconfig.json: + {"pollingInterval":2000} +/user/username/projects/myproject/jsconfig.json: + {"pollingInterval":2000} +/user/username/projects/myproject/src/sub/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/myproject/src/node_modules/@types: + {"pollingInterval":500} + +FsWatches:: +/user/username/projects/myproject/tsconfig.json: + {} +/user/username/projects/myproject/src/bar.ts: + {} +/a/lib/lib.d.ts: + {} + +FsWatchesRecursive:: +/user/username/projects/myproject/src: + {} + +Before running timeout callback1 + +PolledWatches:: +/user/username/projects/myproject/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/myproject/src/sub/tsconfig.json: + {"pollingInterval":2000} +/user/username/projects/myproject/src/sub/jsconfig.json: + {"pollingInterval":2000} +/user/username/projects/myproject/src/tsconfig.json: + {"pollingInterval":2000} +/user/username/projects/myproject/src/jsconfig.json: + {"pollingInterval":2000} +/user/username/projects/myproject/jsconfig.json: + {"pollingInterval":2000} +/user/username/projects/myproject/src/sub/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/myproject/src/node_modules/@types: + {"pollingInterval":500} + +FsWatches:: +/user/username/projects/myproject/tsconfig.json: + {} +/user/username/projects/myproject/src/bar.ts: + {} +/a/lib/lib.d.ts: + {} + +FsWatchesRecursive:: +/user/username/projects/myproject/src: + {} + Info 51 [16:01:37.000] event: {"seq":0,"type":"event","event":"syntaxDiag","body":{"file":"/user/username/projects/myproject/src/foo.ts","diagnostics":[]}} +After running timeout callback1 + +PolledWatches:: +/user/username/projects/myproject/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/myproject/src/sub/tsconfig.json: + {"pollingInterval":2000} +/user/username/projects/myproject/src/sub/jsconfig.json: + {"pollingInterval":2000} +/user/username/projects/myproject/src/tsconfig.json: + {"pollingInterval":2000} +/user/username/projects/myproject/src/jsconfig.json: + {"pollingInterval":2000} +/user/username/projects/myproject/jsconfig.json: + {"pollingInterval":2000} +/user/username/projects/myproject/src/sub/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/myproject/src/node_modules/@types: + {"pollingInterval":500} + +FsWatches:: +/user/username/projects/myproject/tsconfig.json: + {} +/user/username/projects/myproject/src/bar.ts: + {} +/a/lib/lib.d.ts: + {} + +FsWatchesRecursive:: +/user/username/projects/myproject/src: + {} + +Before running immediate callbacks and checking length (1) + +PolledWatches:: +/user/username/projects/myproject/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/myproject/src/sub/tsconfig.json: + {"pollingInterval":2000} +/user/username/projects/myproject/src/sub/jsconfig.json: + {"pollingInterval":2000} +/user/username/projects/myproject/src/tsconfig.json: + {"pollingInterval":2000} +/user/username/projects/myproject/src/jsconfig.json: + {"pollingInterval":2000} +/user/username/projects/myproject/jsconfig.json: + {"pollingInterval":2000} +/user/username/projects/myproject/src/sub/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/myproject/src/node_modules/@types: + {"pollingInterval":500} + +FsWatches:: +/user/username/projects/myproject/tsconfig.json: + {} +/user/username/projects/myproject/src/bar.ts: + {} +/a/lib/lib.d.ts: + {} + +FsWatchesRecursive:: +/user/username/projects/myproject/src: + {} + Info 52 [16:01:38.000] event: {"seq":0,"type":"event","event":"semanticDiag","body":{"file":"/user/username/projects/myproject/src/foo.ts","diagnostics":[]}} +Before running immediate callbacks and checking length (1) + +PolledWatches:: +/user/username/projects/myproject/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/myproject/src/sub/tsconfig.json: + {"pollingInterval":2000} +/user/username/projects/myproject/src/sub/jsconfig.json: + {"pollingInterval":2000} +/user/username/projects/myproject/src/tsconfig.json: + {"pollingInterval":2000} +/user/username/projects/myproject/src/jsconfig.json: + {"pollingInterval":2000} +/user/username/projects/myproject/jsconfig.json: + {"pollingInterval":2000} +/user/username/projects/myproject/src/sub/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/myproject/src/node_modules/@types: + {"pollingInterval":500} + +FsWatches:: +/user/username/projects/myproject/tsconfig.json: + {} +/user/username/projects/myproject/src/bar.ts: + {} +/a/lib/lib.d.ts: + {} + +FsWatchesRecursive:: +/user/username/projects/myproject/src: + {} + +Before running immediate callbacks and checking length (1) + +PolledWatches:: +/user/username/projects/myproject/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/myproject/src/sub/tsconfig.json: + {"pollingInterval":2000} +/user/username/projects/myproject/src/sub/jsconfig.json: + {"pollingInterval":2000} +/user/username/projects/myproject/src/tsconfig.json: + {"pollingInterval":2000} +/user/username/projects/myproject/src/jsconfig.json: + {"pollingInterval":2000} +/user/username/projects/myproject/jsconfig.json: + {"pollingInterval":2000} +/user/username/projects/myproject/src/sub/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/myproject/src/node_modules/@types: + {"pollingInterval":500} + +FsWatches:: +/user/username/projects/myproject/tsconfig.json: + {} +/user/username/projects/myproject/src/bar.ts: + {} +/a/lib/lib.d.ts: + {} + +FsWatchesRecursive:: +/user/username/projects/myproject/src: + {} + Info 53 [16:01:39.000] event: {"seq":0,"type":"event","event":"suggestionDiag","body":{"file":"/user/username/projects/myproject/src/foo.ts","diagnostics":[]}} +Before running immediate callbacks and checking length (1) + +PolledWatches:: +/user/username/projects/myproject/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/myproject/src/sub/tsconfig.json: + {"pollingInterval":2000} +/user/username/projects/myproject/src/sub/jsconfig.json: + {"pollingInterval":2000} +/user/username/projects/myproject/src/tsconfig.json: + {"pollingInterval":2000} +/user/username/projects/myproject/src/jsconfig.json: + {"pollingInterval":2000} +/user/username/projects/myproject/jsconfig.json: + {"pollingInterval":2000} +/user/username/projects/myproject/src/sub/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/myproject/src/node_modules/@types: + {"pollingInterval":500} + +FsWatches:: +/user/username/projects/myproject/tsconfig.json: + {} +/user/username/projects/myproject/src/bar.ts: + {} +/a/lib/lib.d.ts: + {} + +FsWatchesRecursive:: +/user/username/projects/myproject/src: + {} + +Checking timeout queue length: 1 + +PolledWatches:: +/user/username/projects/myproject/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/myproject/src/sub/tsconfig.json: + {"pollingInterval":2000} +/user/username/projects/myproject/src/sub/jsconfig.json: + {"pollingInterval":2000} +/user/username/projects/myproject/src/tsconfig.json: + {"pollingInterval":2000} +/user/username/projects/myproject/src/jsconfig.json: + {"pollingInterval":2000} +/user/username/projects/myproject/jsconfig.json: + {"pollingInterval":2000} +/user/username/projects/myproject/src/sub/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/myproject/src/node_modules/@types: + {"pollingInterval":500} + +FsWatches:: +/user/username/projects/myproject/tsconfig.json: + {} +/user/username/projects/myproject/src/bar.ts: + {} +/a/lib/lib.d.ts: + {} + +FsWatchesRecursive:: +/user/username/projects/myproject/src: + {} + +Before running timeout callback2 + +PolledWatches:: +/user/username/projects/myproject/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/myproject/src/sub/tsconfig.json: + {"pollingInterval":2000} +/user/username/projects/myproject/src/sub/jsconfig.json: + {"pollingInterval":2000} +/user/username/projects/myproject/src/tsconfig.json: + {"pollingInterval":2000} +/user/username/projects/myproject/src/jsconfig.json: + {"pollingInterval":2000} +/user/username/projects/myproject/jsconfig.json: + {"pollingInterval":2000} +/user/username/projects/myproject/src/sub/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/myproject/src/node_modules/@types: + {"pollingInterval":500} + +FsWatches:: +/user/username/projects/myproject/tsconfig.json: + {} +/user/username/projects/myproject/src/bar.ts: + {} +/a/lib/lib.d.ts: + {} + +FsWatchesRecursive:: +/user/username/projects/myproject/src: + {} + Info 54 [16:01:40.000] event: {"seq":0,"type":"event","event":"syntaxDiag","body":{"file":"/user/username/projects/myproject/src/sub/fooBar.ts","diagnostics":[]}} +After running timeout callback2 + +PolledWatches:: +/user/username/projects/myproject/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/myproject/src/sub/tsconfig.json: + {"pollingInterval":2000} +/user/username/projects/myproject/src/sub/jsconfig.json: + {"pollingInterval":2000} +/user/username/projects/myproject/src/tsconfig.json: + {"pollingInterval":2000} +/user/username/projects/myproject/src/jsconfig.json: + {"pollingInterval":2000} +/user/username/projects/myproject/jsconfig.json: + {"pollingInterval":2000} +/user/username/projects/myproject/src/sub/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/myproject/src/node_modules/@types: + {"pollingInterval":500} + +FsWatches:: +/user/username/projects/myproject/tsconfig.json: + {} +/user/username/projects/myproject/src/bar.ts: + {} +/a/lib/lib.d.ts: + {} + +FsWatchesRecursive:: +/user/username/projects/myproject/src: + {} + +Before running immediate callbacks and checking length (1) + +PolledWatches:: +/user/username/projects/myproject/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/myproject/src/sub/tsconfig.json: + {"pollingInterval":2000} +/user/username/projects/myproject/src/sub/jsconfig.json: + {"pollingInterval":2000} +/user/username/projects/myproject/src/tsconfig.json: + {"pollingInterval":2000} +/user/username/projects/myproject/src/jsconfig.json: + {"pollingInterval":2000} +/user/username/projects/myproject/jsconfig.json: + {"pollingInterval":2000} +/user/username/projects/myproject/src/sub/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/myproject/src/node_modules/@types: + {"pollingInterval":500} + +FsWatches:: +/user/username/projects/myproject/tsconfig.json: + {} +/user/username/projects/myproject/src/bar.ts: + {} +/a/lib/lib.d.ts: + {} + +FsWatchesRecursive:: +/user/username/projects/myproject/src: + {} + Info 55 [16:01:41.000] event: {"seq":0,"type":"event","event":"semanticDiag","body":{"file":"/user/username/projects/myproject/src/sub/fooBar.ts","diagnostics":[]}} +Before running immediate callbacks and checking length (1) + +PolledWatches:: +/user/username/projects/myproject/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/myproject/src/sub/tsconfig.json: + {"pollingInterval":2000} +/user/username/projects/myproject/src/sub/jsconfig.json: + {"pollingInterval":2000} +/user/username/projects/myproject/src/tsconfig.json: + {"pollingInterval":2000} +/user/username/projects/myproject/src/jsconfig.json: + {"pollingInterval":2000} +/user/username/projects/myproject/jsconfig.json: + {"pollingInterval":2000} +/user/username/projects/myproject/src/sub/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/myproject/src/node_modules/@types: + {"pollingInterval":500} + +FsWatches:: +/user/username/projects/myproject/tsconfig.json: + {} +/user/username/projects/myproject/src/bar.ts: + {} +/a/lib/lib.d.ts: + {} + +FsWatchesRecursive:: +/user/username/projects/myproject/src: + {} + +Before running immediate callbacks and checking length (1) + +PolledWatches:: +/user/username/projects/myproject/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/myproject/src/sub/tsconfig.json: + {"pollingInterval":2000} +/user/username/projects/myproject/src/sub/jsconfig.json: + {"pollingInterval":2000} +/user/username/projects/myproject/src/tsconfig.json: + {"pollingInterval":2000} +/user/username/projects/myproject/src/jsconfig.json: + {"pollingInterval":2000} +/user/username/projects/myproject/jsconfig.json: + {"pollingInterval":2000} +/user/username/projects/myproject/src/sub/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/myproject/src/node_modules/@types: + {"pollingInterval":500} + +FsWatches:: +/user/username/projects/myproject/tsconfig.json: + {} +/user/username/projects/myproject/src/bar.ts: + {} +/a/lib/lib.d.ts: + {} + +FsWatchesRecursive:: +/user/username/projects/myproject/src: + {} + Info 56 [16:01:42.000] event: {"seq":0,"type":"event","event":"suggestionDiag","body":{"file":"/user/username/projects/myproject/src/sub/fooBar.ts","diagnostics":[]}} Info 57 [16:01:43.000] event: - {"seq":0,"type":"event","event":"requestCompleted","body":{"request_seq":3}} \ No newline at end of file + {"seq":0,"type":"event","event":"requestCompleted","body":{"request_seq":3}} +Before running immediate callbacks and checking length (1) + +PolledWatches:: +/user/username/projects/myproject/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/myproject/src/sub/tsconfig.json: + {"pollingInterval":2000} +/user/username/projects/myproject/src/sub/jsconfig.json: + {"pollingInterval":2000} +/user/username/projects/myproject/src/tsconfig.json: + {"pollingInterval":2000} +/user/username/projects/myproject/src/jsconfig.json: + {"pollingInterval":2000} +/user/username/projects/myproject/jsconfig.json: + {"pollingInterval":2000} +/user/username/projects/myproject/src/sub/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/myproject/src/node_modules/@types: + {"pollingInterval":500} + +FsWatches:: +/user/username/projects/myproject/tsconfig.json: + {} +/user/username/projects/myproject/src/bar.ts: + {} +/a/lib/lib.d.ts: + {} + +FsWatchesRecursive:: +/user/username/projects/myproject/src: + {} 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 d9a50284a9838..c7f67d903614b 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 @@ -10,6 +10,7 @@ Info 1 [16:00:28.000] request: "seq": 1, "type": "request" } +Before request //// [/user/username/projects/myproject/src/foo.ts] export function foo() { } @@ -91,6 +92,7 @@ Info 23 [16:00:52.000] ----------------------------------------------- Info 23 [16:00:53.000] Open files: Info 23 [16:00:54.000] FileName: /user/username/projects/myproject/src/foo.ts ProjectRootPath: /user/username/projects/myproject Info 23 [16:00:55.000] Projects: /user/username/projects/myproject/tsconfig.json +After request PolledWatches:: /user/username/projects/myproject/node_modules/@types: @@ -123,6 +125,7 @@ Info 24 [16:00:57.000] request: "seq": 2, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/node_modules/@types: @@ -183,6 +186,7 @@ Info 45 [16:01:25.000] FileName: /user/username/projects/myproject/src/foo.ts Info 45 [16:01:26.000] Projects: /user/username/projects/myproject/tsconfig.json Info 45 [16:01:27.000] FileName: /user/username/projects/myproject/src/sub/fooBar.ts ProjectRootPath: /user/username/projects/myproject Info 45 [16:01:28.000] Projects: /dev/null/inferredProject1* +After request PolledWatches:: /user/username/projects/myproject/node_modules/@types: @@ -235,6 +239,7 @@ Info 50 [16:01:36.000] request: "seq": 3, "type": "request" } +Before request //// [/user/username/projects/myproject/src/sub/fooBar.ts] export function fooBar() { } @@ -269,6 +274,7 @@ FsWatchesRecursive:: /user/username/projects/myproject/src: {} +After request PolledWatches:: /user/username/projects/myproject/node_modules/@types: @@ -304,6 +310,70 @@ Info 51 [16:01:37.000] response: { "responseRequired": false } +Checking timeout queue length: 3 + +PolledWatches:: +/user/username/projects/myproject/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/myproject/src/sub/tsconfig.json: + {"pollingInterval":2000} +/user/username/projects/myproject/src/sub/jsconfig.json: + {"pollingInterval":2000} +/user/username/projects/myproject/src/tsconfig.json: + {"pollingInterval":2000} +/user/username/projects/myproject/src/jsconfig.json: + {"pollingInterval":2000} +/user/username/projects/myproject/jsconfig.json: + {"pollingInterval":2000} +/user/username/projects/myproject/src/sub/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/myproject/src/node_modules/@types: + {"pollingInterval":500} + +FsWatches:: +/user/username/projects/myproject/tsconfig.json: + {} +/user/username/projects/myproject/src/bar.ts: + {} +/a/lib/lib.d.ts: + {} + +FsWatchesRecursive:: +/user/username/projects/myproject/src: + {} + +Before running timeout callback3 + +PolledWatches:: +/user/username/projects/myproject/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/myproject/src/sub/tsconfig.json: + {"pollingInterval":2000} +/user/username/projects/myproject/src/sub/jsconfig.json: + {"pollingInterval":2000} +/user/username/projects/myproject/src/tsconfig.json: + {"pollingInterval":2000} +/user/username/projects/myproject/src/jsconfig.json: + {"pollingInterval":2000} +/user/username/projects/myproject/jsconfig.json: + {"pollingInterval":2000} +/user/username/projects/myproject/src/sub/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/myproject/src/node_modules/@types: + {"pollingInterval":500} + +FsWatches:: +/user/username/projects/myproject/tsconfig.json: + {} +/user/username/projects/myproject/src/bar.ts: + {} +/a/lib/lib.d.ts: + {} + +FsWatchesRecursive:: +/user/username/projects/myproject/src: + {} + Info 52 [16:01:38.000] FileWatcher:: Close:: WatchInfo: /user/username/projects/myproject/src/sub/tsconfig.json 2000 undefined WatchType: Config file for the inferred project root Info 53 [16:01:39.000] FileWatcher:: Close:: WatchInfo: /user/username/projects/myproject/src/sub/jsconfig.json 2000 undefined WatchType: Config file for the inferred project root Info 54 [16:01:40.000] FileWatcher:: Close:: WatchInfo: /user/username/projects/myproject/src/tsconfig.json 2000 undefined WatchType: Config file for the inferred project root @@ -331,15 +401,278 @@ Info 60 [16:01:46.000] Files (4) Info 61 [16:01:47.000] ----------------------------------------------- Info 62 [16:01:48.000] event: {"seq":0,"type":"event","event":"syntaxDiag","body":{"file":"/user/username/projects/myproject/src/foo.ts","diagnostics":[]}} +After running timeout callback3 + +PolledWatches:: +/user/username/projects/myproject/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/myproject/src/sub/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/myproject/src/node_modules/@types: + {"pollingInterval":500} + +FsWatches:: +/user/username/projects/myproject/tsconfig.json: + {} +/user/username/projects/myproject/src/bar.ts: + {} +/a/lib/lib.d.ts: + {} + +FsWatchesRecursive:: +/user/username/projects/myproject/src: + {} + +Before running immediate callbacks and checking length (1) + +PolledWatches:: +/user/username/projects/myproject/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/myproject/src/sub/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/myproject/src/node_modules/@types: + {"pollingInterval":500} + +FsWatches:: +/user/username/projects/myproject/tsconfig.json: + {} +/user/username/projects/myproject/src/bar.ts: + {} +/a/lib/lib.d.ts: + {} + +FsWatchesRecursive:: +/user/username/projects/myproject/src: + {} + Info 63 [16:01:49.000] event: {"seq":0,"type":"event","event":"semanticDiag","body":{"file":"/user/username/projects/myproject/src/foo.ts","diagnostics":[]}} +Before running immediate callbacks and checking length (1) + +PolledWatches:: +/user/username/projects/myproject/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/myproject/src/sub/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/myproject/src/node_modules/@types: + {"pollingInterval":500} + +FsWatches:: +/user/username/projects/myproject/tsconfig.json: + {} +/user/username/projects/myproject/src/bar.ts: + {} +/a/lib/lib.d.ts: + {} + +FsWatchesRecursive:: +/user/username/projects/myproject/src: + {} + +Before running immediate callbacks and checking length (1) + +PolledWatches:: +/user/username/projects/myproject/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/myproject/src/sub/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/myproject/src/node_modules/@types: + {"pollingInterval":500} + +FsWatches:: +/user/username/projects/myproject/tsconfig.json: + {} +/user/username/projects/myproject/src/bar.ts: + {} +/a/lib/lib.d.ts: + {} + +FsWatchesRecursive:: +/user/username/projects/myproject/src: + {} + Info 64 [16:01:50.000] event: {"seq":0,"type":"event","event":"suggestionDiag","body":{"file":"/user/username/projects/myproject/src/foo.ts","diagnostics":[]}} +Before running immediate callbacks and checking length (1) + +PolledWatches:: +/user/username/projects/myproject/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/myproject/src/sub/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/myproject/src/node_modules/@types: + {"pollingInterval":500} + +FsWatches:: +/user/username/projects/myproject/tsconfig.json: + {} +/user/username/projects/myproject/src/bar.ts: + {} +/a/lib/lib.d.ts: + {} + +FsWatchesRecursive:: +/user/username/projects/myproject/src: + {} + +Checking timeout queue length: 3 + +PolledWatches:: +/user/username/projects/myproject/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/myproject/src/sub/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/myproject/src/node_modules/@types: + {"pollingInterval":500} + +FsWatches:: +/user/username/projects/myproject/tsconfig.json: + {} +/user/username/projects/myproject/src/bar.ts: + {} +/a/lib/lib.d.ts: + {} + +FsWatchesRecursive:: +/user/username/projects/myproject/src: + {} + +Before running timeout callback4 + +PolledWatches:: +/user/username/projects/myproject/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/myproject/src/sub/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/myproject/src/node_modules/@types: + {"pollingInterval":500} + +FsWatches:: +/user/username/projects/myproject/tsconfig.json: + {} +/user/username/projects/myproject/src/bar.ts: + {} +/a/lib/lib.d.ts: + {} + +FsWatchesRecursive:: +/user/username/projects/myproject/src: + {} + Info 65 [16:01:51.000] event: {"seq":0,"type":"event","event":"syntaxDiag","body":{"file":"/user/username/projects/myproject/src/sub/fooBar.ts","diagnostics":[]}} +After running timeout callback4 + +PolledWatches:: +/user/username/projects/myproject/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/myproject/src/sub/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/myproject/src/node_modules/@types: + {"pollingInterval":500} + +FsWatches:: +/user/username/projects/myproject/tsconfig.json: + {} +/user/username/projects/myproject/src/bar.ts: + {} +/a/lib/lib.d.ts: + {} + +FsWatchesRecursive:: +/user/username/projects/myproject/src: + {} + +Before running immediate callbacks and checking length (1) + +PolledWatches:: +/user/username/projects/myproject/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/myproject/src/sub/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/myproject/src/node_modules/@types: + {"pollingInterval":500} + +FsWatches:: +/user/username/projects/myproject/tsconfig.json: + {} +/user/username/projects/myproject/src/bar.ts: + {} +/a/lib/lib.d.ts: + {} + +FsWatchesRecursive:: +/user/username/projects/myproject/src: + {} + Info 66 [16:01:52.000] event: {"seq":0,"type":"event","event":"semanticDiag","body":{"file":"/user/username/projects/myproject/src/sub/fooBar.ts","diagnostics":[]}} +Before running immediate callbacks and checking length (1) + +PolledWatches:: +/user/username/projects/myproject/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/myproject/src/sub/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/myproject/src/node_modules/@types: + {"pollingInterval":500} + +FsWatches:: +/user/username/projects/myproject/tsconfig.json: + {} +/user/username/projects/myproject/src/bar.ts: + {} +/a/lib/lib.d.ts: + {} + +FsWatchesRecursive:: +/user/username/projects/myproject/src: + {} + +Before running immediate callbacks and checking length (1) + +PolledWatches:: +/user/username/projects/myproject/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/myproject/src/sub/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/myproject/src/node_modules/@types: + {"pollingInterval":500} + +FsWatches:: +/user/username/projects/myproject/tsconfig.json: + {} +/user/username/projects/myproject/src/bar.ts: + {} +/a/lib/lib.d.ts: + {} + +FsWatchesRecursive:: +/user/username/projects/myproject/src: + {} + Info 67 [16:01:53.000] event: {"seq":0,"type":"event","event":"suggestionDiag","body":{"file":"/user/username/projects/myproject/src/sub/fooBar.ts","diagnostics":[]}} Info 68 [16:01:54.000] event: - {"seq":0,"type":"event","event":"requestCompleted","body":{"request_seq":3}} \ No newline at end of file + {"seq":0,"type":"event","event":"requestCompleted","body":{"request_seq":3}} +Before running immediate callbacks and checking length (1) + +PolledWatches:: +/user/username/projects/myproject/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/myproject/src/sub/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/myproject/src/node_modules/@types: + {"pollingInterval":500} + +FsWatches:: +/user/username/projects/myproject/tsconfig.json: + {} +/user/username/projects/myproject/src/bar.ts: + {} +/a/lib/lib.d.ts: + {} + +FsWatchesRecursive:: +/user/username/projects/myproject/src: + {} 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 3262188f079cc..f7877d43ea0ba 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 @@ -10,6 +10,7 @@ Info 1 [16:00:28.000] request: "seq": 1, "type": "request" } +Before request //// [/user/username/projects/myproject/src/foo.ts] export function foo() { } @@ -91,6 +92,7 @@ Info 23 [16:00:52.000] ----------------------------------------------- Info 23 [16:00:53.000] Open files: Info 23 [16:00:54.000] FileName: /user/username/projects/myproject/src/foo.ts ProjectRootPath: /user/username/projects/myproject Info 23 [16:00:55.000] Projects: /user/username/projects/myproject/tsconfig.json +After request PolledWatches:: /user/username/projects/myproject/node_modules/@types: @@ -123,6 +125,7 @@ Info 24 [16:00:57.000] request: "seq": 2, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/node_modules/@types: @@ -183,6 +186,7 @@ Info 45 [16:01:25.000] FileName: /user/username/projects/myproject/src/foo.ts Info 45 [16:01:26.000] Projects: /user/username/projects/myproject/tsconfig.json Info 45 [16:01:27.000] FileName: /user/username/projects/myproject/src/sub/fooBar.ts ProjectRootPath: /user/username/projects/myproject Info 45 [16:01:28.000] Projects: /dev/null/inferredProject1* +After request PolledWatches:: /user/username/projects/myproject/node_modules/@types: @@ -234,6 +238,7 @@ Info 49 [16:01:35.000] request: "seq": 3, "type": "request" } +Before request //// [/user/username/projects/myproject/src/sub/fooBar.ts] export function fooBar() { } @@ -268,6 +273,7 @@ FsWatchesRecursive:: /user/username/projects/myproject/src: {} +After request PolledWatches:: /user/username/projects/myproject/node_modules/@types: @@ -303,17 +309,464 @@ Info 50 [16:01:36.000] response: { "responseRequired": false } +Checking timeout queue length: 1 + +PolledWatches:: +/user/username/projects/myproject/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/myproject/src/sub/tsconfig.json: + {"pollingInterval":2000} +/user/username/projects/myproject/src/sub/jsconfig.json: + {"pollingInterval":2000} +/user/username/projects/myproject/src/tsconfig.json: + {"pollingInterval":2000} +/user/username/projects/myproject/src/jsconfig.json: + {"pollingInterval":2000} +/user/username/projects/myproject/jsconfig.json: + {"pollingInterval":2000} +/user/username/projects/myproject/src/sub/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/myproject/src/node_modules/@types: + {"pollingInterval":500} + +FsWatches:: +/user/username/projects/myproject/tsconfig.json: + {} +/user/username/projects/myproject/src/bar.ts: + {} +/a/lib/lib.d.ts: + {} + +FsWatchesRecursive:: +/user/username/projects/myproject/src: + {} + +Before running timeout callback1 + +PolledWatches:: +/user/username/projects/myproject/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/myproject/src/sub/tsconfig.json: + {"pollingInterval":2000} +/user/username/projects/myproject/src/sub/jsconfig.json: + {"pollingInterval":2000} +/user/username/projects/myproject/src/tsconfig.json: + {"pollingInterval":2000} +/user/username/projects/myproject/src/jsconfig.json: + {"pollingInterval":2000} +/user/username/projects/myproject/jsconfig.json: + {"pollingInterval":2000} +/user/username/projects/myproject/src/sub/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/myproject/src/node_modules/@types: + {"pollingInterval":500} + +FsWatches:: +/user/username/projects/myproject/tsconfig.json: + {} +/user/username/projects/myproject/src/bar.ts: + {} +/a/lib/lib.d.ts: + {} + +FsWatchesRecursive:: +/user/username/projects/myproject/src: + {} + Info 51 [16:01:37.000] event: {"seq":0,"type":"event","event":"syntaxDiag","body":{"file":"/user/username/projects/myproject/src/sub/fooBar.ts","diagnostics":[]}} +After running timeout callback1 + +PolledWatches:: +/user/username/projects/myproject/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/myproject/src/sub/tsconfig.json: + {"pollingInterval":2000} +/user/username/projects/myproject/src/sub/jsconfig.json: + {"pollingInterval":2000} +/user/username/projects/myproject/src/tsconfig.json: + {"pollingInterval":2000} +/user/username/projects/myproject/src/jsconfig.json: + {"pollingInterval":2000} +/user/username/projects/myproject/jsconfig.json: + {"pollingInterval":2000} +/user/username/projects/myproject/src/sub/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/myproject/src/node_modules/@types: + {"pollingInterval":500} + +FsWatches:: +/user/username/projects/myproject/tsconfig.json: + {} +/user/username/projects/myproject/src/bar.ts: + {} +/a/lib/lib.d.ts: + {} + +FsWatchesRecursive:: +/user/username/projects/myproject/src: + {} + +Before running immediate callbacks and checking length (1) + +PolledWatches:: +/user/username/projects/myproject/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/myproject/src/sub/tsconfig.json: + {"pollingInterval":2000} +/user/username/projects/myproject/src/sub/jsconfig.json: + {"pollingInterval":2000} +/user/username/projects/myproject/src/tsconfig.json: + {"pollingInterval":2000} +/user/username/projects/myproject/src/jsconfig.json: + {"pollingInterval":2000} +/user/username/projects/myproject/jsconfig.json: + {"pollingInterval":2000} +/user/username/projects/myproject/src/sub/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/myproject/src/node_modules/@types: + {"pollingInterval":500} + +FsWatches:: +/user/username/projects/myproject/tsconfig.json: + {} +/user/username/projects/myproject/src/bar.ts: + {} +/a/lib/lib.d.ts: + {} + +FsWatchesRecursive:: +/user/username/projects/myproject/src: + {} + Info 52 [16:01:38.000] event: {"seq":0,"type":"event","event":"semanticDiag","body":{"file":"/user/username/projects/myproject/src/sub/fooBar.ts","diagnostics":[]}} +Before running immediate callbacks and checking length (1) + +PolledWatches:: +/user/username/projects/myproject/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/myproject/src/sub/tsconfig.json: + {"pollingInterval":2000} +/user/username/projects/myproject/src/sub/jsconfig.json: + {"pollingInterval":2000} +/user/username/projects/myproject/src/tsconfig.json: + {"pollingInterval":2000} +/user/username/projects/myproject/src/jsconfig.json: + {"pollingInterval":2000} +/user/username/projects/myproject/jsconfig.json: + {"pollingInterval":2000} +/user/username/projects/myproject/src/sub/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/myproject/src/node_modules/@types: + {"pollingInterval":500} + +FsWatches:: +/user/username/projects/myproject/tsconfig.json: + {} +/user/username/projects/myproject/src/bar.ts: + {} +/a/lib/lib.d.ts: + {} + +FsWatchesRecursive:: +/user/username/projects/myproject/src: + {} + +Before running immediate callbacks and checking length (1) + +PolledWatches:: +/user/username/projects/myproject/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/myproject/src/sub/tsconfig.json: + {"pollingInterval":2000} +/user/username/projects/myproject/src/sub/jsconfig.json: + {"pollingInterval":2000} +/user/username/projects/myproject/src/tsconfig.json: + {"pollingInterval":2000} +/user/username/projects/myproject/src/jsconfig.json: + {"pollingInterval":2000} +/user/username/projects/myproject/jsconfig.json: + {"pollingInterval":2000} +/user/username/projects/myproject/src/sub/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/myproject/src/node_modules/@types: + {"pollingInterval":500} + +FsWatches:: +/user/username/projects/myproject/tsconfig.json: + {} +/user/username/projects/myproject/src/bar.ts: + {} +/a/lib/lib.d.ts: + {} + +FsWatchesRecursive:: +/user/username/projects/myproject/src: + {} + Info 53 [16:01:39.000] event: {"seq":0,"type":"event","event":"suggestionDiag","body":{"file":"/user/username/projects/myproject/src/sub/fooBar.ts","diagnostics":[]}} +Before running immediate callbacks and checking length (1) + +PolledWatches:: +/user/username/projects/myproject/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/myproject/src/sub/tsconfig.json: + {"pollingInterval":2000} +/user/username/projects/myproject/src/sub/jsconfig.json: + {"pollingInterval":2000} +/user/username/projects/myproject/src/tsconfig.json: + {"pollingInterval":2000} +/user/username/projects/myproject/src/jsconfig.json: + {"pollingInterval":2000} +/user/username/projects/myproject/jsconfig.json: + {"pollingInterval":2000} +/user/username/projects/myproject/src/sub/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/myproject/src/node_modules/@types: + {"pollingInterval":500} + +FsWatches:: +/user/username/projects/myproject/tsconfig.json: + {} +/user/username/projects/myproject/src/bar.ts: + {} +/a/lib/lib.d.ts: + {} + +FsWatchesRecursive:: +/user/username/projects/myproject/src: + {} + +Checking timeout queue length: 1 + +PolledWatches:: +/user/username/projects/myproject/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/myproject/src/sub/tsconfig.json: + {"pollingInterval":2000} +/user/username/projects/myproject/src/sub/jsconfig.json: + {"pollingInterval":2000} +/user/username/projects/myproject/src/tsconfig.json: + {"pollingInterval":2000} +/user/username/projects/myproject/src/jsconfig.json: + {"pollingInterval":2000} +/user/username/projects/myproject/jsconfig.json: + {"pollingInterval":2000} +/user/username/projects/myproject/src/sub/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/myproject/src/node_modules/@types: + {"pollingInterval":500} + +FsWatches:: +/user/username/projects/myproject/tsconfig.json: + {} +/user/username/projects/myproject/src/bar.ts: + {} +/a/lib/lib.d.ts: + {} + +FsWatchesRecursive:: +/user/username/projects/myproject/src: + {} + +Before running timeout callback2 + +PolledWatches:: +/user/username/projects/myproject/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/myproject/src/sub/tsconfig.json: + {"pollingInterval":2000} +/user/username/projects/myproject/src/sub/jsconfig.json: + {"pollingInterval":2000} +/user/username/projects/myproject/src/tsconfig.json: + {"pollingInterval":2000} +/user/username/projects/myproject/src/jsconfig.json: + {"pollingInterval":2000} +/user/username/projects/myproject/jsconfig.json: + {"pollingInterval":2000} +/user/username/projects/myproject/src/sub/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/myproject/src/node_modules/@types: + {"pollingInterval":500} + +FsWatches:: +/user/username/projects/myproject/tsconfig.json: + {} +/user/username/projects/myproject/src/bar.ts: + {} +/a/lib/lib.d.ts: + {} + +FsWatchesRecursive:: +/user/username/projects/myproject/src: + {} + Info 54 [16:01:40.000] event: {"seq":0,"type":"event","event":"syntaxDiag","body":{"file":"/user/username/projects/myproject/src/foo.ts","diagnostics":[]}} +After running timeout callback2 + +PolledWatches:: +/user/username/projects/myproject/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/myproject/src/sub/tsconfig.json: + {"pollingInterval":2000} +/user/username/projects/myproject/src/sub/jsconfig.json: + {"pollingInterval":2000} +/user/username/projects/myproject/src/tsconfig.json: + {"pollingInterval":2000} +/user/username/projects/myproject/src/jsconfig.json: + {"pollingInterval":2000} +/user/username/projects/myproject/jsconfig.json: + {"pollingInterval":2000} +/user/username/projects/myproject/src/sub/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/myproject/src/node_modules/@types: + {"pollingInterval":500} + +FsWatches:: +/user/username/projects/myproject/tsconfig.json: + {} +/user/username/projects/myproject/src/bar.ts: + {} +/a/lib/lib.d.ts: + {} + +FsWatchesRecursive:: +/user/username/projects/myproject/src: + {} + +Before running immediate callbacks and checking length (1) + +PolledWatches:: +/user/username/projects/myproject/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/myproject/src/sub/tsconfig.json: + {"pollingInterval":2000} +/user/username/projects/myproject/src/sub/jsconfig.json: + {"pollingInterval":2000} +/user/username/projects/myproject/src/tsconfig.json: + {"pollingInterval":2000} +/user/username/projects/myproject/src/jsconfig.json: + {"pollingInterval":2000} +/user/username/projects/myproject/jsconfig.json: + {"pollingInterval":2000} +/user/username/projects/myproject/src/sub/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/myproject/src/node_modules/@types: + {"pollingInterval":500} + +FsWatches:: +/user/username/projects/myproject/tsconfig.json: + {} +/user/username/projects/myproject/src/bar.ts: + {} +/a/lib/lib.d.ts: + {} + +FsWatchesRecursive:: +/user/username/projects/myproject/src: + {} + Info 55 [16:01:41.000] event: {"seq":0,"type":"event","event":"semanticDiag","body":{"file":"/user/username/projects/myproject/src/foo.ts","diagnostics":[]}} +Before running immediate callbacks and checking length (1) + +PolledWatches:: +/user/username/projects/myproject/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/myproject/src/sub/tsconfig.json: + {"pollingInterval":2000} +/user/username/projects/myproject/src/sub/jsconfig.json: + {"pollingInterval":2000} +/user/username/projects/myproject/src/tsconfig.json: + {"pollingInterval":2000} +/user/username/projects/myproject/src/jsconfig.json: + {"pollingInterval":2000} +/user/username/projects/myproject/jsconfig.json: + {"pollingInterval":2000} +/user/username/projects/myproject/src/sub/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/myproject/src/node_modules/@types: + {"pollingInterval":500} + +FsWatches:: +/user/username/projects/myproject/tsconfig.json: + {} +/user/username/projects/myproject/src/bar.ts: + {} +/a/lib/lib.d.ts: + {} + +FsWatchesRecursive:: +/user/username/projects/myproject/src: + {} + +Before running immediate callbacks and checking length (1) + +PolledWatches:: +/user/username/projects/myproject/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/myproject/src/sub/tsconfig.json: + {"pollingInterval":2000} +/user/username/projects/myproject/src/sub/jsconfig.json: + {"pollingInterval":2000} +/user/username/projects/myproject/src/tsconfig.json: + {"pollingInterval":2000} +/user/username/projects/myproject/src/jsconfig.json: + {"pollingInterval":2000} +/user/username/projects/myproject/jsconfig.json: + {"pollingInterval":2000} +/user/username/projects/myproject/src/sub/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/myproject/src/node_modules/@types: + {"pollingInterval":500} + +FsWatches:: +/user/username/projects/myproject/tsconfig.json: + {} +/user/username/projects/myproject/src/bar.ts: + {} +/a/lib/lib.d.ts: + {} + +FsWatchesRecursive:: +/user/username/projects/myproject/src: + {} + Info 56 [16:01:42.000] event: {"seq":0,"type":"event","event":"suggestionDiag","body":{"file":"/user/username/projects/myproject/src/foo.ts","diagnostics":[]}} Info 57 [16:01:43.000] event: - {"seq":0,"type":"event","event":"requestCompleted","body":{"request_seq":3}} \ No newline at end of file + {"seq":0,"type":"event","event":"requestCompleted","body":{"request_seq":3}} +Before running immediate callbacks and checking length (1) + +PolledWatches:: +/user/username/projects/myproject/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/myproject/src/sub/tsconfig.json: + {"pollingInterval":2000} +/user/username/projects/myproject/src/sub/jsconfig.json: + {"pollingInterval":2000} +/user/username/projects/myproject/src/tsconfig.json: + {"pollingInterval":2000} +/user/username/projects/myproject/src/jsconfig.json: + {"pollingInterval":2000} +/user/username/projects/myproject/jsconfig.json: + {"pollingInterval":2000} +/user/username/projects/myproject/src/sub/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/myproject/src/node_modules/@types: + {"pollingInterval":500} + +FsWatches:: +/user/username/projects/myproject/tsconfig.json: + {} +/user/username/projects/myproject/src/bar.ts: + {} +/a/lib/lib.d.ts: + {} + +FsWatchesRecursive:: +/user/username/projects/myproject/src: + {} 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 9b8afeb7f4211..d9add45901469 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 @@ -10,6 +10,7 @@ Info 1 [16:00:28.000] request: "seq": 1, "type": "request" } +Before request //// [/user/username/projects/myproject/src/foo.ts] export function foo() { } @@ -91,6 +92,7 @@ Info 23 [16:00:52.000] ----------------------------------------------- Info 23 [16:00:53.000] Open files: Info 23 [16:00:54.000] FileName: /user/username/projects/myproject/src/foo.ts ProjectRootPath: /user/username/projects/myproject Info 23 [16:00:55.000] Projects: /user/username/projects/myproject/tsconfig.json +After request PolledWatches:: /user/username/projects/myproject/node_modules/@types: @@ -123,6 +125,7 @@ Info 24 [16:00:57.000] request: "seq": 2, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/node_modules/@types: @@ -183,6 +186,7 @@ Info 45 [16:01:25.000] FileName: /user/username/projects/myproject/src/foo.ts Info 45 [16:01:26.000] Projects: /user/username/projects/myproject/tsconfig.json Info 45 [16:01:27.000] FileName: /user/username/projects/myproject/src/sub/fooBar.ts ProjectRootPath: /user/username/projects/myproject Info 45 [16:01:28.000] Projects: /dev/null/inferredProject1* +After request PolledWatches:: /user/username/projects/myproject/node_modules/@types: @@ -235,6 +239,7 @@ Info 50 [16:01:36.000] request: "seq": 3, "type": "request" } +Before request //// [/user/username/projects/myproject/src/sub/fooBar.ts] export function fooBar() { } @@ -269,6 +274,7 @@ FsWatchesRecursive:: /user/username/projects/myproject/src: {} +After request PolledWatches:: /user/username/projects/myproject/node_modules/@types: @@ -304,12 +310,300 @@ Info 51 [16:01:37.000] response: { "responseRequired": false } +Checking timeout queue length: 3 + +PolledWatches:: +/user/username/projects/myproject/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/myproject/src/sub/tsconfig.json: + {"pollingInterval":2000} +/user/username/projects/myproject/src/sub/jsconfig.json: + {"pollingInterval":2000} +/user/username/projects/myproject/src/tsconfig.json: + {"pollingInterval":2000} +/user/username/projects/myproject/src/jsconfig.json: + {"pollingInterval":2000} +/user/username/projects/myproject/jsconfig.json: + {"pollingInterval":2000} +/user/username/projects/myproject/src/sub/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/myproject/src/node_modules/@types: + {"pollingInterval":500} + +FsWatches:: +/user/username/projects/myproject/tsconfig.json: + {} +/user/username/projects/myproject/src/bar.ts: + {} +/a/lib/lib.d.ts: + {} + +FsWatchesRecursive:: +/user/username/projects/myproject/src: + {} + +Before running timeout callback3 + +PolledWatches:: +/user/username/projects/myproject/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/myproject/src/sub/tsconfig.json: + {"pollingInterval":2000} +/user/username/projects/myproject/src/sub/jsconfig.json: + {"pollingInterval":2000} +/user/username/projects/myproject/src/tsconfig.json: + {"pollingInterval":2000} +/user/username/projects/myproject/src/jsconfig.json: + {"pollingInterval":2000} +/user/username/projects/myproject/jsconfig.json: + {"pollingInterval":2000} +/user/username/projects/myproject/src/sub/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/myproject/src/node_modules/@types: + {"pollingInterval":500} + +FsWatches:: +/user/username/projects/myproject/tsconfig.json: + {} +/user/username/projects/myproject/src/bar.ts: + {} +/a/lib/lib.d.ts: + {} + +FsWatchesRecursive:: +/user/username/projects/myproject/src: + {} + Info 52 [16:01:38.000] event: {"seq":0,"type":"event","event":"syntaxDiag","body":{"file":"/user/username/projects/myproject/src/sub/fooBar.ts","diagnostics":[]}} +After running timeout callback3 + +PolledWatches:: +/user/username/projects/myproject/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/myproject/src/sub/tsconfig.json: + {"pollingInterval":2000} +/user/username/projects/myproject/src/sub/jsconfig.json: + {"pollingInterval":2000} +/user/username/projects/myproject/src/tsconfig.json: + {"pollingInterval":2000} +/user/username/projects/myproject/src/jsconfig.json: + {"pollingInterval":2000} +/user/username/projects/myproject/jsconfig.json: + {"pollingInterval":2000} +/user/username/projects/myproject/src/sub/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/myproject/src/node_modules/@types: + {"pollingInterval":500} + +FsWatches:: +/user/username/projects/myproject/tsconfig.json: + {} +/user/username/projects/myproject/src/bar.ts: + {} +/a/lib/lib.d.ts: + {} + +FsWatchesRecursive:: +/user/username/projects/myproject/src: + {} + +Before running immediate callbacks and checking length (1) + +PolledWatches:: +/user/username/projects/myproject/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/myproject/src/sub/tsconfig.json: + {"pollingInterval":2000} +/user/username/projects/myproject/src/sub/jsconfig.json: + {"pollingInterval":2000} +/user/username/projects/myproject/src/tsconfig.json: + {"pollingInterval":2000} +/user/username/projects/myproject/src/jsconfig.json: + {"pollingInterval":2000} +/user/username/projects/myproject/jsconfig.json: + {"pollingInterval":2000} +/user/username/projects/myproject/src/sub/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/myproject/src/node_modules/@types: + {"pollingInterval":500} + +FsWatches:: +/user/username/projects/myproject/tsconfig.json: + {} +/user/username/projects/myproject/src/bar.ts: + {} +/a/lib/lib.d.ts: + {} + +FsWatchesRecursive:: +/user/username/projects/myproject/src: + {} + Info 53 [16:01:39.000] event: {"seq":0,"type":"event","event":"semanticDiag","body":{"file":"/user/username/projects/myproject/src/sub/fooBar.ts","diagnostics":[]}} +Before running immediate callbacks and checking length (1) + +PolledWatches:: +/user/username/projects/myproject/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/myproject/src/sub/tsconfig.json: + {"pollingInterval":2000} +/user/username/projects/myproject/src/sub/jsconfig.json: + {"pollingInterval":2000} +/user/username/projects/myproject/src/tsconfig.json: + {"pollingInterval":2000} +/user/username/projects/myproject/src/jsconfig.json: + {"pollingInterval":2000} +/user/username/projects/myproject/jsconfig.json: + {"pollingInterval":2000} +/user/username/projects/myproject/src/sub/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/myproject/src/node_modules/@types: + {"pollingInterval":500} + +FsWatches:: +/user/username/projects/myproject/tsconfig.json: + {} +/user/username/projects/myproject/src/bar.ts: + {} +/a/lib/lib.d.ts: + {} + +FsWatchesRecursive:: +/user/username/projects/myproject/src: + {} + +Before running immediate callbacks and checking length (1) + +PolledWatches:: +/user/username/projects/myproject/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/myproject/src/sub/tsconfig.json: + {"pollingInterval":2000} +/user/username/projects/myproject/src/sub/jsconfig.json: + {"pollingInterval":2000} +/user/username/projects/myproject/src/tsconfig.json: + {"pollingInterval":2000} +/user/username/projects/myproject/src/jsconfig.json: + {"pollingInterval":2000} +/user/username/projects/myproject/jsconfig.json: + {"pollingInterval":2000} +/user/username/projects/myproject/src/sub/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/myproject/src/node_modules/@types: + {"pollingInterval":500} + +FsWatches:: +/user/username/projects/myproject/tsconfig.json: + {} +/user/username/projects/myproject/src/bar.ts: + {} +/a/lib/lib.d.ts: + {} + +FsWatchesRecursive:: +/user/username/projects/myproject/src: + {} + Info 54 [16:01:40.000] event: {"seq":0,"type":"event","event":"suggestionDiag","body":{"file":"/user/username/projects/myproject/src/sub/fooBar.ts","diagnostics":[]}} +Before running immediate callbacks and checking length (1) + +PolledWatches:: +/user/username/projects/myproject/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/myproject/src/sub/tsconfig.json: + {"pollingInterval":2000} +/user/username/projects/myproject/src/sub/jsconfig.json: + {"pollingInterval":2000} +/user/username/projects/myproject/src/tsconfig.json: + {"pollingInterval":2000} +/user/username/projects/myproject/src/jsconfig.json: + {"pollingInterval":2000} +/user/username/projects/myproject/jsconfig.json: + {"pollingInterval":2000} +/user/username/projects/myproject/src/sub/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/myproject/src/node_modules/@types: + {"pollingInterval":500} + +FsWatches:: +/user/username/projects/myproject/tsconfig.json: + {} +/user/username/projects/myproject/src/bar.ts: + {} +/a/lib/lib.d.ts: + {} + +FsWatchesRecursive:: +/user/username/projects/myproject/src: + {} + +Checking timeout queue length: 3 + +PolledWatches:: +/user/username/projects/myproject/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/myproject/src/sub/tsconfig.json: + {"pollingInterval":2000} +/user/username/projects/myproject/src/sub/jsconfig.json: + {"pollingInterval":2000} +/user/username/projects/myproject/src/tsconfig.json: + {"pollingInterval":2000} +/user/username/projects/myproject/src/jsconfig.json: + {"pollingInterval":2000} +/user/username/projects/myproject/jsconfig.json: + {"pollingInterval":2000} +/user/username/projects/myproject/src/sub/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/myproject/src/node_modules/@types: + {"pollingInterval":500} + +FsWatches:: +/user/username/projects/myproject/tsconfig.json: + {} +/user/username/projects/myproject/src/bar.ts: + {} +/a/lib/lib.d.ts: + {} + +FsWatchesRecursive:: +/user/username/projects/myproject/src: + {} + +Before running timeout callback4 + +PolledWatches:: +/user/username/projects/myproject/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/myproject/src/sub/tsconfig.json: + {"pollingInterval":2000} +/user/username/projects/myproject/src/sub/jsconfig.json: + {"pollingInterval":2000} +/user/username/projects/myproject/src/tsconfig.json: + {"pollingInterval":2000} +/user/username/projects/myproject/src/jsconfig.json: + {"pollingInterval":2000} +/user/username/projects/myproject/jsconfig.json: + {"pollingInterval":2000} +/user/username/projects/myproject/src/sub/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/myproject/src/node_modules/@types: + {"pollingInterval":500} + +FsWatches:: +/user/username/projects/myproject/tsconfig.json: + {} +/user/username/projects/myproject/src/bar.ts: + {} +/a/lib/lib.d.ts: + {} + +FsWatchesRecursive:: +/user/username/projects/myproject/src: + {} + Info 55 [16:01:41.000] FileWatcher:: Close:: WatchInfo: /user/username/projects/myproject/src/sub/tsconfig.json 2000 undefined WatchType: Config file for the inferred project root Info 56 [16:01:42.000] FileWatcher:: Close:: WatchInfo: /user/username/projects/myproject/src/sub/jsconfig.json 2000 undefined WatchType: Config file for the inferred project root Info 57 [16:01:43.000] FileWatcher:: Close:: WatchInfo: /user/username/projects/myproject/src/tsconfig.json 2000 undefined WatchType: Config file for the inferred project root @@ -337,9 +631,118 @@ Info 63 [16:01:49.000] Files (4) Info 64 [16:01:50.000] ----------------------------------------------- Info 65 [16:01:51.000] event: {"seq":0,"type":"event","event":"syntaxDiag","body":{"file":"/user/username/projects/myproject/src/foo.ts","diagnostics":[]}} +After running timeout callback4 + +PolledWatches:: +/user/username/projects/myproject/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/myproject/src/sub/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/myproject/src/node_modules/@types: + {"pollingInterval":500} + +FsWatches:: +/user/username/projects/myproject/tsconfig.json: + {} +/user/username/projects/myproject/src/bar.ts: + {} +/a/lib/lib.d.ts: + {} + +FsWatchesRecursive:: +/user/username/projects/myproject/src: + {} + +Before running immediate callbacks and checking length (1) + +PolledWatches:: +/user/username/projects/myproject/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/myproject/src/sub/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/myproject/src/node_modules/@types: + {"pollingInterval":500} + +FsWatches:: +/user/username/projects/myproject/tsconfig.json: + {} +/user/username/projects/myproject/src/bar.ts: + {} +/a/lib/lib.d.ts: + {} + +FsWatchesRecursive:: +/user/username/projects/myproject/src: + {} + Info 66 [16:01:52.000] event: {"seq":0,"type":"event","event":"semanticDiag","body":{"file":"/user/username/projects/myproject/src/foo.ts","diagnostics":[]}} +Before running immediate callbacks and checking length (1) + +PolledWatches:: +/user/username/projects/myproject/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/myproject/src/sub/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/myproject/src/node_modules/@types: + {"pollingInterval":500} + +FsWatches:: +/user/username/projects/myproject/tsconfig.json: + {} +/user/username/projects/myproject/src/bar.ts: + {} +/a/lib/lib.d.ts: + {} + +FsWatchesRecursive:: +/user/username/projects/myproject/src: + {} + +Before running immediate callbacks and checking length (1) + +PolledWatches:: +/user/username/projects/myproject/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/myproject/src/sub/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/myproject/src/node_modules/@types: + {"pollingInterval":500} + +FsWatches:: +/user/username/projects/myproject/tsconfig.json: + {} +/user/username/projects/myproject/src/bar.ts: + {} +/a/lib/lib.d.ts: + {} + +FsWatchesRecursive:: +/user/username/projects/myproject/src: + {} + Info 67 [16:01:53.000] event: {"seq":0,"type":"event","event":"suggestionDiag","body":{"file":"/user/username/projects/myproject/src/foo.ts","diagnostics":[]}} Info 68 [16:01:54.000] event: - {"seq":0,"type":"event","event":"requestCompleted","body":{"request_seq":3}} \ No newline at end of file + {"seq":0,"type":"event","event":"requestCompleted","body":{"request_seq":3}} +Before running immediate callbacks and checking length (1) + +PolledWatches:: +/user/username/projects/myproject/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/myproject/src/sub/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/myproject/src/node_modules/@types: + {"pollingInterval":500} + +FsWatches:: +/user/username/projects/myproject/tsconfig.json: + {} +/user/username/projects/myproject/src/bar.ts: + {} +/a/lib/lib.d.ts: + {} + +FsWatchesRecursive:: +/user/username/projects/myproject/src: + {} diff --git a/tests/baselines/reference/tsserver/configuredProjects/failed-lookup-locations-uses-parent-most-node_modules-directory.js b/tests/baselines/reference/tsserver/configuredProjects/failed-lookup-locations-uses-parent-most-node_modules-directory.js index 63d45075bb691..e212ded60e833 100644 --- a/tests/baselines/reference/tsserver/configuredProjects/failed-lookup-locations-uses-parent-most-node_modules-directory.js +++ b/tests/baselines/reference/tsserver/configuredProjects/failed-lookup-locations-uses-parent-most-node_modules-directory.js @@ -1,4 +1,41 @@ Info 0 [16:00:43.000] Provided types map file "/typesMap.json" doesn't exist +Creating project service +//// [/user/username/rootfolder/a/b/src/file1.ts] +import { classc } from "module1" + +//// [/user/username/rootfolder/a/b/node_modules/module1/index.d.ts] +import { class2 } from "module2"; + export classc { method2a(): class2; } + +//// [/user/username/rootfolder/a/b/node_modules/module2/index.d.ts] +export class2 { method2() { return 10; } } + +//// [/user/username/rootfolder/a/b/node_modules/module/node_modules/module3/index.d.ts] +export class3 { method2() { return 10; } } + +//// [/user/username/rootfolder/a/b/src/tsconfig.json] +{"files":["file1.ts"]} + +//// [/a/lib/lib.d.ts] +/// +interface Boolean {} +interface Function {} +interface CallableFunction {} +interface NewableFunction {} +interface IArguments {} +interface Number { toExponential: any; } +interface Object {} +interface RegExp {} +interface String { charAt: any; } +interface Array { length: number; [n: number]: T; } + + +PolledWatches:: + +FsWatches:: + +FsWatchesRecursive:: + Info 1 [16:00:44.000] Search path: /user/username/rootfolder/a/b/src Info 2 [16:00:45.000] For info: /user/username/rootfolder/a/b/src/file1.ts :: Config file name: /user/username/rootfolder/a/b/src/tsconfig.json Info 3 [16:00:46.000] Creating configuration project /user/username/rootfolder/a/b/src/tsconfig.json diff --git a/tests/baselines/reference/tsserver/configuredProjects/should-stop-watching-the-extended-configs-of-closed-projects.js b/tests/baselines/reference/tsserver/configuredProjects/should-stop-watching-the-extended-configs-of-closed-projects.js index 324385534de15..6004acc446e5b 100644 --- a/tests/baselines/reference/tsserver/configuredProjects/should-stop-watching-the-extended-configs-of-closed-projects.js +++ b/tests/baselines/reference/tsserver/configuredProjects/should-stop-watching-the-extended-configs-of-closed-projects.js @@ -1,4 +1,36 @@ Info 0 [16:00:35.000] Provided types map file "/typesMap.json" doesn't exist +Creating project service +//// [/user/username/projects/myproject/extended/alpha.tsconfig.json] +{} + +//// [/user/username/projects/myproject/a/tsconfig.json] +{"extends":"../extended/alpha.tsconfig.json","files":["a.ts"]} + +//// [/user/username/projects/myproject/a/a.ts] +let a = 1; + +//// [/user/username/projects/myproject/extended/bravo.tsconfig.json] +{"extends":"./alpha.tsconfig.json"} + +//// [/user/username/projects/myproject/b/tsconfig.json] +{"extends":"../extended/bravo.tsconfig.json","files":["b.ts"]} + +//// [/user/username/projects/myproject/b/b.ts] +let b = 1; + +//// [/user/username/projects/myproject/dummy/dummy.ts] +let dummy = 1; + +//// [/user/username/projects/myproject/dummy/tsconfig.json] +{} + + +PolledWatches:: + +FsWatches:: + +FsWatchesRecursive:: + Info 1 [16:00:36.000] Search path: /user/username/projects/myproject/a Info 2 [16:00:37.000] For info: /user/username/projects/myproject/a/a.ts :: Config file name: /user/username/projects/myproject/a/tsconfig.json Info 3 [16:00:38.000] Creating configuration project /user/username/projects/myproject/a/tsconfig.json diff --git a/tests/baselines/reference/tsserver/configuredProjects/should-watch-the-extended-configs-of-multiple-projects.js b/tests/baselines/reference/tsserver/configuredProjects/should-watch-the-extended-configs-of-multiple-projects.js index 36ffbaef5a36f..969703f7e01a9 100644 --- a/tests/baselines/reference/tsserver/configuredProjects/should-watch-the-extended-configs-of-multiple-projects.js +++ b/tests/baselines/reference/tsserver/configuredProjects/should-watch-the-extended-configs-of-multiple-projects.js @@ -1,4 +1,30 @@ Info 0 [16:00:29.000] Provided types map file "/typesMap.json" doesn't exist +Creating project service +//// [/user/username/projects/myproject/extended/alpha.tsconfig.json] +{} + +//// [/user/username/projects/myproject/a/tsconfig.json] +{"extends":"../extended/alpha.tsconfig.json","files":["a.ts"]} + +//// [/user/username/projects/myproject/a/a.ts] +let a = 1; + +//// [/user/username/projects/myproject/extended/bravo.tsconfig.json] +{"extends":"./alpha.tsconfig.json"} + +//// [/user/username/projects/myproject/b/tsconfig.json] +{"extends":"../extended/bravo.tsconfig.json","files":["b.ts"]} + +//// [/user/username/projects/myproject/b/b.ts] +let b = 1; + + +PolledWatches:: + +FsWatches:: + +FsWatchesRecursive:: + Info 1 [16:00:30.000] Search path: /user/username/projects/myproject/a Info 2 [16:00:31.000] For info: /user/username/projects/myproject/a/a.ts :: Config file name: /user/username/projects/myproject/a/tsconfig.json Info 3 [16:00:32.000] Creating configuration project /user/username/projects/myproject/a/tsconfig.json @@ -84,6 +110,33 @@ Info 36 [16:01:25.000] Scheduled: /user/username/projects/myproject/a/tsconfig Info 37 [16:01:26.000] Scheduled: /user/username/projects/myproject/b/tsconfig.json Info 38 [16:01:27.000] Scheduled: *ensureProjectForOpenFiles* Info 39 [16:01:28.000] Elapsed:: *ms FileWatcher:: Triggered with /user/username/projects/myproject/extended/alpha.tsconfig.json 1:: WatchInfo: /user/username/projects/myproject/extended/alpha.tsconfig.json 2000 undefined Config: /user/username/projects/myproject/a/tsconfig.json WatchType: Extended config file +Before checking timeout queue length (3) and running +//// [/user/username/projects/myproject/extended/alpha.tsconfig.json] +{"compilerOptions":{"strict":true}} + + +PolledWatches:: +/a/lib/lib.d.ts: + {"pollingInterval":500} +/user/username/projects/myproject/a/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/myproject/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/myproject/b/node_modules/@types: + {"pollingInterval":500} + +FsWatches:: +/user/username/projects/myproject/a/tsconfig.json: + {} +/user/username/projects/myproject/extended/alpha.tsconfig.json: + {} +/user/username/projects/myproject/b/tsconfig.json: + {} +/user/username/projects/myproject/extended/bravo.tsconfig.json: + {} + +FsWatchesRecursive:: + Info 40 [16:01:29.000] Running: /user/username/projects/myproject/a/tsconfig.json Info 41 [16:01:30.000] Reloading configured project /user/username/projects/myproject/a/tsconfig.json Info 42 [16:01:31.000] Config: /user/username/projects/myproject/a/tsconfig.json : { @@ -143,10 +196,61 @@ Info 57 [16:02:04.000] FileName: /user/username/projects/myproject/a/a.ts Pro Info 57 [16:02:05.000] Projects: /user/username/projects/myproject/a/tsconfig.json Info 57 [16:02:06.000] FileName: /user/username/projects/myproject/b/b.ts ProjectRootPath: undefined Info 57 [16:02:07.000] Projects: /user/username/projects/myproject/b/tsconfig.json +After checking timeout queue length (3) and running + +PolledWatches:: +/a/lib/lib.d.ts: + {"pollingInterval":500} +/user/username/projects/myproject/a/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/myproject/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/myproject/b/node_modules/@types: + {"pollingInterval":500} + +FsWatches:: +/user/username/projects/myproject/a/tsconfig.json: + {} +/user/username/projects/myproject/extended/alpha.tsconfig.json: + {} +/user/username/projects/myproject/b/tsconfig.json: + {} +/user/username/projects/myproject/extended/bravo.tsconfig.json: + {} + +FsWatchesRecursive:: + Info 57 [16:02:11.000] FileWatcher:: Triggered with /user/username/projects/myproject/extended/bravo.tsconfig.json 1:: WatchInfo: /user/username/projects/myproject/extended/bravo.tsconfig.json 2000 undefined Config: /user/username/projects/myproject/b/tsconfig.json WatchType: Extended config file Info 58 [16:02:12.000] Scheduled: /user/username/projects/myproject/b/tsconfig.json Info 59 [16:02:13.000] Scheduled: *ensureProjectForOpenFiles* Info 60 [16:02:14.000] Elapsed:: *ms FileWatcher:: Triggered with /user/username/projects/myproject/extended/bravo.tsconfig.json 1:: WatchInfo: /user/username/projects/myproject/extended/bravo.tsconfig.json 2000 undefined Config: /user/username/projects/myproject/b/tsconfig.json WatchType: Extended config file +Before checking timeout queue length (2) and running +//// [/user/username/projects/myproject/extended/bravo.tsconfig.json] +{"extends":"./alpha.tsconfig.json","compilerOptions":{"strict":false}} + + +PolledWatches:: +/a/lib/lib.d.ts: + {"pollingInterval":500} +/user/username/projects/myproject/a/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/myproject/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/myproject/b/node_modules/@types: + {"pollingInterval":500} + +FsWatches:: +/user/username/projects/myproject/a/tsconfig.json: + {} +/user/username/projects/myproject/extended/alpha.tsconfig.json: + {} +/user/username/projects/myproject/b/tsconfig.json: + {} +/user/username/projects/myproject/extended/bravo.tsconfig.json: + {} + +FsWatchesRecursive:: + Info 61 [16:02:15.000] Running: /user/username/projects/myproject/b/tsconfig.json Info 62 [16:02:16.000] Reloading configured project /user/username/projects/myproject/b/tsconfig.json Info 63 [16:02:17.000] Config: /user/username/projects/myproject/b/tsconfig.json : { @@ -191,10 +295,61 @@ Info 71 [16:02:43.000] FileName: /user/username/projects/myproject/a/a.ts Pro Info 71 [16:02:44.000] Projects: /user/username/projects/myproject/a/tsconfig.json Info 71 [16:02:45.000] FileName: /user/username/projects/myproject/b/b.ts ProjectRootPath: undefined Info 71 [16:02:46.000] Projects: /user/username/projects/myproject/b/tsconfig.json +After checking timeout queue length (2) and running + +PolledWatches:: +/a/lib/lib.d.ts: + {"pollingInterval":500} +/user/username/projects/myproject/a/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/myproject/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/myproject/b/node_modules/@types: + {"pollingInterval":500} + +FsWatches:: +/user/username/projects/myproject/a/tsconfig.json: + {} +/user/username/projects/myproject/extended/alpha.tsconfig.json: + {} +/user/username/projects/myproject/b/tsconfig.json: + {} +/user/username/projects/myproject/extended/bravo.tsconfig.json: + {} + +FsWatchesRecursive:: + Info 71 [16:02:50.000] FileWatcher:: Triggered with /user/username/projects/myproject/b/tsconfig.json 1:: WatchInfo: /user/username/projects/myproject/b/tsconfig.json 2000 undefined Project: /user/username/projects/myproject/b/tsconfig.json WatchType: Config file Info 72 [16:02:51.000] Scheduled: /user/username/projects/myproject/b/tsconfig.json Info 73 [16:02:52.000] Scheduled: *ensureProjectForOpenFiles* Info 74 [16:02:53.000] Elapsed:: *ms FileWatcher:: Triggered with /user/username/projects/myproject/b/tsconfig.json 1:: WatchInfo: /user/username/projects/myproject/b/tsconfig.json 2000 undefined Project: /user/username/projects/myproject/b/tsconfig.json WatchType: Config file +Before checking timeout queue length (2) and running +//// [/user/username/projects/myproject/b/tsconfig.json] +{"extends":"../extended/alpha.tsconfig.json"} + + +PolledWatches:: +/a/lib/lib.d.ts: + {"pollingInterval":500} +/user/username/projects/myproject/a/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/myproject/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/myproject/b/node_modules/@types: + {"pollingInterval":500} + +FsWatches:: +/user/username/projects/myproject/a/tsconfig.json: + {} +/user/username/projects/myproject/extended/alpha.tsconfig.json: + {} +/user/username/projects/myproject/b/tsconfig.json: + {} +/user/username/projects/myproject/extended/bravo.tsconfig.json: + {} + +FsWatchesRecursive:: + Info 75 [16:02:54.000] Running: /user/username/projects/myproject/b/tsconfig.json Info 76 [16:02:55.000] Reloading configured project /user/username/projects/myproject/b/tsconfig.json Info 77 [16:02:56.000] Config: /user/username/projects/myproject/b/tsconfig.json : { @@ -242,11 +397,62 @@ Info 88 [16:03:25.000] FileName: /user/username/projects/myproject/a/a.ts Pro Info 88 [16:03:26.000] Projects: /user/username/projects/myproject/a/tsconfig.json Info 88 [16:03:27.000] FileName: /user/username/projects/myproject/b/b.ts ProjectRootPath: undefined Info 88 [16:03:28.000] Projects: /user/username/projects/myproject/b/tsconfig.json +After checking timeout queue length (2) and running + +PolledWatches:: +/a/lib/lib.d.ts: + {"pollingInterval":500} +/user/username/projects/myproject/a/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/myproject/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/myproject/b/node_modules/@types: + {"pollingInterval":500} + +FsWatches:: +/user/username/projects/myproject/a/tsconfig.json: + {} +/user/username/projects/myproject/extended/alpha.tsconfig.json: + {} +/user/username/projects/myproject/b/tsconfig.json: + {} + +FsWatchesRecursive:: +/user/username/projects/myproject/b: + {} + Info 88 [16:03:32.000] FileWatcher:: Triggered with /user/username/projects/myproject/extended/alpha.tsconfig.json 1:: WatchInfo: /user/username/projects/myproject/extended/alpha.tsconfig.json 2000 undefined Config: /user/username/projects/myproject/a/tsconfig.json WatchType: Extended config file Info 89 [16:03:33.000] Scheduled: /user/username/projects/myproject/a/tsconfig.json Info 90 [16:03:34.000] Scheduled: /user/username/projects/myproject/b/tsconfig.json Info 91 [16:03:35.000] Scheduled: *ensureProjectForOpenFiles* Info 92 [16:03:36.000] Elapsed:: *ms FileWatcher:: Triggered with /user/username/projects/myproject/extended/alpha.tsconfig.json 1:: WatchInfo: /user/username/projects/myproject/extended/alpha.tsconfig.json 2000 undefined Config: /user/username/projects/myproject/a/tsconfig.json WatchType: Extended config file +Before checking timeout queue length (3) and running +//// [/user/username/projects/myproject/extended/alpha.tsconfig.json] +{} + + +PolledWatches:: +/a/lib/lib.d.ts: + {"pollingInterval":500} +/user/username/projects/myproject/a/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/myproject/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/myproject/b/node_modules/@types: + {"pollingInterval":500} + +FsWatches:: +/user/username/projects/myproject/a/tsconfig.json: + {} +/user/username/projects/myproject/extended/alpha.tsconfig.json: + {} +/user/username/projects/myproject/b/tsconfig.json: + {} + +FsWatchesRecursive:: +/user/username/projects/myproject/b: + {} + Info 93 [16:03:37.000] Running: /user/username/projects/myproject/a/tsconfig.json Info 94 [16:03:38.000] Reloading configured project /user/username/projects/myproject/a/tsconfig.json Info 95 [16:03:39.000] Config: /user/username/projects/myproject/a/tsconfig.json : { @@ -303,4 +509,27 @@ Info 110 [16:04:11.000] Open files: Info 110 [16:04:12.000] FileName: /user/username/projects/myproject/a/a.ts ProjectRootPath: undefined Info 110 [16:04:13.000] Projects: /user/username/projects/myproject/a/tsconfig.json Info 110 [16:04:14.000] FileName: /user/username/projects/myproject/b/b.ts ProjectRootPath: undefined -Info 110 [16:04:15.000] Projects: /user/username/projects/myproject/b/tsconfig.json \ No newline at end of file +Info 110 [16:04:15.000] Projects: /user/username/projects/myproject/b/tsconfig.json +After checking timeout queue length (3) and running + +PolledWatches:: +/a/lib/lib.d.ts: + {"pollingInterval":500} +/user/username/projects/myproject/a/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/myproject/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/myproject/b/node_modules/@types: + {"pollingInterval":500} + +FsWatches:: +/user/username/projects/myproject/a/tsconfig.json: + {} +/user/username/projects/myproject/extended/alpha.tsconfig.json: + {} +/user/username/projects/myproject/b/tsconfig.json: + {} + +FsWatchesRecursive:: +/user/username/projects/myproject/b: + {} diff --git a/tests/baselines/reference/tsserver/configuredProjects/when-multiple-projects-are-open-detects-correct-default-project.js b/tests/baselines/reference/tsserver/configuredProjects/when-multiple-projects-are-open-detects-correct-default-project.js index 5f799573f9a40..0c968346ff6e9 100644 --- a/tests/baselines/reference/tsserver/configuredProjects/when-multiple-projects-are-open-detects-correct-default-project.js +++ b/tests/baselines/reference/tsserver/configuredProjects/when-multiple-projects-are-open-detects-correct-default-project.js @@ -8,6 +8,7 @@ Info 1 [16:00:36.000] request: "file": "/user/username/projects/myproject/foo/index.ts" } } +Before request //// [/user/username/projects/myproject/bar/tsconfig.json] {"include":["index.ts"],"compilerOptions":{"lib":["dom","es2017"]}} @@ -108,6 +109,7 @@ Info 25 [16:01:02.000] ----------------------------------------------- Info 25 [16:01:03.000] Open files: Info 25 [16:01:04.000] FileName: /user/username/projects/myproject/foo/index.ts ProjectRootPath: undefined Info 25 [16:01:05.000] Projects: /user/username/projects/myproject/foo/tsconfig.json +After request PolledWatches:: /user/username/projects/myproject/foo/node_modules/@types: @@ -140,6 +142,7 @@ Info 26 [16:01:07.000] request: "file": "/user/username/projects/myproject/bar/index.ts" } } +Before request PolledWatches:: /user/username/projects/myproject/foo/node_modules/@types: @@ -220,6 +223,7 @@ Info 48 [16:01:36.000] FileName: /user/username/projects/myproject/foo/index. Info 48 [16:01:37.000] Projects: /user/username/projects/myproject/foo/tsconfig.json Info 48 [16:01:38.000] FileName: /user/username/projects/myproject/bar/index.ts ProjectRootPath: undefined Info 48 [16:01:39.000] Projects: /user/username/projects/myproject/foo/tsconfig.json,/user/username/projects/myproject/bar/tsconfig.json +After request PolledWatches:: /user/username/projects/myproject/foo/node_modules/@types: @@ -260,6 +264,7 @@ Info 49 [16:01:41.000] request: "seq": 1, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/foo/node_modules/@types: @@ -283,6 +288,7 @@ FsWatchesRecursive:: /user/username/projects/myproject/foo/node_modules: {} +After request PolledWatches:: /user/username/projects/myproject/foo/node_modules/@types: @@ -310,17 +316,304 @@ Info 50 [16:01:42.000] response: { "responseRequired": false } +Before checking timeout queue length (1) and running + +PolledWatches:: +/user/username/projects/myproject/foo/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/myproject/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/myproject/bar/node_modules/@types: + {"pollingInterval":500} + +FsWatches:: +/user/username/projects/myproject/foo/tsconfig.json: + {} +/a/lib/lib.es2017.d.ts: + {} +/user/username/projects/myproject/bar/tsconfig.json: + {} +/a/lib/lib.dom.d.ts: + {} + +FsWatchesRecursive:: +/user/username/projects/myproject/foo/node_modules: + {} + Info 51 [16:01:43.000] event: {"seq":0,"type":"event","event":"syntaxDiag","body":{"file":"/user/username/projects/myproject/bar/index.ts","diagnostics":[]}} +After checking timeout queue length (1) and running + +PolledWatches:: +/user/username/projects/myproject/foo/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/myproject/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/myproject/bar/node_modules/@types: + {"pollingInterval":500} + +FsWatches:: +/user/username/projects/myproject/foo/tsconfig.json: + {} +/a/lib/lib.es2017.d.ts: + {} +/user/username/projects/myproject/bar/tsconfig.json: + {} +/a/lib/lib.dom.d.ts: + {} + +FsWatchesRecursive:: +/user/username/projects/myproject/foo/node_modules: + {} + +Before running immediate callbacks and checking length (1) + +PolledWatches:: +/user/username/projects/myproject/foo/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/myproject/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/myproject/bar/node_modules/@types: + {"pollingInterval":500} + +FsWatches:: +/user/username/projects/myproject/foo/tsconfig.json: + {} +/a/lib/lib.es2017.d.ts: + {} +/user/username/projects/myproject/bar/tsconfig.json: + {} +/a/lib/lib.dom.d.ts: + {} + +FsWatchesRecursive:: +/user/username/projects/myproject/foo/node_modules: + {} + Info 52 [16:01:44.000] event: {"seq":0,"type":"event","event":"semanticDiag","body":{"file":"/user/username/projects/myproject/bar/index.ts","diagnostics":[]}} +Before running immediate callbacks and checking length (1) + +PolledWatches:: +/user/username/projects/myproject/foo/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/myproject/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/myproject/bar/node_modules/@types: + {"pollingInterval":500} + +FsWatches:: +/user/username/projects/myproject/foo/tsconfig.json: + {} +/a/lib/lib.es2017.d.ts: + {} +/user/username/projects/myproject/bar/tsconfig.json: + {} +/a/lib/lib.dom.d.ts: + {} + +FsWatchesRecursive:: +/user/username/projects/myproject/foo/node_modules: + {} + +Before running immediate callbacks and checking length (1) + +PolledWatches:: +/user/username/projects/myproject/foo/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/myproject/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/myproject/bar/node_modules/@types: + {"pollingInterval":500} + +FsWatches:: +/user/username/projects/myproject/foo/tsconfig.json: + {} +/a/lib/lib.es2017.d.ts: + {} +/user/username/projects/myproject/bar/tsconfig.json: + {} +/a/lib/lib.dom.d.ts: + {} + +FsWatchesRecursive:: +/user/username/projects/myproject/foo/node_modules: + {} + Info 53 [16:01:45.000] event: {"seq":0,"type":"event","event":"suggestionDiag","body":{"file":"/user/username/projects/myproject/bar/index.ts","diagnostics":[]}} +Before running immediate callbacks and checking length (1) + +PolledWatches:: +/user/username/projects/myproject/foo/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/myproject/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/myproject/bar/node_modules/@types: + {"pollingInterval":500} + +FsWatches:: +/user/username/projects/myproject/foo/tsconfig.json: + {} +/a/lib/lib.es2017.d.ts: + {} +/user/username/projects/myproject/bar/tsconfig.json: + {} +/a/lib/lib.dom.d.ts: + {} + +FsWatchesRecursive:: +/user/username/projects/myproject/foo/node_modules: + {} + +Before checking timeout queue length (1) and running + +PolledWatches:: +/user/username/projects/myproject/foo/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/myproject/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/myproject/bar/node_modules/@types: + {"pollingInterval":500} + +FsWatches:: +/user/username/projects/myproject/foo/tsconfig.json: + {} +/a/lib/lib.es2017.d.ts: + {} +/user/username/projects/myproject/bar/tsconfig.json: + {} +/a/lib/lib.dom.d.ts: + {} + +FsWatchesRecursive:: +/user/username/projects/myproject/foo/node_modules: + {} + Info 54 [16:01:46.000] event: {"seq":0,"type":"event","event":"syntaxDiag","body":{"file":"/user/username/projects/myproject/foo/index.ts","diagnostics":[]}} +After checking timeout queue length (1) and running + +PolledWatches:: +/user/username/projects/myproject/foo/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/myproject/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/myproject/bar/node_modules/@types: + {"pollingInterval":500} + +FsWatches:: +/user/username/projects/myproject/foo/tsconfig.json: + {} +/a/lib/lib.es2017.d.ts: + {} +/user/username/projects/myproject/bar/tsconfig.json: + {} +/a/lib/lib.dom.d.ts: + {} + +FsWatchesRecursive:: +/user/username/projects/myproject/foo/node_modules: + {} + +Before running immediate callbacks and checking length (1) + +PolledWatches:: +/user/username/projects/myproject/foo/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/myproject/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/myproject/bar/node_modules/@types: + {"pollingInterval":500} + +FsWatches:: +/user/username/projects/myproject/foo/tsconfig.json: + {} +/a/lib/lib.es2017.d.ts: + {} +/user/username/projects/myproject/bar/tsconfig.json: + {} +/a/lib/lib.dom.d.ts: + {} + +FsWatchesRecursive:: +/user/username/projects/myproject/foo/node_modules: + {} + Info 55 [16:01:47.000] event: {"seq":0,"type":"event","event":"semanticDiag","body":{"file":"/user/username/projects/myproject/foo/index.ts","diagnostics":[]}} +Before running immediate callbacks and checking length (1) + +PolledWatches:: +/user/username/projects/myproject/foo/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/myproject/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/myproject/bar/node_modules/@types: + {"pollingInterval":500} + +FsWatches:: +/user/username/projects/myproject/foo/tsconfig.json: + {} +/a/lib/lib.es2017.d.ts: + {} +/user/username/projects/myproject/bar/tsconfig.json: + {} +/a/lib/lib.dom.d.ts: + {} + +FsWatchesRecursive:: +/user/username/projects/myproject/foo/node_modules: + {} + +Before running immediate callbacks and checking length (1) + +PolledWatches:: +/user/username/projects/myproject/foo/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/myproject/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/myproject/bar/node_modules/@types: + {"pollingInterval":500} + +FsWatches:: +/user/username/projects/myproject/foo/tsconfig.json: + {} +/a/lib/lib.es2017.d.ts: + {} +/user/username/projects/myproject/bar/tsconfig.json: + {} +/a/lib/lib.dom.d.ts: + {} + +FsWatchesRecursive:: +/user/username/projects/myproject/foo/node_modules: + {} + Info 56 [16:01:48.000] event: {"seq":0,"type":"event","event":"suggestionDiag","body":{"file":"/user/username/projects/myproject/foo/index.ts","diagnostics":[]}} Info 57 [16:01:49.000] event: - {"seq":0,"type":"event","event":"requestCompleted","body":{"request_seq":1}} \ No newline at end of file + {"seq":0,"type":"event","event":"requestCompleted","body":{"request_seq":1}} +Before running immediate callbacks and checking length (1) + +PolledWatches:: +/user/username/projects/myproject/foo/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/myproject/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/myproject/bar/node_modules/@types: + {"pollingInterval":500} + +FsWatches:: +/user/username/projects/myproject/foo/tsconfig.json: + {} +/a/lib/lib.es2017.d.ts: + {} +/user/username/projects/myproject/bar/tsconfig.json: + {} +/a/lib/lib.dom.d.ts: + {} + +FsWatchesRecursive:: +/user/username/projects/myproject/foo/node_modules: + {} diff --git a/tests/baselines/reference/tsserver/forceConsistentCasingInFileNames/when-changing-module-name-with-different-casing.js b/tests/baselines/reference/tsserver/forceConsistentCasingInFileNames/when-changing-module-name-with-different-casing.js index 859089c125a4a..43eee4e03b018 100644 --- a/tests/baselines/reference/tsserver/forceConsistentCasingInFileNames/when-changing-module-name-with-different-casing.js +++ b/tests/baselines/reference/tsserver/forceConsistentCasingInFileNames/when-changing-module-name-with-different-casing.js @@ -9,6 +9,7 @@ Info 1 [16:00:25.000] request: "projectRootPath": "/user/username/projects/myproject" } } +Before request //// [/user/username/projects/myproject/Logger.ts] export class logger { } @@ -92,6 +93,7 @@ Info 23 [16:00:49.000] ----------------------------------------------- Info 23 [16:00:50.000] Open files: Info 23 [16:00:51.000] FileName: /user/username/projects/myproject/another.ts ProjectRootPath: /user/username/projects/myproject Info 23 [16:00:52.000] Projects: /user/username/projects/myproject/tsconfig.json +After request PolledWatches:: /user/username/projects/myproject/node_modules/@types: @@ -125,6 +127,7 @@ Info 24 [16:00:54.000] request: "seq": 1, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/node_modules/@types: @@ -142,6 +145,7 @@ FsWatchesRecursive:: /user/username/projects/myproject: {} +After request PolledWatches:: /user/username/projects/myproject/node_modules/@types: @@ -163,14 +167,122 @@ Info 25 [16:00:55.000] response: { "responseRequired": false } +Before checking timeout queue length (1) and running + +PolledWatches:: +/user/username/projects/myproject/node_modules/@types: + {"pollingInterval":500} + +FsWatches:: +/user/username/projects/myproject/tsconfig.json: + {} +/user/username/projects/myproject/logger.ts: + {} +/a/lib/lib.d.ts: + {} + +FsWatchesRecursive:: +/user/username/projects/myproject: + {} + Info 26 [16:00:56.000] event: {"seq":0,"type":"event","event":"syntaxDiag","body":{"file":"/user/username/projects/myproject/another.ts","diagnostics":[]}} +After checking timeout queue length (1) and running + +PolledWatches:: +/user/username/projects/myproject/node_modules/@types: + {"pollingInterval":500} + +FsWatches:: +/user/username/projects/myproject/tsconfig.json: + {} +/user/username/projects/myproject/logger.ts: + {} +/a/lib/lib.d.ts: + {} + +FsWatchesRecursive:: +/user/username/projects/myproject: + {} + +Before running immediate callbacks and checking length (1) + +PolledWatches:: +/user/username/projects/myproject/node_modules/@types: + {"pollingInterval":500} + +FsWatches:: +/user/username/projects/myproject/tsconfig.json: + {} +/user/username/projects/myproject/logger.ts: + {} +/a/lib/lib.d.ts: + {} + +FsWatchesRecursive:: +/user/username/projects/myproject: + {} + Info 27 [16:00:57.000] event: {"seq":0,"type":"event","event":"semanticDiag","body":{"file":"/user/username/projects/myproject/another.ts","diagnostics":[]}} +Before running immediate callbacks and checking length (1) + +PolledWatches:: +/user/username/projects/myproject/node_modules/@types: + {"pollingInterval":500} + +FsWatches:: +/user/username/projects/myproject/tsconfig.json: + {} +/user/username/projects/myproject/logger.ts: + {} +/a/lib/lib.d.ts: + {} + +FsWatchesRecursive:: +/user/username/projects/myproject: + {} + +Before running immediate callbacks and checking length (1) + +PolledWatches:: +/user/username/projects/myproject/node_modules/@types: + {"pollingInterval":500} + +FsWatches:: +/user/username/projects/myproject/tsconfig.json: + {} +/user/username/projects/myproject/logger.ts: + {} +/a/lib/lib.d.ts: + {} + +FsWatchesRecursive:: +/user/username/projects/myproject: + {} + Info 28 [16:00:58.000] event: {"seq":0,"type":"event","event":"suggestionDiag","body":{"file":"/user/username/projects/myproject/another.ts","diagnostics":[]}} Info 29 [16:00:59.000] event: {"seq":0,"type":"event","event":"requestCompleted","body":{"request_seq":1}} +Before running immediate callbacks and checking length (1) + +PolledWatches:: +/user/username/projects/myproject/node_modules/@types: + {"pollingInterval":500} + +FsWatches:: +/user/username/projects/myproject/tsconfig.json: + {} +/user/username/projects/myproject/logger.ts: + {} +/a/lib/lib.d.ts: + {} + +FsWatchesRecursive:: +/user/username/projects/myproject: + {} + Info 30 [16:01:00.000] request: { "command": "updateOpen", @@ -197,6 +309,7 @@ Info 30 [16:01:00.000] request: "seq": 2, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/node_modules/@types: @@ -214,6 +327,7 @@ FsWatchesRecursive:: /user/username/projects/myproject: {} +After request PolledWatches:: /user/username/projects/myproject/node_modules/@types: @@ -248,6 +362,7 @@ Info 32 [16:01:02.000] request: "seq": 3, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/node_modules/@types: @@ -265,6 +380,7 @@ FsWatchesRecursive:: /user/username/projects/myproject: {} +After request PolledWatches:: /user/username/projects/myproject/node_modules/@types: @@ -286,14 +402,121 @@ Info 33 [16:01:03.000] response: { "responseRequired": false } +Before checking timeout queue length (1) and running + +PolledWatches:: +/user/username/projects/myproject/node_modules/@types: + {"pollingInterval":500} + +FsWatches:: +/user/username/projects/myproject/tsconfig.json: + {} +/user/username/projects/myproject/logger.ts: + {} +/a/lib/lib.d.ts: + {} + +FsWatchesRecursive:: +/user/username/projects/myproject: + {} + Info 34 [16:01:04.000] Starting updateGraphWorker: Project: /user/username/projects/myproject/tsconfig.json Info 35 [16:01:05.000] Finishing updateGraphWorker: Project: /user/username/projects/myproject/tsconfig.json Version: 2 structureChanged: true structureIsReused:: SafeModules Elapsed:: *ms Info 36 [16:01:06.000] Different program with same set of files Info 37 [16:01:07.000] event: {"seq":0,"type":"event","event":"syntaxDiag","body":{"file":"/user/username/projects/myproject/another.ts","diagnostics":[]}} +After checking timeout queue length (1) and running + +PolledWatches:: +/user/username/projects/myproject/node_modules/@types: + {"pollingInterval":500} + +FsWatches:: +/user/username/projects/myproject/tsconfig.json: + {} +/user/username/projects/myproject/logger.ts: + {} +/a/lib/lib.d.ts: + {} + +FsWatchesRecursive:: +/user/username/projects/myproject: + {} + +Before running immediate callbacks and checking length (1) + +PolledWatches:: +/user/username/projects/myproject/node_modules/@types: + {"pollingInterval":500} + +FsWatches:: +/user/username/projects/myproject/tsconfig.json: + {} +/user/username/projects/myproject/logger.ts: + {} +/a/lib/lib.d.ts: + {} + +FsWatchesRecursive:: +/user/username/projects/myproject: + {} + Info 38 [16:01:08.000] event: {"seq":0,"type":"event","event":"semanticDiag","body":{"file":"/user/username/projects/myproject/another.ts","diagnostics":[{"start":{"line":1,"offset":24},"end":{"line":1,"offset":34},"text":"File name '/user/username/projects/myproject/logger.ts' differs from already included file name '/user/username/projects/myproject/Logger.ts' only in casing.\n The file is in the program because:\n Matched by default include pattern '**/*'\n Imported via \"./logger\" from file '/user/username/projects/myproject/another.ts'","code":1149,"category":"error"}]}} +Before running immediate callbacks and checking length (1) + +PolledWatches:: +/user/username/projects/myproject/node_modules/@types: + {"pollingInterval":500} + +FsWatches:: +/user/username/projects/myproject/tsconfig.json: + {} +/user/username/projects/myproject/logger.ts: + {} +/a/lib/lib.d.ts: + {} + +FsWatchesRecursive:: +/user/username/projects/myproject: + {} + +Before running immediate callbacks and checking length (1) + +PolledWatches:: +/user/username/projects/myproject/node_modules/@types: + {"pollingInterval":500} + +FsWatches:: +/user/username/projects/myproject/tsconfig.json: + {} +/user/username/projects/myproject/logger.ts: + {} +/a/lib/lib.d.ts: + {} + +FsWatchesRecursive:: +/user/username/projects/myproject: + {} + Info 39 [16:01:09.000] event: {"seq":0,"type":"event","event":"suggestionDiag","body":{"file":"/user/username/projects/myproject/another.ts","diagnostics":[]}} Info 40 [16:01:10.000] event: - {"seq":0,"type":"event","event":"requestCompleted","body":{"request_seq":3}} \ No newline at end of file + {"seq":0,"type":"event","event":"requestCompleted","body":{"request_seq":3}} +Before running immediate callbacks and checking length (1) + +PolledWatches:: +/user/username/projects/myproject/node_modules/@types: + {"pollingInterval":500} + +FsWatches:: +/user/username/projects/myproject/tsconfig.json: + {} +/user/username/projects/myproject/logger.ts: + {} +/a/lib/lib.d.ts: + {} + +FsWatchesRecursive:: +/user/username/projects/myproject: + {} diff --git a/tests/baselines/reference/tsserver/forceConsistentCasingInFileNames/works-when-renaming-file-with-different-casing.js b/tests/baselines/reference/tsserver/forceConsistentCasingInFileNames/works-when-renaming-file-with-different-casing.js index 1764aa7d369f6..68f0512cb9de2 100644 --- a/tests/baselines/reference/tsserver/forceConsistentCasingInFileNames/works-when-renaming-file-with-different-casing.js +++ b/tests/baselines/reference/tsserver/forceConsistentCasingInFileNames/works-when-renaming-file-with-different-casing.js @@ -9,6 +9,7 @@ Info 1 [16:00:25.000] request: "projectRootPath": "/user/username/projects/myproject" } } +Before request //// [/user/username/projects/myproject/Logger.ts] export class logger { } @@ -92,6 +93,7 @@ Info 23 [16:00:49.000] ----------------------------------------------- Info 23 [16:00:50.000] Open files: Info 23 [16:00:51.000] FileName: /user/username/projects/myproject/Logger.ts ProjectRootPath: /user/username/projects/myproject Info 23 [16:00:52.000] Projects: /user/username/projects/myproject/tsconfig.json +After request PolledWatches:: /user/username/projects/myproject/node_modules/@types: @@ -125,6 +127,7 @@ Info 24 [16:00:54.000] request: "seq": 1, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/node_modules/@types: @@ -142,6 +145,7 @@ FsWatchesRecursive:: /user/username/projects/myproject: {} +After request PolledWatches:: /user/username/projects/myproject/node_modules/@types: @@ -163,14 +167,122 @@ Info 25 [16:00:55.000] response: { "responseRequired": false } +Before checking timeout queue length (1) and running + +PolledWatches:: +/user/username/projects/myproject/node_modules/@types: + {"pollingInterval":500} + +FsWatches:: +/user/username/projects/myproject/tsconfig.json: + {} +/user/username/projects/myproject/another.ts: + {} +/a/lib/lib.d.ts: + {} + +FsWatchesRecursive:: +/user/username/projects/myproject: + {} + Info 26 [16:00:56.000] event: {"seq":0,"type":"event","event":"syntaxDiag","body":{"file":"/user/username/projects/myproject/Logger.ts","diagnostics":[]}} +After checking timeout queue length (1) and running + +PolledWatches:: +/user/username/projects/myproject/node_modules/@types: + {"pollingInterval":500} + +FsWatches:: +/user/username/projects/myproject/tsconfig.json: + {} +/user/username/projects/myproject/another.ts: + {} +/a/lib/lib.d.ts: + {} + +FsWatchesRecursive:: +/user/username/projects/myproject: + {} + +Before running immediate callbacks and checking length (1) + +PolledWatches:: +/user/username/projects/myproject/node_modules/@types: + {"pollingInterval":500} + +FsWatches:: +/user/username/projects/myproject/tsconfig.json: + {} +/user/username/projects/myproject/another.ts: + {} +/a/lib/lib.d.ts: + {} + +FsWatchesRecursive:: +/user/username/projects/myproject: + {} + Info 27 [16:00:57.000] event: {"seq":0,"type":"event","event":"semanticDiag","body":{"file":"/user/username/projects/myproject/Logger.ts","diagnostics":[]}} +Before running immediate callbacks and checking length (1) + +PolledWatches:: +/user/username/projects/myproject/node_modules/@types: + {"pollingInterval":500} + +FsWatches:: +/user/username/projects/myproject/tsconfig.json: + {} +/user/username/projects/myproject/another.ts: + {} +/a/lib/lib.d.ts: + {} + +FsWatchesRecursive:: +/user/username/projects/myproject: + {} + +Before running immediate callbacks and checking length (1) + +PolledWatches:: +/user/username/projects/myproject/node_modules/@types: + {"pollingInterval":500} + +FsWatches:: +/user/username/projects/myproject/tsconfig.json: + {} +/user/username/projects/myproject/another.ts: + {} +/a/lib/lib.d.ts: + {} + +FsWatchesRecursive:: +/user/username/projects/myproject: + {} + Info 28 [16:00:58.000] event: {"seq":0,"type":"event","event":"suggestionDiag","body":{"file":"/user/username/projects/myproject/Logger.ts","diagnostics":[]}} Info 29 [16:00:59.000] event: {"seq":0,"type":"event","event":"requestCompleted","body":{"request_seq":1}} +Before running immediate callbacks and checking length (1) + +PolledWatches:: +/user/username/projects/myproject/node_modules/@types: + {"pollingInterval":500} + +FsWatches:: +/user/username/projects/myproject/tsconfig.json: + {} +/user/username/projects/myproject/another.ts: + {} +/a/lib/lib.d.ts: + {} + +FsWatchesRecursive:: +/user/username/projects/myproject: + {} + Info 30 [16:01:01.000] DirectoryWatcher:: Triggered with /user/username/projects/myproject/Logger.ts :: WatchInfo: /user/username/projects/myproject 1 undefined Config: /user/username/projects/myproject/tsconfig.json WatchType: Wild card directory Info 31 [16:01:02.000] Elapsed:: *ms DirectoryWatcher:: Triggered with /user/username/projects/myproject/Logger.ts :: WatchInfo: /user/username/projects/myproject 1 undefined Config: /user/username/projects/myproject/tsconfig.json WatchType: Wild card directory Info 32 [16:01:05.000] DirectoryWatcher:: Triggered with /user/username/projects/myproject/logger.ts :: WatchInfo: /user/username/projects/myproject 1 undefined Config: /user/username/projects/myproject/tsconfig.json WatchType: Wild card directory @@ -184,6 +296,7 @@ Info 34 [16:01:07.000] request: "file": "/user/username/projects/myproject/Logger.ts" } } +Before request //// [/user/username/projects/myproject/logger.ts] file was renamed from file /user/username/projects/myproject/Logger.ts PolledWatches:: @@ -208,6 +321,7 @@ Info 36 [16:01:10.000] Files (3) Info 36 [16:01:11.000] ----------------------------------------------- Info 36 [16:01:12.000] Open files: +After request PolledWatches:: /user/username/projects/myproject/node_modules/@types: @@ -241,6 +355,7 @@ Info 37 [16:01:14.000] request: "projectRootPath": "/user/username/projects/myproject" } } +Before request PolledWatches:: /user/username/projects/myproject/node_modules/@types: @@ -273,6 +388,7 @@ Info 44 [16:01:23.000] ----------------------------------------------- Info 44 [16:01:24.000] Open files: Info 44 [16:01:25.000] FileName: /user/username/projects/myproject/Logger.ts ProjectRootPath: /user/username/projects/myproject Info 44 [16:01:26.000] Projects: /user/username/projects/myproject/tsconfig.json +After request PolledWatches:: /user/username/projects/myproject/node_modules/@types: @@ -304,6 +420,7 @@ Info 45 [16:01:28.000] request: "projectRootPath": "/user/username/projects/myproject" } } +Before request PolledWatches:: /user/username/projects/myproject/node_modules/@types: @@ -333,6 +450,7 @@ Info 49 [16:01:36.000] FileName: /user/username/projects/myproject/Logger.ts Info 49 [16:01:37.000] Projects: /user/username/projects/myproject/tsconfig.json Info 49 [16:01:38.000] FileName: /user/username/projects/myproject/another.ts ProjectRootPath: /user/username/projects/myproject Info 49 [16:01:39.000] Projects: /user/username/projects/myproject/tsconfig.json +After request PolledWatches:: /user/username/projects/myproject/node_modules/@types: @@ -378,6 +496,7 @@ Info 50 [16:01:41.000] request: "seq": 2, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/node_modules/@types: @@ -393,6 +512,7 @@ FsWatchesRecursive:: /user/username/projects/myproject: {} +After request PolledWatches:: /user/username/projects/myproject/node_modules/@types: @@ -426,6 +546,7 @@ Info 52 [16:01:43.000] request: "seq": 3, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/node_modules/@types: @@ -441,6 +562,7 @@ FsWatchesRecursive:: /user/username/projects/myproject: {} +After request PolledWatches:: /user/username/projects/myproject/node_modules/@types: @@ -460,20 +582,211 @@ Info 53 [16:01:44.000] response: { "responseRequired": false } +Before checking timeout queue length (1) and running + +PolledWatches:: +/user/username/projects/myproject/node_modules/@types: + {"pollingInterval":500} + +FsWatches:: +/user/username/projects/myproject/tsconfig.json: + {} +/a/lib/lib.d.ts: + {} + +FsWatchesRecursive:: +/user/username/projects/myproject: + {} + Info 54 [16:01:45.000] Starting updateGraphWorker: Project: /user/username/projects/myproject/tsconfig.json Info 55 [16:01:46.000] Finishing updateGraphWorker: Project: /user/username/projects/myproject/tsconfig.json Version: 3 structureChanged: true structureIsReused:: SafeModules Elapsed:: *ms Info 56 [16:01:47.000] Different program with same set of files Info 57 [16:01:48.000] event: {"seq":0,"type":"event","event":"syntaxDiag","body":{"file":"/user/username/projects/myproject/logger.ts","diagnostics":[]}} +After checking timeout queue length (1) and running + +PolledWatches:: +/user/username/projects/myproject/node_modules/@types: + {"pollingInterval":500} + +FsWatches:: +/user/username/projects/myproject/tsconfig.json: + {} +/a/lib/lib.d.ts: + {} + +FsWatchesRecursive:: +/user/username/projects/myproject: + {} + +Before running immediate callbacks and checking length (1) + +PolledWatches:: +/user/username/projects/myproject/node_modules/@types: + {"pollingInterval":500} + +FsWatches:: +/user/username/projects/myproject/tsconfig.json: + {} +/a/lib/lib.d.ts: + {} + +FsWatchesRecursive:: +/user/username/projects/myproject: + {} + Info 58 [16:01:49.000] event: {"seq":0,"type":"event","event":"semanticDiag","body":{"file":"/user/username/projects/myproject/logger.ts","diagnostics":[]}} +Before running immediate callbacks and checking length (1) + +PolledWatches:: +/user/username/projects/myproject/node_modules/@types: + {"pollingInterval":500} + +FsWatches:: +/user/username/projects/myproject/tsconfig.json: + {} +/a/lib/lib.d.ts: + {} + +FsWatchesRecursive:: +/user/username/projects/myproject: + {} + +Before running immediate callbacks and checking length (1) + +PolledWatches:: +/user/username/projects/myproject/node_modules/@types: + {"pollingInterval":500} + +FsWatches:: +/user/username/projects/myproject/tsconfig.json: + {} +/a/lib/lib.d.ts: + {} + +FsWatchesRecursive:: +/user/username/projects/myproject: + {} + Info 59 [16:01:50.000] event: {"seq":0,"type":"event","event":"suggestionDiag","body":{"file":"/user/username/projects/myproject/logger.ts","diagnostics":[]}} +Before running immediate callbacks and checking length (1) + +PolledWatches:: +/user/username/projects/myproject/node_modules/@types: + {"pollingInterval":500} + +FsWatches:: +/user/username/projects/myproject/tsconfig.json: + {} +/a/lib/lib.d.ts: + {} + +FsWatchesRecursive:: +/user/username/projects/myproject: + {} + +Before checking timeout queue length (1) and running + +PolledWatches:: +/user/username/projects/myproject/node_modules/@types: + {"pollingInterval":500} + +FsWatches:: +/user/username/projects/myproject/tsconfig.json: + {} +/a/lib/lib.d.ts: + {} + +FsWatchesRecursive:: +/user/username/projects/myproject: + {} + Info 60 [16:01:51.000] event: {"seq":0,"type":"event","event":"syntaxDiag","body":{"file":"/user/username/projects/myproject/another.ts","diagnostics":[]}} +After checking timeout queue length (1) and running + +PolledWatches:: +/user/username/projects/myproject/node_modules/@types: + {"pollingInterval":500} + +FsWatches:: +/user/username/projects/myproject/tsconfig.json: + {} +/a/lib/lib.d.ts: + {} + +FsWatchesRecursive:: +/user/username/projects/myproject: + {} + +Before running immediate callbacks and checking length (1) + +PolledWatches:: +/user/username/projects/myproject/node_modules/@types: + {"pollingInterval":500} + +FsWatches:: +/user/username/projects/myproject/tsconfig.json: + {} +/a/lib/lib.d.ts: + {} + +FsWatchesRecursive:: +/user/username/projects/myproject: + {} + Info 61 [16:01:52.000] event: {"seq":0,"type":"event","event":"semanticDiag","body":{"file":"/user/username/projects/myproject/another.ts","diagnostics":[]}} +Before running immediate callbacks and checking length (1) + +PolledWatches:: +/user/username/projects/myproject/node_modules/@types: + {"pollingInterval":500} + +FsWatches:: +/user/username/projects/myproject/tsconfig.json: + {} +/a/lib/lib.d.ts: + {} + +FsWatchesRecursive:: +/user/username/projects/myproject: + {} + +Before running immediate callbacks and checking length (1) + +PolledWatches:: +/user/username/projects/myproject/node_modules/@types: + {"pollingInterval":500} + +FsWatches:: +/user/username/projects/myproject/tsconfig.json: + {} +/a/lib/lib.d.ts: + {} + +FsWatchesRecursive:: +/user/username/projects/myproject: + {} + Info 62 [16:01:53.000] event: {"seq":0,"type":"event","event":"suggestionDiag","body":{"file":"/user/username/projects/myproject/another.ts","diagnostics":[]}} Info 63 [16:01:54.000] event: - {"seq":0,"type":"event","event":"requestCompleted","body":{"request_seq":3}} \ No newline at end of file + {"seq":0,"type":"event","event":"requestCompleted","body":{"request_seq":3}} +Before running immediate callbacks and checking length (1) + +PolledWatches:: +/user/username/projects/myproject/node_modules/@types: + {"pollingInterval":500} + +FsWatches:: +/user/username/projects/myproject/tsconfig.json: + {} +/a/lib/lib.d.ts: + {} + +FsWatchesRecursive:: +/user/username/projects/myproject: + {} diff --git a/tests/baselines/reference/tsserver/inferredProjects/create-inferred-project.js b/tests/baselines/reference/tsserver/inferredProjects/create-inferred-project.js index bcd2bc07d8c78..93be7cc8379ea 100644 --- a/tests/baselines/reference/tsserver/inferredProjects/create-inferred-project.js +++ b/tests/baselines/reference/tsserver/inferredProjects/create-inferred-project.js @@ -1,4 +1,34 @@ Info 0 [16:00:21.000] Provided types map file "/typesMap.json" doesn't exist +Creating project service +//// [/user/username/projects/myproject/app.ts] + + import {f} from "./module" + console.log(f) + + +//// [/user/username/projects/myproject/module.d.ts] +export let x: number + +//// [/a/lib/lib.d.ts] +/// +interface Boolean {} +interface Function {} +interface CallableFunction {} +interface NewableFunction {} +interface IArguments {} +interface Number { toExponential: any; } +interface Object {} +interface RegExp {} +interface String { charAt: any; } +interface Array { length: number; [n: number]: T; } + + +PolledWatches:: + +FsWatches:: + +FsWatchesRecursive:: + Info 1 [16:00:22.000] Search path: /user/username/projects/myproject Info 2 [16:00:23.000] For info: /user/username/projects/myproject/app.ts :: No config files found. Info 3 [16:00:24.000] Plugins were requested but not running in environment that supports 'require'. Nothing will be loaded diff --git a/tests/baselines/reference/tsserver/moduleResolution/package-json-file-is-edited-when-package-json-with-type-module-exists.js b/tests/baselines/reference/tsserver/moduleResolution/package-json-file-is-edited-when-package-json-with-type-module-exists.js index 7ad1dc9349ffa..f0f4680897efd 100644 --- a/tests/baselines/reference/tsserver/moduleResolution/package-json-file-is-edited-when-package-json-with-type-module-exists.js +++ b/tests/baselines/reference/tsserver/moduleResolution/package-json-file-is-edited-when-package-json-with-type-module-exists.js @@ -8,6 +8,7 @@ Info 1 [16:00:28.000] request: "file": "/user/username/projects/myproject/src/fileA.ts" } } +Before request //// [/user/username/projects/myproject/src/tsconfig.json] {"compilerOptions":{"target":"es2016","module":"Node16","outDir":"../out","traceResolution":true}} @@ -119,6 +120,7 @@ Info 40 [16:01:09.000] ----------------------------------------------- Info 40 [16:01:10.000] Open files: Info 40 [16:01:11.000] FileName: /user/username/projects/myproject/src/fileA.ts ProjectRootPath: undefined Info 40 [16:01:12.000] Projects: /user/username/projects/myproject/src/tsconfig.json +After request PolledWatches:: /user/username/projects/myproject/src/package.json: @@ -152,9 +154,84 @@ Info 43 [16:01:19.000] Scheduled: /user/username/projects/myproject/src/tsconf Info 44 [16:01:20.000] Elapsed:: *ms FileWatcher:: Triggered with /user/username/projects/myproject/package.json 1:: WatchInfo: /user/username/projects/myproject/package.json 2000 undefined Project: /user/username/projects/myproject/src/tsconfig.json WatchType: File location affecting resolution Info 45 [16:01:21.000] FileWatcher:: Triggered with /user/username/projects/myproject/package.json 1:: WatchInfo: /user/username/projects/myproject/package.json 250 undefined WatchType: package.json file Info 46 [16:01:22.000] Elapsed:: *ms FileWatcher:: Triggered with /user/username/projects/myproject/package.json 1:: WatchInfo: /user/username/projects/myproject/package.json 250 undefined WatchType: package.json file +Before running timeout callbacks +//// [/user/username/projects/myproject/package.json] +{"name":"app","version":"1.0.0"} + + +PolledWatches:: +/user/username/projects/myproject/src/package.json: + {"pollingInterval":2000} +/user/username/projects/myproject/src/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/myproject/node_modules/@types: + {"pollingInterval":500} + +FsWatches:: +/user/username/projects/myproject/src/tsconfig.json: + {} +/user/username/projects/myproject/src/fileb.mts: + {} +/a/lib/lib.es2016.full.d.ts: + {} +/user/username/projects/myproject/package.json: + {} + +FsWatchesRecursive:: +/user/username/projects/myproject/src: + {} + Info 47 [16:01:23.000] Running: /user/username/projects/myproject/src/tsconfig.jsonFailedLookupInvalidation Info 48 [16:01:24.000] Scheduled: /user/username/projects/myproject/src/tsconfig.json Info 49 [16:01:25.000] Scheduled: *ensureProjectForOpenFiles* +After running timeout callbacks + +PolledWatches:: +/user/username/projects/myproject/src/package.json: + {"pollingInterval":2000} +/user/username/projects/myproject/src/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/myproject/node_modules/@types: + {"pollingInterval":500} + +FsWatches:: +/user/username/projects/myproject/src/tsconfig.json: + {} +/user/username/projects/myproject/src/fileb.mts: + {} +/a/lib/lib.es2016.full.d.ts: + {} +/user/username/projects/myproject/package.json: + {} + +FsWatchesRecursive:: +/user/username/projects/myproject/src: + {} + +Before running timeout callbacks + +PolledWatches:: +/user/username/projects/myproject/src/package.json: + {"pollingInterval":2000} +/user/username/projects/myproject/src/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/myproject/node_modules/@types: + {"pollingInterval":500} + +FsWatches:: +/user/username/projects/myproject/src/tsconfig.json: + {} +/user/username/projects/myproject/src/fileb.mts: + {} +/a/lib/lib.es2016.full.d.ts: + {} +/user/username/projects/myproject/package.json: + {} + +FsWatchesRecursive:: +/user/username/projects/myproject/src: + {} + Info 50 [16:01:26.000] Running: /user/username/projects/myproject/src/tsconfig.json Info 51 [16:01:27.000] Starting updateGraphWorker: Project: /user/username/projects/myproject/src/tsconfig.json Info 52 [16:01:28.000] File '/a/lib/package.json' does not exist according to earlier cached lookups. @@ -201,6 +278,32 @@ Info 79 [16:02:06.000] Projects: /user/username/projects/myproject/src/tscon Info 79 [16:02:07.000] got projects updated in background, updating diagnostics for /user/username/projects/myproject/src/fileA.ts Info 80 [16:02:08.000] event: {"seq":0,"type":"event","event":"projectsUpdatedInBackground","body":{"openFiles":["/user/username/projects/myproject/src/fileA.ts"]}} +After running timeout callbacks + +PolledWatches:: +/user/username/projects/myproject/src/package.json: + {"pollingInterval":2000} +/user/username/projects/myproject/src/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/myproject/node_modules/@types: + {"pollingInterval":500} + +FsWatches:: +/user/username/projects/myproject/src/tsconfig.json: + {} +/user/username/projects/myproject/src/fileb.mts: + {} +/a/lib/lib.es2016.full.d.ts: + {} +/user/username/projects/myproject/package.json: + {} +/user/username/projects/myproject/src: + {} + +FsWatchesRecursive:: +/user/username/projects/myproject/src: + {} + Info 81 [16:02:09.000] request: { "command": "geterr", @@ -213,9 +316,7 @@ Info 81 [16:02:09.000] request: "seq": 1, "type": "request" } -//// [/user/username/projects/myproject/package.json] -{"name":"app","version":"1.0.0"} - +Before request PolledWatches:: /user/username/projects/myproject/src/package.json: @@ -241,6 +342,7 @@ FsWatchesRecursive:: /user/username/projects/myproject/src: {} +After request PolledWatches:: /user/username/projects/myproject/src/package.json: @@ -270,81 +372,61 @@ Info 82 [16:02:10.000] response: { "responseRequired": false } +Before checking timeout queue length (1) and running + +PolledWatches:: +/user/username/projects/myproject/src/package.json: + {"pollingInterval":2000} +/user/username/projects/myproject/src/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/myproject/node_modules/@types: + {"pollingInterval":500} + +FsWatches:: +/user/username/projects/myproject/src/tsconfig.json: + {} +/user/username/projects/myproject/src/fileb.mts: + {} +/a/lib/lib.es2016.full.d.ts: + {} +/user/username/projects/myproject/package.json: + {} +/user/username/projects/myproject/src: + {} + +FsWatchesRecursive:: +/user/username/projects/myproject/src: + {} + Info 83 [16:02:11.000] event: {"seq":0,"type":"event","event":"syntaxDiag","body":{"file":"/user/username/projects/myproject/src/fileA.ts","diagnostics":[]}} -Info 84 [16:02:12.000] event: - {"seq":0,"type":"event","event":"semanticDiag","body":{"file":"/user/username/projects/myproject/src/fileA.ts","diagnostics":[{"start":{"line":1,"offset":21},"end":{"line":1,"offset":34},"text":"The current file is a CommonJS module whose imports will produce 'require' calls; however, the referenced file is an ECMAScript module and cannot be imported with 'require'. Consider writing a dynamic 'import(\"./fileB.mjs\")' call instead.\n To convert this file to an ECMAScript module, change its file extension to '.mts', or add the field `\"type\": \"module\"` to '/user/username/projects/myproject/package.json'.","code":1479,"category":"error"}]}} -Info 85 [16:02:13.000] event: - {"seq":0,"type":"event","event":"suggestionDiag","body":{"file":"/user/username/projects/myproject/src/fileA.ts","diagnostics":[]}} -Info 86 [16:02:14.000] event: - {"seq":0,"type":"event","event":"requestCompleted","body":{"request_seq":1}} -Info 87 [16:02:15.000] Modify package json file to add type module -Info 88 [16:02:19.000] FileWatcher:: Triggered with /user/username/projects/myproject/package.json 1:: WatchInfo: /user/username/projects/myproject/package.json 2000 undefined Project: /user/username/projects/myproject/src/tsconfig.json WatchType: File location affecting resolution -Info 89 [16:02:20.000] Scheduled: /user/username/projects/myproject/src/tsconfig.jsonFailedLookupInvalidation -Info 90 [16:02:21.000] Elapsed:: *ms FileWatcher:: Triggered with /user/username/projects/myproject/package.json 1:: WatchInfo: /user/username/projects/myproject/package.json 2000 undefined Project: /user/username/projects/myproject/src/tsconfig.json WatchType: File location affecting resolution -Info 91 [16:02:22.000] FileWatcher:: Triggered with /user/username/projects/myproject/package.json 1:: WatchInfo: /user/username/projects/myproject/package.json 250 undefined WatchType: package.json file -Info 92 [16:02:23.000] Elapsed:: *ms FileWatcher:: Triggered with /user/username/projects/myproject/package.json 1:: WatchInfo: /user/username/projects/myproject/package.json 250 undefined WatchType: package.json file -Info 93 [16:02:24.000] Running: /user/username/projects/myproject/src/tsconfig.jsonFailedLookupInvalidation -Info 94 [16:02:25.000] Scheduled: /user/username/projects/myproject/src/tsconfig.json -Info 95 [16:02:26.000] Scheduled: *ensureProjectForOpenFiles* -Info 96 [16:02:27.000] Running: /user/username/projects/myproject/src/tsconfig.json -Info 97 [16:02:28.000] Starting updateGraphWorker: Project: /user/username/projects/myproject/src/tsconfig.json -Info 98 [16:02:29.000] File '/a/lib/package.json' does not exist according to earlier cached lookups. -Info 99 [16:02:30.000] File '/a/package.json' does not exist according to earlier cached lookups. -Info 100 [16:02:31.000] File '/package.json' does not exist according to earlier cached lookups. -Info 101 [16:02:32.000] File '/user/username/projects/myproject/src/package.json' does not exist according to earlier cached lookups. -Info 102 [16:02:33.000] Found 'package.json' at '/user/username/projects/myproject/package.json'. -Info 103 [16:02:34.000] 'package.json' does not have a 'typesVersions' field. -Info 104 [16:02:35.000] File '/user/username/projects/myproject/src/package.json' does not exist according to earlier cached lookups. -Info 105 [16:02:36.000] File '/user/username/projects/myproject/package.json' exists according to earlier cached lookups. -Info 106 [16:02:37.000] ======== Resolving module './fileB.mjs' from '/user/username/projects/myproject/src/fileA.ts'. ======== -Info 107 [16:02:38.000] Module resolution kind is not specified, using 'Node16'. -Info 108 [16:02:39.000] Loading module as file / folder, candidate module location '/user/username/projects/myproject/src/fileB.mjs', target file type 'TypeScript'. -Info 109 [16:02:40.000] File name '/user/username/projects/myproject/src/fileB.mjs' has a '.mjs' extension - stripping it. -Info 110 [16:02:41.000] File '/user/username/projects/myproject/src/fileB.mts' exist - use it as a name resolution result. -Info 111 [16:02:42.000] ======== Module name './fileB.mjs' was successfully resolved to '/user/username/projects/myproject/src/fileB.mts'. ======== -Info 112 [16:02:43.000] File '/a/lib/package.json' does not exist according to earlier cached lookups. -Info 113 [16:02:44.000] File '/a/package.json' does not exist according to earlier cached lookups. -Info 114 [16:02:45.000] File '/package.json' does not exist according to earlier cached lookups. -Info 115 [16:02:46.000] DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/myproject/src 0 undefined Project: /user/username/projects/myproject/src/tsconfig.json WatchType: Failed Lookup Locations -Info 116 [16:02:47.000] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/myproject/src 0 undefined Project: /user/username/projects/myproject/src/tsconfig.json WatchType: Failed Lookup Locations -Info 117 [16:02:48.000] Finishing updateGraphWorker: Project: /user/username/projects/myproject/src/tsconfig.json Version: 3 structureChanged: true structureIsReused:: SafeModules Elapsed:: *ms -Info 118 [16:02:49.000] Different program with same set of files -Info 119 [16:02:50.000] Running: *ensureProjectForOpenFiles* -Info 120 [16:02:51.000] Before ensureProjectForOpenFiles: -Info 121 [16:02:52.000] Project '/user/username/projects/myproject/src/tsconfig.json' (Configured) -Info 121 [16:02:53.000] Files (3) +After checking timeout queue length (1) and running -Info 121 [16:02:54.000] ----------------------------------------------- -Info 121 [16:02:55.000] Open files: -Info 121 [16:02:56.000] FileName: /user/username/projects/myproject/src/fileA.ts ProjectRootPath: undefined -Info 121 [16:02:57.000] Projects: /user/username/projects/myproject/src/tsconfig.json -Info 121 [16:02:58.000] After ensureProjectForOpenFiles: -Info 122 [16:02:59.000] Project '/user/username/projects/myproject/src/tsconfig.json' (Configured) -Info 122 [16:03:00.000] Files (3) +PolledWatches:: +/user/username/projects/myproject/src/package.json: + {"pollingInterval":2000} +/user/username/projects/myproject/src/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/myproject/node_modules/@types: + {"pollingInterval":500} -Info 122 [16:03:01.000] ----------------------------------------------- -Info 122 [16:03:02.000] Open files: -Info 122 [16:03:03.000] FileName: /user/username/projects/myproject/src/fileA.ts ProjectRootPath: undefined -Info 122 [16:03:04.000] Projects: /user/username/projects/myproject/src/tsconfig.json -Info 122 [16:03:05.000] got projects updated in background, updating diagnostics for /user/username/projects/myproject/src/fileA.ts -Info 123 [16:03:06.000] event: - {"seq":0,"type":"event","event":"projectsUpdatedInBackground","body":{"openFiles":["/user/username/projects/myproject/src/fileA.ts"]}} -Info 124 [16:03:07.000] request: - { - "command": "geterr", - "arguments": { - "delay": 0, - "files": [ - "/user/username/projects/myproject/src/fileA.ts" - ] - }, - "seq": 2, - "type": "request" - } -//// [/user/username/projects/myproject/package.json] -{"name":"app","version":"1.0.0","type":"module"} +FsWatches:: +/user/username/projects/myproject/src/tsconfig.json: + {} +/user/username/projects/myproject/src/fileb.mts: + {} +/a/lib/lib.es2016.full.d.ts: + {} +/user/username/projects/myproject/package.json: + {} +/user/username/projects/myproject/src: + {} + +FsWatchesRecursive:: +/user/username/projects/myproject/src: + {} +Before running immediate callbacks and checking length (1) PolledWatches:: /user/username/projects/myproject/src/package.json: @@ -363,11 +445,16 @@ FsWatches:: {} /user/username/projects/myproject/package.json: {} +/user/username/projects/myproject/src: + {} FsWatchesRecursive:: /user/username/projects/myproject/src: {} +Info 84 [16:02:12.000] event: + {"seq":0,"type":"event","event":"semanticDiag","body":{"file":"/user/username/projects/myproject/src/fileA.ts","diagnostics":[{"start":{"line":1,"offset":21},"end":{"line":1,"offset":34},"text":"The current file is a CommonJS module whose imports will produce 'require' calls; however, the referenced file is an ECMAScript module and cannot be imported with 'require'. Consider writing a dynamic 'import(\"./fileB.mjs\")' call instead.\n To convert this file to an ECMAScript module, change its file extension to '.mts', or add the field `\"type\": \"module\"` to '/user/username/projects/myproject/package.json'.","code":1479,"category":"error"}]}} +Before running immediate callbacks and checking length (1) PolledWatches:: /user/username/projects/myproject/src/package.json: @@ -386,44 +473,536 @@ FsWatches:: {} /user/username/projects/myproject/package.json: {} +/user/username/projects/myproject/src: + {} FsWatchesRecursive:: /user/username/projects/myproject/src: {} -Info 125 [16:03:08.000] response: - { - "responseRequired": false - } -Info 126 [16:03:09.000] event: - {"seq":0,"type":"event","event":"syntaxDiag","body":{"file":"/user/username/projects/myproject/src/fileA.ts","diagnostics":[]}} -Info 127 [16:03:10.000] event: - {"seq":0,"type":"event","event":"semanticDiag","body":{"file":"/user/username/projects/myproject/src/fileA.ts","diagnostics":[]}} -Info 128 [16:03:11.000] event: - {"seq":0,"type":"event","event":"suggestionDiag","body":{"file":"/user/username/projects/myproject/src/fileA.ts","diagnostics":[]}} -Info 129 [16:03:12.000] event: - {"seq":0,"type":"event","event":"requestCompleted","body":{"request_seq":2}} -Info 130 [16:03:13.000] Delete package.json -Info 131 [16:03:15.000] FileWatcher:: Triggered with /user/username/projects/myproject/package.json 2:: WatchInfo: /user/username/projects/myproject/package.json 2000 undefined Project: /user/username/projects/myproject/src/tsconfig.json WatchType: File location affecting resolution -Info 132 [16:03:16.000] Scheduled: /user/username/projects/myproject/src/tsconfig.jsonFailedLookupInvalidation -Info 133 [16:03:17.000] Elapsed:: *ms FileWatcher:: Triggered with /user/username/projects/myproject/package.json 2:: WatchInfo: /user/username/projects/myproject/package.json 2000 undefined Project: /user/username/projects/myproject/src/tsconfig.json WatchType: File location affecting resolution -Info 134 [16:03:18.000] FileWatcher:: Triggered with /user/username/projects/myproject/package.json 2:: WatchInfo: /user/username/projects/myproject/package.json 250 undefined WatchType: package.json file -Info 135 [16:03:19.000] FileWatcher:: Close:: WatchInfo: /user/username/projects/myproject/package.json 250 undefined WatchType: package.json file -Info 136 [16:03:20.000] Elapsed:: *ms FileWatcher:: Triggered with /user/username/projects/myproject/package.json 2:: WatchInfo: /user/username/projects/myproject/package.json 250 undefined WatchType: package.json file -Info 137 [16:03:21.000] Running: /user/username/projects/myproject/src/tsconfig.jsonFailedLookupInvalidation -Info 138 [16:03:22.000] Scheduled: /user/username/projects/myproject/src/tsconfig.json -Info 139 [16:03:23.000] Scheduled: *ensureProjectForOpenFiles* -Info 140 [16:03:24.000] Running: /user/username/projects/myproject/src/tsconfig.json -Info 141 [16:03:25.000] Starting updateGraphWorker: Project: /user/username/projects/myproject/src/tsconfig.json -Info 142 [16:03:26.000] File '/a/lib/package.json' does not exist according to earlier cached lookups. -Info 143 [16:03:27.000] File '/a/package.json' does not exist according to earlier cached lookups. -Info 144 [16:03:28.000] File '/package.json' does not exist according to earlier cached lookups. -Info 145 [16:03:29.000] File '/user/username/projects/myproject/src/package.json' does not exist according to earlier cached lookups. -Info 146 [16:03:30.000] File '/user/username/projects/myproject/package.json' does not exist. -Info 147 [16:03:31.000] File '/user/username/projects/package.json' does not exist. -Info 148 [16:03:32.000] File '/user/username/package.json' does not exist. -Info 149 [16:03:33.000] File '/user/package.json' does not exist. -Info 150 [16:03:34.000] File '/package.json' does not exist according to earlier cached lookups. +Before running immediate callbacks and checking length (1) + +PolledWatches:: +/user/username/projects/myproject/src/package.json: + {"pollingInterval":2000} +/user/username/projects/myproject/src/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/myproject/node_modules/@types: + {"pollingInterval":500} + +FsWatches:: +/user/username/projects/myproject/src/tsconfig.json: + {} +/user/username/projects/myproject/src/fileb.mts: + {} +/a/lib/lib.es2016.full.d.ts: + {} +/user/username/projects/myproject/package.json: + {} +/user/username/projects/myproject/src: + {} + +FsWatchesRecursive:: +/user/username/projects/myproject/src: + {} + +Info 85 [16:02:13.000] event: + {"seq":0,"type":"event","event":"suggestionDiag","body":{"file":"/user/username/projects/myproject/src/fileA.ts","diagnostics":[]}} +Info 86 [16:02:14.000] event: + {"seq":0,"type":"event","event":"requestCompleted","body":{"request_seq":1}} +Before running immediate callbacks and checking length (1) + +PolledWatches:: +/user/username/projects/myproject/src/package.json: + {"pollingInterval":2000} +/user/username/projects/myproject/src/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/myproject/node_modules/@types: + {"pollingInterval":500} + +FsWatches:: +/user/username/projects/myproject/src/tsconfig.json: + {} +/user/username/projects/myproject/src/fileb.mts: + {} +/a/lib/lib.es2016.full.d.ts: + {} +/user/username/projects/myproject/package.json: + {} +/user/username/projects/myproject/src: + {} + +FsWatchesRecursive:: +/user/username/projects/myproject/src: + {} + +Info 87 [16:02:15.000] Modify package json file to add type module +Info 88 [16:02:19.000] FileWatcher:: Triggered with /user/username/projects/myproject/package.json 1:: WatchInfo: /user/username/projects/myproject/package.json 2000 undefined Project: /user/username/projects/myproject/src/tsconfig.json WatchType: File location affecting resolution +Info 89 [16:02:20.000] Scheduled: /user/username/projects/myproject/src/tsconfig.jsonFailedLookupInvalidation +Info 90 [16:02:21.000] Elapsed:: *ms FileWatcher:: Triggered with /user/username/projects/myproject/package.json 1:: WatchInfo: /user/username/projects/myproject/package.json 2000 undefined Project: /user/username/projects/myproject/src/tsconfig.json WatchType: File location affecting resolution +Info 91 [16:02:22.000] FileWatcher:: Triggered with /user/username/projects/myproject/package.json 1:: WatchInfo: /user/username/projects/myproject/package.json 250 undefined WatchType: package.json file +Info 92 [16:02:23.000] Elapsed:: *ms FileWatcher:: Triggered with /user/username/projects/myproject/package.json 1:: WatchInfo: /user/username/projects/myproject/package.json 250 undefined WatchType: package.json file +Before running timeout callbacks +//// [/user/username/projects/myproject/package.json] +{"name":"app","version":"1.0.0","type":"module"} + + +PolledWatches:: +/user/username/projects/myproject/src/package.json: + {"pollingInterval":2000} +/user/username/projects/myproject/src/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/myproject/node_modules/@types: + {"pollingInterval":500} + +FsWatches:: +/user/username/projects/myproject/src/tsconfig.json: + {} +/user/username/projects/myproject/src/fileb.mts: + {} +/a/lib/lib.es2016.full.d.ts: + {} +/user/username/projects/myproject/package.json: + {} +/user/username/projects/myproject/src: + {} + +FsWatchesRecursive:: +/user/username/projects/myproject/src: + {} + +Info 93 [16:02:24.000] Running: /user/username/projects/myproject/src/tsconfig.jsonFailedLookupInvalidation +Info 94 [16:02:25.000] Scheduled: /user/username/projects/myproject/src/tsconfig.json +Info 95 [16:02:26.000] Scheduled: *ensureProjectForOpenFiles* +After running timeout callbacks + +PolledWatches:: +/user/username/projects/myproject/src/package.json: + {"pollingInterval":2000} +/user/username/projects/myproject/src/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/myproject/node_modules/@types: + {"pollingInterval":500} + +FsWatches:: +/user/username/projects/myproject/src/tsconfig.json: + {} +/user/username/projects/myproject/src/fileb.mts: + {} +/a/lib/lib.es2016.full.d.ts: + {} +/user/username/projects/myproject/package.json: + {} +/user/username/projects/myproject/src: + {} + +FsWatchesRecursive:: +/user/username/projects/myproject/src: + {} + +Before running timeout callbacks + +PolledWatches:: +/user/username/projects/myproject/src/package.json: + {"pollingInterval":2000} +/user/username/projects/myproject/src/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/myproject/node_modules/@types: + {"pollingInterval":500} + +FsWatches:: +/user/username/projects/myproject/src/tsconfig.json: + {} +/user/username/projects/myproject/src/fileb.mts: + {} +/a/lib/lib.es2016.full.d.ts: + {} +/user/username/projects/myproject/package.json: + {} +/user/username/projects/myproject/src: + {} + +FsWatchesRecursive:: +/user/username/projects/myproject/src: + {} + +Info 96 [16:02:27.000] Running: /user/username/projects/myproject/src/tsconfig.json +Info 97 [16:02:28.000] Starting updateGraphWorker: Project: /user/username/projects/myproject/src/tsconfig.json +Info 98 [16:02:29.000] File '/a/lib/package.json' does not exist according to earlier cached lookups. +Info 99 [16:02:30.000] File '/a/package.json' does not exist according to earlier cached lookups. +Info 100 [16:02:31.000] File '/package.json' does not exist according to earlier cached lookups. +Info 101 [16:02:32.000] File '/user/username/projects/myproject/src/package.json' does not exist according to earlier cached lookups. +Info 102 [16:02:33.000] Found 'package.json' at '/user/username/projects/myproject/package.json'. +Info 103 [16:02:34.000] 'package.json' does not have a 'typesVersions' field. +Info 104 [16:02:35.000] File '/user/username/projects/myproject/src/package.json' does not exist according to earlier cached lookups. +Info 105 [16:02:36.000] File '/user/username/projects/myproject/package.json' exists according to earlier cached lookups. +Info 106 [16:02:37.000] ======== Resolving module './fileB.mjs' from '/user/username/projects/myproject/src/fileA.ts'. ======== +Info 107 [16:02:38.000] Module resolution kind is not specified, using 'Node16'. +Info 108 [16:02:39.000] Loading module as file / folder, candidate module location '/user/username/projects/myproject/src/fileB.mjs', target file type 'TypeScript'. +Info 109 [16:02:40.000] File name '/user/username/projects/myproject/src/fileB.mjs' has a '.mjs' extension - stripping it. +Info 110 [16:02:41.000] File '/user/username/projects/myproject/src/fileB.mts' exist - use it as a name resolution result. +Info 111 [16:02:42.000] ======== Module name './fileB.mjs' was successfully resolved to '/user/username/projects/myproject/src/fileB.mts'. ======== +Info 112 [16:02:43.000] File '/a/lib/package.json' does not exist according to earlier cached lookups. +Info 113 [16:02:44.000] File '/a/package.json' does not exist according to earlier cached lookups. +Info 114 [16:02:45.000] File '/package.json' does not exist according to earlier cached lookups. +Info 115 [16:02:46.000] DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/myproject/src 0 undefined Project: /user/username/projects/myproject/src/tsconfig.json WatchType: Failed Lookup Locations +Info 116 [16:02:47.000] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/myproject/src 0 undefined Project: /user/username/projects/myproject/src/tsconfig.json WatchType: Failed Lookup Locations +Info 117 [16:02:48.000] Finishing updateGraphWorker: Project: /user/username/projects/myproject/src/tsconfig.json Version: 3 structureChanged: true structureIsReused:: SafeModules Elapsed:: *ms +Info 118 [16:02:49.000] Different program with same set of files +Info 119 [16:02:50.000] Running: *ensureProjectForOpenFiles* +Info 120 [16:02:51.000] Before ensureProjectForOpenFiles: +Info 121 [16:02:52.000] Project '/user/username/projects/myproject/src/tsconfig.json' (Configured) +Info 121 [16:02:53.000] Files (3) + +Info 121 [16:02:54.000] ----------------------------------------------- +Info 121 [16:02:55.000] Open files: +Info 121 [16:02:56.000] FileName: /user/username/projects/myproject/src/fileA.ts ProjectRootPath: undefined +Info 121 [16:02:57.000] Projects: /user/username/projects/myproject/src/tsconfig.json +Info 121 [16:02:58.000] After ensureProjectForOpenFiles: +Info 122 [16:02:59.000] Project '/user/username/projects/myproject/src/tsconfig.json' (Configured) +Info 122 [16:03:00.000] Files (3) + +Info 122 [16:03:01.000] ----------------------------------------------- +Info 122 [16:03:02.000] Open files: +Info 122 [16:03:03.000] FileName: /user/username/projects/myproject/src/fileA.ts ProjectRootPath: undefined +Info 122 [16:03:04.000] Projects: /user/username/projects/myproject/src/tsconfig.json +Info 122 [16:03:05.000] got projects updated in background, updating diagnostics for /user/username/projects/myproject/src/fileA.ts +Info 123 [16:03:06.000] event: + {"seq":0,"type":"event","event":"projectsUpdatedInBackground","body":{"openFiles":["/user/username/projects/myproject/src/fileA.ts"]}} +After running timeout callbacks + +PolledWatches:: +/user/username/projects/myproject/src/package.json: + {"pollingInterval":2000} +/user/username/projects/myproject/src/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/myproject/node_modules/@types: + {"pollingInterval":500} + +FsWatches:: +/user/username/projects/myproject/src/tsconfig.json: + {} +/user/username/projects/myproject/src/fileb.mts: + {} +/a/lib/lib.es2016.full.d.ts: + {} +/user/username/projects/myproject/package.json: + {} + +FsWatchesRecursive:: +/user/username/projects/myproject/src: + {} + +Info 124 [16:03:07.000] request: + { + "command": "geterr", + "arguments": { + "delay": 0, + "files": [ + "/user/username/projects/myproject/src/fileA.ts" + ] + }, + "seq": 2, + "type": "request" + } +Before request + +PolledWatches:: +/user/username/projects/myproject/src/package.json: + {"pollingInterval":2000} +/user/username/projects/myproject/src/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/myproject/node_modules/@types: + {"pollingInterval":500} + +FsWatches:: +/user/username/projects/myproject/src/tsconfig.json: + {} +/user/username/projects/myproject/src/fileb.mts: + {} +/a/lib/lib.es2016.full.d.ts: + {} +/user/username/projects/myproject/package.json: + {} + +FsWatchesRecursive:: +/user/username/projects/myproject/src: + {} + +After request + +PolledWatches:: +/user/username/projects/myproject/src/package.json: + {"pollingInterval":2000} +/user/username/projects/myproject/src/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/myproject/node_modules/@types: + {"pollingInterval":500} + +FsWatches:: +/user/username/projects/myproject/src/tsconfig.json: + {} +/user/username/projects/myproject/src/fileb.mts: + {} +/a/lib/lib.es2016.full.d.ts: + {} +/user/username/projects/myproject/package.json: + {} + +FsWatchesRecursive:: +/user/username/projects/myproject/src: + {} + +Info 125 [16:03:08.000] response: + { + "responseRequired": false + } +Before checking timeout queue length (1) and running + +PolledWatches:: +/user/username/projects/myproject/src/package.json: + {"pollingInterval":2000} +/user/username/projects/myproject/src/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/myproject/node_modules/@types: + {"pollingInterval":500} + +FsWatches:: +/user/username/projects/myproject/src/tsconfig.json: + {} +/user/username/projects/myproject/src/fileb.mts: + {} +/a/lib/lib.es2016.full.d.ts: + {} +/user/username/projects/myproject/package.json: + {} + +FsWatchesRecursive:: +/user/username/projects/myproject/src: + {} + +Info 126 [16:03:09.000] event: + {"seq":0,"type":"event","event":"syntaxDiag","body":{"file":"/user/username/projects/myproject/src/fileA.ts","diagnostics":[]}} +After checking timeout queue length (1) and running + +PolledWatches:: +/user/username/projects/myproject/src/package.json: + {"pollingInterval":2000} +/user/username/projects/myproject/src/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/myproject/node_modules/@types: + {"pollingInterval":500} + +FsWatches:: +/user/username/projects/myproject/src/tsconfig.json: + {} +/user/username/projects/myproject/src/fileb.mts: + {} +/a/lib/lib.es2016.full.d.ts: + {} +/user/username/projects/myproject/package.json: + {} + +FsWatchesRecursive:: +/user/username/projects/myproject/src: + {} + +Before running immediate callbacks and checking length (1) + +PolledWatches:: +/user/username/projects/myproject/src/package.json: + {"pollingInterval":2000} +/user/username/projects/myproject/src/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/myproject/node_modules/@types: + {"pollingInterval":500} + +FsWatches:: +/user/username/projects/myproject/src/tsconfig.json: + {} +/user/username/projects/myproject/src/fileb.mts: + {} +/a/lib/lib.es2016.full.d.ts: + {} +/user/username/projects/myproject/package.json: + {} + +FsWatchesRecursive:: +/user/username/projects/myproject/src: + {} + +Info 127 [16:03:10.000] event: + {"seq":0,"type":"event","event":"semanticDiag","body":{"file":"/user/username/projects/myproject/src/fileA.ts","diagnostics":[]}} +Before running immediate callbacks and checking length (1) + +PolledWatches:: +/user/username/projects/myproject/src/package.json: + {"pollingInterval":2000} +/user/username/projects/myproject/src/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/myproject/node_modules/@types: + {"pollingInterval":500} + +FsWatches:: +/user/username/projects/myproject/src/tsconfig.json: + {} +/user/username/projects/myproject/src/fileb.mts: + {} +/a/lib/lib.es2016.full.d.ts: + {} +/user/username/projects/myproject/package.json: + {} + +FsWatchesRecursive:: +/user/username/projects/myproject/src: + {} + +Before running immediate callbacks and checking length (1) + +PolledWatches:: +/user/username/projects/myproject/src/package.json: + {"pollingInterval":2000} +/user/username/projects/myproject/src/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/myproject/node_modules/@types: + {"pollingInterval":500} + +FsWatches:: +/user/username/projects/myproject/src/tsconfig.json: + {} +/user/username/projects/myproject/src/fileb.mts: + {} +/a/lib/lib.es2016.full.d.ts: + {} +/user/username/projects/myproject/package.json: + {} + +FsWatchesRecursive:: +/user/username/projects/myproject/src: + {} + +Info 128 [16:03:11.000] event: + {"seq":0,"type":"event","event":"suggestionDiag","body":{"file":"/user/username/projects/myproject/src/fileA.ts","diagnostics":[]}} +Info 129 [16:03:12.000] event: + {"seq":0,"type":"event","event":"requestCompleted","body":{"request_seq":2}} +Before running immediate callbacks and checking length (1) + +PolledWatches:: +/user/username/projects/myproject/src/package.json: + {"pollingInterval":2000} +/user/username/projects/myproject/src/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/myproject/node_modules/@types: + {"pollingInterval":500} + +FsWatches:: +/user/username/projects/myproject/src/tsconfig.json: + {} +/user/username/projects/myproject/src/fileb.mts: + {} +/a/lib/lib.es2016.full.d.ts: + {} +/user/username/projects/myproject/package.json: + {} + +FsWatchesRecursive:: +/user/username/projects/myproject/src: + {} + +Info 130 [16:03:13.000] Delete package.json +Info 131 [16:03:15.000] FileWatcher:: Triggered with /user/username/projects/myproject/package.json 2:: WatchInfo: /user/username/projects/myproject/package.json 2000 undefined Project: /user/username/projects/myproject/src/tsconfig.json WatchType: File location affecting resolution +Info 132 [16:03:16.000] Scheduled: /user/username/projects/myproject/src/tsconfig.jsonFailedLookupInvalidation +Info 133 [16:03:17.000] Elapsed:: *ms FileWatcher:: Triggered with /user/username/projects/myproject/package.json 2:: WatchInfo: /user/username/projects/myproject/package.json 2000 undefined Project: /user/username/projects/myproject/src/tsconfig.json WatchType: File location affecting resolution +Info 134 [16:03:18.000] FileWatcher:: Triggered with /user/username/projects/myproject/package.json 2:: WatchInfo: /user/username/projects/myproject/package.json 250 undefined WatchType: package.json file +Info 135 [16:03:19.000] FileWatcher:: Close:: WatchInfo: /user/username/projects/myproject/package.json 250 undefined WatchType: package.json file +Info 136 [16:03:20.000] Elapsed:: *ms FileWatcher:: Triggered with /user/username/projects/myproject/package.json 2:: WatchInfo: /user/username/projects/myproject/package.json 250 undefined WatchType: package.json file +Before running timeout callbacks +//// [/user/username/projects/myproject/package.json] deleted + +PolledWatches:: +/user/username/projects/myproject/src/package.json: + {"pollingInterval":2000} +/user/username/projects/myproject/src/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/myproject/node_modules/@types: + {"pollingInterval":500} + +FsWatches:: +/user/username/projects/myproject/src/tsconfig.json: + {} +/user/username/projects/myproject/src/fileb.mts: + {} +/a/lib/lib.es2016.full.d.ts: + {} +/user/username/projects/myproject/package.json: + {} + +FsWatchesRecursive:: +/user/username/projects/myproject/src: + {} + +Info 137 [16:03:21.000] Running: /user/username/projects/myproject/src/tsconfig.jsonFailedLookupInvalidation +Info 138 [16:03:22.000] Scheduled: /user/username/projects/myproject/src/tsconfig.json +Info 139 [16:03:23.000] Scheduled: *ensureProjectForOpenFiles* +After running timeout callbacks + +PolledWatches:: +/user/username/projects/myproject/src/package.json: + {"pollingInterval":2000} +/user/username/projects/myproject/src/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/myproject/node_modules/@types: + {"pollingInterval":500} + +FsWatches:: +/user/username/projects/myproject/src/tsconfig.json: + {} +/user/username/projects/myproject/src/fileb.mts: + {} +/a/lib/lib.es2016.full.d.ts: + {} +/user/username/projects/myproject/package.json: + {} + +FsWatchesRecursive:: +/user/username/projects/myproject/src: + {} + +Before running timeout callbacks + +PolledWatches:: +/user/username/projects/myproject/src/package.json: + {"pollingInterval":2000} +/user/username/projects/myproject/src/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/myproject/node_modules/@types: + {"pollingInterval":500} + +FsWatches:: +/user/username/projects/myproject/src/tsconfig.json: + {} +/user/username/projects/myproject/src/fileb.mts: + {} +/a/lib/lib.es2016.full.d.ts: + {} +/user/username/projects/myproject/package.json: + {} + +FsWatchesRecursive:: +/user/username/projects/myproject/src: + {} + +Info 140 [16:03:24.000] Running: /user/username/projects/myproject/src/tsconfig.json +Info 141 [16:03:25.000] Starting updateGraphWorker: Project: /user/username/projects/myproject/src/tsconfig.json +Info 142 [16:03:26.000] File '/a/lib/package.json' does not exist according to earlier cached lookups. +Info 143 [16:03:27.000] File '/a/package.json' does not exist according to earlier cached lookups. +Info 144 [16:03:28.000] File '/package.json' does not exist according to earlier cached lookups. +Info 145 [16:03:29.000] File '/user/username/projects/myproject/src/package.json' does not exist according to earlier cached lookups. +Info 146 [16:03:30.000] File '/user/username/projects/myproject/package.json' does not exist. +Info 147 [16:03:31.000] File '/user/username/projects/package.json' does not exist. +Info 148 [16:03:32.000] File '/user/username/package.json' does not exist. +Info 149 [16:03:33.000] File '/user/package.json' does not exist. +Info 150 [16:03:34.000] File '/package.json' does not exist according to earlier cached lookups. Info 151 [16:03:35.000] File '/user/username/projects/myproject/src/package.json' does not exist according to earlier cached lookups. Info 152 [16:03:36.000] File '/user/username/projects/myproject/package.json' does not exist according to earlier cached lookups. Info 153 [16:03:37.000] File '/user/username/projects/package.json' does not exist according to earlier cached lookups. @@ -441,22 +1020,831 @@ Info 164 [16:03:48.000] Before ensureProjectForOpenFiles: Info 165 [16:03:49.000] Project '/user/username/projects/myproject/src/tsconfig.json' (Configured) Info 165 [16:03:50.000] Files (3) -Info 165 [16:03:51.000] ----------------------------------------------- -Info 165 [16:03:52.000] Open files: -Info 165 [16:03:53.000] FileName: /user/username/projects/myproject/src/fileA.ts ProjectRootPath: undefined -Info 165 [16:03:54.000] Projects: /user/username/projects/myproject/src/tsconfig.json -Info 165 [16:03:55.000] After ensureProjectForOpenFiles: -Info 166 [16:03:56.000] Project '/user/username/projects/myproject/src/tsconfig.json' (Configured) -Info 166 [16:03:57.000] Files (3) +Info 165 [16:03:51.000] ----------------------------------------------- +Info 165 [16:03:52.000] Open files: +Info 165 [16:03:53.000] FileName: /user/username/projects/myproject/src/fileA.ts ProjectRootPath: undefined +Info 165 [16:03:54.000] Projects: /user/username/projects/myproject/src/tsconfig.json +Info 165 [16:03:55.000] After ensureProjectForOpenFiles: +Info 166 [16:03:56.000] Project '/user/username/projects/myproject/src/tsconfig.json' (Configured) +Info 166 [16:03:57.000] Files (3) + +Info 166 [16:03:58.000] ----------------------------------------------- +Info 166 [16:03:59.000] Open files: +Info 166 [16:04:00.000] FileName: /user/username/projects/myproject/src/fileA.ts ProjectRootPath: undefined +Info 166 [16:04:01.000] Projects: /user/username/projects/myproject/src/tsconfig.json +Info 166 [16:04:02.000] got projects updated in background, updating diagnostics for /user/username/projects/myproject/src/fileA.ts +Info 167 [16:04:03.000] event: + {"seq":0,"type":"event","event":"projectsUpdatedInBackground","body":{"openFiles":["/user/username/projects/myproject/src/fileA.ts"]}} +After running timeout callbacks + +PolledWatches:: +/user/username/projects/myproject/src/package.json: + {"pollingInterval":2000} +/user/username/projects/myproject/src/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/myproject/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/package.json: + {"pollingInterval":2000} + +FsWatches:: +/user/username/projects/myproject/src/tsconfig.json: + {} +/user/username/projects/myproject/src/fileb.mts: + {} +/a/lib/lib.es2016.full.d.ts: + {} +/user/username/projects/myproject/package.json: + {} + +FsWatchesRecursive:: +/user/username/projects/myproject/src: + {} + +Info 168 [16:04:04.000] request: + { + "command": "geterr", + "arguments": { + "delay": 0, + "files": [ + "/user/username/projects/myproject/src/fileA.ts" + ] + }, + "seq": 3, + "type": "request" + } +Before request + +PolledWatches:: +/user/username/projects/myproject/src/package.json: + {"pollingInterval":2000} +/user/username/projects/myproject/src/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/myproject/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/package.json: + {"pollingInterval":2000} + +FsWatches:: +/user/username/projects/myproject/src/tsconfig.json: + {} +/user/username/projects/myproject/src/fileb.mts: + {} +/a/lib/lib.es2016.full.d.ts: + {} +/user/username/projects/myproject/package.json: + {} + +FsWatchesRecursive:: +/user/username/projects/myproject/src: + {} + +After request + +PolledWatches:: +/user/username/projects/myproject/src/package.json: + {"pollingInterval":2000} +/user/username/projects/myproject/src/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/myproject/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/package.json: + {"pollingInterval":2000} + +FsWatches:: +/user/username/projects/myproject/src/tsconfig.json: + {} +/user/username/projects/myproject/src/fileb.mts: + {} +/a/lib/lib.es2016.full.d.ts: + {} +/user/username/projects/myproject/package.json: + {} + +FsWatchesRecursive:: +/user/username/projects/myproject/src: + {} + +Info 169 [16:04:05.000] response: + { + "responseRequired": false + } +Before checking timeout queue length (1) and running + +PolledWatches:: +/user/username/projects/myproject/src/package.json: + {"pollingInterval":2000} +/user/username/projects/myproject/src/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/myproject/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/package.json: + {"pollingInterval":2000} + +FsWatches:: +/user/username/projects/myproject/src/tsconfig.json: + {} +/user/username/projects/myproject/src/fileb.mts: + {} +/a/lib/lib.es2016.full.d.ts: + {} +/user/username/projects/myproject/package.json: + {} + +FsWatchesRecursive:: +/user/username/projects/myproject/src: + {} + +Info 170 [16:04:06.000] event: + {"seq":0,"type":"event","event":"syntaxDiag","body":{"file":"/user/username/projects/myproject/src/fileA.ts","diagnostics":[]}} +After checking timeout queue length (1) and running + +PolledWatches:: +/user/username/projects/myproject/src/package.json: + {"pollingInterval":2000} +/user/username/projects/myproject/src/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/myproject/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/package.json: + {"pollingInterval":2000} + +FsWatches:: +/user/username/projects/myproject/src/tsconfig.json: + {} +/user/username/projects/myproject/src/fileb.mts: + {} +/a/lib/lib.es2016.full.d.ts: + {} +/user/username/projects/myproject/package.json: + {} + +FsWatchesRecursive:: +/user/username/projects/myproject/src: + {} + +Before running immediate callbacks and checking length (1) + +PolledWatches:: +/user/username/projects/myproject/src/package.json: + {"pollingInterval":2000} +/user/username/projects/myproject/src/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/myproject/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/package.json: + {"pollingInterval":2000} + +FsWatches:: +/user/username/projects/myproject/src/tsconfig.json: + {} +/user/username/projects/myproject/src/fileb.mts: + {} +/a/lib/lib.es2016.full.d.ts: + {} +/user/username/projects/myproject/package.json: + {} + +FsWatchesRecursive:: +/user/username/projects/myproject/src: + {} + +Info 171 [16:04:07.000] event: + {"seq":0,"type":"event","event":"semanticDiag","body":{"file":"/user/username/projects/myproject/src/fileA.ts","diagnostics":[{"start":{"line":1,"offset":21},"end":{"line":1,"offset":34},"text":"The current file is a CommonJS module whose imports will produce 'require' calls; however, the referenced file is an ECMAScript module and cannot be imported with 'require'. Consider writing a dynamic 'import(\"./fileB.mjs\")' call instead.\n To convert this file to an ECMAScript module, change its file extension to '.mts' or create a local package.json file with `{ \"type\": \"module\" }`.","code":1479,"category":"error"}]}} +Before running immediate callbacks and checking length (1) + +PolledWatches:: +/user/username/projects/myproject/src/package.json: + {"pollingInterval":2000} +/user/username/projects/myproject/src/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/myproject/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/package.json: + {"pollingInterval":2000} + +FsWatches:: +/user/username/projects/myproject/src/tsconfig.json: + {} +/user/username/projects/myproject/src/fileb.mts: + {} +/a/lib/lib.es2016.full.d.ts: + {} +/user/username/projects/myproject/package.json: + {} + +FsWatchesRecursive:: +/user/username/projects/myproject/src: + {} + +Before running immediate callbacks and checking length (1) + +PolledWatches:: +/user/username/projects/myproject/src/package.json: + {"pollingInterval":2000} +/user/username/projects/myproject/src/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/myproject/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/package.json: + {"pollingInterval":2000} + +FsWatches:: +/user/username/projects/myproject/src/tsconfig.json: + {} +/user/username/projects/myproject/src/fileb.mts: + {} +/a/lib/lib.es2016.full.d.ts: + {} +/user/username/projects/myproject/package.json: + {} + +FsWatchesRecursive:: +/user/username/projects/myproject/src: + {} + +Info 172 [16:04:08.000] event: + {"seq":0,"type":"event","event":"suggestionDiag","body":{"file":"/user/username/projects/myproject/src/fileA.ts","diagnostics":[]}} +Info 173 [16:04:09.000] event: + {"seq":0,"type":"event","event":"requestCompleted","body":{"request_seq":3}} +Before running immediate callbacks and checking length (1) + +PolledWatches:: +/user/username/projects/myproject/src/package.json: + {"pollingInterval":2000} +/user/username/projects/myproject/src/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/myproject/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/package.json: + {"pollingInterval":2000} + +FsWatches:: +/user/username/projects/myproject/src/tsconfig.json: + {} +/user/username/projects/myproject/src/fileb.mts: + {} +/a/lib/lib.es2016.full.d.ts: + {} +/user/username/projects/myproject/package.json: + {} + +FsWatchesRecursive:: +/user/username/projects/myproject/src: + {} + +Info 174 [16:04:10.000] Modify package json file to without type module +Info 175 [16:04:13.000] FileWatcher:: Triggered with /user/username/projects/myproject/package.json 0:: WatchInfo: /user/username/projects/myproject/package.json 2000 undefined Project: /user/username/projects/myproject/src/tsconfig.json WatchType: File location affecting resolution +Info 176 [16:04:14.000] Scheduled: /user/username/projects/myproject/src/tsconfig.jsonFailedLookupInvalidation +Info 177 [16:04:15.000] Elapsed:: *ms FileWatcher:: Triggered with /user/username/projects/myproject/package.json 0:: WatchInfo: /user/username/projects/myproject/package.json 2000 undefined Project: /user/username/projects/myproject/src/tsconfig.json WatchType: File location affecting resolution +Before running timeout callbacks +//// [/user/username/projects/myproject/package.json] +{"name":"app","version":"1.0.0"} + + +PolledWatches:: +/user/username/projects/myproject/src/package.json: + {"pollingInterval":2000} +/user/username/projects/myproject/src/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/myproject/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/package.json: + {"pollingInterval":2000} + +FsWatches:: +/user/username/projects/myproject/src/tsconfig.json: + {} +/user/username/projects/myproject/src/fileb.mts: + {} +/a/lib/lib.es2016.full.d.ts: + {} +/user/username/projects/myproject/package.json: + {} + +FsWatchesRecursive:: +/user/username/projects/myproject/src: + {} + +Info 178 [16:04:16.000] Running: /user/username/projects/myproject/src/tsconfig.jsonFailedLookupInvalidation +Info 179 [16:04:17.000] Scheduled: /user/username/projects/myproject/src/tsconfig.json +Info 180 [16:04:18.000] Scheduled: *ensureProjectForOpenFiles* +After running timeout callbacks + +PolledWatches:: +/user/username/projects/myproject/src/package.json: + {"pollingInterval":2000} +/user/username/projects/myproject/src/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/myproject/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/package.json: + {"pollingInterval":2000} + +FsWatches:: +/user/username/projects/myproject/src/tsconfig.json: + {} +/user/username/projects/myproject/src/fileb.mts: + {} +/a/lib/lib.es2016.full.d.ts: + {} +/user/username/projects/myproject/package.json: + {} + +FsWatchesRecursive:: +/user/username/projects/myproject/src: + {} + +Before running timeout callbacks + +PolledWatches:: +/user/username/projects/myproject/src/package.json: + {"pollingInterval":2000} +/user/username/projects/myproject/src/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/myproject/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/package.json: + {"pollingInterval":2000} + +FsWatches:: +/user/username/projects/myproject/src/tsconfig.json: + {} +/user/username/projects/myproject/src/fileb.mts: + {} +/a/lib/lib.es2016.full.d.ts: + {} +/user/username/projects/myproject/package.json: + {} + +FsWatchesRecursive:: +/user/username/projects/myproject/src: + {} + +Info 181 [16:04:19.000] Running: /user/username/projects/myproject/src/tsconfig.json +Info 182 [16:04:20.000] Starting updateGraphWorker: Project: /user/username/projects/myproject/src/tsconfig.json +Info 183 [16:04:21.000] File '/a/lib/package.json' does not exist according to earlier cached lookups. +Info 184 [16:04:22.000] File '/a/package.json' does not exist according to earlier cached lookups. +Info 185 [16:04:23.000] File '/package.json' does not exist according to earlier cached lookups. +Info 186 [16:04:24.000] File '/user/username/projects/myproject/src/package.json' does not exist according to earlier cached lookups. +Info 187 [16:04:25.000] Found 'package.json' at '/user/username/projects/myproject/package.json'. +Info 188 [16:04:26.000] 'package.json' does not have a 'typesVersions' field. +Info 189 [16:04:27.000] File '/user/username/projects/myproject/src/package.json' does not exist according to earlier cached lookups. +Info 190 [16:04:28.000] File '/user/username/projects/myproject/package.json' exists according to earlier cached lookups. +Info 191 [16:04:29.000] ======== Resolving module './fileB.mjs' from '/user/username/projects/myproject/src/fileA.ts'. ======== +Info 192 [16:04:30.000] Module resolution kind is not specified, using 'Node16'. +Info 193 [16:04:31.000] Loading module as file / folder, candidate module location '/user/username/projects/myproject/src/fileB.mjs', target file type 'TypeScript'. +Info 194 [16:04:32.000] File '/user/username/projects/myproject/src/fileB.mjs.ts' does not exist. +Info 195 [16:04:33.000] File '/user/username/projects/myproject/src/fileB.mjs.tsx' does not exist. +Info 196 [16:04:34.000] File '/user/username/projects/myproject/src/fileB.mjs.d.ts' does not exist. +Info 197 [16:04:35.000] File name '/user/username/projects/myproject/src/fileB.mjs' has a '.mjs' extension - stripping it. +Info 198 [16:04:36.000] File '/user/username/projects/myproject/src/fileB.mts' exist - use it as a name resolution result. +Info 199 [16:04:37.000] ======== Module name './fileB.mjs' was successfully resolved to '/user/username/projects/myproject/src/fileB.mts'. ======== +Info 200 [16:04:38.000] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/src 0 undefined Project: /user/username/projects/myproject/src/tsconfig.json WatchType: Failed Lookup Locations +Info 201 [16:04:39.000] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/src 0 undefined Project: /user/username/projects/myproject/src/tsconfig.json WatchType: Failed Lookup Locations +Info 202 [16:04:40.000] File '/a/lib/package.json' does not exist according to earlier cached lookups. +Info 203 [16:04:41.000] File '/a/package.json' does not exist according to earlier cached lookups. +Info 204 [16:04:42.000] File '/package.json' does not exist according to earlier cached lookups. +Info 205 [16:04:43.000] FileWatcher:: Close:: WatchInfo: /user/username/projects/package.json 2000 undefined Project: /user/username/projects/myproject/src/tsconfig.json WatchType: File location affecting resolution +Info 206 [16:04:44.000] Finishing updateGraphWorker: Project: /user/username/projects/myproject/src/tsconfig.json Version: 5 structureChanged: true structureIsReused:: SafeModules Elapsed:: *ms +Info 207 [16:04:45.000] Different program with same set of files +Info 208 [16:04:46.000] Running: *ensureProjectForOpenFiles* +Info 209 [16:04:47.000] Before ensureProjectForOpenFiles: +Info 210 [16:04:48.000] Project '/user/username/projects/myproject/src/tsconfig.json' (Configured) +Info 210 [16:04:49.000] Files (3) + +Info 210 [16:04:50.000] ----------------------------------------------- +Info 210 [16:04:51.000] Open files: +Info 210 [16:04:52.000] FileName: /user/username/projects/myproject/src/fileA.ts ProjectRootPath: undefined +Info 210 [16:04:53.000] Projects: /user/username/projects/myproject/src/tsconfig.json +Info 210 [16:04:54.000] After ensureProjectForOpenFiles: +Info 211 [16:04:55.000] Project '/user/username/projects/myproject/src/tsconfig.json' (Configured) +Info 211 [16:04:56.000] Files (3) + +Info 211 [16:04:57.000] ----------------------------------------------- +Info 211 [16:04:58.000] Open files: +Info 211 [16:04:59.000] FileName: /user/username/projects/myproject/src/fileA.ts ProjectRootPath: undefined +Info 211 [16:05:00.000] Projects: /user/username/projects/myproject/src/tsconfig.json +Info 211 [16:05:01.000] got projects updated in background, updating diagnostics for /user/username/projects/myproject/src/fileA.ts +Info 212 [16:05:02.000] event: + {"seq":0,"type":"event","event":"projectsUpdatedInBackground","body":{"openFiles":["/user/username/projects/myproject/src/fileA.ts"]}} +After running timeout callbacks + +PolledWatches:: +/user/username/projects/myproject/src/package.json: + {"pollingInterval":2000} +/user/username/projects/myproject/src/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/myproject/node_modules/@types: + {"pollingInterval":500} + +FsWatches:: +/user/username/projects/myproject/src/tsconfig.json: + {} +/user/username/projects/myproject/src/fileb.mts: + {} +/a/lib/lib.es2016.full.d.ts: + {} +/user/username/projects/myproject/package.json: + {} +/user/username/projects/myproject/src: + {} + +FsWatchesRecursive:: +/user/username/projects/myproject/src: + {} + +Info 213 [16:05:03.000] request: + { + "command": "geterr", + "arguments": { + "delay": 0, + "files": [ + "/user/username/projects/myproject/src/fileA.ts" + ] + }, + "seq": 4, + "type": "request" + } +Before request + +PolledWatches:: +/user/username/projects/myproject/src/package.json: + {"pollingInterval":2000} +/user/username/projects/myproject/src/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/myproject/node_modules/@types: + {"pollingInterval":500} + +FsWatches:: +/user/username/projects/myproject/src/tsconfig.json: + {} +/user/username/projects/myproject/src/fileb.mts: + {} +/a/lib/lib.es2016.full.d.ts: + {} +/user/username/projects/myproject/package.json: + {} +/user/username/projects/myproject/src: + {} + +FsWatchesRecursive:: +/user/username/projects/myproject/src: + {} + +After request + +PolledWatches:: +/user/username/projects/myproject/src/package.json: + {"pollingInterval":2000} +/user/username/projects/myproject/src/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/myproject/node_modules/@types: + {"pollingInterval":500} + +FsWatches:: +/user/username/projects/myproject/src/tsconfig.json: + {} +/user/username/projects/myproject/src/fileb.mts: + {} +/a/lib/lib.es2016.full.d.ts: + {} +/user/username/projects/myproject/package.json: + {} +/user/username/projects/myproject/src: + {} + +FsWatchesRecursive:: +/user/username/projects/myproject/src: + {} + +Info 214 [16:05:04.000] response: + { + "responseRequired": false + } +Before checking timeout queue length (1) and running + +PolledWatches:: +/user/username/projects/myproject/src/package.json: + {"pollingInterval":2000} +/user/username/projects/myproject/src/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/myproject/node_modules/@types: + {"pollingInterval":500} + +FsWatches:: +/user/username/projects/myproject/src/tsconfig.json: + {} +/user/username/projects/myproject/src/fileb.mts: + {} +/a/lib/lib.es2016.full.d.ts: + {} +/user/username/projects/myproject/package.json: + {} +/user/username/projects/myproject/src: + {} + +FsWatchesRecursive:: +/user/username/projects/myproject/src: + {} + +Info 215 [16:05:05.000] event: + {"seq":0,"type":"event","event":"syntaxDiag","body":{"file":"/user/username/projects/myproject/src/fileA.ts","diagnostics":[]}} +After checking timeout queue length (1) and running + +PolledWatches:: +/user/username/projects/myproject/src/package.json: + {"pollingInterval":2000} +/user/username/projects/myproject/src/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/myproject/node_modules/@types: + {"pollingInterval":500} + +FsWatches:: +/user/username/projects/myproject/src/tsconfig.json: + {} +/user/username/projects/myproject/src/fileb.mts: + {} +/a/lib/lib.es2016.full.d.ts: + {} +/user/username/projects/myproject/package.json: + {} +/user/username/projects/myproject/src: + {} + +FsWatchesRecursive:: +/user/username/projects/myproject/src: + {} + +Before running immediate callbacks and checking length (1) + +PolledWatches:: +/user/username/projects/myproject/src/package.json: + {"pollingInterval":2000} +/user/username/projects/myproject/src/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/myproject/node_modules/@types: + {"pollingInterval":500} + +FsWatches:: +/user/username/projects/myproject/src/tsconfig.json: + {} +/user/username/projects/myproject/src/fileb.mts: + {} +/a/lib/lib.es2016.full.d.ts: + {} +/user/username/projects/myproject/package.json: + {} +/user/username/projects/myproject/src: + {} + +FsWatchesRecursive:: +/user/username/projects/myproject/src: + {} + +Info 216 [16:05:06.000] event: + {"seq":0,"type":"event","event":"semanticDiag","body":{"file":"/user/username/projects/myproject/src/fileA.ts","diagnostics":[{"start":{"line":1,"offset":21},"end":{"line":1,"offset":34},"text":"The current file is a CommonJS module whose imports will produce 'require' calls; however, the referenced file is an ECMAScript module and cannot be imported with 'require'. Consider writing a dynamic 'import(\"./fileB.mjs\")' call instead.\n To convert this file to an ECMAScript module, change its file extension to '.mts', or add the field `\"type\": \"module\"` to '/user/username/projects/myproject/package.json'.","code":1479,"category":"error"}]}} +Before running immediate callbacks and checking length (1) + +PolledWatches:: +/user/username/projects/myproject/src/package.json: + {"pollingInterval":2000} +/user/username/projects/myproject/src/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/myproject/node_modules/@types: + {"pollingInterval":500} + +FsWatches:: +/user/username/projects/myproject/src/tsconfig.json: + {} +/user/username/projects/myproject/src/fileb.mts: + {} +/a/lib/lib.es2016.full.d.ts: + {} +/user/username/projects/myproject/package.json: + {} +/user/username/projects/myproject/src: + {} + +FsWatchesRecursive:: +/user/username/projects/myproject/src: + {} + +Before running immediate callbacks and checking length (1) + +PolledWatches:: +/user/username/projects/myproject/src/package.json: + {"pollingInterval":2000} +/user/username/projects/myproject/src/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/myproject/node_modules/@types: + {"pollingInterval":500} + +FsWatches:: +/user/username/projects/myproject/src/tsconfig.json: + {} +/user/username/projects/myproject/src/fileb.mts: + {} +/a/lib/lib.es2016.full.d.ts: + {} +/user/username/projects/myproject/package.json: + {} +/user/username/projects/myproject/src: + {} + +FsWatchesRecursive:: +/user/username/projects/myproject/src: + {} + +Info 217 [16:05:07.000] event: + {"seq":0,"type":"event","event":"suggestionDiag","body":{"file":"/user/username/projects/myproject/src/fileA.ts","diagnostics":[]}} +Info 218 [16:05:08.000] event: + {"seq":0,"type":"event","event":"requestCompleted","body":{"request_seq":4}} +Before running immediate callbacks and checking length (1) + +PolledWatches:: +/user/username/projects/myproject/src/package.json: + {"pollingInterval":2000} +/user/username/projects/myproject/src/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/myproject/node_modules/@types: + {"pollingInterval":500} + +FsWatches:: +/user/username/projects/myproject/src/tsconfig.json: + {} +/user/username/projects/myproject/src/fileb.mts: + {} +/a/lib/lib.es2016.full.d.ts: + {} +/user/username/projects/myproject/package.json: + {} +/user/username/projects/myproject/src: + {} + +FsWatchesRecursive:: +/user/username/projects/myproject/src: + {} + +Info 219 [16:05:09.000] Delete package.json +Info 220 [16:05:11.000] FileWatcher:: Triggered with /user/username/projects/myproject/package.json 2:: WatchInfo: /user/username/projects/myproject/package.json 2000 undefined Project: /user/username/projects/myproject/src/tsconfig.json WatchType: File location affecting resolution +Info 221 [16:05:12.000] Scheduled: /user/username/projects/myproject/src/tsconfig.jsonFailedLookupInvalidation +Info 222 [16:05:13.000] Elapsed:: *ms FileWatcher:: Triggered with /user/username/projects/myproject/package.json 2:: WatchInfo: /user/username/projects/myproject/package.json 2000 undefined Project: /user/username/projects/myproject/src/tsconfig.json WatchType: File location affecting resolution +Before running timeout callbacks +//// [/user/username/projects/myproject/package.json] deleted + +PolledWatches:: +/user/username/projects/myproject/src/package.json: + {"pollingInterval":2000} +/user/username/projects/myproject/src/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/myproject/node_modules/@types: + {"pollingInterval":500} + +FsWatches:: +/user/username/projects/myproject/src/tsconfig.json: + {} +/user/username/projects/myproject/src/fileb.mts: + {} +/a/lib/lib.es2016.full.d.ts: + {} +/user/username/projects/myproject/package.json: + {} +/user/username/projects/myproject/src: + {} + +FsWatchesRecursive:: +/user/username/projects/myproject/src: + {} + +Info 223 [16:05:14.000] Running: /user/username/projects/myproject/src/tsconfig.jsonFailedLookupInvalidation +Info 224 [16:05:15.000] Scheduled: /user/username/projects/myproject/src/tsconfig.json +Info 225 [16:05:16.000] Scheduled: *ensureProjectForOpenFiles* +After running timeout callbacks + +PolledWatches:: +/user/username/projects/myproject/src/package.json: + {"pollingInterval":2000} +/user/username/projects/myproject/src/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/myproject/node_modules/@types: + {"pollingInterval":500} + +FsWatches:: +/user/username/projects/myproject/src/tsconfig.json: + {} +/user/username/projects/myproject/src/fileb.mts: + {} +/a/lib/lib.es2016.full.d.ts: + {} +/user/username/projects/myproject/package.json: + {} +/user/username/projects/myproject/src: + {} + +FsWatchesRecursive:: +/user/username/projects/myproject/src: + {} + +Before running timeout callbacks + +PolledWatches:: +/user/username/projects/myproject/src/package.json: + {"pollingInterval":2000} +/user/username/projects/myproject/src/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/myproject/node_modules/@types: + {"pollingInterval":500} + +FsWatches:: +/user/username/projects/myproject/src/tsconfig.json: + {} +/user/username/projects/myproject/src/fileb.mts: + {} +/a/lib/lib.es2016.full.d.ts: + {} +/user/username/projects/myproject/package.json: + {} +/user/username/projects/myproject/src: + {} + +FsWatchesRecursive:: +/user/username/projects/myproject/src: + {} + +Info 226 [16:05:17.000] Running: /user/username/projects/myproject/src/tsconfig.json +Info 227 [16:05:18.000] Starting updateGraphWorker: Project: /user/username/projects/myproject/src/tsconfig.json +Info 228 [16:05:19.000] File '/a/lib/package.json' does not exist according to earlier cached lookups. +Info 229 [16:05:20.000] File '/a/package.json' does not exist according to earlier cached lookups. +Info 230 [16:05:21.000] File '/package.json' does not exist according to earlier cached lookups. +Info 231 [16:05:22.000] File '/user/username/projects/myproject/src/package.json' does not exist according to earlier cached lookups. +Info 232 [16:05:23.000] File '/user/username/projects/myproject/package.json' does not exist. +Info 233 [16:05:24.000] File '/user/username/projects/package.json' does not exist according to earlier cached lookups. +Info 234 [16:05:25.000] File '/user/username/package.json' does not exist according to earlier cached lookups. +Info 235 [16:05:26.000] File '/user/package.json' does not exist according to earlier cached lookups. +Info 236 [16:05:27.000] File '/package.json' does not exist according to earlier cached lookups. +Info 237 [16:05:28.000] File '/user/username/projects/myproject/src/package.json' does not exist according to earlier cached lookups. +Info 238 [16:05:29.000] File '/user/username/projects/myproject/package.json' does not exist according to earlier cached lookups. +Info 239 [16:05:30.000] File '/user/username/projects/package.json' does not exist according to earlier cached lookups. +Info 240 [16:05:31.000] File '/user/username/package.json' does not exist according to earlier cached lookups. +Info 241 [16:05:32.000] File '/user/package.json' does not exist according to earlier cached lookups. +Info 242 [16:05:33.000] File '/package.json' does not exist according to earlier cached lookups. +Info 243 [16:05:34.000] Reusing resolution of module './fileB.mjs' from '/user/username/projects/myproject/src/fileA.ts' of old program, it was successfully resolved to '/user/username/projects/myproject/src/fileB.mts'. +Info 244 [16:05:35.000] File '/a/lib/package.json' does not exist according to earlier cached lookups. +Info 245 [16:05:36.000] File '/a/package.json' does not exist according to earlier cached lookups. +Info 246 [16:05:37.000] File '/package.json' does not exist according to earlier cached lookups. +Info 247 [16:05:38.000] FileWatcher:: Added:: WatchInfo: /user/username/projects/package.json 2000 undefined Project: /user/username/projects/myproject/src/tsconfig.json WatchType: File location affecting resolution +Info 248 [16:05:39.000] Finishing updateGraphWorker: Project: /user/username/projects/myproject/src/tsconfig.json Version: 6 structureChanged: true structureIsReused:: SafeModules Elapsed:: *ms +Info 249 [16:05:40.000] Different program with same set of files +Info 250 [16:05:41.000] Running: *ensureProjectForOpenFiles* +Info 251 [16:05:42.000] Before ensureProjectForOpenFiles: +Info 252 [16:05:43.000] Project '/user/username/projects/myproject/src/tsconfig.json' (Configured) +Info 252 [16:05:44.000] Files (3) + +Info 252 [16:05:45.000] ----------------------------------------------- +Info 252 [16:05:46.000] Open files: +Info 252 [16:05:47.000] FileName: /user/username/projects/myproject/src/fileA.ts ProjectRootPath: undefined +Info 252 [16:05:48.000] Projects: /user/username/projects/myproject/src/tsconfig.json +Info 252 [16:05:49.000] After ensureProjectForOpenFiles: +Info 253 [16:05:50.000] Project '/user/username/projects/myproject/src/tsconfig.json' (Configured) +Info 253 [16:05:51.000] Files (3) + +Info 253 [16:05:52.000] ----------------------------------------------- +Info 253 [16:05:53.000] Open files: +Info 253 [16:05:54.000] FileName: /user/username/projects/myproject/src/fileA.ts ProjectRootPath: undefined +Info 253 [16:05:55.000] Projects: /user/username/projects/myproject/src/tsconfig.json +Info 253 [16:05:56.000] got projects updated in background, updating diagnostics for /user/username/projects/myproject/src/fileA.ts +Info 254 [16:05:57.000] event: + {"seq":0,"type":"event","event":"projectsUpdatedInBackground","body":{"openFiles":["/user/username/projects/myproject/src/fileA.ts"]}} +After running timeout callbacks + +PolledWatches:: +/user/username/projects/myproject/src/package.json: + {"pollingInterval":2000} +/user/username/projects/myproject/src/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/myproject/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/package.json: + {"pollingInterval":2000} + +FsWatches:: +/user/username/projects/myproject/src/tsconfig.json: + {} +/user/username/projects/myproject/src/fileb.mts: + {} +/a/lib/lib.es2016.full.d.ts: + {} +/user/username/projects/myproject/package.json: + {} +/user/username/projects/myproject/src: + {} -Info 166 [16:03:58.000] ----------------------------------------------- -Info 166 [16:03:59.000] Open files: -Info 166 [16:04:00.000] FileName: /user/username/projects/myproject/src/fileA.ts ProjectRootPath: undefined -Info 166 [16:04:01.000] Projects: /user/username/projects/myproject/src/tsconfig.json -Info 166 [16:04:02.000] got projects updated in background, updating diagnostics for /user/username/projects/myproject/src/fileA.ts -Info 167 [16:04:03.000] event: - {"seq":0,"type":"event","event":"projectsUpdatedInBackground","body":{"openFiles":["/user/username/projects/myproject/src/fileA.ts"]}} -Info 168 [16:04:04.000] request: +FsWatchesRecursive:: +/user/username/projects/myproject/src: + {} + +Info 255 [16:05:58.000] request: { "command": "geterr", "arguments": { @@ -465,10 +1853,10 @@ Info 168 [16:04:04.000] request: "/user/username/projects/myproject/src/fileA.ts" ] }, - "seq": 3, + "seq": 5, "type": "request" } -//// [/user/username/projects/myproject/package.json] deleted +Before request PolledWatches:: /user/username/projects/myproject/src/package.json: @@ -489,11 +1877,14 @@ FsWatches:: {} /user/username/projects/myproject/package.json: {} +/user/username/projects/myproject/src: + {} FsWatchesRecursive:: /user/username/projects/myproject/src: {} +After request PolledWatches:: /user/username/projects/myproject/src/package.json: @@ -514,92 +1905,48 @@ FsWatches:: {} /user/username/projects/myproject/package.json: {} +/user/username/projects/myproject/src: + {} FsWatchesRecursive:: /user/username/projects/myproject/src: {} -Info 169 [16:04:05.000] response: +Info 256 [16:05:59.000] response: { "responseRequired": false } -Info 170 [16:04:06.000] event: - {"seq":0,"type":"event","event":"syntaxDiag","body":{"file":"/user/username/projects/myproject/src/fileA.ts","diagnostics":[]}} -Info 171 [16:04:07.000] event: - {"seq":0,"type":"event","event":"semanticDiag","body":{"file":"/user/username/projects/myproject/src/fileA.ts","diagnostics":[{"start":{"line":1,"offset":21},"end":{"line":1,"offset":34},"text":"The current file is a CommonJS module whose imports will produce 'require' calls; however, the referenced file is an ECMAScript module and cannot be imported with 'require'. Consider writing a dynamic 'import(\"./fileB.mjs\")' call instead.\n To convert this file to an ECMAScript module, change its file extension to '.mts' or create a local package.json file with `{ \"type\": \"module\" }`.","code":1479,"category":"error"}]}} -Info 172 [16:04:08.000] event: - {"seq":0,"type":"event","event":"suggestionDiag","body":{"file":"/user/username/projects/myproject/src/fileA.ts","diagnostics":[]}} -Info 173 [16:04:09.000] event: - {"seq":0,"type":"event","event":"requestCompleted","body":{"request_seq":3}} -Info 174 [16:04:10.000] Modify package json file to without type module -Info 175 [16:04:13.000] FileWatcher:: Triggered with /user/username/projects/myproject/package.json 0:: WatchInfo: /user/username/projects/myproject/package.json 2000 undefined Project: /user/username/projects/myproject/src/tsconfig.json WatchType: File location affecting resolution -Info 176 [16:04:14.000] Scheduled: /user/username/projects/myproject/src/tsconfig.jsonFailedLookupInvalidation -Info 177 [16:04:15.000] Elapsed:: *ms FileWatcher:: Triggered with /user/username/projects/myproject/package.json 0:: WatchInfo: /user/username/projects/myproject/package.json 2000 undefined Project: /user/username/projects/myproject/src/tsconfig.json WatchType: File location affecting resolution -Info 178 [16:04:16.000] Running: /user/username/projects/myproject/src/tsconfig.jsonFailedLookupInvalidation -Info 179 [16:04:17.000] Scheduled: /user/username/projects/myproject/src/tsconfig.json -Info 180 [16:04:18.000] Scheduled: *ensureProjectForOpenFiles* -Info 181 [16:04:19.000] Running: /user/username/projects/myproject/src/tsconfig.json -Info 182 [16:04:20.000] Starting updateGraphWorker: Project: /user/username/projects/myproject/src/tsconfig.json -Info 183 [16:04:21.000] File '/a/lib/package.json' does not exist according to earlier cached lookups. -Info 184 [16:04:22.000] File '/a/package.json' does not exist according to earlier cached lookups. -Info 185 [16:04:23.000] File '/package.json' does not exist according to earlier cached lookups. -Info 186 [16:04:24.000] File '/user/username/projects/myproject/src/package.json' does not exist according to earlier cached lookups. -Info 187 [16:04:25.000] Found 'package.json' at '/user/username/projects/myproject/package.json'. -Info 188 [16:04:26.000] 'package.json' does not have a 'typesVersions' field. -Info 189 [16:04:27.000] File '/user/username/projects/myproject/src/package.json' does not exist according to earlier cached lookups. -Info 190 [16:04:28.000] File '/user/username/projects/myproject/package.json' exists according to earlier cached lookups. -Info 191 [16:04:29.000] ======== Resolving module './fileB.mjs' from '/user/username/projects/myproject/src/fileA.ts'. ======== -Info 192 [16:04:30.000] Module resolution kind is not specified, using 'Node16'. -Info 193 [16:04:31.000] Loading module as file / folder, candidate module location '/user/username/projects/myproject/src/fileB.mjs', target file type 'TypeScript'. -Info 194 [16:04:32.000] File '/user/username/projects/myproject/src/fileB.mjs.ts' does not exist. -Info 195 [16:04:33.000] File '/user/username/projects/myproject/src/fileB.mjs.tsx' does not exist. -Info 196 [16:04:34.000] File '/user/username/projects/myproject/src/fileB.mjs.d.ts' does not exist. -Info 197 [16:04:35.000] File name '/user/username/projects/myproject/src/fileB.mjs' has a '.mjs' extension - stripping it. -Info 198 [16:04:36.000] File '/user/username/projects/myproject/src/fileB.mts' exist - use it as a name resolution result. -Info 199 [16:04:37.000] ======== Module name './fileB.mjs' was successfully resolved to '/user/username/projects/myproject/src/fileB.mts'. ======== -Info 200 [16:04:38.000] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/src 0 undefined Project: /user/username/projects/myproject/src/tsconfig.json WatchType: Failed Lookup Locations -Info 201 [16:04:39.000] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/src 0 undefined Project: /user/username/projects/myproject/src/tsconfig.json WatchType: Failed Lookup Locations -Info 202 [16:04:40.000] File '/a/lib/package.json' does not exist according to earlier cached lookups. -Info 203 [16:04:41.000] File '/a/package.json' does not exist according to earlier cached lookups. -Info 204 [16:04:42.000] File '/package.json' does not exist according to earlier cached lookups. -Info 205 [16:04:43.000] FileWatcher:: Close:: WatchInfo: /user/username/projects/package.json 2000 undefined Project: /user/username/projects/myproject/src/tsconfig.json WatchType: File location affecting resolution -Info 206 [16:04:44.000] Finishing updateGraphWorker: Project: /user/username/projects/myproject/src/tsconfig.json Version: 5 structureChanged: true structureIsReused:: SafeModules Elapsed:: *ms -Info 207 [16:04:45.000] Different program with same set of files -Info 208 [16:04:46.000] Running: *ensureProjectForOpenFiles* -Info 209 [16:04:47.000] Before ensureProjectForOpenFiles: -Info 210 [16:04:48.000] Project '/user/username/projects/myproject/src/tsconfig.json' (Configured) -Info 210 [16:04:49.000] Files (3) +Before checking timeout queue length (1) and running -Info 210 [16:04:50.000] ----------------------------------------------- -Info 210 [16:04:51.000] Open files: -Info 210 [16:04:52.000] FileName: /user/username/projects/myproject/src/fileA.ts ProjectRootPath: undefined -Info 210 [16:04:53.000] Projects: /user/username/projects/myproject/src/tsconfig.json -Info 210 [16:04:54.000] After ensureProjectForOpenFiles: -Info 211 [16:04:55.000] Project '/user/username/projects/myproject/src/tsconfig.json' (Configured) -Info 211 [16:04:56.000] Files (3) +PolledWatches:: +/user/username/projects/myproject/src/package.json: + {"pollingInterval":2000} +/user/username/projects/myproject/src/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/myproject/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/package.json: + {"pollingInterval":2000} -Info 211 [16:04:57.000] ----------------------------------------------- -Info 211 [16:04:58.000] Open files: -Info 211 [16:04:59.000] FileName: /user/username/projects/myproject/src/fileA.ts ProjectRootPath: undefined -Info 211 [16:05:00.000] Projects: /user/username/projects/myproject/src/tsconfig.json -Info 211 [16:05:01.000] got projects updated in background, updating diagnostics for /user/username/projects/myproject/src/fileA.ts -Info 212 [16:05:02.000] event: - {"seq":0,"type":"event","event":"projectsUpdatedInBackground","body":{"openFiles":["/user/username/projects/myproject/src/fileA.ts"]}} -Info 213 [16:05:03.000] request: - { - "command": "geterr", - "arguments": { - "delay": 0, - "files": [ - "/user/username/projects/myproject/src/fileA.ts" - ] - }, - "seq": 4, - "type": "request" - } -//// [/user/username/projects/myproject/package.json] -{"name":"app","version":"1.0.0"} +FsWatches:: +/user/username/projects/myproject/src/tsconfig.json: + {} +/user/username/projects/myproject/src/fileb.mts: + {} +/a/lib/lib.es2016.full.d.ts: + {} +/user/username/projects/myproject/package.json: + {} +/user/username/projects/myproject/src: + {} + +FsWatchesRecursive:: +/user/username/projects/myproject/src: + {} +Info 257 [16:06:00.000] event: + {"seq":0,"type":"event","event":"syntaxDiag","body":{"file":"/user/username/projects/myproject/src/fileA.ts","diagnostics":[]}} +After checking timeout queue length (1) and running PolledWatches:: /user/username/projects/myproject/src/package.json: @@ -608,6 +1955,8 @@ PolledWatches:: {"pollingInterval":500} /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} +/user/username/projects/package.json: + {"pollingInterval":2000} FsWatches:: /user/username/projects/myproject/src/tsconfig.json: @@ -625,6 +1974,7 @@ FsWatchesRecursive:: /user/username/projects/myproject/src: {} +Before running immediate callbacks and checking length (1) PolledWatches:: /user/username/projects/myproject/src/package.json: @@ -633,6 +1983,8 @@ PolledWatches:: {"pollingInterval":500} /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} +/user/username/projects/package.json: + {"pollingInterval":2000} FsWatches:: /user/username/projects/myproject/src/tsconfig.json: @@ -650,82 +2002,9 @@ FsWatchesRecursive:: /user/username/projects/myproject/src: {} -Info 214 [16:05:04.000] response: - { - "responseRequired": false - } -Info 215 [16:05:05.000] event: - {"seq":0,"type":"event","event":"syntaxDiag","body":{"file":"/user/username/projects/myproject/src/fileA.ts","diagnostics":[]}} -Info 216 [16:05:06.000] event: - {"seq":0,"type":"event","event":"semanticDiag","body":{"file":"/user/username/projects/myproject/src/fileA.ts","diagnostics":[{"start":{"line":1,"offset":21},"end":{"line":1,"offset":34},"text":"The current file is a CommonJS module whose imports will produce 'require' calls; however, the referenced file is an ECMAScript module and cannot be imported with 'require'. Consider writing a dynamic 'import(\"./fileB.mjs\")' call instead.\n To convert this file to an ECMAScript module, change its file extension to '.mts', or add the field `\"type\": \"module\"` to '/user/username/projects/myproject/package.json'.","code":1479,"category":"error"}]}} -Info 217 [16:05:07.000] event: - {"seq":0,"type":"event","event":"suggestionDiag","body":{"file":"/user/username/projects/myproject/src/fileA.ts","diagnostics":[]}} -Info 218 [16:05:08.000] event: - {"seq":0,"type":"event","event":"requestCompleted","body":{"request_seq":4}} -Info 219 [16:05:09.000] Delete package.json -Info 220 [16:05:11.000] FileWatcher:: Triggered with /user/username/projects/myproject/package.json 2:: WatchInfo: /user/username/projects/myproject/package.json 2000 undefined Project: /user/username/projects/myproject/src/tsconfig.json WatchType: File location affecting resolution -Info 221 [16:05:12.000] Scheduled: /user/username/projects/myproject/src/tsconfig.jsonFailedLookupInvalidation -Info 222 [16:05:13.000] Elapsed:: *ms FileWatcher:: Triggered with /user/username/projects/myproject/package.json 2:: WatchInfo: /user/username/projects/myproject/package.json 2000 undefined Project: /user/username/projects/myproject/src/tsconfig.json WatchType: File location affecting resolution -Info 223 [16:05:14.000] Running: /user/username/projects/myproject/src/tsconfig.jsonFailedLookupInvalidation -Info 224 [16:05:15.000] Scheduled: /user/username/projects/myproject/src/tsconfig.json -Info 225 [16:05:16.000] Scheduled: *ensureProjectForOpenFiles* -Info 226 [16:05:17.000] Running: /user/username/projects/myproject/src/tsconfig.json -Info 227 [16:05:18.000] Starting updateGraphWorker: Project: /user/username/projects/myproject/src/tsconfig.json -Info 228 [16:05:19.000] File '/a/lib/package.json' does not exist according to earlier cached lookups. -Info 229 [16:05:20.000] File '/a/package.json' does not exist according to earlier cached lookups. -Info 230 [16:05:21.000] File '/package.json' does not exist according to earlier cached lookups. -Info 231 [16:05:22.000] File '/user/username/projects/myproject/src/package.json' does not exist according to earlier cached lookups. -Info 232 [16:05:23.000] File '/user/username/projects/myproject/package.json' does not exist. -Info 233 [16:05:24.000] File '/user/username/projects/package.json' does not exist according to earlier cached lookups. -Info 234 [16:05:25.000] File '/user/username/package.json' does not exist according to earlier cached lookups. -Info 235 [16:05:26.000] File '/user/package.json' does not exist according to earlier cached lookups. -Info 236 [16:05:27.000] File '/package.json' does not exist according to earlier cached lookups. -Info 237 [16:05:28.000] File '/user/username/projects/myproject/src/package.json' does not exist according to earlier cached lookups. -Info 238 [16:05:29.000] File '/user/username/projects/myproject/package.json' does not exist according to earlier cached lookups. -Info 239 [16:05:30.000] File '/user/username/projects/package.json' does not exist according to earlier cached lookups. -Info 240 [16:05:31.000] File '/user/username/package.json' does not exist according to earlier cached lookups. -Info 241 [16:05:32.000] File '/user/package.json' does not exist according to earlier cached lookups. -Info 242 [16:05:33.000] File '/package.json' does not exist according to earlier cached lookups. -Info 243 [16:05:34.000] Reusing resolution of module './fileB.mjs' from '/user/username/projects/myproject/src/fileA.ts' of old program, it was successfully resolved to '/user/username/projects/myproject/src/fileB.mts'. -Info 244 [16:05:35.000] File '/a/lib/package.json' does not exist according to earlier cached lookups. -Info 245 [16:05:36.000] File '/a/package.json' does not exist according to earlier cached lookups. -Info 246 [16:05:37.000] File '/package.json' does not exist according to earlier cached lookups. -Info 247 [16:05:38.000] FileWatcher:: Added:: WatchInfo: /user/username/projects/package.json 2000 undefined Project: /user/username/projects/myproject/src/tsconfig.json WatchType: File location affecting resolution -Info 248 [16:05:39.000] Finishing updateGraphWorker: Project: /user/username/projects/myproject/src/tsconfig.json Version: 6 structureChanged: true structureIsReused:: SafeModules Elapsed:: *ms -Info 249 [16:05:40.000] Different program with same set of files -Info 250 [16:05:41.000] Running: *ensureProjectForOpenFiles* -Info 251 [16:05:42.000] Before ensureProjectForOpenFiles: -Info 252 [16:05:43.000] Project '/user/username/projects/myproject/src/tsconfig.json' (Configured) -Info 252 [16:05:44.000] Files (3) - -Info 252 [16:05:45.000] ----------------------------------------------- -Info 252 [16:05:46.000] Open files: -Info 252 [16:05:47.000] FileName: /user/username/projects/myproject/src/fileA.ts ProjectRootPath: undefined -Info 252 [16:05:48.000] Projects: /user/username/projects/myproject/src/tsconfig.json -Info 252 [16:05:49.000] After ensureProjectForOpenFiles: -Info 253 [16:05:50.000] Project '/user/username/projects/myproject/src/tsconfig.json' (Configured) -Info 253 [16:05:51.000] Files (3) - -Info 253 [16:05:52.000] ----------------------------------------------- -Info 253 [16:05:53.000] Open files: -Info 253 [16:05:54.000] FileName: /user/username/projects/myproject/src/fileA.ts ProjectRootPath: undefined -Info 253 [16:05:55.000] Projects: /user/username/projects/myproject/src/tsconfig.json -Info 253 [16:05:56.000] got projects updated in background, updating diagnostics for /user/username/projects/myproject/src/fileA.ts -Info 254 [16:05:57.000] event: - {"seq":0,"type":"event","event":"projectsUpdatedInBackground","body":{"openFiles":["/user/username/projects/myproject/src/fileA.ts"]}} -Info 255 [16:05:58.000] request: - { - "command": "geterr", - "arguments": { - "delay": 0, - "files": [ - "/user/username/projects/myproject/src/fileA.ts" - ] - }, - "seq": 5, - "type": "request" - } -//// [/user/username/projects/myproject/package.json] deleted +Info 258 [16:06:01.000] event: + {"seq":0,"type":"event","event":"semanticDiag","body":{"file":"/user/username/projects/myproject/src/fileA.ts","diagnostics":[{"start":{"line":1,"offset":21},"end":{"line":1,"offset":34},"text":"The current file is a CommonJS module whose imports will produce 'require' calls; however, the referenced file is an ECMAScript module and cannot be imported with 'require'. Consider writing a dynamic 'import(\"./fileB.mjs\")' call instead.\n To convert this file to an ECMAScript module, change its file extension to '.mts' or create a local package.json file with `{ \"type\": \"module\" }`.","code":1479,"category":"error"}]}} +Before running immediate callbacks and checking length (1) PolledWatches:: /user/username/projects/myproject/src/package.json: @@ -753,6 +2032,7 @@ FsWatchesRecursive:: /user/username/projects/myproject/src: {} +Before running immediate callbacks and checking length (1) PolledWatches:: /user/username/projects/myproject/src/package.json: @@ -780,15 +2060,34 @@ FsWatchesRecursive:: /user/username/projects/myproject/src: {} -Info 256 [16:05:59.000] response: - { - "responseRequired": false - } -Info 257 [16:06:00.000] event: - {"seq":0,"type":"event","event":"syntaxDiag","body":{"file":"/user/username/projects/myproject/src/fileA.ts","diagnostics":[]}} -Info 258 [16:06:01.000] event: - {"seq":0,"type":"event","event":"semanticDiag","body":{"file":"/user/username/projects/myproject/src/fileA.ts","diagnostics":[{"start":{"line":1,"offset":21},"end":{"line":1,"offset":34},"text":"The current file is a CommonJS module whose imports will produce 'require' calls; however, the referenced file is an ECMAScript module and cannot be imported with 'require'. Consider writing a dynamic 'import(\"./fileB.mjs\")' call instead.\n To convert this file to an ECMAScript module, change its file extension to '.mts' or create a local package.json file with `{ \"type\": \"module\" }`.","code":1479,"category":"error"}]}} Info 259 [16:06:02.000] event: {"seq":0,"type":"event","event":"suggestionDiag","body":{"file":"/user/username/projects/myproject/src/fileA.ts","diagnostics":[]}} Info 260 [16:06:03.000] event: - {"seq":0,"type":"event","event":"requestCompleted","body":{"request_seq":5}} \ No newline at end of file + {"seq":0,"type":"event","event":"requestCompleted","body":{"request_seq":5}} +Before running immediate callbacks and checking length (1) + +PolledWatches:: +/user/username/projects/myproject/src/package.json: + {"pollingInterval":2000} +/user/username/projects/myproject/src/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/myproject/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/package.json: + {"pollingInterval":2000} + +FsWatches:: +/user/username/projects/myproject/src/tsconfig.json: + {} +/user/username/projects/myproject/src/fileb.mts: + {} +/a/lib/lib.es2016.full.d.ts: + {} +/user/username/projects/myproject/package.json: + {} +/user/username/projects/myproject/src: + {} + +FsWatchesRecursive:: +/user/username/projects/myproject/src: + {} diff --git a/tests/baselines/reference/tsserver/moduleResolution/package-json-file-is-edited.js b/tests/baselines/reference/tsserver/moduleResolution/package-json-file-is-edited.js index 857438e08c8cd..4cb5210b017ed 100644 --- a/tests/baselines/reference/tsserver/moduleResolution/package-json-file-is-edited.js +++ b/tests/baselines/reference/tsserver/moduleResolution/package-json-file-is-edited.js @@ -8,6 +8,7 @@ Info 1 [16:00:28.000] request: "file": "/user/username/projects/myproject/src/fileA.ts" } } +Before request //// [/user/username/projects/myproject/src/tsconfig.json] {"compilerOptions":{"target":"es2016","module":"Node16","outDir":"../out","traceResolution":true}} @@ -124,6 +125,7 @@ Info 45 [16:01:14.000] ----------------------------------------------- Info 45 [16:01:15.000] Open files: Info 45 [16:01:16.000] FileName: /user/username/projects/myproject/src/fileA.ts ProjectRootPath: undefined Info 45 [16:01:17.000] Projects: /user/username/projects/myproject/src/tsconfig.json +After request PolledWatches:: /user/username/projects/myproject/src/package.json: @@ -159,9 +161,90 @@ Info 48 [16:01:24.000] Scheduled: /user/username/projects/myproject/src/tsconf Info 49 [16:01:25.000] Elapsed:: *ms FileWatcher:: Triggered with /user/username/projects/myproject/package.json 1:: WatchInfo: /user/username/projects/myproject/package.json 2000 undefined Project: /user/username/projects/myproject/src/tsconfig.json WatchType: File location affecting resolution Info 50 [16:01:26.000] FileWatcher:: Triggered with /user/username/projects/myproject/package.json 1:: WatchInfo: /user/username/projects/myproject/package.json 250 undefined WatchType: package.json file Info 51 [16:01:27.000] Elapsed:: *ms FileWatcher:: Triggered with /user/username/projects/myproject/package.json 1:: WatchInfo: /user/username/projects/myproject/package.json 250 undefined WatchType: package.json file +Before running timeout callbacks +//// [/user/username/projects/myproject/package.json] +{"name":"app","version":"1.0.0","type":"module"} + + +PolledWatches:: +/user/username/projects/myproject/src/package.json: + {"pollingInterval":2000} +/user/username/projects/myproject/src/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/myproject/node_modules/@types: + {"pollingInterval":500} + +FsWatches:: +/user/username/projects/myproject/src/tsconfig.json: + {} +/user/username/projects/myproject/src/fileb.mts: + {} +/user/username/projects/myproject/src: + {} +/a/lib/lib.es2016.full.d.ts: + {} +/user/username/projects/myproject/package.json: + {} + +FsWatchesRecursive:: +/user/username/projects/myproject/src: + {} + Info 52 [16:01:28.000] Running: /user/username/projects/myproject/src/tsconfig.jsonFailedLookupInvalidation Info 53 [16:01:29.000] Scheduled: /user/username/projects/myproject/src/tsconfig.json Info 54 [16:01:30.000] Scheduled: *ensureProjectForOpenFiles* +After running timeout callbacks + +PolledWatches:: +/user/username/projects/myproject/src/package.json: + {"pollingInterval":2000} +/user/username/projects/myproject/src/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/myproject/node_modules/@types: + {"pollingInterval":500} + +FsWatches:: +/user/username/projects/myproject/src/tsconfig.json: + {} +/user/username/projects/myproject/src/fileb.mts: + {} +/user/username/projects/myproject/src: + {} +/a/lib/lib.es2016.full.d.ts: + {} +/user/username/projects/myproject/package.json: + {} + +FsWatchesRecursive:: +/user/username/projects/myproject/src: + {} + +Before running timeout callbacks + +PolledWatches:: +/user/username/projects/myproject/src/package.json: + {"pollingInterval":2000} +/user/username/projects/myproject/src/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/myproject/node_modules/@types: + {"pollingInterval":500} + +FsWatches:: +/user/username/projects/myproject/src/tsconfig.json: + {} +/user/username/projects/myproject/src/fileb.mts: + {} +/user/username/projects/myproject/src: + {} +/a/lib/lib.es2016.full.d.ts: + {} +/user/username/projects/myproject/package.json: + {} + +FsWatchesRecursive:: +/user/username/projects/myproject/src: + {} + Info 55 [16:01:31.000] Running: /user/username/projects/myproject/src/tsconfig.json Info 56 [16:01:32.000] Starting updateGraphWorker: Project: /user/username/projects/myproject/src/tsconfig.json Info 57 [16:01:33.000] File '/a/lib/package.json' does not exist according to earlier cached lookups. @@ -205,6 +288,30 @@ Info 81 [16:02:08.000] Projects: /user/username/projects/myproject/src/tscon Info 81 [16:02:09.000] got projects updated in background, updating diagnostics for /user/username/projects/myproject/src/fileA.ts Info 82 [16:02:10.000] event: {"seq":0,"type":"event","event":"projectsUpdatedInBackground","body":{"openFiles":["/user/username/projects/myproject/src/fileA.ts"]}} +After running timeout callbacks + +PolledWatches:: +/user/username/projects/myproject/src/package.json: + {"pollingInterval":2000} +/user/username/projects/myproject/src/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/myproject/node_modules/@types: + {"pollingInterval":500} + +FsWatches:: +/user/username/projects/myproject/src/tsconfig.json: + {} +/user/username/projects/myproject/src/fileb.mts: + {} +/a/lib/lib.es2016.full.d.ts: + {} +/user/username/projects/myproject/package.json: + {} + +FsWatchesRecursive:: +/user/username/projects/myproject/src: + {} + Info 83 [16:02:11.000] request: { "command": "geterr", @@ -217,9 +324,7 @@ Info 83 [16:02:11.000] request: "seq": 1, "type": "request" } -//// [/user/username/projects/myproject/package.json] -{"name":"app","version":"1.0.0","type":"module"} - +Before request PolledWatches:: /user/username/projects/myproject/src/package.json: @@ -243,6 +348,7 @@ FsWatchesRecursive:: /user/username/projects/myproject/src: {} +After request PolledWatches:: /user/username/projects/myproject/src/package.json: @@ -270,34 +376,253 @@ Info 84 [16:02:12.000] response: { "responseRequired": false } +Before checking timeout queue length (1) and running + +PolledWatches:: +/user/username/projects/myproject/src/package.json: + {"pollingInterval":2000} +/user/username/projects/myproject/src/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/myproject/node_modules/@types: + {"pollingInterval":500} + +FsWatches:: +/user/username/projects/myproject/src/tsconfig.json: + {} +/user/username/projects/myproject/src/fileb.mts: + {} +/a/lib/lib.es2016.full.d.ts: + {} +/user/username/projects/myproject/package.json: + {} + +FsWatchesRecursive:: +/user/username/projects/myproject/src: + {} + Info 85 [16:02:13.000] event: {"seq":0,"type":"event","event":"syntaxDiag","body":{"file":"/user/username/projects/myproject/src/fileA.ts","diagnostics":[]}} +After checking timeout queue length (1) and running + +PolledWatches:: +/user/username/projects/myproject/src/package.json: + {"pollingInterval":2000} +/user/username/projects/myproject/src/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/myproject/node_modules/@types: + {"pollingInterval":500} + +FsWatches:: +/user/username/projects/myproject/src/tsconfig.json: + {} +/user/username/projects/myproject/src/fileb.mts: + {} +/a/lib/lib.es2016.full.d.ts: + {} +/user/username/projects/myproject/package.json: + {} + +FsWatchesRecursive:: +/user/username/projects/myproject/src: + {} + +Before running immediate callbacks and checking length (1) + +PolledWatches:: +/user/username/projects/myproject/src/package.json: + {"pollingInterval":2000} +/user/username/projects/myproject/src/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/myproject/node_modules/@types: + {"pollingInterval":500} + +FsWatches:: +/user/username/projects/myproject/src/tsconfig.json: + {} +/user/username/projects/myproject/src/fileb.mts: + {} +/a/lib/lib.es2016.full.d.ts: + {} +/user/username/projects/myproject/package.json: + {} + +FsWatchesRecursive:: +/user/username/projects/myproject/src: + {} + Info 86 [16:02:14.000] event: {"seq":0,"type":"event","event":"semanticDiag","body":{"file":"/user/username/projects/myproject/src/fileA.ts","diagnostics":[]}} +Before running immediate callbacks and checking length (1) + +PolledWatches:: +/user/username/projects/myproject/src/package.json: + {"pollingInterval":2000} +/user/username/projects/myproject/src/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/myproject/node_modules/@types: + {"pollingInterval":500} + +FsWatches:: +/user/username/projects/myproject/src/tsconfig.json: + {} +/user/username/projects/myproject/src/fileb.mts: + {} +/a/lib/lib.es2016.full.d.ts: + {} +/user/username/projects/myproject/package.json: + {} + +FsWatchesRecursive:: +/user/username/projects/myproject/src: + {} + +Before running immediate callbacks and checking length (1) + +PolledWatches:: +/user/username/projects/myproject/src/package.json: + {"pollingInterval":2000} +/user/username/projects/myproject/src/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/myproject/node_modules/@types: + {"pollingInterval":500} + +FsWatches:: +/user/username/projects/myproject/src/tsconfig.json: + {} +/user/username/projects/myproject/src/fileb.mts: + {} +/a/lib/lib.es2016.full.d.ts: + {} +/user/username/projects/myproject/package.json: + {} + +FsWatchesRecursive:: +/user/username/projects/myproject/src: + {} + Info 87 [16:02:15.000] event: {"seq":0,"type":"event","event":"suggestionDiag","body":{"file":"/user/username/projects/myproject/src/fileA.ts","diagnostics":[]}} Info 88 [16:02:16.000] event: {"seq":0,"type":"event","event":"requestCompleted","body":{"request_seq":1}} +Before running immediate callbacks and checking length (1) + +PolledWatches:: +/user/username/projects/myproject/src/package.json: + {"pollingInterval":2000} +/user/username/projects/myproject/src/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/myproject/node_modules/@types: + {"pollingInterval":500} + +FsWatches:: +/user/username/projects/myproject/src/tsconfig.json: + {} +/user/username/projects/myproject/src/fileb.mts: + {} +/a/lib/lib.es2016.full.d.ts: + {} +/user/username/projects/myproject/package.json: + {} + +FsWatchesRecursive:: +/user/username/projects/myproject/src: + {} + Info 89 [16:02:17.000] Modify package json file to remove type module Info 90 [16:02:21.000] FileWatcher:: Triggered with /user/username/projects/myproject/package.json 1:: WatchInfo: /user/username/projects/myproject/package.json 2000 undefined Project: /user/username/projects/myproject/src/tsconfig.json WatchType: File location affecting resolution Info 91 [16:02:22.000] Scheduled: /user/username/projects/myproject/src/tsconfig.jsonFailedLookupInvalidation Info 92 [16:02:23.000] Elapsed:: *ms FileWatcher:: Triggered with /user/username/projects/myproject/package.json 1:: WatchInfo: /user/username/projects/myproject/package.json 2000 undefined Project: /user/username/projects/myproject/src/tsconfig.json WatchType: File location affecting resolution Info 93 [16:02:24.000] FileWatcher:: Triggered with /user/username/projects/myproject/package.json 1:: WatchInfo: /user/username/projects/myproject/package.json 250 undefined WatchType: package.json file Info 94 [16:02:25.000] Elapsed:: *ms FileWatcher:: Triggered with /user/username/projects/myproject/package.json 1:: WatchInfo: /user/username/projects/myproject/package.json 250 undefined WatchType: package.json file -Info 95 [16:02:26.000] Running: /user/username/projects/myproject/src/tsconfig.jsonFailedLookupInvalidation -Info 96 [16:02:27.000] Scheduled: /user/username/projects/myproject/src/tsconfig.json -Info 97 [16:02:28.000] Scheduled: *ensureProjectForOpenFiles* -Info 98 [16:02:29.000] Running: /user/username/projects/myproject/src/tsconfig.json -Info 99 [16:02:30.000] Starting updateGraphWorker: Project: /user/username/projects/myproject/src/tsconfig.json -Info 100 [16:02:31.000] File '/a/lib/package.json' does not exist according to earlier cached lookups. -Info 101 [16:02:32.000] File '/a/package.json' does not exist according to earlier cached lookups. -Info 102 [16:02:33.000] File '/package.json' does not exist according to earlier cached lookups. -Info 103 [16:02:34.000] File '/user/username/projects/myproject/src/package.json' does not exist according to earlier cached lookups. -Info 104 [16:02:35.000] Found 'package.json' at '/user/username/projects/myproject/package.json'. -Info 105 [16:02:36.000] 'package.json' does not have a 'typesVersions' field. -Info 106 [16:02:37.000] File '/user/username/projects/myproject/src/package.json' does not exist according to earlier cached lookups. -Info 107 [16:02:38.000] File '/user/username/projects/myproject/package.json' exists according to earlier cached lookups. -Info 108 [16:02:39.000] ======== Resolving module './fileB.mjs' from '/user/username/projects/myproject/src/fileA.ts'. ======== +Before running timeout callbacks +//// [/user/username/projects/myproject/package.json] +{"name":"app","version":"1.0.0"} + + +PolledWatches:: +/user/username/projects/myproject/src/package.json: + {"pollingInterval":2000} +/user/username/projects/myproject/src/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/myproject/node_modules/@types: + {"pollingInterval":500} + +FsWatches:: +/user/username/projects/myproject/src/tsconfig.json: + {} +/user/username/projects/myproject/src/fileb.mts: + {} +/a/lib/lib.es2016.full.d.ts: + {} +/user/username/projects/myproject/package.json: + {} + +FsWatchesRecursive:: +/user/username/projects/myproject/src: + {} + +Info 95 [16:02:26.000] Running: /user/username/projects/myproject/src/tsconfig.jsonFailedLookupInvalidation +Info 96 [16:02:27.000] Scheduled: /user/username/projects/myproject/src/tsconfig.json +Info 97 [16:02:28.000] Scheduled: *ensureProjectForOpenFiles* +After running timeout callbacks + +PolledWatches:: +/user/username/projects/myproject/src/package.json: + {"pollingInterval":2000} +/user/username/projects/myproject/src/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/myproject/node_modules/@types: + {"pollingInterval":500} + +FsWatches:: +/user/username/projects/myproject/src/tsconfig.json: + {} +/user/username/projects/myproject/src/fileb.mts: + {} +/a/lib/lib.es2016.full.d.ts: + {} +/user/username/projects/myproject/package.json: + {} + +FsWatchesRecursive:: +/user/username/projects/myproject/src: + {} + +Before running timeout callbacks + +PolledWatches:: +/user/username/projects/myproject/src/package.json: + {"pollingInterval":2000} +/user/username/projects/myproject/src/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/myproject/node_modules/@types: + {"pollingInterval":500} + +FsWatches:: +/user/username/projects/myproject/src/tsconfig.json: + {} +/user/username/projects/myproject/src/fileb.mts: + {} +/a/lib/lib.es2016.full.d.ts: + {} +/user/username/projects/myproject/package.json: + {} + +FsWatchesRecursive:: +/user/username/projects/myproject/src: + {} + +Info 98 [16:02:29.000] Running: /user/username/projects/myproject/src/tsconfig.json +Info 99 [16:02:30.000] Starting updateGraphWorker: Project: /user/username/projects/myproject/src/tsconfig.json +Info 100 [16:02:31.000] File '/a/lib/package.json' does not exist according to earlier cached lookups. +Info 101 [16:02:32.000] File '/a/package.json' does not exist according to earlier cached lookups. +Info 102 [16:02:33.000] File '/package.json' does not exist according to earlier cached lookups. +Info 103 [16:02:34.000] File '/user/username/projects/myproject/src/package.json' does not exist according to earlier cached lookups. +Info 104 [16:02:35.000] Found 'package.json' at '/user/username/projects/myproject/package.json'. +Info 105 [16:02:36.000] 'package.json' does not have a 'typesVersions' field. +Info 106 [16:02:37.000] File '/user/username/projects/myproject/src/package.json' does not exist according to earlier cached lookups. +Info 107 [16:02:38.000] File '/user/username/projects/myproject/package.json' exists according to earlier cached lookups. +Info 108 [16:02:39.000] ======== Resolving module './fileB.mjs' from '/user/username/projects/myproject/src/fileA.ts'. ======== Info 109 [16:02:40.000] Module resolution kind is not specified, using 'Node16'. Info 110 [16:02:41.000] Loading module as file / folder, candidate module location '/user/username/projects/myproject/src/fileB.mjs', target file type 'TypeScript'. Info 111 [16:02:42.000] File '/user/username/projects/myproject/src/fileB.mjs.ts' does not exist. @@ -333,6 +658,32 @@ Info 127 [16:03:09.000] Projects: /user/username/projects/myproject/src/tscon Info 127 [16:03:10.000] got projects updated in background, updating diagnostics for /user/username/projects/myproject/src/fileA.ts Info 128 [16:03:11.000] event: {"seq":0,"type":"event","event":"projectsUpdatedInBackground","body":{"openFiles":["/user/username/projects/myproject/src/fileA.ts"]}} +After running timeout callbacks + +PolledWatches:: +/user/username/projects/myproject/src/package.json: + {"pollingInterval":2000} +/user/username/projects/myproject/src/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/myproject/node_modules/@types: + {"pollingInterval":500} + +FsWatches:: +/user/username/projects/myproject/src/tsconfig.json: + {} +/user/username/projects/myproject/src/fileb.mts: + {} +/a/lib/lib.es2016.full.d.ts: + {} +/user/username/projects/myproject/package.json: + {} +/user/username/projects/myproject/src: + {} + +FsWatchesRecursive:: +/user/username/projects/myproject/src: + {} + Info 129 [16:03:12.000] request: { "command": "geterr", @@ -342,12 +693,1196 @@ Info 129 [16:03:12.000] request: "/user/username/projects/myproject/src/fileA.ts" ] }, - "seq": 2, + "seq": 2, + "type": "request" + } +Before request + +PolledWatches:: +/user/username/projects/myproject/src/package.json: + {"pollingInterval":2000} +/user/username/projects/myproject/src/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/myproject/node_modules/@types: + {"pollingInterval":500} + +FsWatches:: +/user/username/projects/myproject/src/tsconfig.json: + {} +/user/username/projects/myproject/src/fileb.mts: + {} +/a/lib/lib.es2016.full.d.ts: + {} +/user/username/projects/myproject/package.json: + {} +/user/username/projects/myproject/src: + {} + +FsWatchesRecursive:: +/user/username/projects/myproject/src: + {} + +After request + +PolledWatches:: +/user/username/projects/myproject/src/package.json: + {"pollingInterval":2000} +/user/username/projects/myproject/src/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/myproject/node_modules/@types: + {"pollingInterval":500} + +FsWatches:: +/user/username/projects/myproject/src/tsconfig.json: + {} +/user/username/projects/myproject/src/fileb.mts: + {} +/a/lib/lib.es2016.full.d.ts: + {} +/user/username/projects/myproject/package.json: + {} +/user/username/projects/myproject/src: + {} + +FsWatchesRecursive:: +/user/username/projects/myproject/src: + {} + +Info 130 [16:03:13.000] response: + { + "responseRequired": false + } +Before checking timeout queue length (1) and running + +PolledWatches:: +/user/username/projects/myproject/src/package.json: + {"pollingInterval":2000} +/user/username/projects/myproject/src/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/myproject/node_modules/@types: + {"pollingInterval":500} + +FsWatches:: +/user/username/projects/myproject/src/tsconfig.json: + {} +/user/username/projects/myproject/src/fileb.mts: + {} +/a/lib/lib.es2016.full.d.ts: + {} +/user/username/projects/myproject/package.json: + {} +/user/username/projects/myproject/src: + {} + +FsWatchesRecursive:: +/user/username/projects/myproject/src: + {} + +Info 131 [16:03:14.000] event: + {"seq":0,"type":"event","event":"syntaxDiag","body":{"file":"/user/username/projects/myproject/src/fileA.ts","diagnostics":[]}} +After checking timeout queue length (1) and running + +PolledWatches:: +/user/username/projects/myproject/src/package.json: + {"pollingInterval":2000} +/user/username/projects/myproject/src/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/myproject/node_modules/@types: + {"pollingInterval":500} + +FsWatches:: +/user/username/projects/myproject/src/tsconfig.json: + {} +/user/username/projects/myproject/src/fileb.mts: + {} +/a/lib/lib.es2016.full.d.ts: + {} +/user/username/projects/myproject/package.json: + {} +/user/username/projects/myproject/src: + {} + +FsWatchesRecursive:: +/user/username/projects/myproject/src: + {} + +Before running immediate callbacks and checking length (1) + +PolledWatches:: +/user/username/projects/myproject/src/package.json: + {"pollingInterval":2000} +/user/username/projects/myproject/src/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/myproject/node_modules/@types: + {"pollingInterval":500} + +FsWatches:: +/user/username/projects/myproject/src/tsconfig.json: + {} +/user/username/projects/myproject/src/fileb.mts: + {} +/a/lib/lib.es2016.full.d.ts: + {} +/user/username/projects/myproject/package.json: + {} +/user/username/projects/myproject/src: + {} + +FsWatchesRecursive:: +/user/username/projects/myproject/src: + {} + +Info 132 [16:03:15.000] event: + {"seq":0,"type":"event","event":"semanticDiag","body":{"file":"/user/username/projects/myproject/src/fileA.ts","diagnostics":[{"start":{"line":1,"offset":21},"end":{"line":1,"offset":34},"text":"The current file is a CommonJS module whose imports will produce 'require' calls; however, the referenced file is an ECMAScript module and cannot be imported with 'require'. Consider writing a dynamic 'import(\"./fileB.mjs\")' call instead.\n To convert this file to an ECMAScript module, change its file extension to '.mts', or add the field `\"type\": \"module\"` to '/user/username/projects/myproject/package.json'.","code":1479,"category":"error"}]}} +Before running immediate callbacks and checking length (1) + +PolledWatches:: +/user/username/projects/myproject/src/package.json: + {"pollingInterval":2000} +/user/username/projects/myproject/src/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/myproject/node_modules/@types: + {"pollingInterval":500} + +FsWatches:: +/user/username/projects/myproject/src/tsconfig.json: + {} +/user/username/projects/myproject/src/fileb.mts: + {} +/a/lib/lib.es2016.full.d.ts: + {} +/user/username/projects/myproject/package.json: + {} +/user/username/projects/myproject/src: + {} + +FsWatchesRecursive:: +/user/username/projects/myproject/src: + {} + +Before running immediate callbacks and checking length (1) + +PolledWatches:: +/user/username/projects/myproject/src/package.json: + {"pollingInterval":2000} +/user/username/projects/myproject/src/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/myproject/node_modules/@types: + {"pollingInterval":500} + +FsWatches:: +/user/username/projects/myproject/src/tsconfig.json: + {} +/user/username/projects/myproject/src/fileb.mts: + {} +/a/lib/lib.es2016.full.d.ts: + {} +/user/username/projects/myproject/package.json: + {} +/user/username/projects/myproject/src: + {} + +FsWatchesRecursive:: +/user/username/projects/myproject/src: + {} + +Info 133 [16:03:16.000] event: + {"seq":0,"type":"event","event":"suggestionDiag","body":{"file":"/user/username/projects/myproject/src/fileA.ts","diagnostics":[]}} +Info 134 [16:03:17.000] event: + {"seq":0,"type":"event","event":"requestCompleted","body":{"request_seq":2}} +Before running immediate callbacks and checking length (1) + +PolledWatches:: +/user/username/projects/myproject/src/package.json: + {"pollingInterval":2000} +/user/username/projects/myproject/src/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/myproject/node_modules/@types: + {"pollingInterval":500} + +FsWatches:: +/user/username/projects/myproject/src/tsconfig.json: + {} +/user/username/projects/myproject/src/fileb.mts: + {} +/a/lib/lib.es2016.full.d.ts: + {} +/user/username/projects/myproject/package.json: + {} +/user/username/projects/myproject/src: + {} + +FsWatchesRecursive:: +/user/username/projects/myproject/src: + {} + +Info 135 [16:03:18.000] Delete package.json +Info 136 [16:03:20.000] FileWatcher:: Triggered with /user/username/projects/myproject/package.json 2:: WatchInfo: /user/username/projects/myproject/package.json 2000 undefined Project: /user/username/projects/myproject/src/tsconfig.json WatchType: File location affecting resolution +Info 137 [16:03:21.000] Scheduled: /user/username/projects/myproject/src/tsconfig.jsonFailedLookupInvalidation +Info 138 [16:03:22.000] Elapsed:: *ms FileWatcher:: Triggered with /user/username/projects/myproject/package.json 2:: WatchInfo: /user/username/projects/myproject/package.json 2000 undefined Project: /user/username/projects/myproject/src/tsconfig.json WatchType: File location affecting resolution +Info 139 [16:03:23.000] FileWatcher:: Triggered with /user/username/projects/myproject/package.json 2:: WatchInfo: /user/username/projects/myproject/package.json 250 undefined WatchType: package.json file +Info 140 [16:03:24.000] FileWatcher:: Close:: WatchInfo: /user/username/projects/myproject/package.json 250 undefined WatchType: package.json file +Info 141 [16:03:25.000] Elapsed:: *ms FileWatcher:: Triggered with /user/username/projects/myproject/package.json 2:: WatchInfo: /user/username/projects/myproject/package.json 250 undefined WatchType: package.json file +Before running timeout callbacks +//// [/user/username/projects/myproject/package.json] deleted + +PolledWatches:: +/user/username/projects/myproject/src/package.json: + {"pollingInterval":2000} +/user/username/projects/myproject/src/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/myproject/node_modules/@types: + {"pollingInterval":500} + +FsWatches:: +/user/username/projects/myproject/src/tsconfig.json: + {} +/user/username/projects/myproject/src/fileb.mts: + {} +/a/lib/lib.es2016.full.d.ts: + {} +/user/username/projects/myproject/package.json: + {} +/user/username/projects/myproject/src: + {} + +FsWatchesRecursive:: +/user/username/projects/myproject/src: + {} + +Info 142 [16:03:26.000] Running: /user/username/projects/myproject/src/tsconfig.jsonFailedLookupInvalidation +Info 143 [16:03:27.000] Scheduled: /user/username/projects/myproject/src/tsconfig.json +Info 144 [16:03:28.000] Scheduled: *ensureProjectForOpenFiles* +After running timeout callbacks + +PolledWatches:: +/user/username/projects/myproject/src/package.json: + {"pollingInterval":2000} +/user/username/projects/myproject/src/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/myproject/node_modules/@types: + {"pollingInterval":500} + +FsWatches:: +/user/username/projects/myproject/src/tsconfig.json: + {} +/user/username/projects/myproject/src/fileb.mts: + {} +/a/lib/lib.es2016.full.d.ts: + {} +/user/username/projects/myproject/package.json: + {} +/user/username/projects/myproject/src: + {} + +FsWatchesRecursive:: +/user/username/projects/myproject/src: + {} + +Before running timeout callbacks + +PolledWatches:: +/user/username/projects/myproject/src/package.json: + {"pollingInterval":2000} +/user/username/projects/myproject/src/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/myproject/node_modules/@types: + {"pollingInterval":500} + +FsWatches:: +/user/username/projects/myproject/src/tsconfig.json: + {} +/user/username/projects/myproject/src/fileb.mts: + {} +/a/lib/lib.es2016.full.d.ts: + {} +/user/username/projects/myproject/package.json: + {} +/user/username/projects/myproject/src: + {} + +FsWatchesRecursive:: +/user/username/projects/myproject/src: + {} + +Info 145 [16:03:29.000] Running: /user/username/projects/myproject/src/tsconfig.json +Info 146 [16:03:30.000] Starting updateGraphWorker: Project: /user/username/projects/myproject/src/tsconfig.json +Info 147 [16:03:31.000] File '/a/lib/package.json' does not exist according to earlier cached lookups. +Info 148 [16:03:32.000] File '/a/package.json' does not exist according to earlier cached lookups. +Info 149 [16:03:33.000] File '/package.json' does not exist according to earlier cached lookups. +Info 150 [16:03:34.000] File '/user/username/projects/myproject/src/package.json' does not exist according to earlier cached lookups. +Info 151 [16:03:35.000] File '/user/username/projects/myproject/package.json' does not exist. +Info 152 [16:03:36.000] File '/user/username/projects/package.json' does not exist. +Info 153 [16:03:37.000] File '/user/username/package.json' does not exist. +Info 154 [16:03:38.000] File '/user/package.json' does not exist. +Info 155 [16:03:39.000] File '/package.json' does not exist according to earlier cached lookups. +Info 156 [16:03:40.000] File '/user/username/projects/myproject/src/package.json' does not exist according to earlier cached lookups. +Info 157 [16:03:41.000] File '/user/username/projects/myproject/package.json' does not exist according to earlier cached lookups. +Info 158 [16:03:42.000] File '/user/username/projects/package.json' does not exist according to earlier cached lookups. +Info 159 [16:03:43.000] File '/user/username/package.json' does not exist according to earlier cached lookups. +Info 160 [16:03:44.000] File '/user/package.json' does not exist according to earlier cached lookups. +Info 161 [16:03:45.000] File '/package.json' does not exist according to earlier cached lookups. +Info 162 [16:03:46.000] Reusing resolution of module './fileB.mjs' from '/user/username/projects/myproject/src/fileA.ts' of old program, it was successfully resolved to '/user/username/projects/myproject/src/fileB.mts'. +Info 163 [16:03:47.000] File '/a/lib/package.json' does not exist according to earlier cached lookups. +Info 164 [16:03:48.000] File '/a/package.json' does not exist according to earlier cached lookups. +Info 165 [16:03:49.000] File '/package.json' does not exist according to earlier cached lookups. +Info 166 [16:03:50.000] FileWatcher:: Added:: WatchInfo: /user/username/projects/package.json 2000 undefined Project: /user/username/projects/myproject/src/tsconfig.json WatchType: File location affecting resolution +Info 167 [16:03:51.000] Finishing updateGraphWorker: Project: /user/username/projects/myproject/src/tsconfig.json Version: 4 structureChanged: true structureIsReused:: SafeModules Elapsed:: *ms +Info 168 [16:03:52.000] Different program with same set of files +Info 169 [16:03:53.000] Running: *ensureProjectForOpenFiles* +Info 170 [16:03:54.000] Before ensureProjectForOpenFiles: +Info 171 [16:03:55.000] Project '/user/username/projects/myproject/src/tsconfig.json' (Configured) +Info 171 [16:03:56.000] Files (3) + +Info 171 [16:03:57.000] ----------------------------------------------- +Info 171 [16:03:58.000] Open files: +Info 171 [16:03:59.000] FileName: /user/username/projects/myproject/src/fileA.ts ProjectRootPath: undefined +Info 171 [16:04:00.000] Projects: /user/username/projects/myproject/src/tsconfig.json +Info 171 [16:04:01.000] After ensureProjectForOpenFiles: +Info 172 [16:04:02.000] Project '/user/username/projects/myproject/src/tsconfig.json' (Configured) +Info 172 [16:04:03.000] Files (3) + +Info 172 [16:04:04.000] ----------------------------------------------- +Info 172 [16:04:05.000] Open files: +Info 172 [16:04:06.000] FileName: /user/username/projects/myproject/src/fileA.ts ProjectRootPath: undefined +Info 172 [16:04:07.000] Projects: /user/username/projects/myproject/src/tsconfig.json +Info 172 [16:04:08.000] got projects updated in background, updating diagnostics for /user/username/projects/myproject/src/fileA.ts +Info 173 [16:04:09.000] event: + {"seq":0,"type":"event","event":"projectsUpdatedInBackground","body":{"openFiles":["/user/username/projects/myproject/src/fileA.ts"]}} +After running timeout callbacks + +PolledWatches:: +/user/username/projects/myproject/src/package.json: + {"pollingInterval":2000} +/user/username/projects/myproject/src/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/myproject/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/package.json: + {"pollingInterval":2000} + +FsWatches:: +/user/username/projects/myproject/src/tsconfig.json: + {} +/user/username/projects/myproject/src/fileb.mts: + {} +/a/lib/lib.es2016.full.d.ts: + {} +/user/username/projects/myproject/package.json: + {} +/user/username/projects/myproject/src: + {} + +FsWatchesRecursive:: +/user/username/projects/myproject/src: + {} + +Info 174 [16:04:10.000] request: + { + "command": "geterr", + "arguments": { + "delay": 0, + "files": [ + "/user/username/projects/myproject/src/fileA.ts" + ] + }, + "seq": 3, + "type": "request" + } +Before request + +PolledWatches:: +/user/username/projects/myproject/src/package.json: + {"pollingInterval":2000} +/user/username/projects/myproject/src/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/myproject/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/package.json: + {"pollingInterval":2000} + +FsWatches:: +/user/username/projects/myproject/src/tsconfig.json: + {} +/user/username/projects/myproject/src/fileb.mts: + {} +/a/lib/lib.es2016.full.d.ts: + {} +/user/username/projects/myproject/package.json: + {} +/user/username/projects/myproject/src: + {} + +FsWatchesRecursive:: +/user/username/projects/myproject/src: + {} + +After request + +PolledWatches:: +/user/username/projects/myproject/src/package.json: + {"pollingInterval":2000} +/user/username/projects/myproject/src/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/myproject/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/package.json: + {"pollingInterval":2000} + +FsWatches:: +/user/username/projects/myproject/src/tsconfig.json: + {} +/user/username/projects/myproject/src/fileb.mts: + {} +/a/lib/lib.es2016.full.d.ts: + {} +/user/username/projects/myproject/package.json: + {} +/user/username/projects/myproject/src: + {} + +FsWatchesRecursive:: +/user/username/projects/myproject/src: + {} + +Info 175 [16:04:11.000] response: + { + "responseRequired": false + } +Before checking timeout queue length (1) and running + +PolledWatches:: +/user/username/projects/myproject/src/package.json: + {"pollingInterval":2000} +/user/username/projects/myproject/src/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/myproject/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/package.json: + {"pollingInterval":2000} + +FsWatches:: +/user/username/projects/myproject/src/tsconfig.json: + {} +/user/username/projects/myproject/src/fileb.mts: + {} +/a/lib/lib.es2016.full.d.ts: + {} +/user/username/projects/myproject/package.json: + {} +/user/username/projects/myproject/src: + {} + +FsWatchesRecursive:: +/user/username/projects/myproject/src: + {} + +Info 176 [16:04:12.000] event: + {"seq":0,"type":"event","event":"syntaxDiag","body":{"file":"/user/username/projects/myproject/src/fileA.ts","diagnostics":[]}} +After checking timeout queue length (1) and running + +PolledWatches:: +/user/username/projects/myproject/src/package.json: + {"pollingInterval":2000} +/user/username/projects/myproject/src/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/myproject/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/package.json: + {"pollingInterval":2000} + +FsWatches:: +/user/username/projects/myproject/src/tsconfig.json: + {} +/user/username/projects/myproject/src/fileb.mts: + {} +/a/lib/lib.es2016.full.d.ts: + {} +/user/username/projects/myproject/package.json: + {} +/user/username/projects/myproject/src: + {} + +FsWatchesRecursive:: +/user/username/projects/myproject/src: + {} + +Before running immediate callbacks and checking length (1) + +PolledWatches:: +/user/username/projects/myproject/src/package.json: + {"pollingInterval":2000} +/user/username/projects/myproject/src/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/myproject/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/package.json: + {"pollingInterval":2000} + +FsWatches:: +/user/username/projects/myproject/src/tsconfig.json: + {} +/user/username/projects/myproject/src/fileb.mts: + {} +/a/lib/lib.es2016.full.d.ts: + {} +/user/username/projects/myproject/package.json: + {} +/user/username/projects/myproject/src: + {} + +FsWatchesRecursive:: +/user/username/projects/myproject/src: + {} + +Info 177 [16:04:13.000] event: + {"seq":0,"type":"event","event":"semanticDiag","body":{"file":"/user/username/projects/myproject/src/fileA.ts","diagnostics":[{"start":{"line":1,"offset":21},"end":{"line":1,"offset":34},"text":"The current file is a CommonJS module whose imports will produce 'require' calls; however, the referenced file is an ECMAScript module and cannot be imported with 'require'. Consider writing a dynamic 'import(\"./fileB.mjs\")' call instead.\n To convert this file to an ECMAScript module, change its file extension to '.mts' or create a local package.json file with `{ \"type\": \"module\" }`.","code":1479,"category":"error"}]}} +Before running immediate callbacks and checking length (1) + +PolledWatches:: +/user/username/projects/myproject/src/package.json: + {"pollingInterval":2000} +/user/username/projects/myproject/src/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/myproject/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/package.json: + {"pollingInterval":2000} + +FsWatches:: +/user/username/projects/myproject/src/tsconfig.json: + {} +/user/username/projects/myproject/src/fileb.mts: + {} +/a/lib/lib.es2016.full.d.ts: + {} +/user/username/projects/myproject/package.json: + {} +/user/username/projects/myproject/src: + {} + +FsWatchesRecursive:: +/user/username/projects/myproject/src: + {} + +Before running immediate callbacks and checking length (1) + +PolledWatches:: +/user/username/projects/myproject/src/package.json: + {"pollingInterval":2000} +/user/username/projects/myproject/src/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/myproject/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/package.json: + {"pollingInterval":2000} + +FsWatches:: +/user/username/projects/myproject/src/tsconfig.json: + {} +/user/username/projects/myproject/src/fileb.mts: + {} +/a/lib/lib.es2016.full.d.ts: + {} +/user/username/projects/myproject/package.json: + {} +/user/username/projects/myproject/src: + {} + +FsWatchesRecursive:: +/user/username/projects/myproject/src: + {} + +Info 178 [16:04:14.000] event: + {"seq":0,"type":"event","event":"suggestionDiag","body":{"file":"/user/username/projects/myproject/src/fileA.ts","diagnostics":[]}} +Info 179 [16:04:15.000] event: + {"seq":0,"type":"event","event":"requestCompleted","body":{"request_seq":3}} +Before running immediate callbacks and checking length (1) + +PolledWatches:: +/user/username/projects/myproject/src/package.json: + {"pollingInterval":2000} +/user/username/projects/myproject/src/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/myproject/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/package.json: + {"pollingInterval":2000} + +FsWatches:: +/user/username/projects/myproject/src/tsconfig.json: + {} +/user/username/projects/myproject/src/fileb.mts: + {} +/a/lib/lib.es2016.full.d.ts: + {} +/user/username/projects/myproject/package.json: + {} +/user/username/projects/myproject/src: + {} + +FsWatchesRecursive:: +/user/username/projects/myproject/src: + {} + +Info 180 [16:04:16.000] Modify package json file to add type module +Info 181 [16:04:19.000] FileWatcher:: Triggered with /user/username/projects/myproject/package.json 0:: WatchInfo: /user/username/projects/myproject/package.json 2000 undefined Project: /user/username/projects/myproject/src/tsconfig.json WatchType: File location affecting resolution +Info 182 [16:04:20.000] Scheduled: /user/username/projects/myproject/src/tsconfig.jsonFailedLookupInvalidation +Info 183 [16:04:21.000] Elapsed:: *ms FileWatcher:: Triggered with /user/username/projects/myproject/package.json 0:: WatchInfo: /user/username/projects/myproject/package.json 2000 undefined Project: /user/username/projects/myproject/src/tsconfig.json WatchType: File location affecting resolution +Before running timeout callbacks +//// [/user/username/projects/myproject/package.json] +{"name":"app","version":"1.0.0","type":"module"} + + +PolledWatches:: +/user/username/projects/myproject/src/package.json: + {"pollingInterval":2000} +/user/username/projects/myproject/src/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/myproject/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/package.json: + {"pollingInterval":2000} + +FsWatches:: +/user/username/projects/myproject/src/tsconfig.json: + {} +/user/username/projects/myproject/src/fileb.mts: + {} +/a/lib/lib.es2016.full.d.ts: + {} +/user/username/projects/myproject/package.json: + {} +/user/username/projects/myproject/src: + {} + +FsWatchesRecursive:: +/user/username/projects/myproject/src: + {} + +Info 184 [16:04:22.000] Running: /user/username/projects/myproject/src/tsconfig.jsonFailedLookupInvalidation +Info 185 [16:04:23.000] Scheduled: /user/username/projects/myproject/src/tsconfig.json +Info 186 [16:04:24.000] Scheduled: *ensureProjectForOpenFiles* +After running timeout callbacks + +PolledWatches:: +/user/username/projects/myproject/src/package.json: + {"pollingInterval":2000} +/user/username/projects/myproject/src/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/myproject/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/package.json: + {"pollingInterval":2000} + +FsWatches:: +/user/username/projects/myproject/src/tsconfig.json: + {} +/user/username/projects/myproject/src/fileb.mts: + {} +/a/lib/lib.es2016.full.d.ts: + {} +/user/username/projects/myproject/package.json: + {} +/user/username/projects/myproject/src: + {} + +FsWatchesRecursive:: +/user/username/projects/myproject/src: + {} + +Before running timeout callbacks + +PolledWatches:: +/user/username/projects/myproject/src/package.json: + {"pollingInterval":2000} +/user/username/projects/myproject/src/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/myproject/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/package.json: + {"pollingInterval":2000} + +FsWatches:: +/user/username/projects/myproject/src/tsconfig.json: + {} +/user/username/projects/myproject/src/fileb.mts: + {} +/a/lib/lib.es2016.full.d.ts: + {} +/user/username/projects/myproject/package.json: + {} +/user/username/projects/myproject/src: + {} + +FsWatchesRecursive:: +/user/username/projects/myproject/src: + {} + +Info 187 [16:04:25.000] Running: /user/username/projects/myproject/src/tsconfig.json +Info 188 [16:04:26.000] Starting updateGraphWorker: Project: /user/username/projects/myproject/src/tsconfig.json +Info 189 [16:04:27.000] File '/a/lib/package.json' does not exist according to earlier cached lookups. +Info 190 [16:04:28.000] File '/a/package.json' does not exist according to earlier cached lookups. +Info 191 [16:04:29.000] File '/package.json' does not exist according to earlier cached lookups. +Info 192 [16:04:30.000] File '/user/username/projects/myproject/src/package.json' does not exist according to earlier cached lookups. +Info 193 [16:04:31.000] Found 'package.json' at '/user/username/projects/myproject/package.json'. +Info 194 [16:04:32.000] 'package.json' does not have a 'typesVersions' field. +Info 195 [16:04:33.000] File '/user/username/projects/myproject/src/package.json' does not exist according to earlier cached lookups. +Info 196 [16:04:34.000] File '/user/username/projects/myproject/package.json' exists according to earlier cached lookups. +Info 197 [16:04:35.000] File '/a/lib/package.json' does not exist according to earlier cached lookups. +Info 198 [16:04:36.000] File '/a/package.json' does not exist according to earlier cached lookups. +Info 199 [16:04:37.000] File '/package.json' does not exist according to earlier cached lookups. +Info 200 [16:04:38.000] FileWatcher:: Close:: WatchInfo: /user/username/projects/package.json 2000 undefined Project: /user/username/projects/myproject/src/tsconfig.json WatchType: File location affecting resolution +Info 201 [16:04:39.000] Finishing updateGraphWorker: Project: /user/username/projects/myproject/src/tsconfig.json Version: 5 structureChanged: true structureIsReused:: SafeModules Elapsed:: *ms +Info 202 [16:04:40.000] Different program with same set of files +Info 203 [16:04:41.000] Running: *ensureProjectForOpenFiles* +Info 204 [16:04:42.000] Before ensureProjectForOpenFiles: +Info 205 [16:04:43.000] Project '/user/username/projects/myproject/src/tsconfig.json' (Configured) +Info 205 [16:04:44.000] Files (3) + +Info 205 [16:04:45.000] ----------------------------------------------- +Info 205 [16:04:46.000] Open files: +Info 205 [16:04:47.000] FileName: /user/username/projects/myproject/src/fileA.ts ProjectRootPath: undefined +Info 205 [16:04:48.000] Projects: /user/username/projects/myproject/src/tsconfig.json +Info 205 [16:04:49.000] After ensureProjectForOpenFiles: +Info 206 [16:04:50.000] Project '/user/username/projects/myproject/src/tsconfig.json' (Configured) +Info 206 [16:04:51.000] Files (3) + +Info 206 [16:04:52.000] ----------------------------------------------- +Info 206 [16:04:53.000] Open files: +Info 206 [16:04:54.000] FileName: /user/username/projects/myproject/src/fileA.ts ProjectRootPath: undefined +Info 206 [16:04:55.000] Projects: /user/username/projects/myproject/src/tsconfig.json +Info 206 [16:04:56.000] got projects updated in background, updating diagnostics for /user/username/projects/myproject/src/fileA.ts +Info 207 [16:04:57.000] event: + {"seq":0,"type":"event","event":"projectsUpdatedInBackground","body":{"openFiles":["/user/username/projects/myproject/src/fileA.ts"]}} +After running timeout callbacks + +PolledWatches:: +/user/username/projects/myproject/src/package.json: + {"pollingInterval":2000} +/user/username/projects/myproject/src/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/myproject/node_modules/@types: + {"pollingInterval":500} + +FsWatches:: +/user/username/projects/myproject/src/tsconfig.json: + {} +/user/username/projects/myproject/src/fileb.mts: + {} +/a/lib/lib.es2016.full.d.ts: + {} +/user/username/projects/myproject/package.json: + {} +/user/username/projects/myproject/src: + {} + +FsWatchesRecursive:: +/user/username/projects/myproject/src: + {} + +Info 208 [16:04:58.000] request: + { + "command": "geterr", + "arguments": { + "delay": 0, + "files": [ + "/user/username/projects/myproject/src/fileA.ts" + ] + }, + "seq": 4, + "type": "request" + } +Before request + +PolledWatches:: +/user/username/projects/myproject/src/package.json: + {"pollingInterval":2000} +/user/username/projects/myproject/src/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/myproject/node_modules/@types: + {"pollingInterval":500} + +FsWatches:: +/user/username/projects/myproject/src/tsconfig.json: + {} +/user/username/projects/myproject/src/fileb.mts: + {} +/a/lib/lib.es2016.full.d.ts: + {} +/user/username/projects/myproject/package.json: + {} +/user/username/projects/myproject/src: + {} + +FsWatchesRecursive:: +/user/username/projects/myproject/src: + {} + +After request + +PolledWatches:: +/user/username/projects/myproject/src/package.json: + {"pollingInterval":2000} +/user/username/projects/myproject/src/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/myproject/node_modules/@types: + {"pollingInterval":500} + +FsWatches:: +/user/username/projects/myproject/src/tsconfig.json: + {} +/user/username/projects/myproject/src/fileb.mts: + {} +/a/lib/lib.es2016.full.d.ts: + {} +/user/username/projects/myproject/package.json: + {} +/user/username/projects/myproject/src: + {} + +FsWatchesRecursive:: +/user/username/projects/myproject/src: + {} + +Info 209 [16:04:59.000] response: + { + "responseRequired": false + } +Before checking timeout queue length (1) and running + +PolledWatches:: +/user/username/projects/myproject/src/package.json: + {"pollingInterval":2000} +/user/username/projects/myproject/src/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/myproject/node_modules/@types: + {"pollingInterval":500} + +FsWatches:: +/user/username/projects/myproject/src/tsconfig.json: + {} +/user/username/projects/myproject/src/fileb.mts: + {} +/a/lib/lib.es2016.full.d.ts: + {} +/user/username/projects/myproject/package.json: + {} +/user/username/projects/myproject/src: + {} + +FsWatchesRecursive:: +/user/username/projects/myproject/src: + {} + +Info 210 [16:05:00.000] event: + {"seq":0,"type":"event","event":"syntaxDiag","body":{"file":"/user/username/projects/myproject/src/fileA.ts","diagnostics":[]}} +After checking timeout queue length (1) and running + +PolledWatches:: +/user/username/projects/myproject/src/package.json: + {"pollingInterval":2000} +/user/username/projects/myproject/src/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/myproject/node_modules/@types: + {"pollingInterval":500} + +FsWatches:: +/user/username/projects/myproject/src/tsconfig.json: + {} +/user/username/projects/myproject/src/fileb.mts: + {} +/a/lib/lib.es2016.full.d.ts: + {} +/user/username/projects/myproject/package.json: + {} +/user/username/projects/myproject/src: + {} + +FsWatchesRecursive:: +/user/username/projects/myproject/src: + {} + +Before running immediate callbacks and checking length (1) + +PolledWatches:: +/user/username/projects/myproject/src/package.json: + {"pollingInterval":2000} +/user/username/projects/myproject/src/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/myproject/node_modules/@types: + {"pollingInterval":500} + +FsWatches:: +/user/username/projects/myproject/src/tsconfig.json: + {} +/user/username/projects/myproject/src/fileb.mts: + {} +/a/lib/lib.es2016.full.d.ts: + {} +/user/username/projects/myproject/package.json: + {} +/user/username/projects/myproject/src: + {} + +FsWatchesRecursive:: +/user/username/projects/myproject/src: + {} + +Info 211 [16:05:01.000] event: + {"seq":0,"type":"event","event":"semanticDiag","body":{"file":"/user/username/projects/myproject/src/fileA.ts","diagnostics":[]}} +Before running immediate callbacks and checking length (1) + +PolledWatches:: +/user/username/projects/myproject/src/package.json: + {"pollingInterval":2000} +/user/username/projects/myproject/src/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/myproject/node_modules/@types: + {"pollingInterval":500} + +FsWatches:: +/user/username/projects/myproject/src/tsconfig.json: + {} +/user/username/projects/myproject/src/fileb.mts: + {} +/a/lib/lib.es2016.full.d.ts: + {} +/user/username/projects/myproject/package.json: + {} +/user/username/projects/myproject/src: + {} + +FsWatchesRecursive:: +/user/username/projects/myproject/src: + {} + +Before running immediate callbacks and checking length (1) + +PolledWatches:: +/user/username/projects/myproject/src/package.json: + {"pollingInterval":2000} +/user/username/projects/myproject/src/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/myproject/node_modules/@types: + {"pollingInterval":500} + +FsWatches:: +/user/username/projects/myproject/src/tsconfig.json: + {} +/user/username/projects/myproject/src/fileb.mts: + {} +/a/lib/lib.es2016.full.d.ts: + {} +/user/username/projects/myproject/package.json: + {} +/user/username/projects/myproject/src: + {} + +FsWatchesRecursive:: +/user/username/projects/myproject/src: + {} + +Info 212 [16:05:02.000] event: + {"seq":0,"type":"event","event":"suggestionDiag","body":{"file":"/user/username/projects/myproject/src/fileA.ts","diagnostics":[]}} +Info 213 [16:05:03.000] event: + {"seq":0,"type":"event","event":"requestCompleted","body":{"request_seq":4}} +Before running immediate callbacks and checking length (1) + +PolledWatches:: +/user/username/projects/myproject/src/package.json: + {"pollingInterval":2000} +/user/username/projects/myproject/src/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/myproject/node_modules/@types: + {"pollingInterval":500} + +FsWatches:: +/user/username/projects/myproject/src/tsconfig.json: + {} +/user/username/projects/myproject/src/fileb.mts: + {} +/a/lib/lib.es2016.full.d.ts: + {} +/user/username/projects/myproject/package.json: + {} +/user/username/projects/myproject/src: + {} + +FsWatchesRecursive:: +/user/username/projects/myproject/src: + {} + +Info 214 [16:05:04.000] Delete package.json +Info 215 [16:05:06.000] FileWatcher:: Triggered with /user/username/projects/myproject/package.json 2:: WatchInfo: /user/username/projects/myproject/package.json 2000 undefined Project: /user/username/projects/myproject/src/tsconfig.json WatchType: File location affecting resolution +Info 216 [16:05:07.000] Scheduled: /user/username/projects/myproject/src/tsconfig.jsonFailedLookupInvalidation +Info 217 [16:05:08.000] Elapsed:: *ms FileWatcher:: Triggered with /user/username/projects/myproject/package.json 2:: WatchInfo: /user/username/projects/myproject/package.json 2000 undefined Project: /user/username/projects/myproject/src/tsconfig.json WatchType: File location affecting resolution +Before running timeout callbacks +//// [/user/username/projects/myproject/package.json] deleted + +PolledWatches:: +/user/username/projects/myproject/src/package.json: + {"pollingInterval":2000} +/user/username/projects/myproject/src/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/myproject/node_modules/@types: + {"pollingInterval":500} + +FsWatches:: +/user/username/projects/myproject/src/tsconfig.json: + {} +/user/username/projects/myproject/src/fileb.mts: + {} +/a/lib/lib.es2016.full.d.ts: + {} +/user/username/projects/myproject/package.json: + {} +/user/username/projects/myproject/src: + {} + +FsWatchesRecursive:: +/user/username/projects/myproject/src: + {} + +Info 218 [16:05:09.000] Running: /user/username/projects/myproject/src/tsconfig.jsonFailedLookupInvalidation +Info 219 [16:05:10.000] Scheduled: /user/username/projects/myproject/src/tsconfig.json +Info 220 [16:05:11.000] Scheduled: *ensureProjectForOpenFiles* +After running timeout callbacks + +PolledWatches:: +/user/username/projects/myproject/src/package.json: + {"pollingInterval":2000} +/user/username/projects/myproject/src/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/myproject/node_modules/@types: + {"pollingInterval":500} + +FsWatches:: +/user/username/projects/myproject/src/tsconfig.json: + {} +/user/username/projects/myproject/src/fileb.mts: + {} +/a/lib/lib.es2016.full.d.ts: + {} +/user/username/projects/myproject/package.json: + {} +/user/username/projects/myproject/src: + {} + +FsWatchesRecursive:: +/user/username/projects/myproject/src: + {} + +Before running timeout callbacks + +PolledWatches:: +/user/username/projects/myproject/src/package.json: + {"pollingInterval":2000} +/user/username/projects/myproject/src/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/myproject/node_modules/@types: + {"pollingInterval":500} + +FsWatches:: +/user/username/projects/myproject/src/tsconfig.json: + {} +/user/username/projects/myproject/src/fileb.mts: + {} +/a/lib/lib.es2016.full.d.ts: + {} +/user/username/projects/myproject/package.json: + {} +/user/username/projects/myproject/src: + {} + +FsWatchesRecursive:: +/user/username/projects/myproject/src: + {} + +Info 221 [16:05:12.000] Running: /user/username/projects/myproject/src/tsconfig.json +Info 222 [16:05:13.000] Starting updateGraphWorker: Project: /user/username/projects/myproject/src/tsconfig.json +Info 223 [16:05:14.000] File '/a/lib/package.json' does not exist according to earlier cached lookups. +Info 224 [16:05:15.000] File '/a/package.json' does not exist according to earlier cached lookups. +Info 225 [16:05:16.000] File '/package.json' does not exist according to earlier cached lookups. +Info 226 [16:05:17.000] File '/user/username/projects/myproject/src/package.json' does not exist according to earlier cached lookups. +Info 227 [16:05:18.000] File '/user/username/projects/myproject/package.json' does not exist. +Info 228 [16:05:19.000] File '/user/username/projects/package.json' does not exist according to earlier cached lookups. +Info 229 [16:05:20.000] File '/user/username/package.json' does not exist according to earlier cached lookups. +Info 230 [16:05:21.000] File '/user/package.json' does not exist according to earlier cached lookups. +Info 231 [16:05:22.000] File '/package.json' does not exist according to earlier cached lookups. +Info 232 [16:05:23.000] File '/user/username/projects/myproject/src/package.json' does not exist according to earlier cached lookups. +Info 233 [16:05:24.000] File '/user/username/projects/myproject/package.json' does not exist according to earlier cached lookups. +Info 234 [16:05:25.000] File '/user/username/projects/package.json' does not exist according to earlier cached lookups. +Info 235 [16:05:26.000] File '/user/username/package.json' does not exist according to earlier cached lookups. +Info 236 [16:05:27.000] File '/user/package.json' does not exist according to earlier cached lookups. +Info 237 [16:05:28.000] File '/package.json' does not exist according to earlier cached lookups. +Info 238 [16:05:29.000] File '/a/lib/package.json' does not exist according to earlier cached lookups. +Info 239 [16:05:30.000] File '/a/package.json' does not exist according to earlier cached lookups. +Info 240 [16:05:31.000] File '/package.json' does not exist according to earlier cached lookups. +Info 241 [16:05:32.000] FileWatcher:: Added:: WatchInfo: /user/username/projects/package.json 2000 undefined Project: /user/username/projects/myproject/src/tsconfig.json WatchType: File location affecting resolution +Info 242 [16:05:33.000] Finishing updateGraphWorker: Project: /user/username/projects/myproject/src/tsconfig.json Version: 6 structureChanged: true structureIsReused:: SafeModules Elapsed:: *ms +Info 243 [16:05:34.000] Different program with same set of files +Info 244 [16:05:35.000] Running: *ensureProjectForOpenFiles* +Info 245 [16:05:36.000] Before ensureProjectForOpenFiles: +Info 246 [16:05:37.000] Project '/user/username/projects/myproject/src/tsconfig.json' (Configured) +Info 246 [16:05:38.000] Files (3) + +Info 246 [16:05:39.000] ----------------------------------------------- +Info 246 [16:05:40.000] Open files: +Info 246 [16:05:41.000] FileName: /user/username/projects/myproject/src/fileA.ts ProjectRootPath: undefined +Info 246 [16:05:42.000] Projects: /user/username/projects/myproject/src/tsconfig.json +Info 246 [16:05:43.000] After ensureProjectForOpenFiles: +Info 247 [16:05:44.000] Project '/user/username/projects/myproject/src/tsconfig.json' (Configured) +Info 247 [16:05:45.000] Files (3) + +Info 247 [16:05:46.000] ----------------------------------------------- +Info 247 [16:05:47.000] Open files: +Info 247 [16:05:48.000] FileName: /user/username/projects/myproject/src/fileA.ts ProjectRootPath: undefined +Info 247 [16:05:49.000] Projects: /user/username/projects/myproject/src/tsconfig.json +Info 247 [16:05:50.000] got projects updated in background, updating diagnostics for /user/username/projects/myproject/src/fileA.ts +Info 248 [16:05:51.000] event: + {"seq":0,"type":"event","event":"projectsUpdatedInBackground","body":{"openFiles":["/user/username/projects/myproject/src/fileA.ts"]}} +After running timeout callbacks + +PolledWatches:: +/user/username/projects/myproject/src/package.json: + {"pollingInterval":2000} +/user/username/projects/myproject/src/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/myproject/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/package.json: + {"pollingInterval":2000} + +FsWatches:: +/user/username/projects/myproject/src/tsconfig.json: + {} +/user/username/projects/myproject/src/fileb.mts: + {} +/a/lib/lib.es2016.full.d.ts: + {} +/user/username/projects/myproject/package.json: + {} +/user/username/projects/myproject/src: + {} + +FsWatchesRecursive:: +/user/username/projects/myproject/src: + {} + +Info 249 [16:05:52.000] request: + { + "command": "geterr", + "arguments": { + "delay": 0, + "files": [ + "/user/username/projects/myproject/src/fileA.ts" + ] + }, + "seq": 5, "type": "request" } -//// [/user/username/projects/myproject/package.json] -{"name":"app","version":"1.0.0"} - +Before request PolledWatches:: /user/username/projects/myproject/src/package.json: @@ -356,6 +1891,8 @@ PolledWatches:: {"pollingInterval":500} /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} +/user/username/projects/package.json: + {"pollingInterval":2000} FsWatches:: /user/username/projects/myproject/src/tsconfig.json: @@ -373,6 +1910,7 @@ FsWatchesRecursive:: /user/username/projects/myproject/src: {} +After request PolledWatches:: /user/username/projects/myproject/src/package.json: @@ -381,6 +1919,8 @@ PolledWatches:: {"pollingInterval":500} /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} +/user/username/projects/package.json: + {"pollingInterval":2000} FsWatches:: /user/username/projects/myproject/src/tsconfig.json: @@ -398,85 +1938,11 @@ FsWatchesRecursive:: /user/username/projects/myproject/src: {} -Info 130 [16:03:13.000] response: +Info 250 [16:05:53.000] response: { "responseRequired": false } -Info 131 [16:03:14.000] event: - {"seq":0,"type":"event","event":"syntaxDiag","body":{"file":"/user/username/projects/myproject/src/fileA.ts","diagnostics":[]}} -Info 132 [16:03:15.000] event: - {"seq":0,"type":"event","event":"semanticDiag","body":{"file":"/user/username/projects/myproject/src/fileA.ts","diagnostics":[{"start":{"line":1,"offset":21},"end":{"line":1,"offset":34},"text":"The current file is a CommonJS module whose imports will produce 'require' calls; however, the referenced file is an ECMAScript module and cannot be imported with 'require'. Consider writing a dynamic 'import(\"./fileB.mjs\")' call instead.\n To convert this file to an ECMAScript module, change its file extension to '.mts', or add the field `\"type\": \"module\"` to '/user/username/projects/myproject/package.json'.","code":1479,"category":"error"}]}} -Info 133 [16:03:16.000] event: - {"seq":0,"type":"event","event":"suggestionDiag","body":{"file":"/user/username/projects/myproject/src/fileA.ts","diagnostics":[]}} -Info 134 [16:03:17.000] event: - {"seq":0,"type":"event","event":"requestCompleted","body":{"request_seq":2}} -Info 135 [16:03:18.000] Delete package.json -Info 136 [16:03:20.000] FileWatcher:: Triggered with /user/username/projects/myproject/package.json 2:: WatchInfo: /user/username/projects/myproject/package.json 2000 undefined Project: /user/username/projects/myproject/src/tsconfig.json WatchType: File location affecting resolution -Info 137 [16:03:21.000] Scheduled: /user/username/projects/myproject/src/tsconfig.jsonFailedLookupInvalidation -Info 138 [16:03:22.000] Elapsed:: *ms FileWatcher:: Triggered with /user/username/projects/myproject/package.json 2:: WatchInfo: /user/username/projects/myproject/package.json 2000 undefined Project: /user/username/projects/myproject/src/tsconfig.json WatchType: File location affecting resolution -Info 139 [16:03:23.000] FileWatcher:: Triggered with /user/username/projects/myproject/package.json 2:: WatchInfo: /user/username/projects/myproject/package.json 250 undefined WatchType: package.json file -Info 140 [16:03:24.000] FileWatcher:: Close:: WatchInfo: /user/username/projects/myproject/package.json 250 undefined WatchType: package.json file -Info 141 [16:03:25.000] Elapsed:: *ms FileWatcher:: Triggered with /user/username/projects/myproject/package.json 2:: WatchInfo: /user/username/projects/myproject/package.json 250 undefined WatchType: package.json file -Info 142 [16:03:26.000] Running: /user/username/projects/myproject/src/tsconfig.jsonFailedLookupInvalidation -Info 143 [16:03:27.000] Scheduled: /user/username/projects/myproject/src/tsconfig.json -Info 144 [16:03:28.000] Scheduled: *ensureProjectForOpenFiles* -Info 145 [16:03:29.000] Running: /user/username/projects/myproject/src/tsconfig.json -Info 146 [16:03:30.000] Starting updateGraphWorker: Project: /user/username/projects/myproject/src/tsconfig.json -Info 147 [16:03:31.000] File '/a/lib/package.json' does not exist according to earlier cached lookups. -Info 148 [16:03:32.000] File '/a/package.json' does not exist according to earlier cached lookups. -Info 149 [16:03:33.000] File '/package.json' does not exist according to earlier cached lookups. -Info 150 [16:03:34.000] File '/user/username/projects/myproject/src/package.json' does not exist according to earlier cached lookups. -Info 151 [16:03:35.000] File '/user/username/projects/myproject/package.json' does not exist. -Info 152 [16:03:36.000] File '/user/username/projects/package.json' does not exist. -Info 153 [16:03:37.000] File '/user/username/package.json' does not exist. -Info 154 [16:03:38.000] File '/user/package.json' does not exist. -Info 155 [16:03:39.000] File '/package.json' does not exist according to earlier cached lookups. -Info 156 [16:03:40.000] File '/user/username/projects/myproject/src/package.json' does not exist according to earlier cached lookups. -Info 157 [16:03:41.000] File '/user/username/projects/myproject/package.json' does not exist according to earlier cached lookups. -Info 158 [16:03:42.000] File '/user/username/projects/package.json' does not exist according to earlier cached lookups. -Info 159 [16:03:43.000] File '/user/username/package.json' does not exist according to earlier cached lookups. -Info 160 [16:03:44.000] File '/user/package.json' does not exist according to earlier cached lookups. -Info 161 [16:03:45.000] File '/package.json' does not exist according to earlier cached lookups. -Info 162 [16:03:46.000] Reusing resolution of module './fileB.mjs' from '/user/username/projects/myproject/src/fileA.ts' of old program, it was successfully resolved to '/user/username/projects/myproject/src/fileB.mts'. -Info 163 [16:03:47.000] File '/a/lib/package.json' does not exist according to earlier cached lookups. -Info 164 [16:03:48.000] File '/a/package.json' does not exist according to earlier cached lookups. -Info 165 [16:03:49.000] File '/package.json' does not exist according to earlier cached lookups. -Info 166 [16:03:50.000] FileWatcher:: Added:: WatchInfo: /user/username/projects/package.json 2000 undefined Project: /user/username/projects/myproject/src/tsconfig.json WatchType: File location affecting resolution -Info 167 [16:03:51.000] Finishing updateGraphWorker: Project: /user/username/projects/myproject/src/tsconfig.json Version: 4 structureChanged: true structureIsReused:: SafeModules Elapsed:: *ms -Info 168 [16:03:52.000] Different program with same set of files -Info 169 [16:03:53.000] Running: *ensureProjectForOpenFiles* -Info 170 [16:03:54.000] Before ensureProjectForOpenFiles: -Info 171 [16:03:55.000] Project '/user/username/projects/myproject/src/tsconfig.json' (Configured) -Info 171 [16:03:56.000] Files (3) - -Info 171 [16:03:57.000] ----------------------------------------------- -Info 171 [16:03:58.000] Open files: -Info 171 [16:03:59.000] FileName: /user/username/projects/myproject/src/fileA.ts ProjectRootPath: undefined -Info 171 [16:04:00.000] Projects: /user/username/projects/myproject/src/tsconfig.json -Info 171 [16:04:01.000] After ensureProjectForOpenFiles: -Info 172 [16:04:02.000] Project '/user/username/projects/myproject/src/tsconfig.json' (Configured) -Info 172 [16:04:03.000] Files (3) - -Info 172 [16:04:04.000] ----------------------------------------------- -Info 172 [16:04:05.000] Open files: -Info 172 [16:04:06.000] FileName: /user/username/projects/myproject/src/fileA.ts ProjectRootPath: undefined -Info 172 [16:04:07.000] Projects: /user/username/projects/myproject/src/tsconfig.json -Info 172 [16:04:08.000] got projects updated in background, updating diagnostics for /user/username/projects/myproject/src/fileA.ts -Info 173 [16:04:09.000] event: - {"seq":0,"type":"event","event":"projectsUpdatedInBackground","body":{"openFiles":["/user/username/projects/myproject/src/fileA.ts"]}} -Info 174 [16:04:10.000] request: - { - "command": "geterr", - "arguments": { - "delay": 0, - "files": [ - "/user/username/projects/myproject/src/fileA.ts" - ] - }, - "seq": 3, - "type": "request" - } -//// [/user/username/projects/myproject/package.json] deleted +Before checking timeout queue length (1) and running PolledWatches:: /user/username/projects/myproject/src/package.json: @@ -504,6 +1970,9 @@ FsWatchesRecursive:: /user/username/projects/myproject/src: {} +Info 251 [16:05:54.000] event: + {"seq":0,"type":"event","event":"syntaxDiag","body":{"file":"/user/username/projects/myproject/src/fileA.ts","diagnostics":[]}} +After checking timeout queue length (1) and running PolledWatches:: /user/username/projects/myproject/src/package.json: @@ -531,76 +2000,7 @@ FsWatchesRecursive:: /user/username/projects/myproject/src: {} -Info 175 [16:04:11.000] response: - { - "responseRequired": false - } -Info 176 [16:04:12.000] event: - {"seq":0,"type":"event","event":"syntaxDiag","body":{"file":"/user/username/projects/myproject/src/fileA.ts","diagnostics":[]}} -Info 177 [16:04:13.000] event: - {"seq":0,"type":"event","event":"semanticDiag","body":{"file":"/user/username/projects/myproject/src/fileA.ts","diagnostics":[{"start":{"line":1,"offset":21},"end":{"line":1,"offset":34},"text":"The current file is a CommonJS module whose imports will produce 'require' calls; however, the referenced file is an ECMAScript module and cannot be imported with 'require'. Consider writing a dynamic 'import(\"./fileB.mjs\")' call instead.\n To convert this file to an ECMAScript module, change its file extension to '.mts' or create a local package.json file with `{ \"type\": \"module\" }`.","code":1479,"category":"error"}]}} -Info 178 [16:04:14.000] event: - {"seq":0,"type":"event","event":"suggestionDiag","body":{"file":"/user/username/projects/myproject/src/fileA.ts","diagnostics":[]}} -Info 179 [16:04:15.000] event: - {"seq":0,"type":"event","event":"requestCompleted","body":{"request_seq":3}} -Info 180 [16:04:16.000] Modify package json file to add type module -Info 181 [16:04:19.000] FileWatcher:: Triggered with /user/username/projects/myproject/package.json 0:: WatchInfo: /user/username/projects/myproject/package.json 2000 undefined Project: /user/username/projects/myproject/src/tsconfig.json WatchType: File location affecting resolution -Info 182 [16:04:20.000] Scheduled: /user/username/projects/myproject/src/tsconfig.jsonFailedLookupInvalidation -Info 183 [16:04:21.000] Elapsed:: *ms FileWatcher:: Triggered with /user/username/projects/myproject/package.json 0:: WatchInfo: /user/username/projects/myproject/package.json 2000 undefined Project: /user/username/projects/myproject/src/tsconfig.json WatchType: File location affecting resolution -Info 184 [16:04:22.000] Running: /user/username/projects/myproject/src/tsconfig.jsonFailedLookupInvalidation -Info 185 [16:04:23.000] Scheduled: /user/username/projects/myproject/src/tsconfig.json -Info 186 [16:04:24.000] Scheduled: *ensureProjectForOpenFiles* -Info 187 [16:04:25.000] Running: /user/username/projects/myproject/src/tsconfig.json -Info 188 [16:04:26.000] Starting updateGraphWorker: Project: /user/username/projects/myproject/src/tsconfig.json -Info 189 [16:04:27.000] File '/a/lib/package.json' does not exist according to earlier cached lookups. -Info 190 [16:04:28.000] File '/a/package.json' does not exist according to earlier cached lookups. -Info 191 [16:04:29.000] File '/package.json' does not exist according to earlier cached lookups. -Info 192 [16:04:30.000] File '/user/username/projects/myproject/src/package.json' does not exist according to earlier cached lookups. -Info 193 [16:04:31.000] Found 'package.json' at '/user/username/projects/myproject/package.json'. -Info 194 [16:04:32.000] 'package.json' does not have a 'typesVersions' field. -Info 195 [16:04:33.000] File '/user/username/projects/myproject/src/package.json' does not exist according to earlier cached lookups. -Info 196 [16:04:34.000] File '/user/username/projects/myproject/package.json' exists according to earlier cached lookups. -Info 197 [16:04:35.000] File '/a/lib/package.json' does not exist according to earlier cached lookups. -Info 198 [16:04:36.000] File '/a/package.json' does not exist according to earlier cached lookups. -Info 199 [16:04:37.000] File '/package.json' does not exist according to earlier cached lookups. -Info 200 [16:04:38.000] FileWatcher:: Close:: WatchInfo: /user/username/projects/package.json 2000 undefined Project: /user/username/projects/myproject/src/tsconfig.json WatchType: File location affecting resolution -Info 201 [16:04:39.000] Finishing updateGraphWorker: Project: /user/username/projects/myproject/src/tsconfig.json Version: 5 structureChanged: true structureIsReused:: SafeModules Elapsed:: *ms -Info 202 [16:04:40.000] Different program with same set of files -Info 203 [16:04:41.000] Running: *ensureProjectForOpenFiles* -Info 204 [16:04:42.000] Before ensureProjectForOpenFiles: -Info 205 [16:04:43.000] Project '/user/username/projects/myproject/src/tsconfig.json' (Configured) -Info 205 [16:04:44.000] Files (3) - -Info 205 [16:04:45.000] ----------------------------------------------- -Info 205 [16:04:46.000] Open files: -Info 205 [16:04:47.000] FileName: /user/username/projects/myproject/src/fileA.ts ProjectRootPath: undefined -Info 205 [16:04:48.000] Projects: /user/username/projects/myproject/src/tsconfig.json -Info 205 [16:04:49.000] After ensureProjectForOpenFiles: -Info 206 [16:04:50.000] Project '/user/username/projects/myproject/src/tsconfig.json' (Configured) -Info 206 [16:04:51.000] Files (3) - -Info 206 [16:04:52.000] ----------------------------------------------- -Info 206 [16:04:53.000] Open files: -Info 206 [16:04:54.000] FileName: /user/username/projects/myproject/src/fileA.ts ProjectRootPath: undefined -Info 206 [16:04:55.000] Projects: /user/username/projects/myproject/src/tsconfig.json -Info 206 [16:04:56.000] got projects updated in background, updating diagnostics for /user/username/projects/myproject/src/fileA.ts -Info 207 [16:04:57.000] event: - {"seq":0,"type":"event","event":"projectsUpdatedInBackground","body":{"openFiles":["/user/username/projects/myproject/src/fileA.ts"]}} -Info 208 [16:04:58.000] request: - { - "command": "geterr", - "arguments": { - "delay": 0, - "files": [ - "/user/username/projects/myproject/src/fileA.ts" - ] - }, - "seq": 4, - "type": "request" - } -//// [/user/username/projects/myproject/package.json] -{"name":"app","version":"1.0.0","type":"module"} - +Before running immediate callbacks and checking length (1) PolledWatches:: /user/username/projects/myproject/src/package.json: @@ -609,6 +2009,8 @@ PolledWatches:: {"pollingInterval":500} /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} +/user/username/projects/package.json: + {"pollingInterval":2000} FsWatches:: /user/username/projects/myproject/src/tsconfig.json: @@ -626,6 +2028,9 @@ FsWatchesRecursive:: /user/username/projects/myproject/src: {} +Info 252 [16:05:55.000] event: + {"seq":0,"type":"event","event":"semanticDiag","body":{"file":"/user/username/projects/myproject/src/fileA.ts","diagnostics":[{"start":{"line":1,"offset":21},"end":{"line":1,"offset":34},"text":"The current file is a CommonJS module whose imports will produce 'require' calls; however, the referenced file is an ECMAScript module and cannot be imported with 'require'. Consider writing a dynamic 'import(\"./fileB.mjs\")' call instead.\n To convert this file to an ECMAScript module, change its file extension to '.mts' or create a local package.json file with `{ \"type\": \"module\" }`.","code":1479,"category":"error"}]}} +Before running immediate callbacks and checking length (1) PolledWatches:: /user/username/projects/myproject/src/package.json: @@ -634,6 +2039,8 @@ PolledWatches:: {"pollingInterval":500} /user/username/projects/myproject/node_modules/@types: {"pollingInterval":500} +/user/username/projects/package.json: + {"pollingInterval":2000} FsWatches:: /user/username/projects/myproject/src/tsconfig.json: @@ -651,81 +2058,7 @@ FsWatchesRecursive:: /user/username/projects/myproject/src: {} -Info 209 [16:04:59.000] response: - { - "responseRequired": false - } -Info 210 [16:05:00.000] event: - {"seq":0,"type":"event","event":"syntaxDiag","body":{"file":"/user/username/projects/myproject/src/fileA.ts","diagnostics":[]}} -Info 211 [16:05:01.000] event: - {"seq":0,"type":"event","event":"semanticDiag","body":{"file":"/user/username/projects/myproject/src/fileA.ts","diagnostics":[]}} -Info 212 [16:05:02.000] event: - {"seq":0,"type":"event","event":"suggestionDiag","body":{"file":"/user/username/projects/myproject/src/fileA.ts","diagnostics":[]}} -Info 213 [16:05:03.000] event: - {"seq":0,"type":"event","event":"requestCompleted","body":{"request_seq":4}} -Info 214 [16:05:04.000] Delete package.json -Info 215 [16:05:06.000] FileWatcher:: Triggered with /user/username/projects/myproject/package.json 2:: WatchInfo: /user/username/projects/myproject/package.json 2000 undefined Project: /user/username/projects/myproject/src/tsconfig.json WatchType: File location affecting resolution -Info 216 [16:05:07.000] Scheduled: /user/username/projects/myproject/src/tsconfig.jsonFailedLookupInvalidation -Info 217 [16:05:08.000] Elapsed:: *ms FileWatcher:: Triggered with /user/username/projects/myproject/package.json 2:: WatchInfo: /user/username/projects/myproject/package.json 2000 undefined Project: /user/username/projects/myproject/src/tsconfig.json WatchType: File location affecting resolution -Info 218 [16:05:09.000] Running: /user/username/projects/myproject/src/tsconfig.jsonFailedLookupInvalidation -Info 219 [16:05:10.000] Scheduled: /user/username/projects/myproject/src/tsconfig.json -Info 220 [16:05:11.000] Scheduled: *ensureProjectForOpenFiles* -Info 221 [16:05:12.000] Running: /user/username/projects/myproject/src/tsconfig.json -Info 222 [16:05:13.000] Starting updateGraphWorker: Project: /user/username/projects/myproject/src/tsconfig.json -Info 223 [16:05:14.000] File '/a/lib/package.json' does not exist according to earlier cached lookups. -Info 224 [16:05:15.000] File '/a/package.json' does not exist according to earlier cached lookups. -Info 225 [16:05:16.000] File '/package.json' does not exist according to earlier cached lookups. -Info 226 [16:05:17.000] File '/user/username/projects/myproject/src/package.json' does not exist according to earlier cached lookups. -Info 227 [16:05:18.000] File '/user/username/projects/myproject/package.json' does not exist. -Info 228 [16:05:19.000] File '/user/username/projects/package.json' does not exist according to earlier cached lookups. -Info 229 [16:05:20.000] File '/user/username/package.json' does not exist according to earlier cached lookups. -Info 230 [16:05:21.000] File '/user/package.json' does not exist according to earlier cached lookups. -Info 231 [16:05:22.000] File '/package.json' does not exist according to earlier cached lookups. -Info 232 [16:05:23.000] File '/user/username/projects/myproject/src/package.json' does not exist according to earlier cached lookups. -Info 233 [16:05:24.000] File '/user/username/projects/myproject/package.json' does not exist according to earlier cached lookups. -Info 234 [16:05:25.000] File '/user/username/projects/package.json' does not exist according to earlier cached lookups. -Info 235 [16:05:26.000] File '/user/username/package.json' does not exist according to earlier cached lookups. -Info 236 [16:05:27.000] File '/user/package.json' does not exist according to earlier cached lookups. -Info 237 [16:05:28.000] File '/package.json' does not exist according to earlier cached lookups. -Info 238 [16:05:29.000] File '/a/lib/package.json' does not exist according to earlier cached lookups. -Info 239 [16:05:30.000] File '/a/package.json' does not exist according to earlier cached lookups. -Info 240 [16:05:31.000] File '/package.json' does not exist according to earlier cached lookups. -Info 241 [16:05:32.000] FileWatcher:: Added:: WatchInfo: /user/username/projects/package.json 2000 undefined Project: /user/username/projects/myproject/src/tsconfig.json WatchType: File location affecting resolution -Info 242 [16:05:33.000] Finishing updateGraphWorker: Project: /user/username/projects/myproject/src/tsconfig.json Version: 6 structureChanged: true structureIsReused:: SafeModules Elapsed:: *ms -Info 243 [16:05:34.000] Different program with same set of files -Info 244 [16:05:35.000] Running: *ensureProjectForOpenFiles* -Info 245 [16:05:36.000] Before ensureProjectForOpenFiles: -Info 246 [16:05:37.000] Project '/user/username/projects/myproject/src/tsconfig.json' (Configured) -Info 246 [16:05:38.000] Files (3) - -Info 246 [16:05:39.000] ----------------------------------------------- -Info 246 [16:05:40.000] Open files: -Info 246 [16:05:41.000] FileName: /user/username/projects/myproject/src/fileA.ts ProjectRootPath: undefined -Info 246 [16:05:42.000] Projects: /user/username/projects/myproject/src/tsconfig.json -Info 246 [16:05:43.000] After ensureProjectForOpenFiles: -Info 247 [16:05:44.000] Project '/user/username/projects/myproject/src/tsconfig.json' (Configured) -Info 247 [16:05:45.000] Files (3) - -Info 247 [16:05:46.000] ----------------------------------------------- -Info 247 [16:05:47.000] Open files: -Info 247 [16:05:48.000] FileName: /user/username/projects/myproject/src/fileA.ts ProjectRootPath: undefined -Info 247 [16:05:49.000] Projects: /user/username/projects/myproject/src/tsconfig.json -Info 247 [16:05:50.000] got projects updated in background, updating diagnostics for /user/username/projects/myproject/src/fileA.ts -Info 248 [16:05:51.000] event: - {"seq":0,"type":"event","event":"projectsUpdatedInBackground","body":{"openFiles":["/user/username/projects/myproject/src/fileA.ts"]}} -Info 249 [16:05:52.000] request: - { - "command": "geterr", - "arguments": { - "delay": 0, - "files": [ - "/user/username/projects/myproject/src/fileA.ts" - ] - }, - "seq": 5, - "type": "request" - } -//// [/user/username/projects/myproject/package.json] deleted +Before running immediate callbacks and checking length (1) PolledWatches:: /user/username/projects/myproject/src/package.json: @@ -753,6 +2086,11 @@ FsWatchesRecursive:: /user/username/projects/myproject/src: {} +Info 253 [16:05:56.000] event: + {"seq":0,"type":"event","event":"suggestionDiag","body":{"file":"/user/username/projects/myproject/src/fileA.ts","diagnostics":[]}} +Info 254 [16:05:57.000] event: + {"seq":0,"type":"event","event":"requestCompleted","body":{"request_seq":5}} +Before running immediate callbacks and checking length (1) PolledWatches:: /user/username/projects/myproject/src/package.json: @@ -779,16 +2117,3 @@ FsWatches:: FsWatchesRecursive:: /user/username/projects/myproject/src: {} - -Info 250 [16:05:53.000] response: - { - "responseRequired": false - } -Info 251 [16:05:54.000] event: - {"seq":0,"type":"event","event":"syntaxDiag","body":{"file":"/user/username/projects/myproject/src/fileA.ts","diagnostics":[]}} -Info 252 [16:05:55.000] event: - {"seq":0,"type":"event","event":"semanticDiag","body":{"file":"/user/username/projects/myproject/src/fileA.ts","diagnostics":[{"start":{"line":1,"offset":21},"end":{"line":1,"offset":34},"text":"The current file is a CommonJS module whose imports will produce 'require' calls; however, the referenced file is an ECMAScript module and cannot be imported with 'require'. Consider writing a dynamic 'import(\"./fileB.mjs\")' call instead.\n To convert this file to an ECMAScript module, change its file extension to '.mts' or create a local package.json file with `{ \"type\": \"module\" }`.","code":1479,"category":"error"}]}} -Info 253 [16:05:56.000] event: - {"seq":0,"type":"event","event":"suggestionDiag","body":{"file":"/user/username/projects/myproject/src/fileA.ts","diagnostics":[]}} -Info 254 [16:05:57.000] event: - {"seq":0,"type":"event","event":"requestCompleted","body":{"request_seq":5}} \ No newline at end of file diff --git a/tests/baselines/reference/tsserver/moduleSpecifierCache/invalidates-module-specifiers-when-changes-happen-in-contained-node_modules-directories.js b/tests/baselines/reference/tsserver/moduleSpecifierCache/invalidates-module-specifiers-when-changes-happen-in-contained-node_modules-directories.js index a3618d33da5cb..fb0606a739f92 100644 --- a/tests/baselines/reference/tsserver/moduleSpecifierCache/invalidates-module-specifiers-when-changes-happen-in-contained-node_modules-directories.js +++ b/tests/baselines/reference/tsserver/moduleSpecifierCache/invalidates-module-specifiers-when-changes-happen-in-contained-node_modules-directories.js @@ -8,6 +8,7 @@ Info 1 [16:00:28.000] request: "file": "/src/a.ts" } } +Before request //// [/src/a.ts] export const foo = 0; @@ -113,6 +114,7 @@ Info 29 [16:01:01.000] ----------------------------------------------- Info 29 [16:01:02.000] Open files: Info 29 [16:01:03.000] FileName: /src/a.ts ProjectRootPath: undefined Info 29 [16:01:04.000] Projects: /tsconfig.json +After request PolledWatches:: /a/lib/lib.d.ts: @@ -151,6 +153,7 @@ Info 30 [16:01:06.000] request: "file": "/src/b.ts" } } +Before request PolledWatches:: /a/lib/lib.d.ts: @@ -192,6 +195,7 @@ Info 34 [16:01:17.000] FileName: /src/a.ts ProjectRootPath: undefined Info 34 [16:01:18.000] Projects: /tsconfig.json Info 34 [16:01:19.000] FileName: /src/b.ts ProjectRootPath: undefined Info 34 [16:01:20.000] Projects: /tsconfig.json +After request PolledWatches:: /a/lib/lib.d.ts: @@ -228,6 +232,7 @@ Info 35 [16:01:22.000] request: "file": "/src/c.ts" } } +Before request PolledWatches:: /a/lib/lib.d.ts: @@ -269,6 +274,7 @@ Info 39 [16:01:35.000] FileName: /src/b.ts ProjectRootPath: undefined Info 39 [16:01:36.000] Projects: /tsconfig.json Info 39 [16:01:37.000] FileName: /src/c.ts ProjectRootPath: undefined Info 39 [16:01:38.000] Projects: /tsconfig.json +After request PolledWatches:: /a/lib/lib.d.ts: @@ -308,6 +314,7 @@ Info 40 [16:01:40.000] request: } } } +Before request PolledWatches:: /a/lib/lib.d.ts: @@ -331,6 +338,7 @@ FsWatchesRecursive:: Info 41 [16:01:41.000] response: {"seq":0,"type":"response","command":"configure","request_seq":0,"success":true,"performanceData":{"updateGraphDurationMs":*,"createAutoImportProviderProgramDurationMs":*}} +After request PolledWatches:: /a/lib/lib.d.ts: @@ -367,6 +375,7 @@ Info 43 [16:01:43.000] request: "offset": 3 } } +Before request PolledWatches:: /a/lib/lib.d.ts: @@ -399,6 +408,7 @@ Info 51 [16:01:51.000] collectAutoImports: response is incomplete Info 52 [16:01:52.000] collectAutoImports: * Info 53 [16:01:53.000] getCompletionData: Semantic work: * Info 54 [16:01:54.000] getCompletionsAtPosition: getCompletionEntriesFromSymbols: * +After request PolledWatches:: /a/lib/lib.d.ts: @@ -843,7 +853,7 @@ Info 55 [16:01:55.000] response: "source": "/src/a", "data": { "exportName": "foo", - "exportMapKey": "foo|90106|", + "exportMapKey": "foo|*|", "fileName": "/src/a.ts" } } @@ -862,6 +872,7 @@ Info 56 [16:01:56.000] request: "offset": 8 } } +Before request PolledWatches:: /a/lib/lib.d.ts: @@ -894,6 +905,7 @@ Info 64 [16:02:04.000] collectAutoImports: response is complete Info 65 [16:02:05.000] collectAutoImports: * Info 66 [16:02:06.000] getCompletionData: Semantic work: * Info 67 [16:02:07.000] getCompletionsAtPosition: getCompletionEntriesFromSymbols: * +After request PolledWatches:: /a/lib/lib.d.ts: @@ -1002,4 +1014,50 @@ Info 70 [16:02:13.000] Elapsed:: *ms DirectoryWatcher:: Triggered with /node_m Info 71 [16:02:16.000] DirectoryWatcher:: Triggered with /node_modules/.staging/mobx-12345678 :: WatchInfo: /node_modules 1 undefined WatchType: node_modules for closed script infos and package.jsons affecting module specifier cache Info 72 [16:02:17.000] Elapsed:: *ms DirectoryWatcher:: Triggered with /node_modules/.staging/mobx-12345678 :: WatchInfo: /node_modules 1 undefined WatchType: node_modules for closed script infos and package.jsons affecting module specifier cache Info 73 [16:02:20.000] DirectoryWatcher:: Triggered with /node_modules/.staging/mobx-12345678/package.json :: WatchInfo: /node_modules 1 undefined WatchType: node_modules for closed script infos and package.jsons affecting module specifier cache -Info 74 [16:02:21.000] Elapsed:: *ms DirectoryWatcher:: Triggered with /node_modules/.staging/mobx-12345678/package.json :: WatchInfo: /node_modules 1 undefined WatchType: node_modules for closed script infos and package.jsons affecting module specifier cache \ No newline at end of file +Info 74 [16:02:21.000] Elapsed:: *ms DirectoryWatcher:: Triggered with /node_modules/.staging/mobx-12345678/package.json :: WatchInfo: /node_modules 1 undefined WatchType: node_modules for closed script infos and package.jsons affecting module specifier cache +Before running timeout callbacks +//// [/node_modules/.staging/mobx-12345678/package.json] +{} + + +PolledWatches:: +/a/lib/lib.d.ts: + {"pollingInterval":500} + +FsWatches:: +/tsconfig.json: + {} +/src/ambient.d.ts: + {} +/src/b-link.ts: + {} +/package.json: + {} + +FsWatchesRecursive:: +/src: + {} +/node_modules: + {} + +After running timeout callbacks + +PolledWatches:: +/a/lib/lib.d.ts: + {"pollingInterval":500} + +FsWatches:: +/tsconfig.json: + {} +/src/ambient.d.ts: + {} +/src/b-link.ts: + {} +/package.json: + {} + +FsWatchesRecursive:: +/src: + {} +/node_modules: + {} diff --git a/tests/baselines/reference/tsserver/navTo/should-de-duplicate-symbols-when-searching-all-projects.js b/tests/baselines/reference/tsserver/navTo/should-de-duplicate-symbols-when-searching-all-projects.js index 008207b1fc271..42c69a1fbf31f 100644 --- a/tests/baselines/reference/tsserver/navTo/should-de-duplicate-symbols-when-searching-all-projects.js +++ b/tests/baselines/reference/tsserver/navTo/should-de-duplicate-symbols-when-searching-all-projects.js @@ -8,6 +8,7 @@ Info 1 [16:00:18.000] request: "file": "/a/index.ts" } } +Before request //// [/a/tsconfig.json] { "compilerOptions": { @@ -89,6 +90,7 @@ Info 24 [16:00:46.000] ----------------------------------------------- Info 24 [16:00:47.000] Open files: Info 24 [16:00:48.000] FileName: /a/index.ts ProjectRootPath: undefined Info 24 [16:00:49.000] Projects: /a/tsconfig.json +After request PolledWatches:: /a/lib/lib.d.ts: @@ -119,6 +121,7 @@ Info 25 [16:00:51.000] request: "searchValue": "abcdef" } } +Before request PolledWatches:: /a/lib/lib.d.ts: @@ -195,6 +198,7 @@ Info 45 [16:01:11.000] Files (2) Matched by default include pattern '**/*' Info 46 [16:01:12.000] ----------------------------------------------- +After request PolledWatches:: /a/lib/lib.d.ts: diff --git a/tests/baselines/reference/tsserver/navTo/should-de-duplicate-symbols.js b/tests/baselines/reference/tsserver/navTo/should-de-duplicate-symbols.js index 35e58791fcbb8..93024b7a64e1f 100644 --- a/tests/baselines/reference/tsserver/navTo/should-de-duplicate-symbols.js +++ b/tests/baselines/reference/tsserver/navTo/should-de-duplicate-symbols.js @@ -8,6 +8,7 @@ Info 1 [16:00:16.000] request: "file": "/a/index.ts" } } +Before request //// [/a/tsconfig.json] { "compilerOptions": { @@ -78,6 +79,7 @@ Info 20 [16:00:37.000] ----------------------------------------------- Info 20 [16:00:38.000] Open files: Info 20 [16:00:39.000] FileName: /a/index.ts ProjectRootPath: undefined Info 20 [16:00:40.000] Projects: /a/tsconfig.json +After request PolledWatches:: /a/lib/lib.d.ts: @@ -106,6 +108,7 @@ Info 21 [16:00:42.000] request: "file": "/b/index.ts" } } +Before request PolledWatches:: /a/lib/lib.d.ts: @@ -175,6 +178,7 @@ Info 40 [16:01:08.000] FileName: /a/index.ts ProjectRootPath: undefined Info 40 [16:01:09.000] Projects: /a/tsconfig.json,/b/tsconfig.json Info 40 [16:01:10.000] FileName: /b/index.ts ProjectRootPath: undefined Info 40 [16:01:11.000] Projects: /b/tsconfig.json +After request PolledWatches:: /a/lib/lib.d.ts: @@ -210,6 +214,7 @@ Info 41 [16:01:13.000] request: "file": "/a/index.ts" } } +Before request PolledWatches:: /a/lib/lib.d.ts: @@ -231,6 +236,7 @@ FsWatchesRecursive:: /b: {} +After request PolledWatches:: /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 ec1ccef9b9c2a..93ed55beb011a 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 @@ -8,6 +8,7 @@ Info 1 [16:00:20.000] request: "file": "/user/username/projects/myproject/file.ts" } } +Before request //// [/user/username/projects/myproject/file.ts] const x = 10; function foo() { @@ -72,6 +73,7 @@ Info 15 [16:00:36.000] ----------------------------------------------- Info 15 [16:00:37.000] Open files: Info 15 [16:00:38.000] FileName: /user/username/projects/myproject/file.ts ProjectRootPath: undefined Info 15 [16:00:39.000] Projects: /dev/null/inferredProject1* +After request PolledWatches:: /user/username/projects/myproject/tsconfig.json: @@ -103,6 +105,7 @@ Info 16 [16:00:41.000] request: "seq": 1, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/tsconfig.json: @@ -118,6 +121,7 @@ FsWatches:: FsWatchesRecursive:: +After request PolledWatches:: /user/username/projects/myproject/tsconfig.json: @@ -137,14 +141,110 @@ Info 17 [16:00:42.000] response: { "responseRequired": false } +Before checking timeout queue length (1) and running + +PolledWatches:: +/user/username/projects/myproject/tsconfig.json: + {"pollingInterval":2000} +/user/username/projects/myproject/jsconfig.json: + {"pollingInterval":2000} +/user/username/projects/myproject/node_modules/@types: + {"pollingInterval":500} + +FsWatches:: +/a/lib/lib.d.ts: + {} + +FsWatchesRecursive:: + Info 18 [16:00:43.000] event: {"seq":0,"type":"event","event":"syntaxDiag","body":{"file":"/user/username/projects/myproject/file.ts","diagnostics":[]}} +After checking timeout queue length (1) and running + +PolledWatches:: +/user/username/projects/myproject/tsconfig.json: + {"pollingInterval":2000} +/user/username/projects/myproject/jsconfig.json: + {"pollingInterval":2000} +/user/username/projects/myproject/node_modules/@types: + {"pollingInterval":500} + +FsWatches:: +/a/lib/lib.d.ts: + {} + +FsWatchesRecursive:: + +Before running immediate callbacks and checking length (1) + +PolledWatches:: +/user/username/projects/myproject/tsconfig.json: + {"pollingInterval":2000} +/user/username/projects/myproject/jsconfig.json: + {"pollingInterval":2000} +/user/username/projects/myproject/node_modules/@types: + {"pollingInterval":500} + +FsWatches:: +/a/lib/lib.d.ts: + {} + +FsWatchesRecursive:: + Info 19 [16:00:44.000] event: {"seq":0,"type":"event","event":"semanticDiag","body":{"file":"/user/username/projects/myproject/file.ts","diagnostics":[]}} +Before running immediate callbacks and checking length (1) + +PolledWatches:: +/user/username/projects/myproject/tsconfig.json: + {"pollingInterval":2000} +/user/username/projects/myproject/jsconfig.json: + {"pollingInterval":2000} +/user/username/projects/myproject/node_modules/@types: + {"pollingInterval":500} + +FsWatches:: +/a/lib/lib.d.ts: + {} + +FsWatchesRecursive:: + +Before running immediate callbacks and checking length (1) + +PolledWatches:: +/user/username/projects/myproject/tsconfig.json: + {"pollingInterval":2000} +/user/username/projects/myproject/jsconfig.json: + {"pollingInterval":2000} +/user/username/projects/myproject/node_modules/@types: + {"pollingInterval":500} + +FsWatches:: +/a/lib/lib.d.ts: + {} + +FsWatchesRecursive:: + Info 20 [16:00:45.000] event: {"seq":0,"type":"event","event":"suggestionDiag","body":{"file":"/user/username/projects/myproject/file.ts","diagnostics":[]}} Info 21 [16:00:46.000] event: {"seq":0,"type":"event","event":"requestCompleted","body":{"request_seq":1}} +Before running immediate callbacks and checking length (1) + +PolledWatches:: +/user/username/projects/myproject/tsconfig.json: + {"pollingInterval":2000} +/user/username/projects/myproject/jsconfig.json: + {"pollingInterval":2000} +/user/username/projects/myproject/node_modules/@types: + {"pollingInterval":500} + +FsWatches:: +/a/lib/lib.d.ts: + {} + +FsWatchesRecursive:: + Info 22 [16:00:47.000] request: { "command": "updateOpen", @@ -171,6 +271,7 @@ Info 22 [16:00:47.000] request: "seq": 2, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/tsconfig.json: @@ -186,6 +287,7 @@ FsWatches:: FsWatchesRecursive:: +After request PolledWatches:: /user/username/projects/myproject/tsconfig.json: @@ -218,6 +320,7 @@ Info 24 [16:00:49.000] request: "seq": 3, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/tsconfig.json: @@ -233,6 +336,7 @@ FsWatches:: FsWatchesRecursive:: +After request PolledWatches:: /user/username/projects/myproject/tsconfig.json: @@ -252,17 +356,113 @@ Info 25 [16:00:50.000] response: { "responseRequired": false } +Before checking timeout queue length (1) and running + +PolledWatches:: +/user/username/projects/myproject/tsconfig.json: + {"pollingInterval":2000} +/user/username/projects/myproject/jsconfig.json: + {"pollingInterval":2000} +/user/username/projects/myproject/node_modules/@types: + {"pollingInterval":500} + +FsWatches:: +/a/lib/lib.d.ts: + {} + +FsWatchesRecursive:: + Info 26 [16:00:51.000] Starting updateGraphWorker: Project: /dev/null/inferredProject1* Info 27 [16:00:52.000] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* Version: 2 structureChanged: false structureIsReused:: Completely Elapsed:: *ms Info 28 [16:00:53.000] Different program with same set of files Info 29 [16:00:54.000] event: {"seq":0,"type":"event","event":"syntaxDiag","body":{"file":"/user/username/projects/myproject/file.ts","diagnostics":[]}} +After checking timeout queue length (1) and running + +PolledWatches:: +/user/username/projects/myproject/tsconfig.json: + {"pollingInterval":2000} +/user/username/projects/myproject/jsconfig.json: + {"pollingInterval":2000} +/user/username/projects/myproject/node_modules/@types: + {"pollingInterval":500} + +FsWatches:: +/a/lib/lib.d.ts: + {} + +FsWatchesRecursive:: + +Before running immediate callbacks and checking length (1) + +PolledWatches:: +/user/username/projects/myproject/tsconfig.json: + {"pollingInterval":2000} +/user/username/projects/myproject/jsconfig.json: + {"pollingInterval":2000} +/user/username/projects/myproject/node_modules/@types: + {"pollingInterval":500} + +FsWatches:: +/a/lib/lib.d.ts: + {} + +FsWatchesRecursive:: + Info 30 [16:00:55.000] event: {"seq":0,"type":"event","event":"semanticDiag","body":{"file":"/user/username/projects/myproject/file.ts","diagnostics":[{"start":{"line":4,"offset":9},"end":{"line":4,"offset":10},"text":"Type 'number' is not assignable to type 'string'.","code":2322,"category":"error"}]}} +Before running immediate callbacks and checking length (1) + +PolledWatches:: +/user/username/projects/myproject/tsconfig.json: + {"pollingInterval":2000} +/user/username/projects/myproject/jsconfig.json: + {"pollingInterval":2000} +/user/username/projects/myproject/node_modules/@types: + {"pollingInterval":500} + +FsWatches:: +/a/lib/lib.d.ts: + {} + +FsWatchesRecursive:: + +Before running immediate callbacks and checking length (1) + +PolledWatches:: +/user/username/projects/myproject/tsconfig.json: + {"pollingInterval":2000} +/user/username/projects/myproject/jsconfig.json: + {"pollingInterval":2000} +/user/username/projects/myproject/node_modules/@types: + {"pollingInterval":500} + +FsWatches:: +/a/lib/lib.d.ts: + {} + +FsWatchesRecursive:: + Info 31 [16:00:56.000] event: {"seq":0,"type":"event","event":"suggestionDiag","body":{"file":"/user/username/projects/myproject/file.ts","diagnostics":[]}} Info 32 [16:00:57.000] event: {"seq":0,"type":"event","event":"requestCompleted","body":{"request_seq":3}} +Before running immediate callbacks and checking length (1) + +PolledWatches:: +/user/username/projects/myproject/tsconfig.json: + {"pollingInterval":2000} +/user/username/projects/myproject/jsconfig.json: + {"pollingInterval":2000} +/user/username/projects/myproject/node_modules/@types: + {"pollingInterval":500} + +FsWatches:: +/a/lib/lib.d.ts: + {} + +FsWatchesRecursive:: + Info 33 [16:00:58.000] request: { "command": "updateOpen", @@ -289,6 +489,7 @@ Info 33 [16:00:58.000] request: "seq": 4, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/tsconfig.json: @@ -304,6 +505,7 @@ FsWatches:: FsWatchesRecursive:: +After request PolledWatches:: /user/username/projects/myproject/tsconfig.json: @@ -336,6 +538,7 @@ Info 35 [16:01:00.000] request: "seq": 5, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/tsconfig.json: @@ -351,6 +554,7 @@ FsWatches:: FsWatchesRecursive:: +After request PolledWatches:: /user/username/projects/myproject/tsconfig.json: @@ -370,14 +574,109 @@ Info 36 [16:01:01.000] response: { "responseRequired": false } +Before checking timeout queue length (1) and running + +PolledWatches:: +/user/username/projects/myproject/tsconfig.json: + {"pollingInterval":2000} +/user/username/projects/myproject/jsconfig.json: + {"pollingInterval":2000} +/user/username/projects/myproject/node_modules/@types: + {"pollingInterval":500} + +FsWatches:: +/a/lib/lib.d.ts: + {} + +FsWatchesRecursive:: + Info 37 [16:01:02.000] Starting updateGraphWorker: Project: /dev/null/inferredProject1* Info 38 [16:01:03.000] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* Version: 3 structureChanged: false structureIsReused:: Completely Elapsed:: *ms Info 39 [16:01:04.000] Different program with same set of files Info 40 [16:01:05.000] event: {"seq":0,"type":"event","event":"syntaxDiag","body":{"file":"/user/username/projects/myproject/file.ts","diagnostics":[]}} +After checking timeout queue length (1) and running + +PolledWatches:: +/user/username/projects/myproject/tsconfig.json: + {"pollingInterval":2000} +/user/username/projects/myproject/jsconfig.json: + {"pollingInterval":2000} +/user/username/projects/myproject/node_modules/@types: + {"pollingInterval":500} + +FsWatches:: +/a/lib/lib.d.ts: + {} + +FsWatchesRecursive:: + +Before running immediate callbacks and checking length (1) + +PolledWatches:: +/user/username/projects/myproject/tsconfig.json: + {"pollingInterval":2000} +/user/username/projects/myproject/jsconfig.json: + {"pollingInterval":2000} +/user/username/projects/myproject/node_modules/@types: + {"pollingInterval":500} + +FsWatches:: +/a/lib/lib.d.ts: + {} + +FsWatchesRecursive:: + Info 41 [16:01:06.000] event: {"seq":0,"type":"event","event":"semanticDiag","body":{"file":"/user/username/projects/myproject/file.ts","diagnostics":[]}} +Before running immediate callbacks and checking length (1) + +PolledWatches:: +/user/username/projects/myproject/tsconfig.json: + {"pollingInterval":2000} +/user/username/projects/myproject/jsconfig.json: + {"pollingInterval":2000} +/user/username/projects/myproject/node_modules/@types: + {"pollingInterval":500} + +FsWatches:: +/a/lib/lib.d.ts: + {} + +FsWatchesRecursive:: + +Before running immediate callbacks and checking length (1) + +PolledWatches:: +/user/username/projects/myproject/tsconfig.json: + {"pollingInterval":2000} +/user/username/projects/myproject/jsconfig.json: + {"pollingInterval":2000} +/user/username/projects/myproject/node_modules/@types: + {"pollingInterval":500} + +FsWatches:: +/a/lib/lib.d.ts: + {} + +FsWatchesRecursive:: + Info 42 [16:01:07.000] event: {"seq":0,"type":"event","event":"suggestionDiag","body":{"file":"/user/username/projects/myproject/file.ts","diagnostics":[]}} Info 43 [16:01:08.000] event: - {"seq":0,"type":"event","event":"requestCompleted","body":{"request_seq":5}} \ No newline at end of file + {"seq":0,"type":"event","event":"requestCompleted","body":{"request_seq":5}} +Before running immediate callbacks and checking length (1) + +PolledWatches:: +/user/username/projects/myproject/tsconfig.json: + {"pollingInterval":2000} +/user/username/projects/myproject/jsconfig.json: + {"pollingInterval":2000} +/user/username/projects/myproject/node_modules/@types: + {"pollingInterval":500} + +FsWatches:: +/a/lib/lib.d.ts: + {} + +FsWatchesRecursive:: diff --git a/tests/baselines/reference/tsserver/partialSemanticServer/files-are-added-to-inferred-project.js b/tests/baselines/reference/tsserver/partialSemanticServer/files-are-added-to-inferred-project.js index 9ec179873df21..f080631d5ec58 100644 --- a/tests/baselines/reference/tsserver/partialSemanticServer/files-are-added-to-inferred-project.js +++ b/tests/baselines/reference/tsserver/partialSemanticServer/files-are-added-to-inferred-project.js @@ -8,6 +8,7 @@ Info 1 [16:00:32.000] request: "file": "/user/username/projects/myproject/a.ts" } } +Before request //// [/user/username/projects/myproject/a.ts] import { y, cc } from "./b"; import { something } from "something"; @@ -69,6 +70,7 @@ Info 8 [16:00:41.000] ----------------------------------------------- Info 8 [16:00:42.000] Open files: Info 8 [16:00:43.000] FileName: /user/username/projects/myproject/a.ts ProjectRootPath: undefined Info 8 [16:00:44.000] Projects: /dev/null/inferredProject1* +After request PolledWatches:: @@ -91,6 +93,7 @@ Info 9 [16:00:46.000] request: "seq": 1, "type": "request" } +Before request PolledWatches:: @@ -104,6 +107,7 @@ Info 12 [16:00:49.000] getCompletionData: Get previous token: * Info 13 [16:00:50.000] getCompletionsAtPosition: isCompletionListBlocker: * Info 14 [16:00:51.000] getCompletionData: Semantic work: * Info 15 [16:00:52.000] getCompletionsAtPosition: getCompletionEntriesFromSymbols: * +After request PolledWatches:: @@ -138,6 +142,7 @@ Info 17 [16:00:54.000] request: "file": "/user/username/projects/myproject/b.ts" } } +Before request PolledWatches:: @@ -171,6 +176,7 @@ Info 23 [16:01:04.000] FileName: /user/username/projects/myproject/a.ts Proje Info 23 [16:01:05.000] Projects: /dev/null/inferredProject1* Info 23 [16:01:06.000] FileName: /user/username/projects/myproject/b.ts ProjectRootPath: undefined Info 23 [16:01:07.000] Projects: /dev/null/inferredProject1* +After request PolledWatches:: @@ -193,6 +199,7 @@ Info 24 [16:01:09.000] request: "seq": 2, "type": "request" } +Before request PolledWatches:: @@ -206,6 +213,7 @@ Info 27 [16:01:12.000] getCompletionData: Get previous token: * Info 28 [16:01:13.000] getCompletionsAtPosition: isCompletionListBlocker: * Info 29 [16:01:14.000] getCompletionData: Semantic work: * Info 30 [16:01:15.000] getCompletionsAtPosition: getCompletionEntriesFromSymbols: * +After request PolledWatches:: diff --git a/tests/baselines/reference/tsserver/partialSemanticServer/should-not-crash-when-external-module-name-resolution-is-reused.js b/tests/baselines/reference/tsserver/partialSemanticServer/should-not-crash-when-external-module-name-resolution-is-reused.js index 861d334ea9cc0..887a3b90623e4 100644 --- a/tests/baselines/reference/tsserver/partialSemanticServer/should-not-crash-when-external-module-name-resolution-is-reused.js +++ b/tests/baselines/reference/tsserver/partialSemanticServer/should-not-crash-when-external-module-name-resolution-is-reused.js @@ -8,6 +8,7 @@ Info 1 [16:00:32.000] request: "file": "/user/username/projects/myproject/a.ts" } } +Before request //// [/user/username/projects/myproject/a.ts] import { y, cc } from "./b"; import { something } from "something"; @@ -69,6 +70,7 @@ Info 8 [16:00:41.000] ----------------------------------------------- Info 8 [16:00:42.000] Open files: Info 8 [16:00:43.000] FileName: /user/username/projects/myproject/a.ts ProjectRootPath: undefined Info 8 [16:00:44.000] Projects: /dev/null/inferredProject1* +After request PolledWatches:: @@ -89,6 +91,7 @@ Info 9 [16:00:46.000] request: "file": "/user/username/projects/myproject/a.ts" } } +Before request PolledWatches:: @@ -101,6 +104,7 @@ Info 10 [16:00:48.000] Files (2) Info 10 [16:00:49.000] ----------------------------------------------- Info 10 [16:00:50.000] Open files: +After request PolledWatches:: @@ -121,6 +125,7 @@ Info 11 [16:00:52.000] request: "file": "/user/username/projects/myproject/c.ts" } } +Before request PolledWatches:: @@ -149,6 +154,7 @@ Info 17 [16:01:00.000] ----------------------------------------------- Info 17 [16:01:01.000] Open files: Info 17 [16:01:02.000] FileName: /user/username/projects/myproject/c.ts ProjectRootPath: undefined Info 17 [16:01:03.000] Projects: /dev/null/inferredProject1* +After request PolledWatches:: @@ -169,6 +175,7 @@ Info 18 [16:01:05.000] request: "file": "/user/username/projects/myproject/b.ts" } } +Before request PolledWatches:: @@ -202,6 +209,7 @@ Info 24 [16:01:15.000] FileName: /user/username/projects/myproject/c.ts Proje Info 24 [16:01:16.000] Projects: /dev/null/inferredProject1* Info 24 [16:01:17.000] FileName: /user/username/projects/myproject/b.ts ProjectRootPath: undefined Info 24 [16:01:18.000] Projects: /dev/null/inferredProject1* +After request PolledWatches:: diff --git a/tests/baselines/reference/tsserver/partialSemanticServer/should-not-include-auto-type-reference-directives.js b/tests/baselines/reference/tsserver/partialSemanticServer/should-not-include-auto-type-reference-directives.js index 3194880d4279d..95c0d4b0a57d2 100644 --- a/tests/baselines/reference/tsserver/partialSemanticServer/should-not-include-auto-type-reference-directives.js +++ b/tests/baselines/reference/tsserver/partialSemanticServer/should-not-include-auto-type-reference-directives.js @@ -8,6 +8,7 @@ Info 1 [16:00:40.000] request: "file": "/user/username/projects/myproject/a.ts" } } +Before request //// [/user/username/projects/myproject/a.ts] import { y, cc } from "./b"; import { something } from "something"; @@ -72,6 +73,7 @@ Info 8 [16:00:49.000] ----------------------------------------------- Info 8 [16:00:50.000] Open files: Info 8 [16:00:51.000] FileName: /user/username/projects/myproject/a.ts ProjectRootPath: undefined Info 8 [16:00:52.000] Projects: /dev/null/inferredProject1* +After request PolledWatches:: diff --git a/tests/baselines/reference/tsserver/partialSemanticServer/should-not-include-referenced-files-from-unopened-files.js b/tests/baselines/reference/tsserver/partialSemanticServer/should-not-include-referenced-files-from-unopened-files.js index 5e7a4f3ce97ea..1c8c37b32a36b 100644 --- a/tests/baselines/reference/tsserver/partialSemanticServer/should-not-include-referenced-files-from-unopened-files.js +++ b/tests/baselines/reference/tsserver/partialSemanticServer/should-not-include-referenced-files-from-unopened-files.js @@ -8,6 +8,7 @@ Info 1 [16:00:32.000] request: "file": "/user/username/projects/myproject/a.ts" } } +Before request //// [/user/username/projects/myproject/a.ts] /// /// @@ -69,6 +70,7 @@ Info 8 [16:00:41.000] ----------------------------------------------- Info 8 [16:00:42.000] Open files: Info 8 [16:00:43.000] FileName: /user/username/projects/myproject/a.ts ProjectRootPath: undefined Info 8 [16:00:44.000] Projects: /dev/null/inferredProject1* +After request PolledWatches:: diff --git a/tests/baselines/reference/tsserver/partialSemanticServer/should-support-go-to-definition-on-module-specifiers.js b/tests/baselines/reference/tsserver/partialSemanticServer/should-support-go-to-definition-on-module-specifiers.js index c99238b73908e..f552f23b1b907 100644 --- a/tests/baselines/reference/tsserver/partialSemanticServer/should-support-go-to-definition-on-module-specifiers.js +++ b/tests/baselines/reference/tsserver/partialSemanticServer/should-support-go-to-definition-on-module-specifiers.js @@ -8,6 +8,7 @@ Info 1 [16:00:32.000] request: "file": "/user/username/projects/myproject/a.ts" } } +Before request //// [/user/username/projects/myproject/a.ts] import { y, cc } from "./b"; import { something } from "something"; @@ -69,6 +70,7 @@ Info 8 [16:00:41.000] ----------------------------------------------- Info 8 [16:00:42.000] Open files: Info 8 [16:00:43.000] FileName: /user/username/projects/myproject/a.ts ProjectRootPath: undefined Info 8 [16:00:44.000] Projects: /dev/null/inferredProject1* +After request PolledWatches:: @@ -91,6 +93,7 @@ Info 9 [16:00:46.000] request: "seq": 1, "type": "request" } +Before request PolledWatches:: @@ -98,6 +101,7 @@ FsWatches:: FsWatchesRecursive:: +After request PolledWatches:: diff --git a/tests/baselines/reference/tsserver/partialSemanticServer/syntactic-diagnostics-are-returned-with-no-error.js b/tests/baselines/reference/tsserver/partialSemanticServer/syntactic-diagnostics-are-returned-with-no-error.js index 2eb1f0c6bb0bd..823a827614945 100644 --- a/tests/baselines/reference/tsserver/partialSemanticServer/syntactic-diagnostics-are-returned-with-no-error.js +++ b/tests/baselines/reference/tsserver/partialSemanticServer/syntactic-diagnostics-are-returned-with-no-error.js @@ -8,6 +8,7 @@ Info 1 [16:00:22.000] request: "file": "/user/username/projects/myproject/a.ts" } } +Before request //// [/user/username/projects/myproject/a.ts] if (a < (b + c) { } @@ -56,6 +57,7 @@ Info 8 [16:00:31.000] ----------------------------------------------- Info 8 [16:00:32.000] Open files: Info 8 [16:00:33.000] FileName: /user/username/projects/myproject/a.ts ProjectRootPath: undefined Info 8 [16:00:34.000] Projects: /dev/null/inferredProject1* +After request PolledWatches:: @@ -76,6 +78,7 @@ Info 9 [16:00:36.000] request: "file": "/user/username/projects/myproject/a.ts" } } +Before request PolledWatches:: @@ -83,6 +86,7 @@ FsWatches:: FsWatchesRecursive:: +After request PolledWatches:: @@ -139,6 +143,7 @@ Info 11 [16:00:38.000] request: "seq": 2, "type": "request" } +Before request PolledWatches:: @@ -146,6 +151,7 @@ FsWatches:: FsWatchesRecursive:: +After request PolledWatches:: @@ -157,5 +163,20 @@ Info 12 [16:00:39.000] response: { "responseRequired": false } +Before checking timeout queue length (1) and running + +PolledWatches:: + +FsWatches:: + +FsWatchesRecursive:: + Info 13 [16:00:40.000] Session does not support events: ignored event: {"seq":0,"type":"event","event":"syntaxDiag","body":{"file":"/user/username/projects/myproject/a.ts","diagnostics":[{"start":{"line":1,"offset":17},"end":{"line":1,"offset":18},"text":"')' expected.","code":1005,"category":"error","relatedInformation":[{"span":{"start":{"line":1,"offset":4},"end":{"line":1,"offset":5},"file":"/user/username/projects/myproject/a.ts"},"message":"The parser expected to find a ')' to match the '(' token here.","category":"error","code":1007}]}]}} -Info 14 [16:00:41.000] Session does not support events: ignored event: {"seq":0,"type":"event","event":"requestCompleted","body":{"request_seq":2}} \ No newline at end of file +Info 14 [16:00:41.000] Session does not support events: ignored event: {"seq":0,"type":"event","event":"requestCompleted","body":{"request_seq":2}} +After checking timeout queue length (1) and running + +PolledWatches:: + +FsWatches:: + +FsWatchesRecursive:: diff --git a/tests/baselines/reference/tsserver/partialSemanticServer/throws-unsupported-commands.js b/tests/baselines/reference/tsserver/partialSemanticServer/throws-unsupported-commands.js index 969cafa0f7f9c..537d69e40d2de 100644 --- a/tests/baselines/reference/tsserver/partialSemanticServer/throws-unsupported-commands.js +++ b/tests/baselines/reference/tsserver/partialSemanticServer/throws-unsupported-commands.js @@ -8,6 +8,7 @@ Info 1 [16:00:32.000] request: "file": "/user/username/projects/myproject/a.ts" } } +Before request //// [/user/username/projects/myproject/a.ts] import { y, cc } from "./b"; import { something } from "something"; @@ -69,6 +70,7 @@ Info 8 [16:00:41.000] ----------------------------------------------- Info 8 [16:00:42.000] Open files: Info 8 [16:00:43.000] FileName: /user/username/projects/myproject/a.ts ProjectRootPath: undefined Info 8 [16:00:44.000] Projects: /dev/null/inferredProject1* +After request PolledWatches:: @@ -89,6 +91,7 @@ Info 9 [16:00:46.000] request: "file": "/user/username/projects/myproject/a.ts" } } +Before request PolledWatches:: diff --git a/tests/baselines/reference/tsserver/projectErrors/configFileDiagnostic-events-are-generated-when-the-config-file-changes.js b/tests/baselines/reference/tsserver/projectErrors/configFileDiagnostic-events-are-generated-when-the-config-file-changes.js index c042b9563b13c..9891469245c44 100644 --- a/tests/baselines/reference/tsserver/projectErrors/configFileDiagnostic-events-are-generated-when-the-config-file-changes.js +++ b/tests/baselines/reference/tsserver/projectErrors/configFileDiagnostic-events-are-generated-when-the-config-file-changes.js @@ -8,6 +8,7 @@ Info 1 [16:00:16.000] request: "file": "/a/b/app.ts" } } +Before request //// [/a/b/app.ts] let x = 10 @@ -83,6 +84,7 @@ Info 22 [16:00:39.000] ----------------------------------------------- Info 22 [16:00:40.000] Open files: Info 22 [16:00:41.000] FileName: /a/b/app.ts ProjectRootPath: undefined Info 22 [16:00:42.000] Projects: /a/b/tsconfig.json +After request PolledWatches:: /a/b/node_modules/@types: @@ -106,6 +108,29 @@ Info 23 [16:00:47.000] FileWatcher:: Triggered with /a/b/tsconfig.json 1:: Wat Info 24 [16:00:48.000] Scheduled: /a/b/tsconfig.json Info 25 [16:00:49.000] Scheduled: *ensureProjectForOpenFiles* Info 26 [16:00:50.000] Elapsed:: *ms FileWatcher:: Triggered with /a/b/tsconfig.json 1:: WatchInfo: /a/b/tsconfig.json 2000 undefined Project: /a/b/tsconfig.json WatchType: Config file +Before running timeout callbacks +//// [/a/b/tsconfig.json] +{ + "compilerOptions": { + "haha": 123 + } + } + + +PolledWatches:: +/a/b/node_modules/@types: + {"pollingInterval":500} + +FsWatches:: +/a/b/tsconfig.json: + {} +/a/lib/lib.d.ts: + {} + +FsWatchesRecursive:: +/a/b: + {} + Info 27 [16:00:51.000] Running: /a/b/tsconfig.json Info 28 [16:00:52.000] Reloading configured project /a/b/tsconfig.json Info 29 [16:00:53.000] event: @@ -146,10 +171,47 @@ Info 40 [16:01:15.000] Projects: /a/b/tsconfig.json Info 40 [16:01:16.000] got projects updated in background, updating diagnostics for /a/b/app.ts Info 41 [16:01:17.000] event: {"seq":0,"type":"event","event":"projectsUpdatedInBackground","body":{"openFiles":["/a/b/app.ts"]}} +After running timeout callbacks + +PolledWatches:: +/a/b/node_modules/@types: + {"pollingInterval":500} + +FsWatches:: +/a/b/tsconfig.json: + {} +/a/lib/lib.d.ts: + {} + +FsWatchesRecursive:: +/a/b: + {} + Info 42 [16:01:21.000] FileWatcher:: Triggered with /a/b/tsconfig.json 1:: WatchInfo: /a/b/tsconfig.json 2000 undefined Project: /a/b/tsconfig.json WatchType: Config file Info 43 [16:01:22.000] Scheduled: /a/b/tsconfig.json Info 44 [16:01:23.000] Scheduled: *ensureProjectForOpenFiles* Info 45 [16:01:24.000] Elapsed:: *ms FileWatcher:: Triggered with /a/b/tsconfig.json 1:: WatchInfo: /a/b/tsconfig.json 2000 undefined Project: /a/b/tsconfig.json WatchType: Config file +Before running timeout callbacks +//// [/a/b/tsconfig.json] +{ + "compilerOptions": {} + } + + +PolledWatches:: +/a/b/node_modules/@types: + {"pollingInterval":500} + +FsWatches:: +/a/b/tsconfig.json: + {} +/a/lib/lib.d.ts: + {} + +FsWatchesRecursive:: +/a/b: + {} + Info 46 [16:01:25.000] Reloading configured project /a/b/tsconfig.json Info 47 [16:01:26.000] event: {"seq":0,"type":"event","event":"projectLoadingStart","body":{"projectName":"/a/b/tsconfig.json","reason":"Change in config file detected"}} @@ -191,4 +253,19 @@ Info 60 [16:01:49.000] FileName: /a/b/app.ts ProjectRootPath: undefined Info 60 [16:01:50.000] Projects: /a/b/tsconfig.json Info 60 [16:01:51.000] got projects updated in background, updating diagnostics for /a/b/app.ts Info 61 [16:01:52.000] event: - {"seq":0,"type":"event","event":"projectsUpdatedInBackground","body":{"openFiles":["/a/b/app.ts"]}} \ No newline at end of file + {"seq":0,"type":"event","event":"projectsUpdatedInBackground","body":{"openFiles":["/a/b/app.ts"]}} +After running timeout callbacks + +PolledWatches:: +/a/b/node_modules/@types: + {"pollingInterval":500} + +FsWatches:: +/a/b/tsconfig.json: + {} +/a/lib/lib.d.ts: + {} + +FsWatchesRecursive:: +/a/b: + {} diff --git a/tests/baselines/reference/tsserver/projectErrors/configFileDiagnostic-events-are-generated-when-the-config-file-doesnt-have-errors.js b/tests/baselines/reference/tsserver/projectErrors/configFileDiagnostic-events-are-generated-when-the-config-file-doesnt-have-errors.js index 3fbc0bd4d92f9..49f083282f6e8 100644 --- a/tests/baselines/reference/tsserver/projectErrors/configFileDiagnostic-events-are-generated-when-the-config-file-doesnt-have-errors.js +++ b/tests/baselines/reference/tsserver/projectErrors/configFileDiagnostic-events-are-generated-when-the-config-file-doesnt-have-errors.js @@ -8,6 +8,7 @@ Info 1 [16:00:16.000] request: "file": "/a/b/app.ts" } } +Before request //// [/a/b/app.ts] let x = 10 @@ -83,6 +84,7 @@ Info 22 [16:00:39.000] ----------------------------------------------- Info 22 [16:00:40.000] Open files: Info 22 [16:00:41.000] FileName: /a/b/app.ts ProjectRootPath: undefined Info 22 [16:00:42.000] Projects: /a/b/tsconfig.json +After request PolledWatches:: /a/b/node_modules/@types: diff --git a/tests/baselines/reference/tsserver/projectErrors/configFileDiagnostic-events-are-generated-when-the-config-file-has-errors.js b/tests/baselines/reference/tsserver/projectErrors/configFileDiagnostic-events-are-generated-when-the-config-file-has-errors.js index 7e5fa6aaeee4a..01cd2f900d1be 100644 --- a/tests/baselines/reference/tsserver/projectErrors/configFileDiagnostic-events-are-generated-when-the-config-file-has-errors.js +++ b/tests/baselines/reference/tsserver/projectErrors/configFileDiagnostic-events-are-generated-when-the-config-file-has-errors.js @@ -8,6 +8,7 @@ Info 1 [16:00:16.000] request: "file": "/a/b/app.ts" } } +Before request //// [/a/b/app.ts] let x = 10 @@ -86,6 +87,7 @@ Info 22 [16:00:39.000] ----------------------------------------------- Info 22 [16:00:40.000] Open files: Info 22 [16:00:41.000] FileName: /a/b/app.ts ProjectRootPath: undefined Info 22 [16:00:42.000] Projects: /a/b/tsconfig.json +After request PolledWatches:: /a/b/node_modules/@types: diff --git a/tests/baselines/reference/tsserver/projectErrors/configFileDiagnostic-events-are-not-generated-when-the-config-file-does-not-include-file-opened-and-config-file-has-errors.js b/tests/baselines/reference/tsserver/projectErrors/configFileDiagnostic-events-are-not-generated-when-the-config-file-does-not-include-file-opened-and-config-file-has-errors.js index 5841850ee1241..2f9753a9b68c9 100644 --- a/tests/baselines/reference/tsserver/projectErrors/configFileDiagnostic-events-are-not-generated-when-the-config-file-does-not-include-file-opened-and-config-file-has-errors.js +++ b/tests/baselines/reference/tsserver/projectErrors/configFileDiagnostic-events-are-not-generated-when-the-config-file-does-not-include-file-opened-and-config-file-has-errors.js @@ -8,6 +8,7 @@ Info 1 [16:00:16.000] request: "file": "/a/b/test.ts" } } +Before request //// [/a/b/app.ts] let x = 10 @@ -107,6 +108,7 @@ Info 29 [16:00:49.000] ----------------------------------------------- Info 29 [16:00:50.000] Open files: Info 29 [16:00:51.000] FileName: /a/b/test.ts ProjectRootPath: undefined Info 29 [16:00:52.000] Projects: /dev/null/inferredProject1* +After request PolledWatches:: /a/b/node_modules/@types: @@ -135,6 +137,7 @@ Info 30 [16:00:54.000] request: "file": "/a/b/app.ts" } } +Before request PolledWatches:: /a/b/node_modules/@types: @@ -166,6 +169,7 @@ Info 34 [16:01:05.000] FileName: /a/b/test.ts ProjectRootPath: undefined Info 34 [16:01:06.000] Projects: /dev/null/inferredProject1* Info 34 [16:01:07.000] FileName: /a/b/app.ts ProjectRootPath: undefined Info 34 [16:01:08.000] Projects: /a/b/tsconfig.json +After request PolledWatches:: /a/b/node_modules/@types: @@ -192,6 +196,7 @@ Info 35 [16:01:10.000] request: "file": "/a/b/test2.ts" } } +Before request PolledWatches:: /a/b/node_modules/@types: @@ -245,6 +250,7 @@ Info 47 [16:01:34.000] FileName: /a/b/app.ts ProjectRootPath: undefined Info 47 [16:01:35.000] Projects: /a/b/tsconfig.json Info 47 [16:01:36.000] FileName: /a/b/test2.ts ProjectRootPath: undefined Info 47 [16:01:37.000] Projects: /dev/null/inferredProject2* +After request PolledWatches:: /a/b/node_modules/@types: diff --git a/tests/baselines/reference/tsserver/projectErrors/configFileDiagnostic-events-are-not-generated-when-the-config-file-does-not-include-file-opened-and-doesnt-contain-any-errors.js b/tests/baselines/reference/tsserver/projectErrors/configFileDiagnostic-events-are-not-generated-when-the-config-file-does-not-include-file-opened-and-doesnt-contain-any-errors.js index cfbeaede8c2e3..699583aecd253 100644 --- a/tests/baselines/reference/tsserver/projectErrors/configFileDiagnostic-events-are-not-generated-when-the-config-file-does-not-include-file-opened-and-doesnt-contain-any-errors.js +++ b/tests/baselines/reference/tsserver/projectErrors/configFileDiagnostic-events-are-not-generated-when-the-config-file-does-not-include-file-opened-and-doesnt-contain-any-errors.js @@ -8,6 +8,7 @@ Info 1 [16:00:20.000] request: "file": "/a/b/test.ts" } } +Before request //// [/a/b/app.ts] let x = 10 @@ -109,6 +110,7 @@ Info 29 [16:00:53.000] ----------------------------------------------- Info 29 [16:00:54.000] Open files: Info 29 [16:00:55.000] FileName: /a/b/test.ts ProjectRootPath: undefined Info 29 [16:00:56.000] Projects: /dev/null/inferredProject1* +After request PolledWatches:: /a/b/node_modules/@types: @@ -137,6 +139,7 @@ Info 30 [16:00:58.000] request: "file": "/a/b/app.ts" } } +Before request PolledWatches:: /a/b/node_modules/@types: @@ -168,6 +171,7 @@ Info 34 [16:01:09.000] FileName: /a/b/test.ts ProjectRootPath: undefined Info 34 [16:01:10.000] Projects: /dev/null/inferredProject1* Info 34 [16:01:11.000] FileName: /a/b/app.ts ProjectRootPath: undefined Info 34 [16:01:12.000] Projects: /a/b/tsconfig.json +After request PolledWatches:: /a/b/node_modules/@types: @@ -194,6 +198,7 @@ Info 35 [16:01:14.000] request: "file": "/a/b/test2.ts" } } +Before request PolledWatches:: /a/b/node_modules/@types: @@ -247,6 +252,7 @@ Info 47 [16:01:38.000] FileName: /a/b/app.ts ProjectRootPath: undefined Info 47 [16:01:39.000] Projects: /a/b/tsconfig.json Info 47 [16:01:40.000] FileName: /a/b/test2.ts ProjectRootPath: undefined Info 47 [16:01:41.000] Projects: /dev/null/inferredProject2* +After request PolledWatches:: /a/b/node_modules/@types: diff --git a/tests/baselines/reference/tsserver/projectErrors/configFileDiagnostic-events-are-not-generated-when-the-config-file-has-errors-but-suppressDiagnosticEvents-is-true.js b/tests/baselines/reference/tsserver/projectErrors/configFileDiagnostic-events-are-not-generated-when-the-config-file-has-errors-but-suppressDiagnosticEvents-is-true.js index a3017e810671d..16cdaa64796a8 100644 --- a/tests/baselines/reference/tsserver/projectErrors/configFileDiagnostic-events-are-not-generated-when-the-config-file-has-errors-but-suppressDiagnosticEvents-is-true.js +++ b/tests/baselines/reference/tsserver/projectErrors/configFileDiagnostic-events-are-not-generated-when-the-config-file-has-errors-but-suppressDiagnosticEvents-is-true.js @@ -8,6 +8,7 @@ Info 1 [16:00:16.000] request: "file": "/a/b/app.ts" } } +Before request //// [/a/b/app.ts] let x = 10 @@ -84,6 +85,7 @@ Info 21 [16:00:38.000] ----------------------------------------------- Info 21 [16:00:39.000] Open files: Info 21 [16:00:40.000] FileName: /a/b/app.ts ProjectRootPath: undefined Info 21 [16:00:41.000] Projects: /a/b/tsconfig.json +After request PolledWatches:: /a/b/node_modules/@types: diff --git a/tests/baselines/reference/tsserver/projectErrors/configFileDiagnostic-events-contains-the-project-reference-errors.js b/tests/baselines/reference/tsserver/projectErrors/configFileDiagnostic-events-contains-the-project-reference-errors.js index d052857c356b2..8910fafaf532c 100644 --- a/tests/baselines/reference/tsserver/projectErrors/configFileDiagnostic-events-contains-the-project-reference-errors.js +++ b/tests/baselines/reference/tsserver/projectErrors/configFileDiagnostic-events-contains-the-project-reference-errors.js @@ -8,6 +8,7 @@ Info 1 [16:00:16.000] request: "file": "/a/b/app.ts" } } +Before request //// [/a/b/app.ts] let x = 10 @@ -97,6 +98,7 @@ Info 22 [16:00:39.000] ----------------------------------------------- Info 22 [16:00:40.000] Open files: Info 22 [16:00:41.000] FileName: /a/b/app.ts ProjectRootPath: undefined Info 22 [16:00:42.000] Projects: /a/b/tsconfig.json +After request PolledWatches:: /a/b/no-such-tsconfig.json: diff --git a/tests/baselines/reference/tsserver/projectErrors/correct-errors-when-resolution-resolves-to-file-that-has-same-ambient-module-and-is-also-module.js b/tests/baselines/reference/tsserver/projectErrors/correct-errors-when-resolution-resolves-to-file-that-has-same-ambient-module-and-is-also-module.js index d41c50fe7c695..1d652753a22a0 100644 --- a/tests/baselines/reference/tsserver/projectErrors/correct-errors-when-resolution-resolves-to-file-that-has-same-ambient-module-and-is-also-module.js +++ b/tests/baselines/reference/tsserver/projectErrors/correct-errors-when-resolution-resolves-to-file-that-has-same-ambient-module-and-is-also-module.js @@ -8,6 +8,7 @@ Info 1 [16:00:34.000] request: "file": "/users/username/projects/myproject/src/a.ts" } } +Before request //// [/a/lib/lib.d.ts] /// interface Boolean {} @@ -105,6 +106,7 @@ Info 26 [16:01:01.000] ----------------------------------------------- Info 26 [16:01:02.000] Open files: Info 26 [16:01:03.000] FileName: /users/username/projects/myproject/src/a.ts ProjectRootPath: undefined Info 26 [16:01:04.000] Projects: /users/username/projects/myproject/tsconfig.json +After request PolledWatches:: /users/username/projects/myproject/node_modules/@types: @@ -138,6 +140,7 @@ Info 27 [16:01:06.000] request: "seq": 1, "type": "request" } +Before request PolledWatches:: /users/username/projects/myproject/node_modules/@types: @@ -155,6 +158,7 @@ FsWatchesRecursive:: /users/username/projects/myproject/node_modules: {} +After request PolledWatches:: /users/username/projects/myproject/node_modules/@types: @@ -176,14 +180,122 @@ Info 28 [16:01:07.000] response: { "responseRequired": false } +Before checking timeout queue length (1) and running + +PolledWatches:: +/users/username/projects/myproject/node_modules/@types: + {"pollingInterval":500} + +FsWatches:: +/users/username/projects/myproject/tsconfig.json: + {} +/a/lib/lib.d.ts: + {} + +FsWatchesRecursive:: +/users/username/projects/myproject/src: + {} +/users/username/projects/myproject/node_modules: + {} + Info 29 [16:01:08.000] event: {"seq":0,"type":"event","event":"syntaxDiag","body":{"file":"/users/username/projects/myproject/src/a.ts","diagnostics":[]}} +After checking timeout queue length (1) and running + +PolledWatches:: +/users/username/projects/myproject/node_modules/@types: + {"pollingInterval":500} + +FsWatches:: +/users/username/projects/myproject/tsconfig.json: + {} +/a/lib/lib.d.ts: + {} + +FsWatchesRecursive:: +/users/username/projects/myproject/src: + {} +/users/username/projects/myproject/node_modules: + {} + +Before running immediate callbacks and checking length (1) + +PolledWatches:: +/users/username/projects/myproject/node_modules/@types: + {"pollingInterval":500} + +FsWatches:: +/users/username/projects/myproject/tsconfig.json: + {} +/a/lib/lib.d.ts: + {} + +FsWatchesRecursive:: +/users/username/projects/myproject/src: + {} +/users/username/projects/myproject/node_modules: + {} + Info 30 [16:01:09.000] event: {"seq":0,"type":"event","event":"semanticDiag","body":{"file":"/users/username/projects/myproject/src/a.ts","diagnostics":[]}} +Before running immediate callbacks and checking length (1) + +PolledWatches:: +/users/username/projects/myproject/node_modules/@types: + {"pollingInterval":500} + +FsWatches:: +/users/username/projects/myproject/tsconfig.json: + {} +/a/lib/lib.d.ts: + {} + +FsWatchesRecursive:: +/users/username/projects/myproject/src: + {} +/users/username/projects/myproject/node_modules: + {} + +Before running immediate callbacks and checking length (1) + +PolledWatches:: +/users/username/projects/myproject/node_modules/@types: + {"pollingInterval":500} + +FsWatches:: +/users/username/projects/myproject/tsconfig.json: + {} +/a/lib/lib.d.ts: + {} + +FsWatchesRecursive:: +/users/username/projects/myproject/src: + {} +/users/username/projects/myproject/node_modules: + {} + Info 31 [16:01:10.000] event: {"seq":0,"type":"event","event":"suggestionDiag","body":{"file":"/users/username/projects/myproject/src/a.ts","diagnostics":[{"start":{"line":1,"offset":1},"end":{"line":1,"offset":44},"text":"'myModule' is declared but its value is never read.","code":6133,"category":"suggestion","reportsUnnecessary":true},{"start":{"line":2,"offset":10},"end":{"line":2,"offset":13},"text":"'foo' is declared but its value is never read.","code":6133,"category":"suggestion","reportsUnnecessary":true}]}} Info 32 [16:01:11.000] event: {"seq":0,"type":"event","event":"requestCompleted","body":{"request_seq":1}} +Before running immediate callbacks and checking length (1) + +PolledWatches:: +/users/username/projects/myproject/node_modules/@types: + {"pollingInterval":500} + +FsWatches:: +/users/username/projects/myproject/tsconfig.json: + {} +/a/lib/lib.d.ts: + {} + +FsWatchesRecursive:: +/users/username/projects/myproject/src: + {} +/users/username/projects/myproject/node_modules: + {} + Info 33 [16:01:12.000] request: { "command": "change", @@ -198,6 +310,7 @@ Info 33 [16:01:12.000] request: "seq": 2, "type": "request" } +Before request PolledWatches:: /users/username/projects/myproject/node_modules/@types: @@ -215,6 +328,7 @@ FsWatchesRecursive:: /users/username/projects/myproject/node_modules: {} +After request PolledWatches:: /users/username/projects/myproject/node_modules/@types: @@ -248,6 +362,7 @@ Info 35 [16:01:14.000] request: "seq": 3, "type": "request" } +Before request PolledWatches:: /users/username/projects/myproject/node_modules/@types: @@ -265,6 +380,7 @@ FsWatchesRecursive:: /users/username/projects/myproject/node_modules: {} +After request PolledWatches:: /users/username/projects/myproject/node_modules/@types: @@ -286,14 +402,121 @@ Info 36 [16:01:15.000] response: { "responseRequired": false } +Before checking timeout queue length (1) and running + +PolledWatches:: +/users/username/projects/myproject/node_modules/@types: + {"pollingInterval":500} + +FsWatches:: +/users/username/projects/myproject/tsconfig.json: + {} +/a/lib/lib.d.ts: + {} + +FsWatchesRecursive:: +/users/username/projects/myproject/src: + {} +/users/username/projects/myproject/node_modules: + {} + Info 37 [16:01:16.000] Starting updateGraphWorker: Project: /users/username/projects/myproject/tsconfig.json Info 38 [16:01:17.000] Finishing updateGraphWorker: Project: /users/username/projects/myproject/tsconfig.json Version: 2 structureChanged: false structureIsReused:: Completely Elapsed:: *ms Info 39 [16:01:18.000] Different program with same set of files Info 40 [16:01:19.000] event: {"seq":0,"type":"event","event":"syntaxDiag","body":{"file":"/users/username/projects/myproject/src/a.ts","diagnostics":[]}} +After checking timeout queue length (1) and running + +PolledWatches:: +/users/username/projects/myproject/node_modules/@types: + {"pollingInterval":500} + +FsWatches:: +/users/username/projects/myproject/tsconfig.json: + {} +/a/lib/lib.d.ts: + {} + +FsWatchesRecursive:: +/users/username/projects/myproject/src: + {} +/users/username/projects/myproject/node_modules: + {} + +Before running immediate callbacks and checking length (1) + +PolledWatches:: +/users/username/projects/myproject/node_modules/@types: + {"pollingInterval":500} + +FsWatches:: +/users/username/projects/myproject/tsconfig.json: + {} +/a/lib/lib.d.ts: + {} + +FsWatchesRecursive:: +/users/username/projects/myproject/src: + {} +/users/username/projects/myproject/node_modules: + {} + Info 41 [16:01:20.000] event: {"seq":0,"type":"event","event":"semanticDiag","body":{"file":"/users/username/projects/myproject/src/a.ts","diagnostics":[]}} +Before running immediate callbacks and checking length (1) + +PolledWatches:: +/users/username/projects/myproject/node_modules/@types: + {"pollingInterval":500} + +FsWatches:: +/users/username/projects/myproject/tsconfig.json: + {} +/a/lib/lib.d.ts: + {} + +FsWatchesRecursive:: +/users/username/projects/myproject/src: + {} +/users/username/projects/myproject/node_modules: + {} + +Before running immediate callbacks and checking length (1) + +PolledWatches:: +/users/username/projects/myproject/node_modules/@types: + {"pollingInterval":500} + +FsWatches:: +/users/username/projects/myproject/tsconfig.json: + {} +/a/lib/lib.d.ts: + {} + +FsWatchesRecursive:: +/users/username/projects/myproject/src: + {} +/users/username/projects/myproject/node_modules: + {} + Info 42 [16:01:21.000] event: {"seq":0,"type":"event","event":"suggestionDiag","body":{"file":"/users/username/projects/myproject/src/a.ts","diagnostics":[{"start":{"line":1,"offset":1},"end":{"line":1,"offset":44},"text":"'myModule' is declared but its value is never read.","code":6133,"category":"suggestion","reportsUnnecessary":true},{"start":{"line":2,"offset":10},"end":{"line":2,"offset":13},"text":"'foo' is declared but its value is never read.","code":6133,"category":"suggestion","reportsUnnecessary":true}]}} Info 43 [16:01:22.000] event: - {"seq":0,"type":"event","event":"requestCompleted","body":{"request_seq":3}} \ No newline at end of file + {"seq":0,"type":"event","event":"requestCompleted","body":{"request_seq":3}} +Before running immediate callbacks and checking length (1) + +PolledWatches:: +/users/username/projects/myproject/node_modules/@types: + {"pollingInterval":500} + +FsWatches:: +/users/username/projects/myproject/tsconfig.json: + {} +/a/lib/lib.d.ts: + {} + +FsWatchesRecursive:: +/users/username/projects/myproject/src: + {} +/users/username/projects/myproject/node_modules: + {} diff --git a/tests/baselines/reference/tsserver/projectErrors/folder-rename-updates-project-structure-and-reports-no-errors.js b/tests/baselines/reference/tsserver/projectErrors/folder-rename-updates-project-structure-and-reports-no-errors.js index 2170ee39d916e..dd9978c354dbc 100644 --- a/tests/baselines/reference/tsserver/projectErrors/folder-rename-updates-project-structure-and-reports-no-errors.js +++ b/tests/baselines/reference/tsserver/projectErrors/folder-rename-updates-project-structure-and-reports-no-errors.js @@ -8,6 +8,7 @@ Info 1 [16:00:22.000] request: "seq": 1, "type": "request" } +Before request //// [/a/b/projects/myproject/bar/app.ts] class Bar implements foo.Foo { getFoo() { return ''; } get2() { return 1; } } @@ -74,6 +75,7 @@ Info 23 [16:00:46.000] ----------------------------------------------- Info 23 [16:00:47.000] Open files: Info 23 [16:00:48.000] FileName: /a/b/projects/myproject/bar/app.ts ProjectRootPath: undefined Info 23 [16:00:49.000] Projects: /a/b/projects/myproject/tsconfig.json +After request PolledWatches:: /a/lib/lib.d.ts: @@ -107,6 +109,7 @@ Info 24 [16:00:51.000] request: "seq": 2, "type": "request" } +Before request PolledWatches:: /a/lib/lib.d.ts: @@ -124,6 +127,7 @@ FsWatchesRecursive:: /a/b/projects/myproject: {} +After request PolledWatches:: /a/lib/lib.d.ts: @@ -145,14 +149,122 @@ Info 25 [16:00:52.000] response: { "responseRequired": false } +Before checking timeout queue length (1) and running + +PolledWatches:: +/a/lib/lib.d.ts: + {"pollingInterval":500} +/a/b/projects/myproject/node_modules/@types: + {"pollingInterval":500} + +FsWatches:: +/a/b/projects/myproject/tsconfig.json: + {} +/a/b/projects/myproject/foo/foo.ts: + {} + +FsWatchesRecursive:: +/a/b/projects/myproject: + {} + Info 26 [16:00:53.000] event: {"seq":0,"type":"event","event":"syntaxDiag","body":{"file":"/a/b/projects/myproject/bar/app.ts","diagnostics":[]}} +After checking timeout queue length (1) and running + +PolledWatches:: +/a/lib/lib.d.ts: + {"pollingInterval":500} +/a/b/projects/myproject/node_modules/@types: + {"pollingInterval":500} + +FsWatches:: +/a/b/projects/myproject/tsconfig.json: + {} +/a/b/projects/myproject/foo/foo.ts: + {} + +FsWatchesRecursive:: +/a/b/projects/myproject: + {} + +Before running immediate callbacks and checking length (1) + +PolledWatches:: +/a/lib/lib.d.ts: + {"pollingInterval":500} +/a/b/projects/myproject/node_modules/@types: + {"pollingInterval":500} + +FsWatches:: +/a/b/projects/myproject/tsconfig.json: + {} +/a/b/projects/myproject/foo/foo.ts: + {} + +FsWatchesRecursive:: +/a/b/projects/myproject: + {} + Info 27 [16:00:54.000] event: {"seq":0,"type":"event","event":"semanticDiag","body":{"file":"/a/b/projects/myproject/bar/app.ts","diagnostics":[]}} +Before running immediate callbacks and checking length (1) + +PolledWatches:: +/a/lib/lib.d.ts: + {"pollingInterval":500} +/a/b/projects/myproject/node_modules/@types: + {"pollingInterval":500} + +FsWatches:: +/a/b/projects/myproject/tsconfig.json: + {} +/a/b/projects/myproject/foo/foo.ts: + {} + +FsWatchesRecursive:: +/a/b/projects/myproject: + {} + +Before running immediate callbacks and checking length (1) + +PolledWatches:: +/a/lib/lib.d.ts: + {"pollingInterval":500} +/a/b/projects/myproject/node_modules/@types: + {"pollingInterval":500} + +FsWatches:: +/a/b/projects/myproject/tsconfig.json: + {} +/a/b/projects/myproject/foo/foo.ts: + {} + +FsWatchesRecursive:: +/a/b/projects/myproject: + {} + Info 28 [16:00:55.000] event: {"seq":0,"type":"event","event":"suggestionDiag","body":{"file":"/a/b/projects/myproject/bar/app.ts","diagnostics":[]}} Info 29 [16:00:56.000] event: {"seq":0,"type":"event","event":"requestCompleted","body":{"request_seq":2}} +Before running immediate callbacks and checking length (1) + +PolledWatches:: +/a/lib/lib.d.ts: + {"pollingInterval":500} +/a/b/projects/myproject/node_modules/@types: + {"pollingInterval":500} + +FsWatches:: +/a/b/projects/myproject/tsconfig.json: + {} +/a/b/projects/myproject/foo/foo.ts: + {} + +FsWatchesRecursive:: +/a/b/projects/myproject: + {} + Info 30 [16:00:58.000] DirectoryWatcher:: Triggered with /a/b/projects/myproject/foo :: WatchInfo: /a/b/projects/myproject 1 undefined Config: /a/b/projects/myproject/tsconfig.json WatchType: Wild card directory Info 31 [16:00:59.000] Scheduled: /a/b/projects/myproject/tsconfig.json Info 32 [16:01:00.000] Scheduled: *ensureProjectForOpenFiles* @@ -174,6 +286,26 @@ Info 47 [16:01:17.000] DirectoryWatcher:: Triggered with /a/b/projects/myproje Info 48 [16:01:18.000] Scheduled: /a/b/projects/myproject/tsconfig.json, Cancelled earlier one Info 49 [16:01:19.000] Scheduled: *ensureProjectForOpenFiles*, Cancelled earlier one Info 50 [16:01:20.000] Elapsed:: *ms DirectoryWatcher:: Triggered with /a/b/projects/myproject/foo2/foo.ts :: WatchInfo: /a/b/projects/myproject 1 undefined Config: /a/b/projects/myproject/tsconfig.json WatchType: Wild card directory +Before running timeout callbacks +//// [/a/b/projects/myproject/foo2/foo.ts] +declare namespace foo { interface Foo { get2(): number; getFoo(): string; } } + +//// [/a/b/projects/myproject/foo/foo.ts] deleted + +PolledWatches:: +/a/lib/lib.d.ts: + {"pollingInterval":500} +/a/b/projects/myproject/node_modules/@types: + {"pollingInterval":500} + +FsWatches:: +/a/b/projects/myproject/tsconfig.json: + {} + +FsWatchesRecursive:: +/a/b/projects/myproject: + {} + Info 51 [16:01:21.000] Running: /a/b/projects/myproject/tsconfig.json Info 52 [16:01:22.000] FileWatcher:: Added:: WatchInfo: /a/b/projects/myproject/foo2/foo.ts 500 undefined WatchType: Closed Script info Info 53 [16:01:23.000] Starting updateGraphWorker: Project: /a/b/projects/myproject/tsconfig.json @@ -210,8 +342,62 @@ Info 61 [16:01:42.000] Projects: /a/b/projects/myproject/tsconfig.json Info 61 [16:01:43.000] got projects updated in background, updating diagnostics for /a/b/projects/myproject/bar/app.ts Info 62 [16:01:44.000] event: {"seq":0,"type":"event","event":"projectsUpdatedInBackground","body":{"openFiles":["/a/b/projects/myproject/bar/app.ts"]}} +After running timeout callbacks + +PolledWatches:: +/a/lib/lib.d.ts: + {"pollingInterval":500} +/a/b/projects/myproject/node_modules/@types: + {"pollingInterval":500} + +FsWatches:: +/a/b/projects/myproject/tsconfig.json: + {} +/a/b/projects/myproject/foo2/foo.ts: + {} + +FsWatchesRecursive:: +/a/b/projects/myproject: + {} + +Before running timeout callbacks + +PolledWatches:: +/a/lib/lib.d.ts: + {"pollingInterval":500} +/a/b/projects/myproject/node_modules/@types: + {"pollingInterval":500} + +FsWatches:: +/a/b/projects/myproject/tsconfig.json: + {} +/a/b/projects/myproject/foo2/foo.ts: + {} + +FsWatchesRecursive:: +/a/b/projects/myproject: + {} + Info 63 [16:01:45.000] event: {"seq":0,"type":"event","event":"syntaxDiag","body":{"file":"/a/b/projects/myproject/bar/app.ts","diagnostics":[]}} +After running timeout callbacks + +PolledWatches:: +/a/lib/lib.d.ts: + {"pollingInterval":500} +/a/b/projects/myproject/node_modules/@types: + {"pollingInterval":500} + +FsWatches:: +/a/b/projects/myproject/tsconfig.json: + {} +/a/b/projects/myproject/foo2/foo.ts: + {} + +FsWatchesRecursive:: +/a/b/projects/myproject: + {} + Info 64 [16:01:46.000] request: { "command": "geterr", @@ -224,10 +410,7 @@ Info 64 [16:01:46.000] request: "seq": 3, "type": "request" } -//// [/a/b/projects/myproject/foo2/foo.ts] -declare namespace foo { interface Foo { get2(): number; getFoo(): string; } } - -//// [/a/b/projects/myproject/foo/foo.ts] deleted +Before request PolledWatches:: /a/lib/lib.d.ts: @@ -245,6 +428,7 @@ FsWatchesRecursive:: /a/b/projects/myproject: {} +After request PolledWatches:: /a/lib/lib.d.ts: @@ -266,11 +450,118 @@ Info 65 [16:01:47.000] response: { "responseRequired": false } +Before checking timeout queue length (1) and running + +PolledWatches:: +/a/lib/lib.d.ts: + {"pollingInterval":500} +/a/b/projects/myproject/node_modules/@types: + {"pollingInterval":500} + +FsWatches:: +/a/b/projects/myproject/tsconfig.json: + {} +/a/b/projects/myproject/foo2/foo.ts: + {} + +FsWatchesRecursive:: +/a/b/projects/myproject: + {} + Info 66 [16:01:48.000] event: {"seq":0,"type":"event","event":"syntaxDiag","body":{"file":"/a/b/projects/myproject/bar/app.ts","diagnostics":[]}} +After checking timeout queue length (1) and running + +PolledWatches:: +/a/lib/lib.d.ts: + {"pollingInterval":500} +/a/b/projects/myproject/node_modules/@types: + {"pollingInterval":500} + +FsWatches:: +/a/b/projects/myproject/tsconfig.json: + {} +/a/b/projects/myproject/foo2/foo.ts: + {} + +FsWatchesRecursive:: +/a/b/projects/myproject: + {} + +Before running immediate callbacks and checking length (1) + +PolledWatches:: +/a/lib/lib.d.ts: + {"pollingInterval":500} +/a/b/projects/myproject/node_modules/@types: + {"pollingInterval":500} + +FsWatches:: +/a/b/projects/myproject/tsconfig.json: + {} +/a/b/projects/myproject/foo2/foo.ts: + {} + +FsWatchesRecursive:: +/a/b/projects/myproject: + {} + Info 67 [16:01:49.000] event: {"seq":0,"type":"event","event":"semanticDiag","body":{"file":"/a/b/projects/myproject/bar/app.ts","diagnostics":[]}} +Before running immediate callbacks and checking length (1) + +PolledWatches:: +/a/lib/lib.d.ts: + {"pollingInterval":500} +/a/b/projects/myproject/node_modules/@types: + {"pollingInterval":500} + +FsWatches:: +/a/b/projects/myproject/tsconfig.json: + {} +/a/b/projects/myproject/foo2/foo.ts: + {} + +FsWatchesRecursive:: +/a/b/projects/myproject: + {} + +Before running immediate callbacks and checking length (1) + +PolledWatches:: +/a/lib/lib.d.ts: + {"pollingInterval":500} +/a/b/projects/myproject/node_modules/@types: + {"pollingInterval":500} + +FsWatches:: +/a/b/projects/myproject/tsconfig.json: + {} +/a/b/projects/myproject/foo2/foo.ts: + {} + +FsWatchesRecursive:: +/a/b/projects/myproject: + {} + Info 68 [16:01:50.000] event: {"seq":0,"type":"event","event":"suggestionDiag","body":{"file":"/a/b/projects/myproject/bar/app.ts","diagnostics":[]}} Info 69 [16:01:51.000] event: - {"seq":0,"type":"event","event":"requestCompleted","body":{"request_seq":3}} \ No newline at end of file + {"seq":0,"type":"event","event":"requestCompleted","body":{"request_seq":3}} +Before running immediate callbacks and checking length (1) + +PolledWatches:: +/a/lib/lib.d.ts: + {"pollingInterval":500} +/a/b/projects/myproject/node_modules/@types: + {"pollingInterval":500} + +FsWatches:: +/a/b/projects/myproject/tsconfig.json: + {} +/a/b/projects/myproject/foo2/foo.ts: + {} + +FsWatchesRecursive:: +/a/b/projects/myproject: + {} diff --git a/tests/baselines/reference/tsserver/projectErrors/getting-errors-before-opening-file.js b/tests/baselines/reference/tsserver/projectErrors/getting-errors-before-opening-file.js index 628f60e6469c4..c4c4a949c93d2 100644 --- a/tests/baselines/reference/tsserver/projectErrors/getting-errors-before-opening-file.js +++ b/tests/baselines/reference/tsserver/projectErrors/getting-errors-before-opening-file.js @@ -11,6 +11,7 @@ Info 1 [16:00:16.000] request: "seq": 1, "type": "request" } +Before request //// [/a/b/project/file.ts] let x: number = false; @@ -34,6 +35,7 @@ FsWatches:: FsWatchesRecursive:: +After request PolledWatches:: @@ -45,5 +47,20 @@ Info 2 [16:00:17.000] response: { "responseRequired": false } +Before checking timeout queue length (1) and running + +PolledWatches:: + +FsWatches:: + +FsWatchesRecursive:: + Info 3 [16:00:18.000] event: - {"seq":0,"type":"event","event":"requestCompleted","body":{"request_seq":1}} \ No newline at end of file + {"seq":0,"type":"event","event":"requestCompleted","body":{"request_seq":1}} +After checking timeout queue length (1) and running + +PolledWatches:: + +FsWatches:: + +FsWatchesRecursive:: diff --git a/tests/baselines/reference/tsserver/projectErrors/npm-install-when-timeout-occurs-after-installation.js b/tests/baselines/reference/tsserver/projectErrors/npm-install-when-timeout-occurs-after-installation.js index cd01e310e14dc..0d28486bee748 100644 --- a/tests/baselines/reference/tsserver/projectErrors/npm-install-when-timeout-occurs-after-installation.js +++ b/tests/baselines/reference/tsserver/projectErrors/npm-install-when-timeout-occurs-after-installation.js @@ -9,6 +9,7 @@ Info 1 [16:00:24.000] request: "projectRootPath": "/user/username/projects/myproject" } } +Before request //// [/user/username/projects/myproject/src/main.ts] import * as _a from '@angular/core'; @@ -86,6 +87,7 @@ Info 26 [16:00:51.000] ----------------------------------------------- Info 26 [16:00:52.000] Open files: Info 26 [16:00:53.000] FileName: /user/username/projects/myproject/src/main.ts ProjectRootPath: /user/username/projects/myproject Info 26 [16:00:54.000] Projects: /user/username/projects/myproject/tsconfig.json +After request PolledWatches:: /user/username/projects/myproject/node_modules: @@ -121,6 +123,7 @@ Info 27 [16:00:56.000] request: "seq": 1, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/node_modules: @@ -140,6 +143,7 @@ FsWatchesRecursive:: /user/username/projects/myproject/src: {} +After request PolledWatches:: /user/username/projects/myproject/node_modules: @@ -163,14 +167,134 @@ Info 28 [16:00:57.000] response: { "responseRequired": false } +Before checking timeout queue length (1) and running + +PolledWatches:: +/user/username/projects/myproject/node_modules: + {"pollingInterval":500} +/user/username/projects/myproject/node_modules/@types: + {"pollingInterval":500} + +FsWatches:: +/user/username/projects/myproject/tsconfig.json: + {} +/a/lib/lib.d.ts: + {} + +FsWatchesRecursive:: +/user/username/projects/myproject: + {} +/user/username/projects/myproject/src: + {} + Info 29 [16:00:58.000] event: {"seq":0,"type":"event","event":"syntaxDiag","body":{"file":"/user/username/projects/myproject/src/main.ts","diagnostics":[]}} +After checking timeout queue length (1) and running + +PolledWatches:: +/user/username/projects/myproject/node_modules: + {"pollingInterval":500} +/user/username/projects/myproject/node_modules/@types: + {"pollingInterval":500} + +FsWatches:: +/user/username/projects/myproject/tsconfig.json: + {} +/a/lib/lib.d.ts: + {} + +FsWatchesRecursive:: +/user/username/projects/myproject: + {} +/user/username/projects/myproject/src: + {} + +Before running immediate callbacks and checking length (1) + +PolledWatches:: +/user/username/projects/myproject/node_modules: + {"pollingInterval":500} +/user/username/projects/myproject/node_modules/@types: + {"pollingInterval":500} + +FsWatches:: +/user/username/projects/myproject/tsconfig.json: + {} +/a/lib/lib.d.ts: + {} + +FsWatchesRecursive:: +/user/username/projects/myproject: + {} +/user/username/projects/myproject/src: + {} + Info 30 [16:00:59.000] event: {"seq":0,"type":"event","event":"semanticDiag","body":{"file":"/user/username/projects/myproject/src/main.ts","diagnostics":[{"start":{"line":1,"offset":21},"end":{"line":1,"offset":36},"text":"Cannot find module '@angular/core' or its corresponding type declarations.","code":2307,"category":"error"}]}} +Before running immediate callbacks and checking length (1) + +PolledWatches:: +/user/username/projects/myproject/node_modules: + {"pollingInterval":500} +/user/username/projects/myproject/node_modules/@types: + {"pollingInterval":500} + +FsWatches:: +/user/username/projects/myproject/tsconfig.json: + {} +/a/lib/lib.d.ts: + {} + +FsWatchesRecursive:: +/user/username/projects/myproject: + {} +/user/username/projects/myproject/src: + {} + +Before running immediate callbacks and checking length (1) + +PolledWatches:: +/user/username/projects/myproject/node_modules: + {"pollingInterval":500} +/user/username/projects/myproject/node_modules/@types: + {"pollingInterval":500} + +FsWatches:: +/user/username/projects/myproject/tsconfig.json: + {} +/a/lib/lib.d.ts: + {} + +FsWatchesRecursive:: +/user/username/projects/myproject: + {} +/user/username/projects/myproject/src: + {} + Info 31 [16:01:00.000] event: {"seq":0,"type":"event","event":"suggestionDiag","body":{"file":"/user/username/projects/myproject/src/main.ts","diagnostics":[]}} Info 32 [16:01:01.000] event: {"seq":0,"type":"event","event":"requestCompleted","body":{"request_seq":1}} +Before running immediate callbacks and checking length (1) + +PolledWatches:: +/user/username/projects/myproject/node_modules: + {"pollingInterval":500} +/user/username/projects/myproject/node_modules/@types: + {"pollingInterval":500} + +FsWatches:: +/user/username/projects/myproject/tsconfig.json: + {} +/a/lib/lib.d.ts: + {} + +FsWatchesRecursive:: +/user/username/projects/myproject: + {} +/user/username/projects/myproject/src: + {} + Info 33 [16:01:04.000] DirectoryWatcher:: Triggered with /user/username/projects/myproject/node_modules :: WatchInfo: /user/username/projects/myproject/node_modules 1 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Failed Lookup Locations Info 34 [16:01:05.000] Scheduled: /user/username/projects/myproject/tsconfig.jsonFailedLookupInvalidation Info 35 [16:01:06.000] Elapsed:: *ms DirectoryWatcher:: Triggered with /user/username/projects/myproject/node_modules :: WatchInfo: /user/username/projects/myproject/node_modules 1 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Failed Lookup Locations @@ -203,6 +327,26 @@ Info 61 [16:01:40.000] Elapsed:: *ms DirectoryWatcher:: Triggered with /user/u Info 62 [16:01:41.000] DirectoryWatcher:: Triggered with /user/username/projects/myproject/node_modules/.staging/core-js-db53158d :: WatchInfo: /user/username/projects/myproject 1 undefined Config: /user/username/projects/myproject/tsconfig.json WatchType: Wild card directory Info 63 [16:01:42.000] Project: /user/username/projects/myproject/tsconfig.json Detected ignored path: /user/username/projects/myproject/node_modules/.staging/core-js-db53158d Info 64 [16:01:43.000] Elapsed:: *ms DirectoryWatcher:: Triggered with /user/username/projects/myproject/node_modules/.staging/core-js-db53158d :: WatchInfo: /user/username/projects/myproject 1 undefined Config: /user/username/projects/myproject/tsconfig.json WatchType: Wild card directory +Checking timeout queue length: 3 + +PolledWatches:: +/user/username/projects/myproject/node_modules/@types: + {"pollingInterval":500} + +FsWatches:: +/user/username/projects/myproject/tsconfig.json: + {} +/a/lib/lib.d.ts: + {} + +FsWatchesRecursive:: +/user/username/projects/myproject: + {} +/user/username/projects/myproject/src: + {} +/user/username/projects/myproject/node_modules: + {} + Info 65 [16:01:44.000] request: { "command": "geterr", @@ -215,6 +359,7 @@ Info 65 [16:01:44.000] request: "seq": 2, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/node_modules/@types: @@ -234,6 +379,7 @@ FsWatchesRecursive:: /user/username/projects/myproject/node_modules: {} +After request PolledWatches:: /user/username/projects/myproject/node_modules/@types: @@ -257,27 +403,167 @@ Info 66 [16:01:45.000] response: { "responseRequired": false } +Checking timeout queue length: 4 + +PolledWatches:: +/user/username/projects/myproject/node_modules/@types: + {"pollingInterval":500} + +FsWatches:: +/user/username/projects/myproject/tsconfig.json: + {} +/a/lib/lib.d.ts: + {} + +FsWatchesRecursive:: +/user/username/projects/myproject: + {} +/user/username/projects/myproject/src: + {} +/user/username/projects/myproject/node_modules: + {} + +Before running timeout callback9 + +PolledWatches:: +/user/username/projects/myproject/node_modules/@types: + {"pollingInterval":500} + +FsWatches:: +/user/username/projects/myproject/tsconfig.json: + {} +/a/lib/lib.d.ts: + {} + +FsWatchesRecursive:: +/user/username/projects/myproject: + {} +/user/username/projects/myproject/src: + {} +/user/username/projects/myproject/node_modules: + {} + Info 67 [16:01:46.000] Scheduled: *ensureProjectForOpenFiles*, Cancelled earlier one Info 68 [16:01:47.000] Starting updateGraphWorker: Project: /user/username/projects/myproject/tsconfig.json Info 69 [16:01:48.000] Finishing updateGraphWorker: Project: /user/username/projects/myproject/tsconfig.json Version: 2 structureChanged: true structureIsReused:: SafeModules Elapsed:: *ms Info 70 [16:01:49.000] Different program with same set of files Info 71 [16:01:50.000] event: {"seq":0,"type":"event","event":"syntaxDiag","body":{"file":"/user/username/projects/myproject/src/main.ts","diagnostics":[]}} +After running timeout callback9 + +PolledWatches:: +/user/username/projects/myproject/node_modules/@types: + {"pollingInterval":500} + +FsWatches:: +/user/username/projects/myproject/tsconfig.json: + {} +/a/lib/lib.d.ts: + {} + +FsWatchesRecursive:: +/user/username/projects/myproject: + {} +/user/username/projects/myproject/src: + {} +/user/username/projects/myproject/node_modules: + {} + +Before running immediate callbacks and checking length (1) + +PolledWatches:: +/user/username/projects/myproject/node_modules/@types: + {"pollingInterval":500} + +FsWatches:: +/user/username/projects/myproject/tsconfig.json: + {} +/a/lib/lib.d.ts: + {} + +FsWatchesRecursive:: +/user/username/projects/myproject: + {} +/user/username/projects/myproject/src: + {} +/user/username/projects/myproject/node_modules: + {} + Info 72 [16:01:51.000] event: {"seq":0,"type":"event","event":"semanticDiag","body":{"file":"/user/username/projects/myproject/src/main.ts","diagnostics":[{"start":{"line":1,"offset":21},"end":{"line":1,"offset":36},"text":"Cannot find module '@angular/core' or its corresponding type declarations.","code":2307,"category":"error"}]}} +Before running immediate callbacks and checking length (1) + +PolledWatches:: +/user/username/projects/myproject/node_modules/@types: + {"pollingInterval":500} + +FsWatches:: +/user/username/projects/myproject/tsconfig.json: + {} +/a/lib/lib.d.ts: + {} + +FsWatchesRecursive:: +/user/username/projects/myproject: + {} +/user/username/projects/myproject/src: + {} +/user/username/projects/myproject/node_modules: + {} + +Before running immediate callbacks and checking length (1) + +PolledWatches:: +/user/username/projects/myproject/node_modules/@types: + {"pollingInterval":500} + +FsWatches:: +/user/username/projects/myproject/tsconfig.json: + {} +/a/lib/lib.d.ts: + {} + +FsWatchesRecursive:: +/user/username/projects/myproject: + {} +/user/username/projects/myproject/src: + {} +/user/username/projects/myproject/node_modules: + {} + Info 73 [16:01:52.000] event: {"seq":0,"type":"event","event":"suggestionDiag","body":{"file":"/user/username/projects/myproject/src/main.ts","diagnostics":[]}} Info 74 [16:01:53.000] event: {"seq":0,"type":"event","event":"requestCompleted","body":{"request_seq":2}} -Info 75 [16:01:56.000] DirectoryWatcher:: Triggered with /user/username/projects/myproject/node_modules/.staging/@angular :: WatchInfo: /user/username/projects/myproject/node_modules 1 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Failed Lookup Locations -Info 76 [16:01:57.000] Elapsed:: *ms DirectoryWatcher:: Triggered with /user/username/projects/myproject/node_modules/.staging/@angular :: WatchInfo: /user/username/projects/myproject/node_modules 1 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Failed Lookup Locations -Info 77 [16:01:58.000] DirectoryWatcher:: Triggered with /user/username/projects/myproject/node_modules/.staging/@angular :: WatchInfo: /user/username/projects/myproject 1 undefined Config: /user/username/projects/myproject/tsconfig.json WatchType: Wild card directory -Info 78 [16:01:59.000] Project: /user/username/projects/myproject/tsconfig.json Detected ignored path: /user/username/projects/myproject/node_modules/.staging/@angular -Info 79 [16:02:00.000] Elapsed:: *ms DirectoryWatcher:: Triggered with /user/username/projects/myproject/node_modules/.staging/@angular :: WatchInfo: /user/username/projects/myproject 1 undefined Config: /user/username/projects/myproject/tsconfig.json WatchType: Wild card directory -Info 80 [16:02:03.000] DirectoryWatcher:: Triggered with /user/username/projects/myproject/node_modules/.staging/@angular/platform-browser-dynamic-5efaaa1a :: WatchInfo: /user/username/projects/myproject/node_modules 1 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Failed Lookup Locations -Info 81 [16:02:04.000] Elapsed:: *ms DirectoryWatcher:: Triggered with /user/username/projects/myproject/node_modules/.staging/@angular/platform-browser-dynamic-5efaaa1a :: WatchInfo: /user/username/projects/myproject/node_modules 1 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Failed Lookup Locations -Info 82 [16:02:05.000] DirectoryWatcher:: Triggered with /user/username/projects/myproject/node_modules/.staging/@angular/platform-browser-dynamic-5efaaa1a :: WatchInfo: /user/username/projects/myproject 1 undefined Config: /user/username/projects/myproject/tsconfig.json WatchType: Wild card directory -Info 83 [16:02:06.000] Project: /user/username/projects/myproject/tsconfig.json Detected ignored path: /user/username/projects/myproject/node_modules/.staging/@angular/platform-browser-dynamic-5efaaa1a +Before running immediate callbacks and checking length (1) + +PolledWatches:: +/user/username/projects/myproject/node_modules/@types: + {"pollingInterval":500} + +FsWatches:: +/user/username/projects/myproject/tsconfig.json: + {} +/a/lib/lib.d.ts: + {} + +FsWatchesRecursive:: +/user/username/projects/myproject: + {} +/user/username/projects/myproject/src: + {} +/user/username/projects/myproject/node_modules: + {} + +Info 75 [16:01:56.000] DirectoryWatcher:: Triggered with /user/username/projects/myproject/node_modules/.staging/@angular :: WatchInfo: /user/username/projects/myproject/node_modules 1 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Failed Lookup Locations +Info 76 [16:01:57.000] Elapsed:: *ms DirectoryWatcher:: Triggered with /user/username/projects/myproject/node_modules/.staging/@angular :: WatchInfo: /user/username/projects/myproject/node_modules 1 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Failed Lookup Locations +Info 77 [16:01:58.000] DirectoryWatcher:: Triggered with /user/username/projects/myproject/node_modules/.staging/@angular :: WatchInfo: /user/username/projects/myproject 1 undefined Config: /user/username/projects/myproject/tsconfig.json WatchType: Wild card directory +Info 78 [16:01:59.000] Project: /user/username/projects/myproject/tsconfig.json Detected ignored path: /user/username/projects/myproject/node_modules/.staging/@angular +Info 79 [16:02:00.000] Elapsed:: *ms DirectoryWatcher:: Triggered with /user/username/projects/myproject/node_modules/.staging/@angular :: WatchInfo: /user/username/projects/myproject 1 undefined Config: /user/username/projects/myproject/tsconfig.json WatchType: Wild card directory +Info 80 [16:02:03.000] DirectoryWatcher:: Triggered with /user/username/projects/myproject/node_modules/.staging/@angular/platform-browser-dynamic-5efaaa1a :: WatchInfo: /user/username/projects/myproject/node_modules 1 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Failed Lookup Locations +Info 81 [16:02:04.000] Elapsed:: *ms DirectoryWatcher:: Triggered with /user/username/projects/myproject/node_modules/.staging/@angular/platform-browser-dynamic-5efaaa1a :: WatchInfo: /user/username/projects/myproject/node_modules 1 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Failed Lookup Locations +Info 82 [16:02:05.000] DirectoryWatcher:: Triggered with /user/username/projects/myproject/node_modules/.staging/@angular/platform-browser-dynamic-5efaaa1a :: WatchInfo: /user/username/projects/myproject 1 undefined Config: /user/username/projects/myproject/tsconfig.json WatchType: Wild card directory +Info 83 [16:02:06.000] Project: /user/username/projects/myproject/tsconfig.json Detected ignored path: /user/username/projects/myproject/node_modules/.staging/@angular/platform-browser-dynamic-5efaaa1a Info 84 [16:02:07.000] Elapsed:: *ms DirectoryWatcher:: Triggered with /user/username/projects/myproject/node_modules/.staging/@angular/platform-browser-dynamic-5efaaa1a :: WatchInfo: /user/username/projects/myproject 1 undefined Config: /user/username/projects/myproject/tsconfig.json WatchType: Wild card directory Info 85 [16:02:12.000] DirectoryWatcher:: Triggered with /user/username/projects/myproject/node_modules/.staging/@angular/cli-c1e44b05 :: WatchInfo: /user/username/projects/myproject/node_modules 1 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Failed Lookup Locations Info 86 [16:02:13.000] Elapsed:: *ms DirectoryWatcher:: Triggered with /user/username/projects/myproject/node_modules/.staging/@angular/cli-c1e44b05 :: WatchInfo: /user/username/projects/myproject/node_modules 1 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Failed Lookup Locations @@ -304,6 +590,32 @@ Info 106 [16:02:39.000] Elapsed:: *ms DirectoryWatcher:: Triggered with /user/u Info 107 [16:02:40.000] DirectoryWatcher:: Triggered with /user/username/projects/myproject/node_modules/.staging/@angular/core-0963aebf/index.d.ts :: WatchInfo: /user/username/projects/myproject 1 undefined Config: /user/username/projects/myproject/tsconfig.json WatchType: Wild card directory Info 108 [16:02:41.000] Project: /user/username/projects/myproject/tsconfig.json Detected ignored path: /user/username/projects/myproject/node_modules/.staging/@angular/core-0963aebf/index.d.ts Info 109 [16:02:42.000] Elapsed:: *ms DirectoryWatcher:: Triggered with /user/username/projects/myproject/node_modules/.staging/@angular/core-0963aebf/index.d.ts :: WatchInfo: /user/username/projects/myproject 1 undefined Config: /user/username/projects/myproject/tsconfig.json WatchType: Wild card directory +Checking timeout queue length: 2 +//// [/user/username/projects/myproject/node_modules/.staging/@angular/cli-c1e44b05/models/analytics.d.ts] +export const x = 10; + +//// [/user/username/projects/myproject/node_modules/.staging/@angular/core-0963aebf/index.d.ts] +export const y = 10; + + +PolledWatches:: +/user/username/projects/myproject/node_modules/@types: + {"pollingInterval":500} + +FsWatches:: +/user/username/projects/myproject/tsconfig.json: + {} +/a/lib/lib.d.ts: + {} + +FsWatchesRecursive:: +/user/username/projects/myproject: + {} +/user/username/projects/myproject/src: + {} +/user/username/projects/myproject/node_modules: + {} + Info 110 [16:02:43.000] request: { "command": "geterr", @@ -316,10 +628,200 @@ Info 110 [16:02:43.000] request: "seq": 3, "type": "request" } -//// [/user/username/projects/myproject/node_modules/.staging/@angular/cli-c1e44b05/models/analytics.d.ts] -export const x = 10; +Before request -//// [/user/username/projects/myproject/node_modules/.staging/@angular/core-0963aebf/index.d.ts] +PolledWatches:: +/user/username/projects/myproject/node_modules/@types: + {"pollingInterval":500} + +FsWatches:: +/user/username/projects/myproject/tsconfig.json: + {} +/a/lib/lib.d.ts: + {} + +FsWatchesRecursive:: +/user/username/projects/myproject: + {} +/user/username/projects/myproject/src: + {} +/user/username/projects/myproject/node_modules: + {} + +After request + +PolledWatches:: +/user/username/projects/myproject/node_modules/@types: + {"pollingInterval":500} + +FsWatches:: +/user/username/projects/myproject/tsconfig.json: + {} +/a/lib/lib.d.ts: + {} + +FsWatchesRecursive:: +/user/username/projects/myproject: + {} +/user/username/projects/myproject/src: + {} +/user/username/projects/myproject/node_modules: + {} + +Info 111 [16:02:44.000] response: + { + "responseRequired": false + } +Checking timeout queue length: 3 + +PolledWatches:: +/user/username/projects/myproject/node_modules/@types: + {"pollingInterval":500} + +FsWatches:: +/user/username/projects/myproject/tsconfig.json: + {} +/a/lib/lib.d.ts: + {} + +FsWatchesRecursive:: +/user/username/projects/myproject: + {} +/user/username/projects/myproject/src: + {} +/user/username/projects/myproject/node_modules: + {} + +Before running timeout callback11 + +PolledWatches:: +/user/username/projects/myproject/node_modules/@types: + {"pollingInterval":500} + +FsWatches:: +/user/username/projects/myproject/tsconfig.json: + {} +/a/lib/lib.d.ts: + {} + +FsWatchesRecursive:: +/user/username/projects/myproject: + {} +/user/username/projects/myproject/src: + {} +/user/username/projects/myproject/node_modules: + {} + +Info 112 [16:02:45.000] event: + {"seq":0,"type":"event","event":"syntaxDiag","body":{"file":"/user/username/projects/myproject/src/main.ts","diagnostics":[]}} +After running timeout callback11 + +PolledWatches:: +/user/username/projects/myproject/node_modules/@types: + {"pollingInterval":500} + +FsWatches:: +/user/username/projects/myproject/tsconfig.json: + {} +/a/lib/lib.d.ts: + {} + +FsWatchesRecursive:: +/user/username/projects/myproject: + {} +/user/username/projects/myproject/src: + {} +/user/username/projects/myproject/node_modules: + {} + +Before running immediate callbacks and checking length (1) + +PolledWatches:: +/user/username/projects/myproject/node_modules/@types: + {"pollingInterval":500} + +FsWatches:: +/user/username/projects/myproject/tsconfig.json: + {} +/a/lib/lib.d.ts: + {} + +FsWatchesRecursive:: +/user/username/projects/myproject: + {} +/user/username/projects/myproject/src: + {} +/user/username/projects/myproject/node_modules: + {} + +Info 113 [16:02:46.000] event: + {"seq":0,"type":"event","event":"semanticDiag","body":{"file":"/user/username/projects/myproject/src/main.ts","diagnostics":[{"start":{"line":1,"offset":21},"end":{"line":1,"offset":36},"text":"Cannot find module '@angular/core' or its corresponding type declarations.","code":2307,"category":"error"}]}} +Before running immediate callbacks and checking length (1) + +PolledWatches:: +/user/username/projects/myproject/node_modules/@types: + {"pollingInterval":500} + +FsWatches:: +/user/username/projects/myproject/tsconfig.json: + {} +/a/lib/lib.d.ts: + {} + +FsWatchesRecursive:: +/user/username/projects/myproject: + {} +/user/username/projects/myproject/src: + {} +/user/username/projects/myproject/node_modules: + {} + +Before running immediate callbacks and checking length (1) + +PolledWatches:: +/user/username/projects/myproject/node_modules/@types: + {"pollingInterval":500} + +FsWatches:: +/user/username/projects/myproject/tsconfig.json: + {} +/a/lib/lib.d.ts: + {} + +FsWatchesRecursive:: +/user/username/projects/myproject: + {} +/user/username/projects/myproject/src: + {} +/user/username/projects/myproject/node_modules: + {} + +Info 114 [16:02:47.000] event: + {"seq":0,"type":"event","event":"suggestionDiag","body":{"file":"/user/username/projects/myproject/src/main.ts","diagnostics":[]}} +Info 115 [16:02:48.000] event: + {"seq":0,"type":"event","event":"requestCompleted","body":{"request_seq":3}} +Before running immediate callbacks and checking length (1) + +PolledWatches:: +/user/username/projects/myproject/node_modules/@types: + {"pollingInterval":500} + +FsWatches:: +/user/username/projects/myproject/tsconfig.json: + {} +/a/lib/lib.d.ts: + {} + +FsWatchesRecursive:: +/user/username/projects/myproject: + {} +/user/username/projects/myproject/src: + {} +/user/username/projects/myproject/node_modules: + {} + +Checking timeout queue length: 2 +//// [/user/username/projects/myproject/node_modules/@angular/core/index.d.ts] export const y = 10; @@ -341,6 +843,125 @@ FsWatchesRecursive:: /user/username/projects/myproject/node_modules: {} +Info 116 [16:02:55.000] request: + { + "command": "geterr", + "arguments": { + "delay": 0, + "files": [ + "/user/username/projects/myproject/src/main.ts" + ] + }, + "seq": 4, + "type": "request" + } +Before request + +PolledWatches:: +/user/username/projects/myproject/node_modules/@types: + {"pollingInterval":500} + +FsWatches:: +/user/username/projects/myproject/tsconfig.json: + {} +/a/lib/lib.d.ts: + {} + +FsWatchesRecursive:: +/user/username/projects/myproject: + {} +/user/username/projects/myproject/src: + {} +/user/username/projects/myproject/node_modules: + {} + +After request + +PolledWatches:: +/user/username/projects/myproject/node_modules/@types: + {"pollingInterval":500} + +FsWatches:: +/user/username/projects/myproject/tsconfig.json: + {} +/a/lib/lib.d.ts: + {} + +FsWatchesRecursive:: +/user/username/projects/myproject: + {} +/user/username/projects/myproject/src: + {} +/user/username/projects/myproject/node_modules: + {} + +Info 117 [16:02:56.000] response: + { + "responseRequired": false + } +Checking timeout queue length: 3 + +PolledWatches:: +/user/username/projects/myproject/node_modules/@types: + {"pollingInterval":500} + +FsWatches:: +/user/username/projects/myproject/tsconfig.json: + {} +/a/lib/lib.d.ts: + {} + +FsWatchesRecursive:: +/user/username/projects/myproject: + {} +/user/username/projects/myproject/src: + {} +/user/username/projects/myproject/node_modules: + {} + +Before running timeout callback12 + +PolledWatches:: +/user/username/projects/myproject/node_modules/@types: + {"pollingInterval":500} + +FsWatches:: +/user/username/projects/myproject/tsconfig.json: + {} +/a/lib/lib.d.ts: + {} + +FsWatchesRecursive:: +/user/username/projects/myproject: + {} +/user/username/projects/myproject/src: + {} +/user/username/projects/myproject/node_modules: + {} + +Info 118 [16:02:57.000] event: + {"seq":0,"type":"event","event":"syntaxDiag","body":{"file":"/user/username/projects/myproject/src/main.ts","diagnostics":[]}} +After running timeout callback12 + +PolledWatches:: +/user/username/projects/myproject/node_modules/@types: + {"pollingInterval":500} + +FsWatches:: +/user/username/projects/myproject/tsconfig.json: + {} +/a/lib/lib.d.ts: + {} + +FsWatchesRecursive:: +/user/username/projects/myproject: + {} +/user/username/projects/myproject/src: + {} +/user/username/projects/myproject/node_modules: + {} + +Before running immediate callbacks and checking length (1) PolledWatches:: /user/username/projects/myproject/node_modules/@types: @@ -360,33 +981,9 @@ FsWatchesRecursive:: /user/username/projects/myproject/node_modules: {} -Info 111 [16:02:44.000] response: - { - "responseRequired": false - } -Info 112 [16:02:45.000] event: - {"seq":0,"type":"event","event":"syntaxDiag","body":{"file":"/user/username/projects/myproject/src/main.ts","diagnostics":[]}} -Info 113 [16:02:46.000] event: +Info 119 [16:02:58.000] event: {"seq":0,"type":"event","event":"semanticDiag","body":{"file":"/user/username/projects/myproject/src/main.ts","diagnostics":[{"start":{"line":1,"offset":21},"end":{"line":1,"offset":36},"text":"Cannot find module '@angular/core' or its corresponding type declarations.","code":2307,"category":"error"}]}} -Info 114 [16:02:47.000] event: - {"seq":0,"type":"event","event":"suggestionDiag","body":{"file":"/user/username/projects/myproject/src/main.ts","diagnostics":[]}} -Info 115 [16:02:48.000] event: - {"seq":0,"type":"event","event":"requestCompleted","body":{"request_seq":3}} -Info 116 [16:02:55.000] request: - { - "command": "geterr", - "arguments": { - "delay": 0, - "files": [ - "/user/username/projects/myproject/src/main.ts" - ] - }, - "seq": 4, - "type": "request" - } -//// [/user/username/projects/myproject/node_modules/@angular/core/index.d.ts] -export const y = 10; - +Before running immediate callbacks and checking length (1) PolledWatches:: /user/username/projects/myproject/node_modules/@types: @@ -406,6 +1003,7 @@ FsWatchesRecursive:: /user/username/projects/myproject/node_modules: {} +Before running immediate callbacks and checking length (1) PolledWatches:: /user/username/projects/myproject/node_modules/@types: @@ -425,18 +1023,30 @@ FsWatchesRecursive:: /user/username/projects/myproject/node_modules: {} -Info 117 [16:02:56.000] response: - { - "responseRequired": false - } -Info 118 [16:02:57.000] event: - {"seq":0,"type":"event","event":"syntaxDiag","body":{"file":"/user/username/projects/myproject/src/main.ts","diagnostics":[]}} -Info 119 [16:02:58.000] event: - {"seq":0,"type":"event","event":"semanticDiag","body":{"file":"/user/username/projects/myproject/src/main.ts","diagnostics":[{"start":{"line":1,"offset":21},"end":{"line":1,"offset":36},"text":"Cannot find module '@angular/core' or its corresponding type declarations.","code":2307,"category":"error"}]}} Info 120 [16:02:59.000] event: {"seq":0,"type":"event","event":"suggestionDiag","body":{"file":"/user/username/projects/myproject/src/main.ts","diagnostics":[]}} Info 121 [16:03:00.000] event: {"seq":0,"type":"event","event":"requestCompleted","body":{"request_seq":4}} +Before running immediate callbacks and checking length (1) + +PolledWatches:: +/user/username/projects/myproject/node_modules/@types: + {"pollingInterval":500} + +FsWatches:: +/user/username/projects/myproject/tsconfig.json: + {} +/a/lib/lib.d.ts: + {} + +FsWatchesRecursive:: +/user/username/projects/myproject: + {} +/user/username/projects/myproject/src: + {} +/user/username/projects/myproject/node_modules: + {} + Info 122 [16:03:02.000] DirectoryWatcher:: Triggered with /user/username/projects/myproject/node_modules/.staging/@angular/cli-c1e44b05/models/analytics.d.ts :: WatchInfo: /user/username/projects/myproject/node_modules 1 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Failed Lookup Locations Info 123 [16:03:03.000] Elapsed:: *ms DirectoryWatcher:: Triggered with /user/username/projects/myproject/node_modules/.staging/@angular/cli-c1e44b05/models/analytics.d.ts :: WatchInfo: /user/username/projects/myproject/node_modules 1 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Failed Lookup Locations Info 124 [16:03:04.000] DirectoryWatcher:: Triggered with /user/username/projects/myproject/node_modules/.staging/@angular/cli-c1e44b05/models/analytics.d.ts :: WatchInfo: /user/username/projects/myproject 1 undefined Config: /user/username/projects/myproject/tsconfig.json WatchType: Wild card directory @@ -494,9 +1104,71 @@ Info 175 [16:04:05.000] DirectoryWatcher:: Triggered with /user/username/projec Info 176 [16:04:06.000] Scheduled: /user/username/projects/myproject/tsconfig.json, Cancelled earlier one Info 177 [16:04:07.000] Scheduled: *ensureProjectForOpenFiles*, Cancelled earlier one Info 178 [16:04:08.000] Elapsed:: *ms DirectoryWatcher:: Triggered with /user/username/projects/myproject/node_modules/.staging :: WatchInfo: /user/username/projects/myproject 1 undefined Config: /user/username/projects/myproject/tsconfig.json WatchType: Wild card directory +Before checking timeout queue length (3) and running +//// [/user/username/projects/myproject/node_modules/.staging/@angular/cli-c1e44b05/models/analytics.d.ts] deleted +//// [/user/username/projects/myproject/node_modules/.staging/@angular/core-0963aebf/index.d.ts] deleted + +PolledWatches:: +/user/username/projects/myproject/node_modules/@types: + {"pollingInterval":500} + +FsWatches:: +/user/username/projects/myproject/tsconfig.json: + {} +/a/lib/lib.d.ts: + {} + +FsWatchesRecursive:: +/user/username/projects/myproject: + {} +/user/username/projects/myproject/src: + {} +/user/username/projects/myproject/node_modules: + {} + Info 179 [16:04:09.000] Running: /user/username/projects/myproject/tsconfig.jsonFailedLookupInvalidation Info 180 [16:04:10.000] Scheduled: /user/username/projects/myproject/tsconfig.json, Cancelled earlier one Info 181 [16:04:11.000] Scheduled: *ensureProjectForOpenFiles*, Cancelled earlier one +After checking timeout queue length (3) and running + +PolledWatches:: +/user/username/projects/myproject/node_modules/@types: + {"pollingInterval":500} + +FsWatches:: +/user/username/projects/myproject/tsconfig.json: + {} +/a/lib/lib.d.ts: + {} + +FsWatchesRecursive:: +/user/username/projects/myproject: + {} +/user/username/projects/myproject/src: + {} +/user/username/projects/myproject/node_modules: + {} + +Before checking timeout queue length (2) and running + +PolledWatches:: +/user/username/projects/myproject/node_modules/@types: + {"pollingInterval":500} + +FsWatches:: +/user/username/projects/myproject/tsconfig.json: + {} +/a/lib/lib.d.ts: + {} + +FsWatchesRecursive:: +/user/username/projects/myproject: + {} +/user/username/projects/myproject/src: + {} +/user/username/projects/myproject/node_modules: + {} + Info 182 [16:04:12.000] Running: /user/username/projects/myproject/tsconfig.json Info 183 [16:04:13.000] Starting updateGraphWorker: Project: /user/username/projects/myproject/tsconfig.json Info 184 [16:04:14.000] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules 1 undefined WatchType: node_modules for closed script infos and package.jsons affecting module specifier cache @@ -537,6 +1209,26 @@ Info 193 [16:04:34.000] Projects: /user/username/projects/myproject/tsconfig. Info 193 [16:04:35.000] got projects updated in background, updating diagnostics for /user/username/projects/myproject/src/main.ts Info 194 [16:04:36.000] event: {"seq":0,"type":"event","event":"projectsUpdatedInBackground","body":{"openFiles":["/user/username/projects/myproject/src/main.ts"]}} +After checking timeout queue length (2) and running + +PolledWatches:: +/user/username/projects/myproject/node_modules/@types: + {"pollingInterval":500} + +FsWatches:: +/user/username/projects/myproject/tsconfig.json: + {} +/a/lib/lib.d.ts: + {} + +FsWatchesRecursive:: +/user/username/projects/myproject: + {} +/user/username/projects/myproject/src: + {} +/user/username/projects/myproject/node_modules: + {} + Info 195 [16:04:37.000] request: { "command": "geterr", @@ -549,8 +1241,7 @@ Info 195 [16:04:37.000] request: "seq": 5, "type": "request" } -//// [/user/username/projects/myproject/node_modules/.staging/@angular/cli-c1e44b05/models/analytics.d.ts] deleted -//// [/user/username/projects/myproject/node_modules/.staging/@angular/core-0963aebf/index.d.ts] deleted +Before request PolledWatches:: /user/username/projects/myproject/node_modules/@types: @@ -570,6 +1261,7 @@ FsWatchesRecursive:: /user/username/projects/myproject/node_modules: {} +After request PolledWatches:: /user/username/projects/myproject/node_modules/@types: @@ -593,11 +1285,130 @@ Info 196 [16:04:38.000] response: { "responseRequired": false } +Before checking timeout queue length (1) and running + +PolledWatches:: +/user/username/projects/myproject/node_modules/@types: + {"pollingInterval":500} + +FsWatches:: +/user/username/projects/myproject/tsconfig.json: + {} +/a/lib/lib.d.ts: + {} + +FsWatchesRecursive:: +/user/username/projects/myproject: + {} +/user/username/projects/myproject/src: + {} +/user/username/projects/myproject/node_modules: + {} + Info 197 [16:04:39.000] event: {"seq":0,"type":"event","event":"syntaxDiag","body":{"file":"/user/username/projects/myproject/src/main.ts","diagnostics":[]}} +After checking timeout queue length (1) and running + +PolledWatches:: +/user/username/projects/myproject/node_modules/@types: + {"pollingInterval":500} + +FsWatches:: +/user/username/projects/myproject/tsconfig.json: + {} +/a/lib/lib.d.ts: + {} + +FsWatchesRecursive:: +/user/username/projects/myproject: + {} +/user/username/projects/myproject/src: + {} +/user/username/projects/myproject/node_modules: + {} + +Before running immediate callbacks and checking length (1) + +PolledWatches:: +/user/username/projects/myproject/node_modules/@types: + {"pollingInterval":500} + +FsWatches:: +/user/username/projects/myproject/tsconfig.json: + {} +/a/lib/lib.d.ts: + {} + +FsWatchesRecursive:: +/user/username/projects/myproject: + {} +/user/username/projects/myproject/src: + {} +/user/username/projects/myproject/node_modules: + {} + Info 198 [16:04:40.000] event: {"seq":0,"type":"event","event":"semanticDiag","body":{"file":"/user/username/projects/myproject/src/main.ts","diagnostics":[]}} +Before running immediate callbacks and checking length (1) + +PolledWatches:: +/user/username/projects/myproject/node_modules/@types: + {"pollingInterval":500} + +FsWatches:: +/user/username/projects/myproject/tsconfig.json: + {} +/a/lib/lib.d.ts: + {} + +FsWatchesRecursive:: +/user/username/projects/myproject: + {} +/user/username/projects/myproject/src: + {} +/user/username/projects/myproject/node_modules: + {} + +Before running immediate callbacks and checking length (1) + +PolledWatches:: +/user/username/projects/myproject/node_modules/@types: + {"pollingInterval":500} + +FsWatches:: +/user/username/projects/myproject/tsconfig.json: + {} +/a/lib/lib.d.ts: + {} + +FsWatchesRecursive:: +/user/username/projects/myproject: + {} +/user/username/projects/myproject/src: + {} +/user/username/projects/myproject/node_modules: + {} + Info 199 [16:04:41.000] event: {"seq":0,"type":"event","event":"suggestionDiag","body":{"file":"/user/username/projects/myproject/src/main.ts","diagnostics":[]}} Info 200 [16:04:42.000] event: - {"seq":0,"type":"event","event":"requestCompleted","body":{"request_seq":5}} \ No newline at end of file + {"seq":0,"type":"event","event":"requestCompleted","body":{"request_seq":5}} +Before running immediate callbacks and checking length (1) + +PolledWatches:: +/user/username/projects/myproject/node_modules/@types: + {"pollingInterval":500} + +FsWatches:: +/user/username/projects/myproject/tsconfig.json: + {} +/a/lib/lib.d.ts: + {} + +FsWatchesRecursive:: +/user/username/projects/myproject: + {} +/user/username/projects/myproject/src: + {} +/user/username/projects/myproject/node_modules: + {} diff --git a/tests/baselines/reference/tsserver/projectErrors/npm-install-when-timeout-occurs-inbetween-installation.js b/tests/baselines/reference/tsserver/projectErrors/npm-install-when-timeout-occurs-inbetween-installation.js index 167f2d130603a..2e25945bd1477 100644 --- a/tests/baselines/reference/tsserver/projectErrors/npm-install-when-timeout-occurs-inbetween-installation.js +++ b/tests/baselines/reference/tsserver/projectErrors/npm-install-when-timeout-occurs-inbetween-installation.js @@ -9,6 +9,7 @@ Info 1 [16:00:24.000] request: "projectRootPath": "/user/username/projects/myproject" } } +Before request //// [/user/username/projects/myproject/src/main.ts] import * as _a from '@angular/core'; @@ -86,6 +87,7 @@ Info 26 [16:00:51.000] ----------------------------------------------- Info 26 [16:00:52.000] Open files: Info 26 [16:00:53.000] FileName: /user/username/projects/myproject/src/main.ts ProjectRootPath: /user/username/projects/myproject Info 26 [16:00:54.000] Projects: /user/username/projects/myproject/tsconfig.json +After request PolledWatches:: /user/username/projects/myproject/node_modules: @@ -121,6 +123,7 @@ Info 27 [16:00:56.000] request: "seq": 1, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/node_modules: @@ -140,6 +143,7 @@ FsWatchesRecursive:: /user/username/projects/myproject/src: {} +After request PolledWatches:: /user/username/projects/myproject/node_modules: @@ -163,14 +167,134 @@ Info 28 [16:00:57.000] response: { "responseRequired": false } +Before checking timeout queue length (1) and running + +PolledWatches:: +/user/username/projects/myproject/node_modules: + {"pollingInterval":500} +/user/username/projects/myproject/node_modules/@types: + {"pollingInterval":500} + +FsWatches:: +/user/username/projects/myproject/tsconfig.json: + {} +/a/lib/lib.d.ts: + {} + +FsWatchesRecursive:: +/user/username/projects/myproject: + {} +/user/username/projects/myproject/src: + {} + Info 29 [16:00:58.000] event: {"seq":0,"type":"event","event":"syntaxDiag","body":{"file":"/user/username/projects/myproject/src/main.ts","diagnostics":[]}} +After checking timeout queue length (1) and running + +PolledWatches:: +/user/username/projects/myproject/node_modules: + {"pollingInterval":500} +/user/username/projects/myproject/node_modules/@types: + {"pollingInterval":500} + +FsWatches:: +/user/username/projects/myproject/tsconfig.json: + {} +/a/lib/lib.d.ts: + {} + +FsWatchesRecursive:: +/user/username/projects/myproject: + {} +/user/username/projects/myproject/src: + {} + +Before running immediate callbacks and checking length (1) + +PolledWatches:: +/user/username/projects/myproject/node_modules: + {"pollingInterval":500} +/user/username/projects/myproject/node_modules/@types: + {"pollingInterval":500} + +FsWatches:: +/user/username/projects/myproject/tsconfig.json: + {} +/a/lib/lib.d.ts: + {} + +FsWatchesRecursive:: +/user/username/projects/myproject: + {} +/user/username/projects/myproject/src: + {} + Info 30 [16:00:59.000] event: {"seq":0,"type":"event","event":"semanticDiag","body":{"file":"/user/username/projects/myproject/src/main.ts","diagnostics":[{"start":{"line":1,"offset":21},"end":{"line":1,"offset":36},"text":"Cannot find module '@angular/core' or its corresponding type declarations.","code":2307,"category":"error"}]}} +Before running immediate callbacks and checking length (1) + +PolledWatches:: +/user/username/projects/myproject/node_modules: + {"pollingInterval":500} +/user/username/projects/myproject/node_modules/@types: + {"pollingInterval":500} + +FsWatches:: +/user/username/projects/myproject/tsconfig.json: + {} +/a/lib/lib.d.ts: + {} + +FsWatchesRecursive:: +/user/username/projects/myproject: + {} +/user/username/projects/myproject/src: + {} + +Before running immediate callbacks and checking length (1) + +PolledWatches:: +/user/username/projects/myproject/node_modules: + {"pollingInterval":500} +/user/username/projects/myproject/node_modules/@types: + {"pollingInterval":500} + +FsWatches:: +/user/username/projects/myproject/tsconfig.json: + {} +/a/lib/lib.d.ts: + {} + +FsWatchesRecursive:: +/user/username/projects/myproject: + {} +/user/username/projects/myproject/src: + {} + Info 31 [16:01:00.000] event: {"seq":0,"type":"event","event":"suggestionDiag","body":{"file":"/user/username/projects/myproject/src/main.ts","diagnostics":[]}} Info 32 [16:01:01.000] event: {"seq":0,"type":"event","event":"requestCompleted","body":{"request_seq":1}} +Before running immediate callbacks and checking length (1) + +PolledWatches:: +/user/username/projects/myproject/node_modules: + {"pollingInterval":500} +/user/username/projects/myproject/node_modules/@types: + {"pollingInterval":500} + +FsWatches:: +/user/username/projects/myproject/tsconfig.json: + {} +/a/lib/lib.d.ts: + {} + +FsWatchesRecursive:: +/user/username/projects/myproject: + {} +/user/username/projects/myproject/src: + {} + Info 33 [16:01:04.000] DirectoryWatcher:: Triggered with /user/username/projects/myproject/node_modules :: WatchInfo: /user/username/projects/myproject/node_modules 1 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Failed Lookup Locations Info 34 [16:01:05.000] Scheduled: /user/username/projects/myproject/tsconfig.jsonFailedLookupInvalidation Info 35 [16:01:06.000] Elapsed:: *ms DirectoryWatcher:: Triggered with /user/username/projects/myproject/node_modules :: WatchInfo: /user/username/projects/myproject/node_modules 1 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Failed Lookup Locations @@ -203,9 +327,69 @@ Info 61 [16:01:40.000] Elapsed:: *ms DirectoryWatcher:: Triggered with /user/u Info 62 [16:01:41.000] DirectoryWatcher:: Triggered with /user/username/projects/myproject/node_modules/.staging/core-js-db53158d :: WatchInfo: /user/username/projects/myproject 1 undefined Config: /user/username/projects/myproject/tsconfig.json WatchType: Wild card directory Info 63 [16:01:42.000] Project: /user/username/projects/myproject/tsconfig.json Detected ignored path: /user/username/projects/myproject/node_modules/.staging/core-js-db53158d Info 64 [16:01:43.000] Elapsed:: *ms DirectoryWatcher:: Triggered with /user/username/projects/myproject/node_modules/.staging/core-js-db53158d :: WatchInfo: /user/username/projects/myproject 1 undefined Config: /user/username/projects/myproject/tsconfig.json WatchType: Wild card directory +Before checking timeout queue length (3) and running + +PolledWatches:: +/user/username/projects/myproject/node_modules/@types: + {"pollingInterval":500} + +FsWatches:: +/user/username/projects/myproject/tsconfig.json: + {} +/a/lib/lib.d.ts: + {} + +FsWatchesRecursive:: +/user/username/projects/myproject: + {} +/user/username/projects/myproject/src: + {} +/user/username/projects/myproject/node_modules: + {} + Info 65 [16:01:44.000] Running: /user/username/projects/myproject/tsconfig.jsonFailedLookupInvalidation Info 66 [16:01:45.000] Scheduled: /user/username/projects/myproject/tsconfig.json, Cancelled earlier one Info 67 [16:01:46.000] Scheduled: *ensureProjectForOpenFiles*, Cancelled earlier one +After checking timeout queue length (3) and running + +PolledWatches:: +/user/username/projects/myproject/node_modules/@types: + {"pollingInterval":500} + +FsWatches:: +/user/username/projects/myproject/tsconfig.json: + {} +/a/lib/lib.d.ts: + {} + +FsWatchesRecursive:: +/user/username/projects/myproject: + {} +/user/username/projects/myproject/src: + {} +/user/username/projects/myproject/node_modules: + {} + +Before checking timeout queue length (2) and running + +PolledWatches:: +/user/username/projects/myproject/node_modules/@types: + {"pollingInterval":500} + +FsWatches:: +/user/username/projects/myproject/tsconfig.json: + {} +/a/lib/lib.d.ts: + {} + +FsWatchesRecursive:: +/user/username/projects/myproject: + {} +/user/username/projects/myproject/src: + {} +/user/username/projects/myproject/node_modules: + {} + Info 68 [16:01:47.000] Running: /user/username/projects/myproject/tsconfig.json Info 69 [16:01:48.000] Starting updateGraphWorker: Project: /user/username/projects/myproject/tsconfig.json Info 70 [16:01:49.000] Finishing updateGraphWorker: Project: /user/username/projects/myproject/tsconfig.json Version: 2 structureChanged: true structureIsReused:: SafeModules Elapsed:: *ms @@ -230,6 +414,26 @@ Info 75 [16:02:05.000] Projects: /user/username/projects/myproject/tsconfig. Info 75 [16:02:06.000] got projects updated in background, updating diagnostics for /user/username/projects/myproject/src/main.ts Info 76 [16:02:07.000] event: {"seq":0,"type":"event","event":"projectsUpdatedInBackground","body":{"openFiles":["/user/username/projects/myproject/src/main.ts"]}} +After checking timeout queue length (2) and running + +PolledWatches:: +/user/username/projects/myproject/node_modules/@types: + {"pollingInterval":500} + +FsWatches:: +/user/username/projects/myproject/tsconfig.json: + {} +/a/lib/lib.d.ts: + {} + +FsWatchesRecursive:: +/user/username/projects/myproject: + {} +/user/username/projects/myproject/src: + {} +/user/username/projects/myproject/node_modules: + {} + Info 77 [16:02:08.000] request: { "command": "geterr", @@ -242,6 +446,7 @@ Info 77 [16:02:08.000] request: "seq": 2, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/node_modules/@types: @@ -261,6 +466,7 @@ FsWatchesRecursive:: /user/username/projects/myproject/node_modules: {} +After request PolledWatches:: /user/username/projects/myproject/node_modules/@types: @@ -284,19 +490,139 @@ Info 78 [16:02:09.000] response: { "responseRequired": false } +Before checking timeout queue length (1) and running + +PolledWatches:: +/user/username/projects/myproject/node_modules/@types: + {"pollingInterval":500} + +FsWatches:: +/user/username/projects/myproject/tsconfig.json: + {} +/a/lib/lib.d.ts: + {} + +FsWatchesRecursive:: +/user/username/projects/myproject: + {} +/user/username/projects/myproject/src: + {} +/user/username/projects/myproject/node_modules: + {} + Info 79 [16:02:10.000] event: {"seq":0,"type":"event","event":"syntaxDiag","body":{"file":"/user/username/projects/myproject/src/main.ts","diagnostics":[]}} +After checking timeout queue length (1) and running + +PolledWatches:: +/user/username/projects/myproject/node_modules/@types: + {"pollingInterval":500} + +FsWatches:: +/user/username/projects/myproject/tsconfig.json: + {} +/a/lib/lib.d.ts: + {} + +FsWatchesRecursive:: +/user/username/projects/myproject: + {} +/user/username/projects/myproject/src: + {} +/user/username/projects/myproject/node_modules: + {} + +Before running immediate callbacks and checking length (1) + +PolledWatches:: +/user/username/projects/myproject/node_modules/@types: + {"pollingInterval":500} + +FsWatches:: +/user/username/projects/myproject/tsconfig.json: + {} +/a/lib/lib.d.ts: + {} + +FsWatchesRecursive:: +/user/username/projects/myproject: + {} +/user/username/projects/myproject/src: + {} +/user/username/projects/myproject/node_modules: + {} + Info 80 [16:02:11.000] event: {"seq":0,"type":"event","event":"semanticDiag","body":{"file":"/user/username/projects/myproject/src/main.ts","diagnostics":[{"start":{"line":1,"offset":21},"end":{"line":1,"offset":36},"text":"Cannot find module '@angular/core' or its corresponding type declarations.","code":2307,"category":"error"}]}} -Info 81 [16:02:12.000] event: - {"seq":0,"type":"event","event":"suggestionDiag","body":{"file":"/user/username/projects/myproject/src/main.ts","diagnostics":[]}} -Info 82 [16:02:13.000] event: - {"seq":0,"type":"event","event":"requestCompleted","body":{"request_seq":2}} -Info 83 [16:02:16.000] DirectoryWatcher:: Triggered with /user/username/projects/myproject/node_modules/.staging/@angular :: WatchInfo: /user/username/projects/myproject/node_modules 1 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Failed Lookup Locations -Info 84 [16:02:17.000] Elapsed:: *ms DirectoryWatcher:: Triggered with /user/username/projects/myproject/node_modules/.staging/@angular :: WatchInfo: /user/username/projects/myproject/node_modules 1 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Failed Lookup Locations -Info 85 [16:02:18.000] DirectoryWatcher:: Triggered with /user/username/projects/myproject/node_modules/.staging/@angular :: WatchInfo: /user/username/projects/myproject 1 undefined Config: /user/username/projects/myproject/tsconfig.json WatchType: Wild card directory -Info 86 [16:02:19.000] Project: /user/username/projects/myproject/tsconfig.json Detected ignored path: /user/username/projects/myproject/node_modules/.staging/@angular -Info 87 [16:02:20.000] Elapsed:: *ms DirectoryWatcher:: Triggered with /user/username/projects/myproject/node_modules/.staging/@angular :: WatchInfo: /user/username/projects/myproject 1 undefined Config: /user/username/projects/myproject/tsconfig.json WatchType: Wild card directory +Before running immediate callbacks and checking length (1) + +PolledWatches:: +/user/username/projects/myproject/node_modules/@types: + {"pollingInterval":500} + +FsWatches:: +/user/username/projects/myproject/tsconfig.json: + {} +/a/lib/lib.d.ts: + {} + +FsWatchesRecursive:: +/user/username/projects/myproject: + {} +/user/username/projects/myproject/src: + {} +/user/username/projects/myproject/node_modules: + {} + +Before running immediate callbacks and checking length (1) + +PolledWatches:: +/user/username/projects/myproject/node_modules/@types: + {"pollingInterval":500} + +FsWatches:: +/user/username/projects/myproject/tsconfig.json: + {} +/a/lib/lib.d.ts: + {} + +FsWatchesRecursive:: +/user/username/projects/myproject: + {} +/user/username/projects/myproject/src: + {} +/user/username/projects/myproject/node_modules: + {} + +Info 81 [16:02:12.000] event: + {"seq":0,"type":"event","event":"suggestionDiag","body":{"file":"/user/username/projects/myproject/src/main.ts","diagnostics":[]}} +Info 82 [16:02:13.000] event: + {"seq":0,"type":"event","event":"requestCompleted","body":{"request_seq":2}} +Before running immediate callbacks and checking length (1) + +PolledWatches:: +/user/username/projects/myproject/node_modules/@types: + {"pollingInterval":500} + +FsWatches:: +/user/username/projects/myproject/tsconfig.json: + {} +/a/lib/lib.d.ts: + {} + +FsWatchesRecursive:: +/user/username/projects/myproject: + {} +/user/username/projects/myproject/src: + {} +/user/username/projects/myproject/node_modules: + {} + +Info 83 [16:02:16.000] DirectoryWatcher:: Triggered with /user/username/projects/myproject/node_modules/.staging/@angular :: WatchInfo: /user/username/projects/myproject/node_modules 1 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Failed Lookup Locations +Info 84 [16:02:17.000] Elapsed:: *ms DirectoryWatcher:: Triggered with /user/username/projects/myproject/node_modules/.staging/@angular :: WatchInfo: /user/username/projects/myproject/node_modules 1 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Failed Lookup Locations +Info 85 [16:02:18.000] DirectoryWatcher:: Triggered with /user/username/projects/myproject/node_modules/.staging/@angular :: WatchInfo: /user/username/projects/myproject 1 undefined Config: /user/username/projects/myproject/tsconfig.json WatchType: Wild card directory +Info 86 [16:02:19.000] Project: /user/username/projects/myproject/tsconfig.json Detected ignored path: /user/username/projects/myproject/node_modules/.staging/@angular +Info 87 [16:02:20.000] Elapsed:: *ms DirectoryWatcher:: Triggered with /user/username/projects/myproject/node_modules/.staging/@angular :: WatchInfo: /user/username/projects/myproject 1 undefined Config: /user/username/projects/myproject/tsconfig.json WatchType: Wild card directory Info 88 [16:02:23.000] DirectoryWatcher:: Triggered with /user/username/projects/myproject/node_modules/.staging/@angular/platform-browser-dynamic-5efaaa1a :: WatchInfo: /user/username/projects/myproject/node_modules 1 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Failed Lookup Locations Info 89 [16:02:24.000] Elapsed:: *ms DirectoryWatcher:: Triggered with /user/username/projects/myproject/node_modules/.staging/@angular/platform-browser-dynamic-5efaaa1a :: WatchInfo: /user/username/projects/myproject/node_modules 1 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Failed Lookup Locations Info 90 [16:02:25.000] DirectoryWatcher:: Triggered with /user/username/projects/myproject/node_modules/.staging/@angular/platform-browser-dynamic-5efaaa1a :: WatchInfo: /user/username/projects/myproject 1 undefined Config: /user/username/projects/myproject/tsconfig.json WatchType: Wild card directory @@ -327,6 +653,52 @@ Info 114 [16:02:59.000] Elapsed:: *ms DirectoryWatcher:: Triggered with /user/u Info 115 [16:03:00.000] DirectoryWatcher:: Triggered with /user/username/projects/myproject/node_modules/.staging/@angular/core-0963aebf/index.d.ts :: WatchInfo: /user/username/projects/myproject 1 undefined Config: /user/username/projects/myproject/tsconfig.json WatchType: Wild card directory Info 116 [16:03:01.000] Project: /user/username/projects/myproject/tsconfig.json Detected ignored path: /user/username/projects/myproject/node_modules/.staging/@angular/core-0963aebf/index.d.ts Info 117 [16:03:02.000] Elapsed:: *ms DirectoryWatcher:: Triggered with /user/username/projects/myproject/node_modules/.staging/@angular/core-0963aebf/index.d.ts :: WatchInfo: /user/username/projects/myproject 1 undefined Config: /user/username/projects/myproject/tsconfig.json WatchType: Wild card directory +Before checking timeout queue length (0) and running +//// [/user/username/projects/myproject/node_modules/.staging/@angular/cli-c1e44b05/models/analytics.d.ts] +export const x = 10; + +//// [/user/username/projects/myproject/node_modules/.staging/@angular/core-0963aebf/index.d.ts] +export const y = 10; + + +PolledWatches:: +/user/username/projects/myproject/node_modules/@types: + {"pollingInterval":500} + +FsWatches:: +/user/username/projects/myproject/tsconfig.json: + {} +/a/lib/lib.d.ts: + {} + +FsWatchesRecursive:: +/user/username/projects/myproject: + {} +/user/username/projects/myproject/src: + {} +/user/username/projects/myproject/node_modules: + {} + +After checking timeout queue length (0) and running + +PolledWatches:: +/user/username/projects/myproject/node_modules/@types: + {"pollingInterval":500} + +FsWatches:: +/user/username/projects/myproject/tsconfig.json: + {} +/a/lib/lib.d.ts: + {} + +FsWatchesRecursive:: +/user/username/projects/myproject: + {} +/user/username/projects/myproject/src: + {} +/user/username/projects/myproject/node_modules: + {} + Info 118 [16:03:03.000] request: { "command": "geterr", @@ -339,10 +711,180 @@ Info 118 [16:03:03.000] request: "seq": 3, "type": "request" } -//// [/user/username/projects/myproject/node_modules/.staging/@angular/cli-c1e44b05/models/analytics.d.ts] -export const x = 10; +Before request -//// [/user/username/projects/myproject/node_modules/.staging/@angular/core-0963aebf/index.d.ts] +PolledWatches:: +/user/username/projects/myproject/node_modules/@types: + {"pollingInterval":500} + +FsWatches:: +/user/username/projects/myproject/tsconfig.json: + {} +/a/lib/lib.d.ts: + {} + +FsWatchesRecursive:: +/user/username/projects/myproject: + {} +/user/username/projects/myproject/src: + {} +/user/username/projects/myproject/node_modules: + {} + +After request + +PolledWatches:: +/user/username/projects/myproject/node_modules/@types: + {"pollingInterval":500} + +FsWatches:: +/user/username/projects/myproject/tsconfig.json: + {} +/a/lib/lib.d.ts: + {} + +FsWatchesRecursive:: +/user/username/projects/myproject: + {} +/user/username/projects/myproject/src: + {} +/user/username/projects/myproject/node_modules: + {} + +Info 119 [16:03:04.000] response: + { + "responseRequired": false + } +Before checking timeout queue length (1) and running + +PolledWatches:: +/user/username/projects/myproject/node_modules/@types: + {"pollingInterval":500} + +FsWatches:: +/user/username/projects/myproject/tsconfig.json: + {} +/a/lib/lib.d.ts: + {} + +FsWatchesRecursive:: +/user/username/projects/myproject: + {} +/user/username/projects/myproject/src: + {} +/user/username/projects/myproject/node_modules: + {} + +Info 120 [16:03:05.000] event: + {"seq":0,"type":"event","event":"syntaxDiag","body":{"file":"/user/username/projects/myproject/src/main.ts","diagnostics":[]}} +After checking timeout queue length (1) and running + +PolledWatches:: +/user/username/projects/myproject/node_modules/@types: + {"pollingInterval":500} + +FsWatches:: +/user/username/projects/myproject/tsconfig.json: + {} +/a/lib/lib.d.ts: + {} + +FsWatchesRecursive:: +/user/username/projects/myproject: + {} +/user/username/projects/myproject/src: + {} +/user/username/projects/myproject/node_modules: + {} + +Before running immediate callbacks and checking length (1) + +PolledWatches:: +/user/username/projects/myproject/node_modules/@types: + {"pollingInterval":500} + +FsWatches:: +/user/username/projects/myproject/tsconfig.json: + {} +/a/lib/lib.d.ts: + {} + +FsWatchesRecursive:: +/user/username/projects/myproject: + {} +/user/username/projects/myproject/src: + {} +/user/username/projects/myproject/node_modules: + {} + +Info 121 [16:03:06.000] event: + {"seq":0,"type":"event","event":"semanticDiag","body":{"file":"/user/username/projects/myproject/src/main.ts","diagnostics":[{"start":{"line":1,"offset":21},"end":{"line":1,"offset":36},"text":"Cannot find module '@angular/core' or its corresponding type declarations.","code":2307,"category":"error"}]}} +Before running immediate callbacks and checking length (1) + +PolledWatches:: +/user/username/projects/myproject/node_modules/@types: + {"pollingInterval":500} + +FsWatches:: +/user/username/projects/myproject/tsconfig.json: + {} +/a/lib/lib.d.ts: + {} + +FsWatchesRecursive:: +/user/username/projects/myproject: + {} +/user/username/projects/myproject/src: + {} +/user/username/projects/myproject/node_modules: + {} + +Before running immediate callbacks and checking length (1) + +PolledWatches:: +/user/username/projects/myproject/node_modules/@types: + {"pollingInterval":500} + +FsWatches:: +/user/username/projects/myproject/tsconfig.json: + {} +/a/lib/lib.d.ts: + {} + +FsWatchesRecursive:: +/user/username/projects/myproject: + {} +/user/username/projects/myproject/src: + {} +/user/username/projects/myproject/node_modules: + {} + +Info 122 [16:03:07.000] event: + {"seq":0,"type":"event","event":"suggestionDiag","body":{"file":"/user/username/projects/myproject/src/main.ts","diagnostics":[]}} +Info 123 [16:03:08.000] event: + {"seq":0,"type":"event","event":"requestCompleted","body":{"request_seq":3}} +Before running immediate callbacks and checking length (1) + +PolledWatches:: +/user/username/projects/myproject/node_modules/@types: + {"pollingInterval":500} + +FsWatches:: +/user/username/projects/myproject/tsconfig.json: + {} +/a/lib/lib.d.ts: + {} + +FsWatchesRecursive:: +/user/username/projects/myproject: + {} +/user/username/projects/myproject/src: + {} +/user/username/projects/myproject/node_modules: + {} + +Before checking timeout queue length (0) and running +//// [/user/username/projects/myproject/node_modules/@angular/core/index.d.ts] export const y = 10; @@ -364,6 +906,125 @@ FsWatchesRecursive:: /user/username/projects/myproject/node_modules: {} +After checking timeout queue length (0) and running + +PolledWatches:: +/user/username/projects/myproject/node_modules/@types: + {"pollingInterval":500} + +FsWatches:: +/user/username/projects/myproject/tsconfig.json: + {} +/a/lib/lib.d.ts: + {} + +FsWatchesRecursive:: +/user/username/projects/myproject: + {} +/user/username/projects/myproject/src: + {} +/user/username/projects/myproject/node_modules: + {} + +Info 124 [16:03:15.000] request: + { + "command": "geterr", + "arguments": { + "delay": 0, + "files": [ + "/user/username/projects/myproject/src/main.ts" + ] + }, + "seq": 4, + "type": "request" + } +Before request + +PolledWatches:: +/user/username/projects/myproject/node_modules/@types: + {"pollingInterval":500} + +FsWatches:: +/user/username/projects/myproject/tsconfig.json: + {} +/a/lib/lib.d.ts: + {} + +FsWatchesRecursive:: +/user/username/projects/myproject: + {} +/user/username/projects/myproject/src: + {} +/user/username/projects/myproject/node_modules: + {} + +After request + +PolledWatches:: +/user/username/projects/myproject/node_modules/@types: + {"pollingInterval":500} + +FsWatches:: +/user/username/projects/myproject/tsconfig.json: + {} +/a/lib/lib.d.ts: + {} + +FsWatchesRecursive:: +/user/username/projects/myproject: + {} +/user/username/projects/myproject/src: + {} +/user/username/projects/myproject/node_modules: + {} + +Info 125 [16:03:16.000] response: + { + "responseRequired": false + } +Before checking timeout queue length (1) and running + +PolledWatches:: +/user/username/projects/myproject/node_modules/@types: + {"pollingInterval":500} + +FsWatches:: +/user/username/projects/myproject/tsconfig.json: + {} +/a/lib/lib.d.ts: + {} + +FsWatchesRecursive:: +/user/username/projects/myproject: + {} +/user/username/projects/myproject/src: + {} +/user/username/projects/myproject/node_modules: + {} + +Info 126 [16:03:17.000] event: + {"seq":0,"type":"event","event":"syntaxDiag","body":{"file":"/user/username/projects/myproject/src/main.ts","diagnostics":[]}} +After checking timeout queue length (1) and running + +PolledWatches:: +/user/username/projects/myproject/node_modules/@types: + {"pollingInterval":500} + +FsWatches:: +/user/username/projects/myproject/tsconfig.json: + {} +/a/lib/lib.d.ts: + {} + +FsWatchesRecursive:: +/user/username/projects/myproject: + {} +/user/username/projects/myproject/src: + {} +/user/username/projects/myproject/node_modules: + {} + +Before running immediate callbacks and checking length (1) PolledWatches:: /user/username/projects/myproject/node_modules/@types: @@ -383,33 +1044,9 @@ FsWatchesRecursive:: /user/username/projects/myproject/node_modules: {} -Info 119 [16:03:04.000] response: - { - "responseRequired": false - } -Info 120 [16:03:05.000] event: - {"seq":0,"type":"event","event":"syntaxDiag","body":{"file":"/user/username/projects/myproject/src/main.ts","diagnostics":[]}} -Info 121 [16:03:06.000] event: +Info 127 [16:03:18.000] event: {"seq":0,"type":"event","event":"semanticDiag","body":{"file":"/user/username/projects/myproject/src/main.ts","diagnostics":[{"start":{"line":1,"offset":21},"end":{"line":1,"offset":36},"text":"Cannot find module '@angular/core' or its corresponding type declarations.","code":2307,"category":"error"}]}} -Info 122 [16:03:07.000] event: - {"seq":0,"type":"event","event":"suggestionDiag","body":{"file":"/user/username/projects/myproject/src/main.ts","diagnostics":[]}} -Info 123 [16:03:08.000] event: - {"seq":0,"type":"event","event":"requestCompleted","body":{"request_seq":3}} -Info 124 [16:03:15.000] request: - { - "command": "geterr", - "arguments": { - "delay": 0, - "files": [ - "/user/username/projects/myproject/src/main.ts" - ] - }, - "seq": 4, - "type": "request" - } -//// [/user/username/projects/myproject/node_modules/@angular/core/index.d.ts] -export const y = 10; - +Before running immediate callbacks and checking length (1) PolledWatches:: /user/username/projects/myproject/node_modules/@types: @@ -429,6 +1066,7 @@ FsWatchesRecursive:: /user/username/projects/myproject/node_modules: {} +Before running immediate callbacks and checking length (1) PolledWatches:: /user/username/projects/myproject/node_modules/@types: @@ -448,18 +1086,30 @@ FsWatchesRecursive:: /user/username/projects/myproject/node_modules: {} -Info 125 [16:03:16.000] response: - { - "responseRequired": false - } -Info 126 [16:03:17.000] event: - {"seq":0,"type":"event","event":"syntaxDiag","body":{"file":"/user/username/projects/myproject/src/main.ts","diagnostics":[]}} -Info 127 [16:03:18.000] event: - {"seq":0,"type":"event","event":"semanticDiag","body":{"file":"/user/username/projects/myproject/src/main.ts","diagnostics":[{"start":{"line":1,"offset":21},"end":{"line":1,"offset":36},"text":"Cannot find module '@angular/core' or its corresponding type declarations.","code":2307,"category":"error"}]}} Info 128 [16:03:19.000] event: {"seq":0,"type":"event","event":"suggestionDiag","body":{"file":"/user/username/projects/myproject/src/main.ts","diagnostics":[]}} Info 129 [16:03:20.000] event: {"seq":0,"type":"event","event":"requestCompleted","body":{"request_seq":4}} +Before running immediate callbacks and checking length (1) + +PolledWatches:: +/user/username/projects/myproject/node_modules/@types: + {"pollingInterval":500} + +FsWatches:: +/user/username/projects/myproject/tsconfig.json: + {} +/a/lib/lib.d.ts: + {} + +FsWatchesRecursive:: +/user/username/projects/myproject: + {} +/user/username/projects/myproject/src: + {} +/user/username/projects/myproject/node_modules: + {} + Info 130 [16:03:22.000] DirectoryWatcher:: Triggered with /user/username/projects/myproject/node_modules/.staging/@angular/cli-c1e44b05/models/analytics.d.ts :: WatchInfo: /user/username/projects/myproject/node_modules 1 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Failed Lookup Locations Info 131 [16:03:23.000] Elapsed:: *ms DirectoryWatcher:: Triggered with /user/username/projects/myproject/node_modules/.staging/@angular/cli-c1e44b05/models/analytics.d.ts :: WatchInfo: /user/username/projects/myproject/node_modules 1 undefined Project: /user/username/projects/myproject/tsconfig.json WatchType: Failed Lookup Locations Info 132 [16:03:24.000] DirectoryWatcher:: Triggered with /user/username/projects/myproject/node_modules/.staging/@angular/cli-c1e44b05/models/analytics.d.ts :: WatchInfo: /user/username/projects/myproject 1 undefined Config: /user/username/projects/myproject/tsconfig.json WatchType: Wild card directory @@ -517,9 +1167,71 @@ Info 183 [16:04:25.000] DirectoryWatcher:: Triggered with /user/username/projec Info 184 [16:04:26.000] Scheduled: /user/username/projects/myproject/tsconfig.json Info 185 [16:04:27.000] Scheduled: *ensureProjectForOpenFiles* Info 186 [16:04:28.000] Elapsed:: *ms DirectoryWatcher:: Triggered with /user/username/projects/myproject/node_modules/.staging :: WatchInfo: /user/username/projects/myproject 1 undefined Config: /user/username/projects/myproject/tsconfig.json WatchType: Wild card directory +Before checking timeout queue length (3) and running +//// [/user/username/projects/myproject/node_modules/.staging/@angular/cli-c1e44b05/models/analytics.d.ts] deleted +//// [/user/username/projects/myproject/node_modules/.staging/@angular/core-0963aebf/index.d.ts] deleted + +PolledWatches:: +/user/username/projects/myproject/node_modules/@types: + {"pollingInterval":500} + +FsWatches:: +/user/username/projects/myproject/tsconfig.json: + {} +/a/lib/lib.d.ts: + {} + +FsWatchesRecursive:: +/user/username/projects/myproject: + {} +/user/username/projects/myproject/src: + {} +/user/username/projects/myproject/node_modules: + {} + Info 187 [16:04:29.000] Running: /user/username/projects/myproject/tsconfig.jsonFailedLookupInvalidation Info 188 [16:04:30.000] Scheduled: /user/username/projects/myproject/tsconfig.json, Cancelled earlier one Info 189 [16:04:31.000] Scheduled: *ensureProjectForOpenFiles*, Cancelled earlier one +After checking timeout queue length (3) and running + +PolledWatches:: +/user/username/projects/myproject/node_modules/@types: + {"pollingInterval":500} + +FsWatches:: +/user/username/projects/myproject/tsconfig.json: + {} +/a/lib/lib.d.ts: + {} + +FsWatchesRecursive:: +/user/username/projects/myproject: + {} +/user/username/projects/myproject/src: + {} +/user/username/projects/myproject/node_modules: + {} + +Before checking timeout queue length (2) and running + +PolledWatches:: +/user/username/projects/myproject/node_modules/@types: + {"pollingInterval":500} + +FsWatches:: +/user/username/projects/myproject/tsconfig.json: + {} +/a/lib/lib.d.ts: + {} + +FsWatchesRecursive:: +/user/username/projects/myproject: + {} +/user/username/projects/myproject/src: + {} +/user/username/projects/myproject/node_modules: + {} + Info 190 [16:04:32.000] Running: /user/username/projects/myproject/tsconfig.json Info 191 [16:04:33.000] Starting updateGraphWorker: Project: /user/username/projects/myproject/tsconfig.json Info 192 [16:04:34.000] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules 1 undefined WatchType: node_modules for closed script infos and package.jsons affecting module specifier cache @@ -560,6 +1272,26 @@ Info 201 [16:04:54.000] Projects: /user/username/projects/myproject/tsconfig. Info 201 [16:04:55.000] got projects updated in background, updating diagnostics for /user/username/projects/myproject/src/main.ts Info 202 [16:04:56.000] event: {"seq":0,"type":"event","event":"projectsUpdatedInBackground","body":{"openFiles":["/user/username/projects/myproject/src/main.ts"]}} +After checking timeout queue length (2) and running + +PolledWatches:: +/user/username/projects/myproject/node_modules/@types: + {"pollingInterval":500} + +FsWatches:: +/user/username/projects/myproject/tsconfig.json: + {} +/a/lib/lib.d.ts: + {} + +FsWatchesRecursive:: +/user/username/projects/myproject: + {} +/user/username/projects/myproject/src: + {} +/user/username/projects/myproject/node_modules: + {} + Info 203 [16:04:57.000] request: { "command": "geterr", @@ -572,8 +1304,7 @@ Info 203 [16:04:57.000] request: "seq": 5, "type": "request" } -//// [/user/username/projects/myproject/node_modules/.staging/@angular/cli-c1e44b05/models/analytics.d.ts] deleted -//// [/user/username/projects/myproject/node_modules/.staging/@angular/core-0963aebf/index.d.ts] deleted +Before request PolledWatches:: /user/username/projects/myproject/node_modules/@types: @@ -593,6 +1324,7 @@ FsWatchesRecursive:: /user/username/projects/myproject/node_modules: {} +After request PolledWatches:: /user/username/projects/myproject/node_modules/@types: @@ -616,11 +1348,130 @@ Info 204 [16:04:58.000] response: { "responseRequired": false } +Before checking timeout queue length (1) and running + +PolledWatches:: +/user/username/projects/myproject/node_modules/@types: + {"pollingInterval":500} + +FsWatches:: +/user/username/projects/myproject/tsconfig.json: + {} +/a/lib/lib.d.ts: + {} + +FsWatchesRecursive:: +/user/username/projects/myproject: + {} +/user/username/projects/myproject/src: + {} +/user/username/projects/myproject/node_modules: + {} + Info 205 [16:04:59.000] event: {"seq":0,"type":"event","event":"syntaxDiag","body":{"file":"/user/username/projects/myproject/src/main.ts","diagnostics":[]}} +After checking timeout queue length (1) and running + +PolledWatches:: +/user/username/projects/myproject/node_modules/@types: + {"pollingInterval":500} + +FsWatches:: +/user/username/projects/myproject/tsconfig.json: + {} +/a/lib/lib.d.ts: + {} + +FsWatchesRecursive:: +/user/username/projects/myproject: + {} +/user/username/projects/myproject/src: + {} +/user/username/projects/myproject/node_modules: + {} + +Before running immediate callbacks and checking length (1) + +PolledWatches:: +/user/username/projects/myproject/node_modules/@types: + {"pollingInterval":500} + +FsWatches:: +/user/username/projects/myproject/tsconfig.json: + {} +/a/lib/lib.d.ts: + {} + +FsWatchesRecursive:: +/user/username/projects/myproject: + {} +/user/username/projects/myproject/src: + {} +/user/username/projects/myproject/node_modules: + {} + Info 206 [16:05:00.000] event: {"seq":0,"type":"event","event":"semanticDiag","body":{"file":"/user/username/projects/myproject/src/main.ts","diagnostics":[]}} +Before running immediate callbacks and checking length (1) + +PolledWatches:: +/user/username/projects/myproject/node_modules/@types: + {"pollingInterval":500} + +FsWatches:: +/user/username/projects/myproject/tsconfig.json: + {} +/a/lib/lib.d.ts: + {} + +FsWatchesRecursive:: +/user/username/projects/myproject: + {} +/user/username/projects/myproject/src: + {} +/user/username/projects/myproject/node_modules: + {} + +Before running immediate callbacks and checking length (1) + +PolledWatches:: +/user/username/projects/myproject/node_modules/@types: + {"pollingInterval":500} + +FsWatches:: +/user/username/projects/myproject/tsconfig.json: + {} +/a/lib/lib.d.ts: + {} + +FsWatchesRecursive:: +/user/username/projects/myproject: + {} +/user/username/projects/myproject/src: + {} +/user/username/projects/myproject/node_modules: + {} + Info 207 [16:05:01.000] event: {"seq":0,"type":"event","event":"suggestionDiag","body":{"file":"/user/username/projects/myproject/src/main.ts","diagnostics":[]}} Info 208 [16:05:02.000] event: - {"seq":0,"type":"event","event":"requestCompleted","body":{"request_seq":5}} \ No newline at end of file + {"seq":0,"type":"event","event":"requestCompleted","body":{"request_seq":5}} +Before running immediate callbacks and checking length (1) + +PolledWatches:: +/user/username/projects/myproject/node_modules/@types: + {"pollingInterval":500} + +FsWatches:: +/user/username/projects/myproject/tsconfig.json: + {} +/a/lib/lib.d.ts: + {} + +FsWatchesRecursive:: +/user/username/projects/myproject: + {} +/user/username/projects/myproject/src: + {} +/user/username/projects/myproject/node_modules: + {} 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 29e831956897b..88dd99fda1832 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 @@ -9,6 +9,7 @@ Info 1 [16:00:34.000] request: "projectRootPath": "/user/username/projects/myproject" } } +Before request //// [/a/lib/lib.d.ts] /// interface Boolean {} @@ -71,6 +72,7 @@ Info 19 [16:00:54.000] ----------------------------------------------- Info 19 [16:00:55.000] Open files: Info 19 [16:00:56.000] FileName: /user/username/projects/myproject/src/client/app.js ProjectRootPath: /user/username/projects/myproject Info 19 [16:00:57.000] Projects: /dev/null/inferredProject1* +After request PolledWatches:: /user/username/projects/myproject/src/client/tsconfig.json: @@ -114,6 +116,7 @@ Info 20 [16:00:59.000] request: "projectRootPath": "/user/username/projects/myproject" } } +Before request PolledWatches:: /user/username/projects/myproject/src/client/tsconfig.json: @@ -181,6 +184,7 @@ Info 35 [16:01:18.000] FileName: /user/username/projects/myproject/src/client Info 35 [16:01:19.000] Projects: /dev/null/inferredProject1* Info 35 [16:01:20.000] FileName: /user/username/projects/myproject/test/backend/index.js ProjectRootPath: /user/username/projects/myproject Info 35 [16:01:21.000] Projects: /dev/null/inferredProject1* +After request PolledWatches:: /user/username/projects/myproject/src/client/tsconfig.json: @@ -239,6 +243,7 @@ Info 36 [16:01:23.000] request: "seq": 1, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/src/client/tsconfig.json: @@ -280,6 +285,7 @@ FsWatchesRecursive:: /user/username/projects/myproject/test: {} +After request PolledWatches:: /user/username/projects/myproject/src/client/tsconfig.json: @@ -325,29 +331,51 @@ Info 37 [16:01:24.000] response: { "responseRequired": false } +Before checking timeout queue length (1) and running + +PolledWatches:: +/user/username/projects/myproject/src/client/tsconfig.json: + {"pollingInterval":2000} +/user/username/projects/myproject/src/client/jsconfig.json: + {"pollingInterval":2000} +/user/username/projects/myproject/src/tsconfig.json: + {"pollingInterval":2000} +/user/username/projects/myproject/src/jsconfig.json: + {"pollingInterval":2000} +/user/username/projects/myproject/tsconfig.json: + {"pollingInterval":2000} +/user/username/projects/myproject/jsconfig.json: + {"pollingInterval":2000} +/user/username/projects/myproject/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/myproject/bower_components: + {"pollingInterval":500} +/user/username/projects/myproject/node_modules: + {"pollingInterval":500} +/user/username/projects/myproject/test/backend/tsconfig.json: + {"pollingInterval":2000} +/user/username/projects/myproject/test/backend/jsconfig.json: + {"pollingInterval":2000} +/user/username/projects/myproject/test/tsconfig.json: + {"pollingInterval":2000} +/user/username/projects/myproject/test/jsconfig.json: + {"pollingInterval":2000} + +FsWatches:: +/a/lib/lib.d.ts: + {} +/user/username/projects/myproject/src/server/utilities.js: + {} + +FsWatchesRecursive:: +/user/username/projects/myproject/src: + {} +/user/username/projects/myproject/test: + {} + Info 38 [16:01:25.000] event: {"seq":0,"type":"event","event":"syntaxDiag","body":{"file":"/user/username/projects/myproject/test/backend/index.js","diagnostics":[]}} -Info 39 [16:01:26.000] event: - {"seq":0,"type":"event","event":"semanticDiag","body":{"file":"/user/username/projects/myproject/test/backend/index.js","diagnostics":[]}} -Info 40 [16:01:27.000] event: - {"seq":0,"type":"event","event":"suggestionDiag","body":{"file":"/user/username/projects/myproject/test/backend/index.js","diagnostics":[]}} -Info 41 [16:01:28.000] event: - {"seq":0,"type":"event","event":"syntaxDiag","body":{"file":"/user/username/projects/myproject/src/client/app.js","diagnostics":[]}} -Info 42 [16:01:29.000] event: - {"seq":0,"type":"event","event":"semanticDiag","body":{"file":"/user/username/projects/myproject/src/client/app.js","diagnostics":[]}} -Info 43 [16:01:30.000] event: - {"seq":0,"type":"event","event":"suggestionDiag","body":{"file":"/user/username/projects/myproject/src/client/app.js","diagnostics":[]}} -Info 44 [16:01:31.000] event: - {"seq":0,"type":"event","event":"requestCompleted","body":{"request_seq":1}} -Info 45 [16:01:32.000] request: - { - "seq": 0, - "type": "request", - "command": "close", - "arguments": { - "file": "/user/username/projects/myproject/test/backend/index.js" - } - } +After checking timeout queue length (1) and running PolledWatches:: /user/username/projects/myproject/src/client/tsconfig.json: @@ -389,18 +417,7 @@ FsWatchesRecursive:: /user/username/projects/myproject/test: {} -Info 46 [16:01:33.000] FileWatcher:: Close:: WatchInfo: /user/username/projects/myproject/test/backend/tsconfig.json 2000 undefined WatchType: Config file for the inferred project root -Info 47 [16:01:34.000] FileWatcher:: Close:: WatchInfo: /user/username/projects/myproject/test/backend/jsconfig.json 2000 undefined WatchType: Config file for the inferred project root -Info 48 [16:01:35.000] FileWatcher:: Close:: WatchInfo: /user/username/projects/myproject/test/tsconfig.json 2000 undefined WatchType: Config file for the inferred project root -Info 49 [16:01:36.000] FileWatcher:: Close:: WatchInfo: /user/username/projects/myproject/test/jsconfig.json 2000 undefined WatchType: Config file for the inferred project root -Info 50 [16:01:37.000] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/test/backend/index.js 500 undefined WatchType: Closed Script info -Info 51 [16:01:38.000] Project '/dev/null/inferredProject1*' (Inferred) -Info 51 [16:01:39.000] Files (4) - -Info 51 [16:01:40.000] ----------------------------------------------- -Info 51 [16:01:41.000] Open files: -Info 51 [16:01:42.000] FileName: /user/username/projects/myproject/src/client/app.js ProjectRootPath: /user/username/projects/myproject -Info 51 [16:01:43.000] Projects: /dev/null/inferredProject1* +Before running immediate callbacks and checking length (1) PolledWatches:: /user/username/projects/myproject/src/client/tsconfig.json: @@ -421,14 +438,20 @@ PolledWatches:: {"pollingInterval":500} /user/username/projects/myproject/node_modules: {"pollingInterval":500} +/user/username/projects/myproject/test/backend/tsconfig.json: + {"pollingInterval":2000} +/user/username/projects/myproject/test/backend/jsconfig.json: + {"pollingInterval":2000} +/user/username/projects/myproject/test/tsconfig.json: + {"pollingInterval":2000} +/user/username/projects/myproject/test/jsconfig.json: + {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: {} /user/username/projects/myproject/src/server/utilities.js: {} -/user/username/projects/myproject/test/backend/index.js: - {} FsWatchesRecursive:: /user/username/projects/myproject/src: @@ -436,20 +459,9 @@ FsWatchesRecursive:: /user/username/projects/myproject/test: {} -Info 51 [16:01:44.000] response: - { - "responseRequired": false - } -Info 52 [16:01:45.000] request: - { - "seq": 0, - "type": "request", - "command": "open", - "arguments": { - "file": "/user/username/projects/myproject/src/server/utilities.js", - "projectRootPath": "/user/username/projects/myproject" - } - } +Info 39 [16:01:26.000] event: + {"seq":0,"type":"event","event":"semanticDiag","body":{"file":"/user/username/projects/myproject/test/backend/index.js","diagnostics":[]}} +Before running immediate callbacks and checking length (1) PolledWatches:: /user/username/projects/myproject/src/client/tsconfig.json: @@ -470,14 +482,20 @@ PolledWatches:: {"pollingInterval":500} /user/username/projects/myproject/node_modules: {"pollingInterval":500} +/user/username/projects/myproject/test/backend/tsconfig.json: + {"pollingInterval":2000} +/user/username/projects/myproject/test/backend/jsconfig.json: + {"pollingInterval":2000} +/user/username/projects/myproject/test/tsconfig.json: + {"pollingInterval":2000} +/user/username/projects/myproject/test/jsconfig.json: + {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: {} /user/username/projects/myproject/src/server/utilities.js: {} -/user/username/projects/myproject/test/backend/index.js: - {} FsWatchesRecursive:: /user/username/projects/myproject/src: @@ -485,54 +503,51 @@ FsWatchesRecursive:: /user/username/projects/myproject/test: {} -Info 53 [16:01:46.000] FileWatcher:: Close:: WatchInfo: /user/username/projects/myproject/src/server/utilities.js 500 undefined WatchType: Closed Script info -Info 54 [16:01:47.000] Search path: /user/username/projects/myproject/src/server -Info 55 [16:01:48.000] For info: /user/username/projects/myproject/src/server/utilities.js :: No config files found. -Info 56 [16:01:49.000] Starting updateGraphWorker: Project: /dev/null/inferredProject1* -Info 57 [16:01:50.000] DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/myproject/src 1 undefined Project: /dev/null/inferredProject1* WatchType: Failed Lookup Locations -Info 58 [16:01:51.000] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/myproject/src 1 undefined Project: /dev/null/inferredProject1* WatchType: Failed Lookup Locations -Info 59 [16:01:52.000] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* Version: 3 structureChanged: true structureIsReused:: Not Elapsed:: *ms -Info 60 [16:01:53.000] Project '/dev/null/inferredProject1*' (Inferred) -Info 61 [16:01:54.000] Files (2) - /a/lib/lib.d.ts - /user/username/projects/myproject/src/client/app.js - - - ../../../../a/lib/lib.d.ts - Default library for target 'es5' - src/client/app.js - Root file specified for compilation +Before running immediate callbacks and checking length (1) -Info 62 [16:01:55.000] ----------------------------------------------- -Info 63 [16:01:56.000] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/src/server/tsconfig.json 2000 undefined WatchType: Config file for the inferred project root -Info 64 [16:01:57.000] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/src/server/jsconfig.json 2000 undefined WatchType: Config file for the inferred project root -Info 65 [16:01:58.000] Starting updateGraphWorker: Project: /dev/null/inferredProject1* -Info 66 [16:01:59.000] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* Version: 4 structureChanged: true structureIsReused:: Not Elapsed:: *ms -Info 67 [16:02:00.000] Project '/dev/null/inferredProject1*' (Inferred) -Info 68 [16:02:01.000] Files (3) - /a/lib/lib.d.ts - /user/username/projects/myproject/src/client/app.js - /user/username/projects/myproject/src/server/utilities.js - - - ../../../../a/lib/lib.d.ts - Default library for target 'es5' - src/client/app.js - Root file specified for compilation - src/server/utilities.js - Root file specified for compilation +PolledWatches:: +/user/username/projects/myproject/src/client/tsconfig.json: + {"pollingInterval":2000} +/user/username/projects/myproject/src/client/jsconfig.json: + {"pollingInterval":2000} +/user/username/projects/myproject/src/tsconfig.json: + {"pollingInterval":2000} +/user/username/projects/myproject/src/jsconfig.json: + {"pollingInterval":2000} +/user/username/projects/myproject/tsconfig.json: + {"pollingInterval":2000} +/user/username/projects/myproject/jsconfig.json: + {"pollingInterval":2000} +/user/username/projects/myproject/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/myproject/bower_components: + {"pollingInterval":500} +/user/username/projects/myproject/node_modules: + {"pollingInterval":500} +/user/username/projects/myproject/test/backend/tsconfig.json: + {"pollingInterval":2000} +/user/username/projects/myproject/test/backend/jsconfig.json: + {"pollingInterval":2000} +/user/username/projects/myproject/test/tsconfig.json: + {"pollingInterval":2000} +/user/username/projects/myproject/test/jsconfig.json: + {"pollingInterval":2000} -Info 69 [16:02:02.000] ----------------------------------------------- -Info 70 [16:02:03.000] FileWatcher:: Close:: WatchInfo: /user/username/projects/myproject/test/backend/index.js 500 undefined WatchType: Closed Script info -Info 71 [16:02:04.000] Project '/dev/null/inferredProject1*' (Inferred) -Info 71 [16:02:05.000] Files (3) +FsWatches:: +/a/lib/lib.d.ts: + {} +/user/username/projects/myproject/src/server/utilities.js: + {} -Info 71 [16:02:06.000] ----------------------------------------------- -Info 71 [16:02:07.000] Open files: -Info 71 [16:02:08.000] FileName: /user/username/projects/myproject/src/client/app.js ProjectRootPath: /user/username/projects/myproject -Info 71 [16:02:09.000] Projects: /dev/null/inferredProject1* -Info 71 [16:02:10.000] FileName: /user/username/projects/myproject/src/server/utilities.js ProjectRootPath: /user/username/projects/myproject -Info 71 [16:02:11.000] Projects: /dev/null/inferredProject1* +FsWatchesRecursive:: +/user/username/projects/myproject/src: + {} +/user/username/projects/myproject/test: + {} + +Info 40 [16:01:27.000] event: + {"seq":0,"type":"event","event":"suggestionDiag","body":{"file":"/user/username/projects/myproject/test/backend/index.js","diagnostics":[]}} +Before running immediate callbacks and checking length (1) PolledWatches:: /user/username/projects/myproject/src/client/tsconfig.json: @@ -553,36 +568,28 @@ PolledWatches:: {"pollingInterval":500} /user/username/projects/myproject/node_modules: {"pollingInterval":500} -/user/username/projects/myproject/src/server/tsconfig.json: +/user/username/projects/myproject/test/backend/tsconfig.json: {"pollingInterval":2000} -/user/username/projects/myproject/src/server/jsconfig.json: +/user/username/projects/myproject/test/backend/jsconfig.json: + {"pollingInterval":2000} +/user/username/projects/myproject/test/tsconfig.json: + {"pollingInterval":2000} +/user/username/projects/myproject/test/jsconfig.json: {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: {} +/user/username/projects/myproject/src/server/utilities.js: + {} FsWatchesRecursive:: /user/username/projects/myproject/src: {} +/user/username/projects/myproject/test: + {} -Info 71 [16:02:12.000] response: - { - "responseRequired": false - } -Info 72 [16:02:13.000] request: - { - "command": "geterr", - "arguments": { - "delay": 0, - "files": [ - "/user/username/projects/myproject/src/server/utilities.js", - "/user/username/projects/myproject/src/client/app.js" - ] - }, - "seq": 2, - "type": "request" - } +Before checking timeout queue length (1) and running PolledWatches:: /user/username/projects/myproject/src/client/tsconfig.json: @@ -603,19 +610,30 @@ PolledWatches:: {"pollingInterval":500} /user/username/projects/myproject/node_modules: {"pollingInterval":500} -/user/username/projects/myproject/src/server/tsconfig.json: +/user/username/projects/myproject/test/backend/tsconfig.json: {"pollingInterval":2000} -/user/username/projects/myproject/src/server/jsconfig.json: +/user/username/projects/myproject/test/backend/jsconfig.json: + {"pollingInterval":2000} +/user/username/projects/myproject/test/tsconfig.json: + {"pollingInterval":2000} +/user/username/projects/myproject/test/jsconfig.json: {"pollingInterval":2000} FsWatches:: /a/lib/lib.d.ts: {} +/user/username/projects/myproject/src/server/utilities.js: + {} FsWatchesRecursive:: /user/username/projects/myproject/src: {} +/user/username/projects/myproject/test: + {} +Info 41 [16:01:28.000] event: + {"seq":0,"type":"event","event":"syntaxDiag","body":{"file":"/user/username/projects/myproject/src/client/app.js","diagnostics":[]}} +After checking timeout queue length (1) and running PolledWatches:: /user/username/projects/myproject/src/client/tsconfig.json: @@ -636,9 +654,615 @@ PolledWatches:: {"pollingInterval":500} /user/username/projects/myproject/node_modules: {"pollingInterval":500} -/user/username/projects/myproject/src/server/tsconfig.json: +/user/username/projects/myproject/test/backend/tsconfig.json: {"pollingInterval":2000} -/user/username/projects/myproject/src/server/jsconfig.json: +/user/username/projects/myproject/test/backend/jsconfig.json: + {"pollingInterval":2000} +/user/username/projects/myproject/test/tsconfig.json: + {"pollingInterval":2000} +/user/username/projects/myproject/test/jsconfig.json: + {"pollingInterval":2000} + +FsWatches:: +/a/lib/lib.d.ts: + {} +/user/username/projects/myproject/src/server/utilities.js: + {} + +FsWatchesRecursive:: +/user/username/projects/myproject/src: + {} +/user/username/projects/myproject/test: + {} + +Before running immediate callbacks and checking length (1) + +PolledWatches:: +/user/username/projects/myproject/src/client/tsconfig.json: + {"pollingInterval":2000} +/user/username/projects/myproject/src/client/jsconfig.json: + {"pollingInterval":2000} +/user/username/projects/myproject/src/tsconfig.json: + {"pollingInterval":2000} +/user/username/projects/myproject/src/jsconfig.json: + {"pollingInterval":2000} +/user/username/projects/myproject/tsconfig.json: + {"pollingInterval":2000} +/user/username/projects/myproject/jsconfig.json: + {"pollingInterval":2000} +/user/username/projects/myproject/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/myproject/bower_components: + {"pollingInterval":500} +/user/username/projects/myproject/node_modules: + {"pollingInterval":500} +/user/username/projects/myproject/test/backend/tsconfig.json: + {"pollingInterval":2000} +/user/username/projects/myproject/test/backend/jsconfig.json: + {"pollingInterval":2000} +/user/username/projects/myproject/test/tsconfig.json: + {"pollingInterval":2000} +/user/username/projects/myproject/test/jsconfig.json: + {"pollingInterval":2000} + +FsWatches:: +/a/lib/lib.d.ts: + {} +/user/username/projects/myproject/src/server/utilities.js: + {} + +FsWatchesRecursive:: +/user/username/projects/myproject/src: + {} +/user/username/projects/myproject/test: + {} + +Info 42 [16:01:29.000] event: + {"seq":0,"type":"event","event":"semanticDiag","body":{"file":"/user/username/projects/myproject/src/client/app.js","diagnostics":[]}} +Before running immediate callbacks and checking length (1) + +PolledWatches:: +/user/username/projects/myproject/src/client/tsconfig.json: + {"pollingInterval":2000} +/user/username/projects/myproject/src/client/jsconfig.json: + {"pollingInterval":2000} +/user/username/projects/myproject/src/tsconfig.json: + {"pollingInterval":2000} +/user/username/projects/myproject/src/jsconfig.json: + {"pollingInterval":2000} +/user/username/projects/myproject/tsconfig.json: + {"pollingInterval":2000} +/user/username/projects/myproject/jsconfig.json: + {"pollingInterval":2000} +/user/username/projects/myproject/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/myproject/bower_components: + {"pollingInterval":500} +/user/username/projects/myproject/node_modules: + {"pollingInterval":500} +/user/username/projects/myproject/test/backend/tsconfig.json: + {"pollingInterval":2000} +/user/username/projects/myproject/test/backend/jsconfig.json: + {"pollingInterval":2000} +/user/username/projects/myproject/test/tsconfig.json: + {"pollingInterval":2000} +/user/username/projects/myproject/test/jsconfig.json: + {"pollingInterval":2000} + +FsWatches:: +/a/lib/lib.d.ts: + {} +/user/username/projects/myproject/src/server/utilities.js: + {} + +FsWatchesRecursive:: +/user/username/projects/myproject/src: + {} +/user/username/projects/myproject/test: + {} + +Before running immediate callbacks and checking length (1) + +PolledWatches:: +/user/username/projects/myproject/src/client/tsconfig.json: + {"pollingInterval":2000} +/user/username/projects/myproject/src/client/jsconfig.json: + {"pollingInterval":2000} +/user/username/projects/myproject/src/tsconfig.json: + {"pollingInterval":2000} +/user/username/projects/myproject/src/jsconfig.json: + {"pollingInterval":2000} +/user/username/projects/myproject/tsconfig.json: + {"pollingInterval":2000} +/user/username/projects/myproject/jsconfig.json: + {"pollingInterval":2000} +/user/username/projects/myproject/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/myproject/bower_components: + {"pollingInterval":500} +/user/username/projects/myproject/node_modules: + {"pollingInterval":500} +/user/username/projects/myproject/test/backend/tsconfig.json: + {"pollingInterval":2000} +/user/username/projects/myproject/test/backend/jsconfig.json: + {"pollingInterval":2000} +/user/username/projects/myproject/test/tsconfig.json: + {"pollingInterval":2000} +/user/username/projects/myproject/test/jsconfig.json: + {"pollingInterval":2000} + +FsWatches:: +/a/lib/lib.d.ts: + {} +/user/username/projects/myproject/src/server/utilities.js: + {} + +FsWatchesRecursive:: +/user/username/projects/myproject/src: + {} +/user/username/projects/myproject/test: + {} + +Info 43 [16:01:30.000] event: + {"seq":0,"type":"event","event":"suggestionDiag","body":{"file":"/user/username/projects/myproject/src/client/app.js","diagnostics":[]}} +Info 44 [16:01:31.000] event: + {"seq":0,"type":"event","event":"requestCompleted","body":{"request_seq":1}} +Before running immediate callbacks and checking length (1) + +PolledWatches:: +/user/username/projects/myproject/src/client/tsconfig.json: + {"pollingInterval":2000} +/user/username/projects/myproject/src/client/jsconfig.json: + {"pollingInterval":2000} +/user/username/projects/myproject/src/tsconfig.json: + {"pollingInterval":2000} +/user/username/projects/myproject/src/jsconfig.json: + {"pollingInterval":2000} +/user/username/projects/myproject/tsconfig.json: + {"pollingInterval":2000} +/user/username/projects/myproject/jsconfig.json: + {"pollingInterval":2000} +/user/username/projects/myproject/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/myproject/bower_components: + {"pollingInterval":500} +/user/username/projects/myproject/node_modules: + {"pollingInterval":500} +/user/username/projects/myproject/test/backend/tsconfig.json: + {"pollingInterval":2000} +/user/username/projects/myproject/test/backend/jsconfig.json: + {"pollingInterval":2000} +/user/username/projects/myproject/test/tsconfig.json: + {"pollingInterval":2000} +/user/username/projects/myproject/test/jsconfig.json: + {"pollingInterval":2000} + +FsWatches:: +/a/lib/lib.d.ts: + {} +/user/username/projects/myproject/src/server/utilities.js: + {} + +FsWatchesRecursive:: +/user/username/projects/myproject/src: + {} +/user/username/projects/myproject/test: + {} + +Info 45 [16:01:32.000] request: + { + "seq": 0, + "type": "request", + "command": "close", + "arguments": { + "file": "/user/username/projects/myproject/test/backend/index.js" + } + } +Before request + +PolledWatches:: +/user/username/projects/myproject/src/client/tsconfig.json: + {"pollingInterval":2000} +/user/username/projects/myproject/src/client/jsconfig.json: + {"pollingInterval":2000} +/user/username/projects/myproject/src/tsconfig.json: + {"pollingInterval":2000} +/user/username/projects/myproject/src/jsconfig.json: + {"pollingInterval":2000} +/user/username/projects/myproject/tsconfig.json: + {"pollingInterval":2000} +/user/username/projects/myproject/jsconfig.json: + {"pollingInterval":2000} +/user/username/projects/myproject/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/myproject/bower_components: + {"pollingInterval":500} +/user/username/projects/myproject/node_modules: + {"pollingInterval":500} +/user/username/projects/myproject/test/backend/tsconfig.json: + {"pollingInterval":2000} +/user/username/projects/myproject/test/backend/jsconfig.json: + {"pollingInterval":2000} +/user/username/projects/myproject/test/tsconfig.json: + {"pollingInterval":2000} +/user/username/projects/myproject/test/jsconfig.json: + {"pollingInterval":2000} + +FsWatches:: +/a/lib/lib.d.ts: + {} +/user/username/projects/myproject/src/server/utilities.js: + {} + +FsWatchesRecursive:: +/user/username/projects/myproject/src: + {} +/user/username/projects/myproject/test: + {} + +Info 46 [16:01:33.000] FileWatcher:: Close:: WatchInfo: /user/username/projects/myproject/test/backend/tsconfig.json 2000 undefined WatchType: Config file for the inferred project root +Info 47 [16:01:34.000] FileWatcher:: Close:: WatchInfo: /user/username/projects/myproject/test/backend/jsconfig.json 2000 undefined WatchType: Config file for the inferred project root +Info 48 [16:01:35.000] FileWatcher:: Close:: WatchInfo: /user/username/projects/myproject/test/tsconfig.json 2000 undefined WatchType: Config file for the inferred project root +Info 49 [16:01:36.000] FileWatcher:: Close:: WatchInfo: /user/username/projects/myproject/test/jsconfig.json 2000 undefined WatchType: Config file for the inferred project root +Info 50 [16:01:37.000] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/test/backend/index.js 500 undefined WatchType: Closed Script info +Info 51 [16:01:38.000] Project '/dev/null/inferredProject1*' (Inferred) +Info 51 [16:01:39.000] Files (4) + +Info 51 [16:01:40.000] ----------------------------------------------- +Info 51 [16:01:41.000] Open files: +Info 51 [16:01:42.000] FileName: /user/username/projects/myproject/src/client/app.js ProjectRootPath: /user/username/projects/myproject +Info 51 [16:01:43.000] Projects: /dev/null/inferredProject1* +After request + +PolledWatches:: +/user/username/projects/myproject/src/client/tsconfig.json: + {"pollingInterval":2000} +/user/username/projects/myproject/src/client/jsconfig.json: + {"pollingInterval":2000} +/user/username/projects/myproject/src/tsconfig.json: + {"pollingInterval":2000} +/user/username/projects/myproject/src/jsconfig.json: + {"pollingInterval":2000} +/user/username/projects/myproject/tsconfig.json: + {"pollingInterval":2000} +/user/username/projects/myproject/jsconfig.json: + {"pollingInterval":2000} +/user/username/projects/myproject/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/myproject/bower_components: + {"pollingInterval":500} +/user/username/projects/myproject/node_modules: + {"pollingInterval":500} + +FsWatches:: +/a/lib/lib.d.ts: + {} +/user/username/projects/myproject/src/server/utilities.js: + {} +/user/username/projects/myproject/test/backend/index.js: + {} + +FsWatchesRecursive:: +/user/username/projects/myproject/src: + {} +/user/username/projects/myproject/test: + {} + +Info 51 [16:01:44.000] response: + { + "responseRequired": false + } +Info 52 [16:01:45.000] request: + { + "seq": 0, + "type": "request", + "command": "open", + "arguments": { + "file": "/user/username/projects/myproject/src/server/utilities.js", + "projectRootPath": "/user/username/projects/myproject" + } + } +Before request + +PolledWatches:: +/user/username/projects/myproject/src/client/tsconfig.json: + {"pollingInterval":2000} +/user/username/projects/myproject/src/client/jsconfig.json: + {"pollingInterval":2000} +/user/username/projects/myproject/src/tsconfig.json: + {"pollingInterval":2000} +/user/username/projects/myproject/src/jsconfig.json: + {"pollingInterval":2000} +/user/username/projects/myproject/tsconfig.json: + {"pollingInterval":2000} +/user/username/projects/myproject/jsconfig.json: + {"pollingInterval":2000} +/user/username/projects/myproject/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/myproject/bower_components: + {"pollingInterval":500} +/user/username/projects/myproject/node_modules: + {"pollingInterval":500} + +FsWatches:: +/a/lib/lib.d.ts: + {} +/user/username/projects/myproject/src/server/utilities.js: + {} +/user/username/projects/myproject/test/backend/index.js: + {} + +FsWatchesRecursive:: +/user/username/projects/myproject/src: + {} +/user/username/projects/myproject/test: + {} + +Info 53 [16:01:46.000] FileWatcher:: Close:: WatchInfo: /user/username/projects/myproject/src/server/utilities.js 500 undefined WatchType: Closed Script info +Info 54 [16:01:47.000] Search path: /user/username/projects/myproject/src/server +Info 55 [16:01:48.000] For info: /user/username/projects/myproject/src/server/utilities.js :: No config files found. +Info 56 [16:01:49.000] Starting updateGraphWorker: Project: /dev/null/inferredProject1* +Info 57 [16:01:50.000] DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/myproject/src 1 undefined Project: /dev/null/inferredProject1* WatchType: Failed Lookup Locations +Info 58 [16:01:51.000] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /user/username/projects/myproject/src 1 undefined Project: /dev/null/inferredProject1* WatchType: Failed Lookup Locations +Info 59 [16:01:52.000] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* Version: 3 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info 60 [16:01:53.000] Project '/dev/null/inferredProject1*' (Inferred) +Info 61 [16:01:54.000] Files (2) + /a/lib/lib.d.ts + /user/username/projects/myproject/src/client/app.js + + + ../../../../a/lib/lib.d.ts + Default library for target 'es5' + src/client/app.js + Root file specified for compilation + +Info 62 [16:01:55.000] ----------------------------------------------- +Info 63 [16:01:56.000] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/src/server/tsconfig.json 2000 undefined WatchType: Config file for the inferred project root +Info 64 [16:01:57.000] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/src/server/jsconfig.json 2000 undefined WatchType: Config file for the inferred project root +Info 65 [16:01:58.000] Starting updateGraphWorker: Project: /dev/null/inferredProject1* +Info 66 [16:01:59.000] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* Version: 4 structureChanged: true structureIsReused:: Not Elapsed:: *ms +Info 67 [16:02:00.000] Project '/dev/null/inferredProject1*' (Inferred) +Info 68 [16:02:01.000] Files (3) + /a/lib/lib.d.ts + /user/username/projects/myproject/src/client/app.js + /user/username/projects/myproject/src/server/utilities.js + + + ../../../../a/lib/lib.d.ts + Default library for target 'es5' + src/client/app.js + Root file specified for compilation + src/server/utilities.js + Root file specified for compilation + +Info 69 [16:02:02.000] ----------------------------------------------- +Info 70 [16:02:03.000] FileWatcher:: Close:: WatchInfo: /user/username/projects/myproject/test/backend/index.js 500 undefined WatchType: Closed Script info +Info 71 [16:02:04.000] Project '/dev/null/inferredProject1*' (Inferred) +Info 71 [16:02:05.000] Files (3) + +Info 71 [16:02:06.000] ----------------------------------------------- +Info 71 [16:02:07.000] Open files: +Info 71 [16:02:08.000] FileName: /user/username/projects/myproject/src/client/app.js ProjectRootPath: /user/username/projects/myproject +Info 71 [16:02:09.000] Projects: /dev/null/inferredProject1* +Info 71 [16:02:10.000] FileName: /user/username/projects/myproject/src/server/utilities.js ProjectRootPath: /user/username/projects/myproject +Info 71 [16:02:11.000] Projects: /dev/null/inferredProject1* +After request + +PolledWatches:: +/user/username/projects/myproject/src/client/tsconfig.json: + {"pollingInterval":2000} +/user/username/projects/myproject/src/client/jsconfig.json: + {"pollingInterval":2000} +/user/username/projects/myproject/src/tsconfig.json: + {"pollingInterval":2000} +/user/username/projects/myproject/src/jsconfig.json: + {"pollingInterval":2000} +/user/username/projects/myproject/tsconfig.json: + {"pollingInterval":2000} +/user/username/projects/myproject/jsconfig.json: + {"pollingInterval":2000} +/user/username/projects/myproject/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/myproject/bower_components: + {"pollingInterval":500} +/user/username/projects/myproject/node_modules: + {"pollingInterval":500} +/user/username/projects/myproject/src/server/tsconfig.json: + {"pollingInterval":2000} +/user/username/projects/myproject/src/server/jsconfig.json: + {"pollingInterval":2000} + +FsWatches:: +/a/lib/lib.d.ts: + {} + +FsWatchesRecursive:: +/user/username/projects/myproject/src: + {} + +Info 71 [16:02:12.000] response: + { + "responseRequired": false + } +Info 72 [16:02:13.000] request: + { + "command": "geterr", + "arguments": { + "delay": 0, + "files": [ + "/user/username/projects/myproject/src/server/utilities.js", + "/user/username/projects/myproject/src/client/app.js" + ] + }, + "seq": 2, + "type": "request" + } +Before request + +PolledWatches:: +/user/username/projects/myproject/src/client/tsconfig.json: + {"pollingInterval":2000} +/user/username/projects/myproject/src/client/jsconfig.json: + {"pollingInterval":2000} +/user/username/projects/myproject/src/tsconfig.json: + {"pollingInterval":2000} +/user/username/projects/myproject/src/jsconfig.json: + {"pollingInterval":2000} +/user/username/projects/myproject/tsconfig.json: + {"pollingInterval":2000} +/user/username/projects/myproject/jsconfig.json: + {"pollingInterval":2000} +/user/username/projects/myproject/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/myproject/bower_components: + {"pollingInterval":500} +/user/username/projects/myproject/node_modules: + {"pollingInterval":500} +/user/username/projects/myproject/src/server/tsconfig.json: + {"pollingInterval":2000} +/user/username/projects/myproject/src/server/jsconfig.json: + {"pollingInterval":2000} + +FsWatches:: +/a/lib/lib.d.ts: + {} + +FsWatchesRecursive:: +/user/username/projects/myproject/src: + {} + +After request + +PolledWatches:: +/user/username/projects/myproject/src/client/tsconfig.json: + {"pollingInterval":2000} +/user/username/projects/myproject/src/client/jsconfig.json: + {"pollingInterval":2000} +/user/username/projects/myproject/src/tsconfig.json: + {"pollingInterval":2000} +/user/username/projects/myproject/src/jsconfig.json: + {"pollingInterval":2000} +/user/username/projects/myproject/tsconfig.json: + {"pollingInterval":2000} +/user/username/projects/myproject/jsconfig.json: + {"pollingInterval":2000} +/user/username/projects/myproject/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/myproject/bower_components: + {"pollingInterval":500} +/user/username/projects/myproject/node_modules: + {"pollingInterval":500} +/user/username/projects/myproject/src/server/tsconfig.json: + {"pollingInterval":2000} +/user/username/projects/myproject/src/server/jsconfig.json: + {"pollingInterval":2000} + +FsWatches:: +/a/lib/lib.d.ts: + {} + +FsWatchesRecursive:: +/user/username/projects/myproject/src: + {} + +Info 73 [16:02:14.000] response: + { + "responseRequired": false + } +Before checking timeout queue length (1) and running + +PolledWatches:: +/user/username/projects/myproject/src/client/tsconfig.json: + {"pollingInterval":2000} +/user/username/projects/myproject/src/client/jsconfig.json: + {"pollingInterval":2000} +/user/username/projects/myproject/src/tsconfig.json: + {"pollingInterval":2000} +/user/username/projects/myproject/src/jsconfig.json: + {"pollingInterval":2000} +/user/username/projects/myproject/tsconfig.json: + {"pollingInterval":2000} +/user/username/projects/myproject/jsconfig.json: + {"pollingInterval":2000} +/user/username/projects/myproject/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/myproject/bower_components: + {"pollingInterval":500} +/user/username/projects/myproject/node_modules: + {"pollingInterval":500} +/user/username/projects/myproject/src/server/tsconfig.json: + {"pollingInterval":2000} +/user/username/projects/myproject/src/server/jsconfig.json: + {"pollingInterval":2000} + +FsWatches:: +/a/lib/lib.d.ts: + {} + +FsWatchesRecursive:: +/user/username/projects/myproject/src: + {} + +Info 74 [16:02:15.000] event: + {"seq":0,"type":"event","event":"syntaxDiag","body":{"file":"/user/username/projects/myproject/src/server/utilities.js","diagnostics":[]}} +After checking timeout queue length (1) and running + +PolledWatches:: +/user/username/projects/myproject/src/client/tsconfig.json: + {"pollingInterval":2000} +/user/username/projects/myproject/src/client/jsconfig.json: + {"pollingInterval":2000} +/user/username/projects/myproject/src/tsconfig.json: + {"pollingInterval":2000} +/user/username/projects/myproject/src/jsconfig.json: + {"pollingInterval":2000} +/user/username/projects/myproject/tsconfig.json: + {"pollingInterval":2000} +/user/username/projects/myproject/jsconfig.json: + {"pollingInterval":2000} +/user/username/projects/myproject/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/myproject/bower_components: + {"pollingInterval":500} +/user/username/projects/myproject/node_modules: + {"pollingInterval":500} +/user/username/projects/myproject/src/server/tsconfig.json: + {"pollingInterval":2000} +/user/username/projects/myproject/src/server/jsconfig.json: + {"pollingInterval":2000} + +FsWatches:: +/a/lib/lib.d.ts: + {} + +FsWatchesRecursive:: +/user/username/projects/myproject/src: + {} + +Before running immediate callbacks and checking length (1) + +PolledWatches:: +/user/username/projects/myproject/src/client/tsconfig.json: + {"pollingInterval":2000} +/user/username/projects/myproject/src/client/jsconfig.json: + {"pollingInterval":2000} +/user/username/projects/myproject/src/tsconfig.json: + {"pollingInterval":2000} +/user/username/projects/myproject/src/jsconfig.json: + {"pollingInterval":2000} +/user/username/projects/myproject/tsconfig.json: + {"pollingInterval":2000} +/user/username/projects/myproject/jsconfig.json: + {"pollingInterval":2000} +/user/username/projects/myproject/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/myproject/bower_components: + {"pollingInterval":500} +/user/username/projects/myproject/node_modules: + {"pollingInterval":500} +/user/username/projects/myproject/src/server/tsconfig.json: + {"pollingInterval":2000} +/user/username/projects/myproject/src/server/jsconfig.json: {"pollingInterval":2000} FsWatches:: @@ -649,21 +1273,320 @@ FsWatchesRecursive:: /user/username/projects/myproject/src: {} -Info 73 [16:02:14.000] response: - { - "responseRequired": false - } -Info 74 [16:02:15.000] event: - {"seq":0,"type":"event","event":"syntaxDiag","body":{"file":"/user/username/projects/myproject/src/server/utilities.js","diagnostics":[]}} Info 75 [16:02:16.000] event: {"seq":0,"type":"event","event":"semanticDiag","body":{"file":"/user/username/projects/myproject/src/server/utilities.js","diagnostics":[]}} +Before running immediate callbacks and checking length (1) + +PolledWatches:: +/user/username/projects/myproject/src/client/tsconfig.json: + {"pollingInterval":2000} +/user/username/projects/myproject/src/client/jsconfig.json: + {"pollingInterval":2000} +/user/username/projects/myproject/src/tsconfig.json: + {"pollingInterval":2000} +/user/username/projects/myproject/src/jsconfig.json: + {"pollingInterval":2000} +/user/username/projects/myproject/tsconfig.json: + {"pollingInterval":2000} +/user/username/projects/myproject/jsconfig.json: + {"pollingInterval":2000} +/user/username/projects/myproject/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/myproject/bower_components: + {"pollingInterval":500} +/user/username/projects/myproject/node_modules: + {"pollingInterval":500} +/user/username/projects/myproject/src/server/tsconfig.json: + {"pollingInterval":2000} +/user/username/projects/myproject/src/server/jsconfig.json: + {"pollingInterval":2000} + +FsWatches:: +/a/lib/lib.d.ts: + {} + +FsWatchesRecursive:: +/user/username/projects/myproject/src: + {} + +Before running immediate callbacks and checking length (1) + +PolledWatches:: +/user/username/projects/myproject/src/client/tsconfig.json: + {"pollingInterval":2000} +/user/username/projects/myproject/src/client/jsconfig.json: + {"pollingInterval":2000} +/user/username/projects/myproject/src/tsconfig.json: + {"pollingInterval":2000} +/user/username/projects/myproject/src/jsconfig.json: + {"pollingInterval":2000} +/user/username/projects/myproject/tsconfig.json: + {"pollingInterval":2000} +/user/username/projects/myproject/jsconfig.json: + {"pollingInterval":2000} +/user/username/projects/myproject/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/myproject/bower_components: + {"pollingInterval":500} +/user/username/projects/myproject/node_modules: + {"pollingInterval":500} +/user/username/projects/myproject/src/server/tsconfig.json: + {"pollingInterval":2000} +/user/username/projects/myproject/src/server/jsconfig.json: + {"pollingInterval":2000} + +FsWatches:: +/a/lib/lib.d.ts: + {} + +FsWatchesRecursive:: +/user/username/projects/myproject/src: + {} + Info 76 [16:02:17.000] event: {"seq":0,"type":"event","event":"suggestionDiag","body":{"file":"/user/username/projects/myproject/src/server/utilities.js","diagnostics":[]}} +Before running immediate callbacks and checking length (1) + +PolledWatches:: +/user/username/projects/myproject/src/client/tsconfig.json: + {"pollingInterval":2000} +/user/username/projects/myproject/src/client/jsconfig.json: + {"pollingInterval":2000} +/user/username/projects/myproject/src/tsconfig.json: + {"pollingInterval":2000} +/user/username/projects/myproject/src/jsconfig.json: + {"pollingInterval":2000} +/user/username/projects/myproject/tsconfig.json: + {"pollingInterval":2000} +/user/username/projects/myproject/jsconfig.json: + {"pollingInterval":2000} +/user/username/projects/myproject/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/myproject/bower_components: + {"pollingInterval":500} +/user/username/projects/myproject/node_modules: + {"pollingInterval":500} +/user/username/projects/myproject/src/server/tsconfig.json: + {"pollingInterval":2000} +/user/username/projects/myproject/src/server/jsconfig.json: + {"pollingInterval":2000} + +FsWatches:: +/a/lib/lib.d.ts: + {} + +FsWatchesRecursive:: +/user/username/projects/myproject/src: + {} + +Before checking timeout queue length (1) and running + +PolledWatches:: +/user/username/projects/myproject/src/client/tsconfig.json: + {"pollingInterval":2000} +/user/username/projects/myproject/src/client/jsconfig.json: + {"pollingInterval":2000} +/user/username/projects/myproject/src/tsconfig.json: + {"pollingInterval":2000} +/user/username/projects/myproject/src/jsconfig.json: + {"pollingInterval":2000} +/user/username/projects/myproject/tsconfig.json: + {"pollingInterval":2000} +/user/username/projects/myproject/jsconfig.json: + {"pollingInterval":2000} +/user/username/projects/myproject/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/myproject/bower_components: + {"pollingInterval":500} +/user/username/projects/myproject/node_modules: + {"pollingInterval":500} +/user/username/projects/myproject/src/server/tsconfig.json: + {"pollingInterval":2000} +/user/username/projects/myproject/src/server/jsconfig.json: + {"pollingInterval":2000} + +FsWatches:: +/a/lib/lib.d.ts: + {} + +FsWatchesRecursive:: +/user/username/projects/myproject/src: + {} + Info 77 [16:02:18.000] event: {"seq":0,"type":"event","event":"syntaxDiag","body":{"file":"/user/username/projects/myproject/src/client/app.js","diagnostics":[]}} +After checking timeout queue length (1) and running + +PolledWatches:: +/user/username/projects/myproject/src/client/tsconfig.json: + {"pollingInterval":2000} +/user/username/projects/myproject/src/client/jsconfig.json: + {"pollingInterval":2000} +/user/username/projects/myproject/src/tsconfig.json: + {"pollingInterval":2000} +/user/username/projects/myproject/src/jsconfig.json: + {"pollingInterval":2000} +/user/username/projects/myproject/tsconfig.json: + {"pollingInterval":2000} +/user/username/projects/myproject/jsconfig.json: + {"pollingInterval":2000} +/user/username/projects/myproject/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/myproject/bower_components: + {"pollingInterval":500} +/user/username/projects/myproject/node_modules: + {"pollingInterval":500} +/user/username/projects/myproject/src/server/tsconfig.json: + {"pollingInterval":2000} +/user/username/projects/myproject/src/server/jsconfig.json: + {"pollingInterval":2000} + +FsWatches:: +/a/lib/lib.d.ts: + {} + +FsWatchesRecursive:: +/user/username/projects/myproject/src: + {} + +Before running immediate callbacks and checking length (1) + +PolledWatches:: +/user/username/projects/myproject/src/client/tsconfig.json: + {"pollingInterval":2000} +/user/username/projects/myproject/src/client/jsconfig.json: + {"pollingInterval":2000} +/user/username/projects/myproject/src/tsconfig.json: + {"pollingInterval":2000} +/user/username/projects/myproject/src/jsconfig.json: + {"pollingInterval":2000} +/user/username/projects/myproject/tsconfig.json: + {"pollingInterval":2000} +/user/username/projects/myproject/jsconfig.json: + {"pollingInterval":2000} +/user/username/projects/myproject/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/myproject/bower_components: + {"pollingInterval":500} +/user/username/projects/myproject/node_modules: + {"pollingInterval":500} +/user/username/projects/myproject/src/server/tsconfig.json: + {"pollingInterval":2000} +/user/username/projects/myproject/src/server/jsconfig.json: + {"pollingInterval":2000} + +FsWatches:: +/a/lib/lib.d.ts: + {} + +FsWatchesRecursive:: +/user/username/projects/myproject/src: + {} + Info 78 [16:02:19.000] event: {"seq":0,"type":"event","event":"semanticDiag","body":{"file":"/user/username/projects/myproject/src/client/app.js","diagnostics":[]}} +Before running immediate callbacks and checking length (1) + +PolledWatches:: +/user/username/projects/myproject/src/client/tsconfig.json: + {"pollingInterval":2000} +/user/username/projects/myproject/src/client/jsconfig.json: + {"pollingInterval":2000} +/user/username/projects/myproject/src/tsconfig.json: + {"pollingInterval":2000} +/user/username/projects/myproject/src/jsconfig.json: + {"pollingInterval":2000} +/user/username/projects/myproject/tsconfig.json: + {"pollingInterval":2000} +/user/username/projects/myproject/jsconfig.json: + {"pollingInterval":2000} +/user/username/projects/myproject/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/myproject/bower_components: + {"pollingInterval":500} +/user/username/projects/myproject/node_modules: + {"pollingInterval":500} +/user/username/projects/myproject/src/server/tsconfig.json: + {"pollingInterval":2000} +/user/username/projects/myproject/src/server/jsconfig.json: + {"pollingInterval":2000} + +FsWatches:: +/a/lib/lib.d.ts: + {} + +FsWatchesRecursive:: +/user/username/projects/myproject/src: + {} + +Before running immediate callbacks and checking length (1) + +PolledWatches:: +/user/username/projects/myproject/src/client/tsconfig.json: + {"pollingInterval":2000} +/user/username/projects/myproject/src/client/jsconfig.json: + {"pollingInterval":2000} +/user/username/projects/myproject/src/tsconfig.json: + {"pollingInterval":2000} +/user/username/projects/myproject/src/jsconfig.json: + {"pollingInterval":2000} +/user/username/projects/myproject/tsconfig.json: + {"pollingInterval":2000} +/user/username/projects/myproject/jsconfig.json: + {"pollingInterval":2000} +/user/username/projects/myproject/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/myproject/bower_components: + {"pollingInterval":500} +/user/username/projects/myproject/node_modules: + {"pollingInterval":500} +/user/username/projects/myproject/src/server/tsconfig.json: + {"pollingInterval":2000} +/user/username/projects/myproject/src/server/jsconfig.json: + {"pollingInterval":2000} + +FsWatches:: +/a/lib/lib.d.ts: + {} + +FsWatchesRecursive:: +/user/username/projects/myproject/src: + {} + Info 79 [16:02:20.000] event: {"seq":0,"type":"event","event":"suggestionDiag","body":{"file":"/user/username/projects/myproject/src/client/app.js","diagnostics":[]}} Info 80 [16:02:21.000] event: - {"seq":0,"type":"event","event":"requestCompleted","body":{"request_seq":2}} \ No newline at end of file + {"seq":0,"type":"event","event":"requestCompleted","body":{"request_seq":2}} +Before running immediate callbacks and checking length (1) + +PolledWatches:: +/user/username/projects/myproject/src/client/tsconfig.json: + {"pollingInterval":2000} +/user/username/projects/myproject/src/client/jsconfig.json: + {"pollingInterval":2000} +/user/username/projects/myproject/src/tsconfig.json: + {"pollingInterval":2000} +/user/username/projects/myproject/src/jsconfig.json: + {"pollingInterval":2000} +/user/username/projects/myproject/tsconfig.json: + {"pollingInterval":2000} +/user/username/projects/myproject/jsconfig.json: + {"pollingInterval":2000} +/user/username/projects/myproject/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/myproject/bower_components: + {"pollingInterval":500} +/user/username/projects/myproject/node_modules: + {"pollingInterval":500} +/user/username/projects/myproject/src/server/tsconfig.json: + {"pollingInterval":2000} +/user/username/projects/myproject/src/server/jsconfig.json: + {"pollingInterval":2000} + +FsWatches:: +/a/lib/lib.d.ts: + {} + +FsWatchesRecursive:: +/user/username/projects/myproject/src: + {} diff --git a/tests/baselines/reference/tsserver/projectErrors/should-not-report-incorrect-error-when-json-is-root-file-found-by-tsconfig.js b/tests/baselines/reference/tsserver/projectErrors/should-not-report-incorrect-error-when-json-is-root-file-found-by-tsconfig.js index 8f0c808aedc1d..5ca0907e56d7f 100644 --- a/tests/baselines/reference/tsserver/projectErrors/should-not-report-incorrect-error-when-json-is-root-file-found-by-tsconfig.js +++ b/tests/baselines/reference/tsserver/projectErrors/should-not-report-incorrect-error-when-json-is-root-file-found-by-tsconfig.js @@ -8,6 +8,7 @@ Info 1 [16:00:26.000] request: "file": "/user/username/projects/myproject/src/test.ts" } } +Before request //// [/user/username/projects/myproject/src/test.ts] import * as blabla from "./blabla.json"; declare var console: any; @@ -98,6 +99,7 @@ Info 27 [16:00:54.000] ----------------------------------------------- Info 27 [16:00:55.000] Open files: Info 27 [16:00:56.000] FileName: /user/username/projects/myproject/src/test.ts ProjectRootPath: undefined Info 27 [16:00:57.000] Projects: /user/username/projects/myproject/tsconfig.json +After request PolledWatches:: /user/username/projects/myproject/node_modules/@types: @@ -133,6 +135,7 @@ Info 28 [16:00:59.000] request: "seq": 1, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/node_modules/@types: @@ -152,6 +155,7 @@ FsWatchesRecursive:: /user/username/projects/myproject/src: {} +After request PolledWatches:: /user/username/projects/myproject/node_modules/@types: @@ -175,11 +179,130 @@ Info 29 [16:01:00.000] response: { "responseRequired": false } +Before checking timeout queue length (1) and running + +PolledWatches:: +/user/username/projects/myproject/node_modules/@types: + {"pollingInterval":500} + +FsWatches:: +/user/username/projects/myproject/tsconfig.json: + {} +/user/username/projects/myproject/src: + {} +/user/username/projects/myproject/src/blabla.json: + {} +/a/lib/lib.d.ts: + {} + +FsWatchesRecursive:: +/user/username/projects/myproject/src: + {} + Info 30 [16:01:01.000] event: {"seq":0,"type":"event","event":"syntaxDiag","body":{"file":"/user/username/projects/myproject/src/test.ts","diagnostics":[]}} +After checking timeout queue length (1) and running + +PolledWatches:: +/user/username/projects/myproject/node_modules/@types: + {"pollingInterval":500} + +FsWatches:: +/user/username/projects/myproject/tsconfig.json: + {} +/user/username/projects/myproject/src: + {} +/user/username/projects/myproject/src/blabla.json: + {} +/a/lib/lib.d.ts: + {} + +FsWatchesRecursive:: +/user/username/projects/myproject/src: + {} + +Before running immediate callbacks and checking length (1) + +PolledWatches:: +/user/username/projects/myproject/node_modules/@types: + {"pollingInterval":500} + +FsWatches:: +/user/username/projects/myproject/tsconfig.json: + {} +/user/username/projects/myproject/src: + {} +/user/username/projects/myproject/src/blabla.json: + {} +/a/lib/lib.d.ts: + {} + +FsWatchesRecursive:: +/user/username/projects/myproject/src: + {} + Info 31 [16:01:02.000] event: {"seq":0,"type":"event","event":"semanticDiag","body":{"file":"/user/username/projects/myproject/src/test.ts","diagnostics":[]}} +Before running immediate callbacks and checking length (1) + +PolledWatches:: +/user/username/projects/myproject/node_modules/@types: + {"pollingInterval":500} + +FsWatches:: +/user/username/projects/myproject/tsconfig.json: + {} +/user/username/projects/myproject/src: + {} +/user/username/projects/myproject/src/blabla.json: + {} +/a/lib/lib.d.ts: + {} + +FsWatchesRecursive:: +/user/username/projects/myproject/src: + {} + +Before running immediate callbacks and checking length (1) + +PolledWatches:: +/user/username/projects/myproject/node_modules/@types: + {"pollingInterval":500} + +FsWatches:: +/user/username/projects/myproject/tsconfig.json: + {} +/user/username/projects/myproject/src: + {} +/user/username/projects/myproject/src/blabla.json: + {} +/a/lib/lib.d.ts: + {} + +FsWatchesRecursive:: +/user/username/projects/myproject/src: + {} + Info 32 [16:01:03.000] event: {"seq":0,"type":"event","event":"suggestionDiag","body":{"file":"/user/username/projects/myproject/src/test.ts","diagnostics":[]}} Info 33 [16:01:04.000] event: - {"seq":0,"type":"event","event":"requestCompleted","body":{"request_seq":1}} \ No newline at end of file + {"seq":0,"type":"event","event":"requestCompleted","body":{"request_seq":1}} +Before running immediate callbacks and checking length (1) + +PolledWatches:: +/user/username/projects/myproject/node_modules/@types: + {"pollingInterval":500} + +FsWatches:: +/user/username/projects/myproject/tsconfig.json: + {} +/user/username/projects/myproject/src: + {} +/user/username/projects/myproject/src/blabla.json: + {} +/a/lib/lib.d.ts: + {} + +FsWatchesRecursive:: +/user/username/projects/myproject/src: + {} diff --git a/tests/baselines/reference/tsserver/projectErrors/should-report-error-when-json-is-not-root-file-found-by-tsconfig.js b/tests/baselines/reference/tsserver/projectErrors/should-report-error-when-json-is-not-root-file-found-by-tsconfig.js index 2557d213c8cfc..5c6e053919784 100644 --- a/tests/baselines/reference/tsserver/projectErrors/should-report-error-when-json-is-not-root-file-found-by-tsconfig.js +++ b/tests/baselines/reference/tsserver/projectErrors/should-report-error-when-json-is-not-root-file-found-by-tsconfig.js @@ -8,6 +8,7 @@ Info 1 [16:00:26.000] request: "file": "/user/username/projects/myproject/src/test.ts" } } +Before request //// [/user/username/projects/myproject/src/test.ts] import * as blabla from "./blabla.json"; declare var console: any; @@ -96,6 +97,7 @@ Info 27 [16:00:54.000] ----------------------------------------------- Info 27 [16:00:55.000] Open files: Info 27 [16:00:56.000] FileName: /user/username/projects/myproject/src/test.ts ProjectRootPath: undefined Info 27 [16:00:57.000] Projects: /user/username/projects/myproject/tsconfig.json +After request PolledWatches:: /user/username/projects/myproject/node_modules/@types: @@ -131,6 +133,7 @@ Info 28 [16:00:59.000] request: "seq": 1, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/node_modules/@types: @@ -150,6 +153,7 @@ FsWatchesRecursive:: /user/username/projects/myproject/src: {} +After request PolledWatches:: /user/username/projects/myproject/node_modules/@types: @@ -173,11 +177,130 @@ Info 29 [16:01:00.000] response: { "responseRequired": false } +Before checking timeout queue length (1) and running + +PolledWatches:: +/user/username/projects/myproject/node_modules/@types: + {"pollingInterval":500} + +FsWatches:: +/user/username/projects/myproject/tsconfig.json: + {} +/user/username/projects/myproject/src: + {} +/user/username/projects/myproject/src/blabla.json: + {} +/a/lib/lib.d.ts: + {} + +FsWatchesRecursive:: +/user/username/projects/myproject/src: + {} + Info 30 [16:01:01.000] event: {"seq":0,"type":"event","event":"syntaxDiag","body":{"file":"/user/username/projects/myproject/src/test.ts","diagnostics":[]}} +After checking timeout queue length (1) and running + +PolledWatches:: +/user/username/projects/myproject/node_modules/@types: + {"pollingInterval":500} + +FsWatches:: +/user/username/projects/myproject/tsconfig.json: + {} +/user/username/projects/myproject/src: + {} +/user/username/projects/myproject/src/blabla.json: + {} +/a/lib/lib.d.ts: + {} + +FsWatchesRecursive:: +/user/username/projects/myproject/src: + {} + +Before running immediate callbacks and checking length (1) + +PolledWatches:: +/user/username/projects/myproject/node_modules/@types: + {"pollingInterval":500} + +FsWatches:: +/user/username/projects/myproject/tsconfig.json: + {} +/user/username/projects/myproject/src: + {} +/user/username/projects/myproject/src/blabla.json: + {} +/a/lib/lib.d.ts: + {} + +FsWatchesRecursive:: +/user/username/projects/myproject/src: + {} + Info 31 [16:01:02.000] event: {"seq":0,"type":"event","event":"semanticDiag","body":{"file":"/user/username/projects/myproject/src/test.ts","diagnostics":[{"start":{"line":1,"offset":25},"end":{"line":1,"offset":40},"text":"File '/user/username/projects/myproject/src/blabla.json' is not listed within the file list of project '/user/username/projects/myproject/tsconfig.json'. Projects must list all files or use an 'include' pattern.","code":6307,"category":"error"}]}} +Before running immediate callbacks and checking length (1) + +PolledWatches:: +/user/username/projects/myproject/node_modules/@types: + {"pollingInterval":500} + +FsWatches:: +/user/username/projects/myproject/tsconfig.json: + {} +/user/username/projects/myproject/src: + {} +/user/username/projects/myproject/src/blabla.json: + {} +/a/lib/lib.d.ts: + {} + +FsWatchesRecursive:: +/user/username/projects/myproject/src: + {} + +Before running immediate callbacks and checking length (1) + +PolledWatches:: +/user/username/projects/myproject/node_modules/@types: + {"pollingInterval":500} + +FsWatches:: +/user/username/projects/myproject/tsconfig.json: + {} +/user/username/projects/myproject/src: + {} +/user/username/projects/myproject/src/blabla.json: + {} +/a/lib/lib.d.ts: + {} + +FsWatchesRecursive:: +/user/username/projects/myproject/src: + {} + Info 32 [16:01:03.000] event: {"seq":0,"type":"event","event":"suggestionDiag","body":{"file":"/user/username/projects/myproject/src/test.ts","diagnostics":[]}} Info 33 [16:01:04.000] event: - {"seq":0,"type":"event","event":"requestCompleted","body":{"request_seq":1}} \ No newline at end of file + {"seq":0,"type":"event","event":"requestCompleted","body":{"request_seq":1}} +Before running immediate callbacks and checking length (1) + +PolledWatches:: +/user/username/projects/myproject/node_modules/@types: + {"pollingInterval":500} + +FsWatches:: +/user/username/projects/myproject/tsconfig.json: + {} +/user/username/projects/myproject/src: + {} +/user/username/projects/myproject/src/blabla.json: + {} +/a/lib/lib.d.ts: + {} + +FsWatchesRecursive:: +/user/username/projects/myproject/src: + {} diff --git a/tests/baselines/reference/tsserver/projectErrors/when-opening-new-file-that-doesnt-exist-on-disk-yet-with-projectRoot.js b/tests/baselines/reference/tsserver/projectErrors/when-opening-new-file-that-doesnt-exist-on-disk-yet-with-projectRoot.js index 18f3bbab391d9..42dfef28928dd 100644 --- a/tests/baselines/reference/tsserver/projectErrors/when-opening-new-file-that-doesnt-exist-on-disk-yet-with-projectRoot.js +++ b/tests/baselines/reference/tsserver/projectErrors/when-opening-new-file-that-doesnt-exist-on-disk-yet-with-projectRoot.js @@ -11,6 +11,7 @@ Info 1 [16:00:26.000] request: "seq": 1, "type": "request" } +Before request //// [/a/lib/lib.d.ts] /// interface Boolean {} @@ -66,6 +67,7 @@ Info 15 [16:00:42.000] ----------------------------------------------- Info 15 [16:00:43.000] Open files: Info 15 [16:00:44.000] FileName: untitled:Untitled-1 ProjectRootPath: /user/someuser/projects/someFolder Info 15 [16:00:45.000] Projects: /dev/null/inferredProject1* +After request PolledWatches:: /typings/@epic/core.d.ts: @@ -102,6 +104,7 @@ Info 16 [16:00:47.000] request: "seq": 2, "type": "request" } +Before request PolledWatches:: /typings/@epic/core.d.ts: @@ -117,6 +120,7 @@ FsWatches:: FsWatchesRecursive:: +After request PolledWatches:: /typings/@epic/core.d.ts: @@ -136,11 +140,106 @@ Info 17 [16:00:48.000] response: { "responseRequired": false } +Before checking timeout queue length (1) and running + +PolledWatches:: +/typings/@epic/core.d.ts: + {"pollingInterval":500} +/user/someuser/projects/somefolder/node_modules/@types: + {"pollingInterval":500} + +FsWatches:: +/a/lib/lib.d.ts: + {} +/user/someuser/projects/somefolder/src/somefile.d.ts: + {} + +FsWatchesRecursive:: + Info 18 [16:00:49.000] event: {"seq":0,"type":"event","event":"syntaxDiag","body":{"file":"untitled:Untitled-1","diagnostics":[]}} +After checking timeout queue length (1) and running + +PolledWatches:: +/typings/@epic/core.d.ts: + {"pollingInterval":500} +/user/someuser/projects/somefolder/node_modules/@types: + {"pollingInterval":500} + +FsWatches:: +/a/lib/lib.d.ts: + {} +/user/someuser/projects/somefolder/src/somefile.d.ts: + {} + +FsWatchesRecursive:: + +Before running immediate callbacks and checking length (1) + +PolledWatches:: +/typings/@epic/core.d.ts: + {"pollingInterval":500} +/user/someuser/projects/somefolder/node_modules/@types: + {"pollingInterval":500} + +FsWatches:: +/a/lib/lib.d.ts: + {} +/user/someuser/projects/somefolder/src/somefile.d.ts: + {} + +FsWatchesRecursive:: + Info 19 [16:00:50.000] event: {"seq":0,"type":"event","event":"semanticDiag","body":{"file":"untitled:Untitled-1","diagnostics":[{"start":{"line":1,"offset":22},"end":{"line":1,"offset":63},"text":"File '../../../../../../typings/@epic/Core.d.ts' not found.","code":6053,"category":"error"},{"start":{"line":2,"offset":22},"end":{"line":2,"offset":41},"text":"File 'src/somefile.d.ts' not found.","code":6053,"category":"error"}]}} +Before running immediate callbacks and checking length (1) + +PolledWatches:: +/typings/@epic/core.d.ts: + {"pollingInterval":500} +/user/someuser/projects/somefolder/node_modules/@types: + {"pollingInterval":500} + +FsWatches:: +/a/lib/lib.d.ts: + {} +/user/someuser/projects/somefolder/src/somefile.d.ts: + {} + +FsWatchesRecursive:: + +Before running immediate callbacks and checking length (1) + +PolledWatches:: +/typings/@epic/core.d.ts: + {"pollingInterval":500} +/user/someuser/projects/somefolder/node_modules/@types: + {"pollingInterval":500} + +FsWatches:: +/a/lib/lib.d.ts: + {} +/user/someuser/projects/somefolder/src/somefile.d.ts: + {} + +FsWatchesRecursive:: + Info 20 [16:00:51.000] event: {"seq":0,"type":"event","event":"suggestionDiag","body":{"file":"untitled:Untitled-1","diagnostics":[]}} Info 21 [16:00:52.000] event: - {"seq":0,"type":"event","event":"requestCompleted","body":{"request_seq":2}} \ No newline at end of file + {"seq":0,"type":"event","event":"requestCompleted","body":{"request_seq":2}} +Before running immediate callbacks and checking length (1) + +PolledWatches:: +/typings/@epic/core.d.ts: + {"pollingInterval":500} +/user/someuser/projects/somefolder/node_modules/@types: + {"pollingInterval":500} + +FsWatches:: +/a/lib/lib.d.ts: + {} +/user/someuser/projects/somefolder/src/somefile.d.ts: + {} + +FsWatchesRecursive:: diff --git a/tests/baselines/reference/tsserver/projectErrors/when-opening-new-file-that-doesnt-exist-on-disk-yet-without-projectRoot.js b/tests/baselines/reference/tsserver/projectErrors/when-opening-new-file-that-doesnt-exist-on-disk-yet-without-projectRoot.js index 299f092fe93b4..8228aa4eac86d 100644 --- a/tests/baselines/reference/tsserver/projectErrors/when-opening-new-file-that-doesnt-exist-on-disk-yet-without-projectRoot.js +++ b/tests/baselines/reference/tsserver/projectErrors/when-opening-new-file-that-doesnt-exist-on-disk-yet-without-projectRoot.js @@ -10,6 +10,7 @@ Info 1 [16:00:26.000] request: "seq": 1, "type": "request" } +Before request //// [/a/lib/lib.d.ts] /// interface Boolean {} @@ -63,6 +64,7 @@ Info 13 [16:00:40.000] ----------------------------------------------- Info 13 [16:00:41.000] Open files: Info 13 [16:00:42.000] FileName: untitled:Untitled-1 ProjectRootPath: undefined Info 13 [16:00:43.000] Projects: /dev/null/inferredProject1* +After request PolledWatches:: /typings/@epic/core.d.ts: @@ -97,6 +99,7 @@ Info 14 [16:00:45.000] request: "seq": 2, "type": "request" } +Before request PolledWatches:: /typings/@epic/core.d.ts: @@ -110,6 +113,7 @@ FsWatches:: FsWatchesRecursive:: +After request PolledWatches:: /typings/@epic/core.d.ts: @@ -127,11 +131,94 @@ Info 15 [16:00:46.000] response: { "responseRequired": false } +Before checking timeout queue length (1) and running + +PolledWatches:: +/typings/@epic/core.d.ts: + {"pollingInterval":500} + +FsWatches:: +/a/lib/lib.d.ts: + {} +/src/somefile.d.ts: + {} + +FsWatchesRecursive:: + Info 16 [16:00:47.000] event: {"seq":0,"type":"event","event":"syntaxDiag","body":{"file":"untitled:Untitled-1","diagnostics":[]}} +After checking timeout queue length (1) and running + +PolledWatches:: +/typings/@epic/core.d.ts: + {"pollingInterval":500} + +FsWatches:: +/a/lib/lib.d.ts: + {} +/src/somefile.d.ts: + {} + +FsWatchesRecursive:: + +Before running immediate callbacks and checking length (1) + +PolledWatches:: +/typings/@epic/core.d.ts: + {"pollingInterval":500} + +FsWatches:: +/a/lib/lib.d.ts: + {} +/src/somefile.d.ts: + {} + +FsWatchesRecursive:: + Info 17 [16:00:48.000] event: {"seq":0,"type":"event","event":"semanticDiag","body":{"file":"untitled:Untitled-1","diagnostics":[{"start":{"line":1,"offset":22},"end":{"line":1,"offset":63},"text":"File '../../../../../../typings/@epic/Core.d.ts' not found.","code":6053,"category":"error"},{"start":{"line":2,"offset":22},"end":{"line":2,"offset":41},"text":"File 'src/somefile.d.ts' not found.","code":6053,"category":"error"}]}} +Before running immediate callbacks and checking length (1) + +PolledWatches:: +/typings/@epic/core.d.ts: + {"pollingInterval":500} + +FsWatches:: +/a/lib/lib.d.ts: + {} +/src/somefile.d.ts: + {} + +FsWatchesRecursive:: + +Before running immediate callbacks and checking length (1) + +PolledWatches:: +/typings/@epic/core.d.ts: + {"pollingInterval":500} + +FsWatches:: +/a/lib/lib.d.ts: + {} +/src/somefile.d.ts: + {} + +FsWatchesRecursive:: + Info 18 [16:00:49.000] event: {"seq":0,"type":"event","event":"suggestionDiag","body":{"file":"untitled:Untitled-1","diagnostics":[]}} Info 19 [16:00:50.000] event: - {"seq":0,"type":"event","event":"requestCompleted","body":{"request_seq":2}} \ No newline at end of file + {"seq":0,"type":"event","event":"requestCompleted","body":{"request_seq":2}} +Before running immediate callbacks and checking length (1) + +PolledWatches:: +/typings/@epic/core.d.ts: + {"pollingInterval":500} + +FsWatches:: +/a/lib/lib.d.ts: + {} +/src/somefile.d.ts: + {} + +FsWatchesRecursive:: diff --git a/tests/baselines/reference/tsserver/projectErrors/when-semantic-error-returns-includes-global-error-gerErr-with-sync-commands.js b/tests/baselines/reference/tsserver/projectErrors/when-semantic-error-returns-includes-global-error-gerErr-with-sync-commands.js index 086271bf5c0f4..2f5dc4ded90c6 100644 --- a/tests/baselines/reference/tsserver/projectErrors/when-semantic-error-returns-includes-global-error-gerErr-with-sync-commands.js +++ b/tests/baselines/reference/tsserver/projectErrors/when-semantic-error-returns-includes-global-error-gerErr-with-sync-commands.js @@ -8,6 +8,7 @@ Info 1 [16:00:23.000] request: "file": "/user/username/projects/myproject/ui.ts" } } +Before request //// [/a/lib/lib.d.ts] /// interface Boolean {} @@ -74,6 +75,7 @@ Info 18 [16:00:42.000] ----------------------------------------------- Info 18 [16:00:43.000] Open files: Info 18 [16:00:44.000] FileName: /user/username/projects/myproject/ui.ts ProjectRootPath: undefined Info 18 [16:00:45.000] Projects: /user/username/projects/myproject/tsconfig.json +After request PolledWatches:: /user/username/projects/myproject/node_modules/@types: @@ -103,6 +105,7 @@ Info 19 [16:00:47.000] request: "seq": 1, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/node_modules/@types: @@ -118,6 +121,7 @@ FsWatchesRecursive:: /user/username/projects/myproject: {} +After request PolledWatches:: /user/username/projects/myproject/node_modules/@types: @@ -148,6 +152,7 @@ Info 21 [16:00:49.000] request: "seq": 2, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/node_modules/@types: @@ -163,6 +168,7 @@ FsWatchesRecursive:: /user/username/projects/myproject: {} +After request PolledWatches:: /user/username/projects/myproject/node_modules/@types: @@ -207,6 +213,7 @@ Info 23 [16:00:51.000] request: "seq": 3, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/node_modules/@types: @@ -222,6 +229,7 @@ FsWatchesRecursive:: /user/username/projects/myproject: {} +After request PolledWatches:: /user/username/projects/myproject/node_modules/@types: diff --git a/tests/baselines/reference/tsserver/projectErrors/when-semantic-error-returns-includes-global-error-getErr.js b/tests/baselines/reference/tsserver/projectErrors/when-semantic-error-returns-includes-global-error-getErr.js index 70cf1b77eb0e7..15c493e301d30 100644 --- a/tests/baselines/reference/tsserver/projectErrors/when-semantic-error-returns-includes-global-error-getErr.js +++ b/tests/baselines/reference/tsserver/projectErrors/when-semantic-error-returns-includes-global-error-getErr.js @@ -8,6 +8,7 @@ Info 1 [16:00:23.000] request: "file": "/user/username/projects/myproject/ui.ts" } } +Before request //// [/a/lib/lib.d.ts] /// interface Boolean {} @@ -82,6 +83,7 @@ Info 22 [16:00:46.000] ----------------------------------------------- Info 22 [16:00:47.000] Open files: Info 22 [16:00:48.000] FileName: /user/username/projects/myproject/ui.ts ProjectRootPath: undefined Info 22 [16:00:49.000] Projects: /user/username/projects/myproject/tsconfig.json +After request PolledWatches:: /user/username/projects/myproject/node_modules/@types: @@ -113,6 +115,7 @@ Info 23 [16:00:51.000] request: "seq": 1, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/node_modules/@types: @@ -128,6 +131,7 @@ FsWatchesRecursive:: /user/username/projects/myproject: {} +After request PolledWatches:: /user/username/projects/myproject/node_modules/@types: @@ -147,11 +151,106 @@ Info 24 [16:00:52.000] response: { "responseRequired": false } +Before checking timeout queue length (1) and running + +PolledWatches:: +/user/username/projects/myproject/node_modules/@types: + {"pollingInterval":500} + +FsWatches:: +/user/username/projects/myproject/tsconfig.json: + {} +/a/lib/lib.d.ts: + {} + +FsWatchesRecursive:: +/user/username/projects/myproject: + {} + Info 25 [16:00:53.000] event: {"seq":0,"type":"event","event":"syntaxDiag","body":{"file":"/user/username/projects/myproject/ui.ts","diagnostics":[]}} +After checking timeout queue length (1) and running + +PolledWatches:: +/user/username/projects/myproject/node_modules/@types: + {"pollingInterval":500} + +FsWatches:: +/user/username/projects/myproject/tsconfig.json: + {} +/a/lib/lib.d.ts: + {} + +FsWatchesRecursive:: +/user/username/projects/myproject: + {} + +Before running immediate callbacks and checking length (1) + +PolledWatches:: +/user/username/projects/myproject/node_modules/@types: + {"pollingInterval":500} + +FsWatches:: +/user/username/projects/myproject/tsconfig.json: + {} +/a/lib/lib.d.ts: + {} + +FsWatchesRecursive:: +/user/username/projects/myproject: + {} + Info 26 [16:00:54.000] event: {"seq":0,"type":"event","event":"semanticDiag","body":{"file":"/user/username/projects/myproject/ui.ts","diagnostics":[{"start":{"line":1,"offset":11},"end":{"line":1,"offset":39},"text":"An async function or method must return a 'Promise'. Make sure you have a declaration for 'Promise' or include 'ES2015' in your '--lib' option.","code":2697,"category":"error"}]}} +Before running immediate callbacks and checking length (1) + +PolledWatches:: +/user/username/projects/myproject/node_modules/@types: + {"pollingInterval":500} + +FsWatches:: +/user/username/projects/myproject/tsconfig.json: + {} +/a/lib/lib.d.ts: + {} + +FsWatchesRecursive:: +/user/username/projects/myproject: + {} + +Before running immediate callbacks and checking length (1) + +PolledWatches:: +/user/username/projects/myproject/node_modules/@types: + {"pollingInterval":500} + +FsWatches:: +/user/username/projects/myproject/tsconfig.json: + {} +/a/lib/lib.d.ts: + {} + +FsWatchesRecursive:: +/user/username/projects/myproject: + {} + Info 27 [16:00:55.000] event: {"seq":0,"type":"event","event":"suggestionDiag","body":{"file":"/user/username/projects/myproject/ui.ts","diagnostics":[]}} Info 28 [16:00:56.000] event: - {"seq":0,"type":"event","event":"requestCompleted","body":{"request_seq":1}} \ No newline at end of file + {"seq":0,"type":"event","event":"requestCompleted","body":{"request_seq":1}} +Before running immediate callbacks and checking length (1) + +PolledWatches:: +/user/username/projects/myproject/node_modules/@types: + {"pollingInterval":500} + +FsWatches:: +/user/username/projects/myproject/tsconfig.json: + {} +/a/lib/lib.d.ts: + {} + +FsWatchesRecursive:: +/user/username/projects/myproject: + {} diff --git a/tests/baselines/reference/tsserver/projectErrors/when-semantic-error-returns-includes-global-error-geterrForProject.js b/tests/baselines/reference/tsserver/projectErrors/when-semantic-error-returns-includes-global-error-geterrForProject.js index f2f383876d403..0f3fcd4d12f3c 100644 --- a/tests/baselines/reference/tsserver/projectErrors/when-semantic-error-returns-includes-global-error-geterrForProject.js +++ b/tests/baselines/reference/tsserver/projectErrors/when-semantic-error-returns-includes-global-error-geterrForProject.js @@ -8,6 +8,7 @@ Info 1 [16:00:23.000] request: "file": "/user/username/projects/myproject/ui.ts" } } +Before request //// [/a/lib/lib.d.ts] /// interface Boolean {} @@ -82,6 +83,7 @@ Info 22 [16:00:46.000] ----------------------------------------------- Info 22 [16:00:47.000] Open files: Info 22 [16:00:48.000] FileName: /user/username/projects/myproject/ui.ts ProjectRootPath: undefined Info 22 [16:00:49.000] Projects: /user/username/projects/myproject/tsconfig.json +After request PolledWatches:: /user/username/projects/myproject/node_modules/@types: @@ -111,6 +113,7 @@ Info 23 [16:00:51.000] request: "seq": 1, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/node_modules/@types: @@ -126,6 +129,7 @@ FsWatchesRecursive:: /user/username/projects/myproject: {} +After request PolledWatches:: /user/username/projects/myproject/node_modules/@types: @@ -145,11 +149,106 @@ Info 24 [16:00:52.000] response: { "responseRequired": false } +Before checking timeout queue length (1) and running + +PolledWatches:: +/user/username/projects/myproject/node_modules/@types: + {"pollingInterval":500} + +FsWatches:: +/user/username/projects/myproject/tsconfig.json: + {} +/a/lib/lib.d.ts: + {} + +FsWatchesRecursive:: +/user/username/projects/myproject: + {} + Info 25 [16:00:53.000] event: {"seq":0,"type":"event","event":"syntaxDiag","body":{"file":"/user/username/projects/myproject/ui.ts","diagnostics":[]}} +After checking timeout queue length (1) and running + +PolledWatches:: +/user/username/projects/myproject/node_modules/@types: + {"pollingInterval":500} + +FsWatches:: +/user/username/projects/myproject/tsconfig.json: + {} +/a/lib/lib.d.ts: + {} + +FsWatchesRecursive:: +/user/username/projects/myproject: + {} + +Before running immediate callbacks and checking length (1) + +PolledWatches:: +/user/username/projects/myproject/node_modules/@types: + {"pollingInterval":500} + +FsWatches:: +/user/username/projects/myproject/tsconfig.json: + {} +/a/lib/lib.d.ts: + {} + +FsWatchesRecursive:: +/user/username/projects/myproject: + {} + Info 26 [16:00:54.000] event: {"seq":0,"type":"event","event":"semanticDiag","body":{"file":"/user/username/projects/myproject/ui.ts","diagnostics":[{"start":{"line":1,"offset":11},"end":{"line":1,"offset":39},"text":"An async function or method must return a 'Promise'. Make sure you have a declaration for 'Promise' or include 'ES2015' in your '--lib' option.","code":2697,"category":"error"}]}} +Before running immediate callbacks and checking length (1) + +PolledWatches:: +/user/username/projects/myproject/node_modules/@types: + {"pollingInterval":500} + +FsWatches:: +/user/username/projects/myproject/tsconfig.json: + {} +/a/lib/lib.d.ts: + {} + +FsWatchesRecursive:: +/user/username/projects/myproject: + {} + +Before running immediate callbacks and checking length (1) + +PolledWatches:: +/user/username/projects/myproject/node_modules/@types: + {"pollingInterval":500} + +FsWatches:: +/user/username/projects/myproject/tsconfig.json: + {} +/a/lib/lib.d.ts: + {} + +FsWatchesRecursive:: +/user/username/projects/myproject: + {} + Info 27 [16:00:55.000] event: {"seq":0,"type":"event","event":"suggestionDiag","body":{"file":"/user/username/projects/myproject/ui.ts","diagnostics":[]}} Info 28 [16:00:56.000] event: - {"seq":0,"type":"event","event":"requestCompleted","body":{"request_seq":1}} \ No newline at end of file + {"seq":0,"type":"event","event":"requestCompleted","body":{"request_seq":1}} +Before running immediate callbacks and checking length (1) + +PolledWatches:: +/user/username/projects/myproject/node_modules/@types: + {"pollingInterval":500} + +FsWatches:: +/user/username/projects/myproject/tsconfig.json: + {} +/a/lib/lib.d.ts: + {} + +FsWatchesRecursive:: +/user/username/projects/myproject: + {} diff --git a/tests/baselines/reference/tsserver/projectLanguageServiceStateEvent/large-file-size-is-determined-correctly.js b/tests/baselines/reference/tsserver/projectLanguageServiceStateEvent/large-file-size-is-determined-correctly.js index 0103b885aa9b5..2ff4e2e48307e 100644 --- a/tests/baselines/reference/tsserver/projectLanguageServiceStateEvent/large-file-size-is-determined-correctly.js +++ b/tests/baselines/reference/tsserver/projectLanguageServiceStateEvent/large-file-size-is-determined-correctly.js @@ -1,4 +1,37 @@ Info 0 [16:00:17.000] Provided types map file "/typesMap.json" doesn't exist +Creating project service +//// [/a/app.js] +let x = 1; + +//// [/a/largefile.js] + + +//// [/a/extremlylarge.d.ts] + + +//// [/a/lib/lib.d.ts] +/// +interface Boolean {} +interface Function {} +interface CallableFunction {} +interface NewableFunction {} +interface IArguments {} +interface Number { toExponential: any; } +interface Object {} +interface RegExp {} +interface String { charAt: any; } +interface Array { length: number; [n: number]: T; } + +//// [/a/jsconfig.json] +{} + + +PolledWatches:: + +FsWatches:: + +FsWatchesRecursive:: + Info 1 [16:00:18.000] Search path: /a Info 2 [16:00:19.000] For info: /a/app.js :: Config file name: /a/jsconfig.json Info 3 [16:00:20.000] Creating configuration project /a/jsconfig.json diff --git a/tests/baselines/reference/tsserver/projectReferenceCompileOnSave/compile-on-save-emits-same-output-as-project-build-with-external-project.js b/tests/baselines/reference/tsserver/projectReferenceCompileOnSave/compile-on-save-emits-same-output-as-project-build-with-external-project.js index 5ee353de40dbd..5973216b71dff 100644 --- a/tests/baselines/reference/tsserver/projectReferenceCompileOnSave/compile-on-save-emits-same-output-as-project-build-with-external-project.js +++ b/tests/baselines/reference/tsserver/projectReferenceCompileOnSave/compile-on-save-emits-same-output-as-project-build-with-external-project.js @@ -8,6 +8,7 @@ Info 1 [16:00:54.000] request: "file": "/user/username/projects/myproject/SiblingClass/Source.ts" } } +Before request //// [/a/lib/lib.d.ts] /// interface Boolean {} @@ -322,6 +323,7 @@ Info 24 [16:01:19.000] ----------------------------------------------- Info 24 [16:01:20.000] Open files: Info 24 [16:01:21.000] FileName: /user/username/projects/myproject/SiblingClass/Source.ts ProjectRootPath: undefined Info 24 [16:01:22.000] Projects: /user/username/projects/myproject/SiblingClass/tsconfig.json +After request PolledWatches:: /user/username/projects/myproject/SiblingClass/node_modules/@types: @@ -357,6 +359,7 @@ Info 25 [16:01:24.000] request: "seq": 1, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/SiblingClass/node_modules/@types: @@ -378,6 +381,7 @@ FsWatches:: FsWatchesRecursive:: +After request //// [/user/username/projects/myproject/SiblingClass/Source.js] file written with same contents //// [/user/username/projects/myproject/SiblingClass/Source.d.ts] file written with same contents diff --git a/tests/baselines/reference/tsserver/projectReferenceCompileOnSave/save-on-dependency-and-change-to-dependency.js b/tests/baselines/reference/tsserver/projectReferenceCompileOnSave/save-on-dependency-and-change-to-dependency.js index dda8dcae2d479..7caa9d1e235d8 100644 --- a/tests/baselines/reference/tsserver/projectReferenceCompileOnSave/save-on-dependency-and-change-to-dependency.js +++ b/tests/baselines/reference/tsserver/projectReferenceCompileOnSave/save-on-dependency-and-change-to-dependency.js @@ -8,6 +8,7 @@ Info 1 [16:00:30.000] request: "file": "/user/username/projects/myproject/usage/usage.ts" } } +Before request //// [/user/username/projects/myproject/dependency/fns.ts] export function fn1() { } export function fn2() { } @@ -114,6 +115,7 @@ Info 27 [16:00:58.000] ----------------------------------------------- Info 27 [16:00:59.000] Open files: Info 27 [16:01:00.000] FileName: /user/username/projects/myproject/usage/usage.ts ProjectRootPath: undefined Info 27 [16:01:01.000] Projects: /user/username/projects/myproject/usage/tsconfig.json +After request PolledWatches:: /user/username/projects/myproject/decls: @@ -152,6 +154,7 @@ Info 28 [16:01:03.000] request: "file": "/user/username/projects/myproject/dependency/fns.ts" } } +Before request PolledWatches:: /user/username/projects/myproject/decls: @@ -215,6 +218,7 @@ Info 45 [16:01:27.000] FileName: /user/username/projects/myproject/usage/usag Info 45 [16:01:28.000] Projects: /user/username/projects/myproject/usage/tsconfig.json Info 45 [16:01:29.000] FileName: /user/username/projects/myproject/dependency/fns.ts ProjectRootPath: undefined Info 45 [16:01:30.000] Projects: /user/username/projects/myproject/usage/tsconfig.json,/user/username/projects/myproject/dependency/tsconfig.json +After request PolledWatches:: /user/username/projects/myproject/decls: @@ -253,6 +257,7 @@ Info 46 [16:01:32.000] request: "seq": 1, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/decls: @@ -306,6 +311,7 @@ Info 49 [16:01:53.000] FileName: /user/username/projects/myproject/usage/usag Info 49 [16:01:54.000] Projects: /user/username/projects/myproject/usage/tsconfig.json Info 49 [16:01:55.000] FileName: /user/username/projects/myproject/dependency/fns.ts ProjectRootPath: undefined Info 49 [16:01:56.000] Projects: /user/username/projects/myproject/usage/tsconfig.json,/user/username/projects/myproject/dependency/tsconfig.json +After request PolledWatches:: /user/username/projects/myproject/decls: @@ -365,6 +371,7 @@ Info 50 [16:01:58.000] request: "seq": 2, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/decls: @@ -390,6 +397,7 @@ FsWatchesRecursive:: /user/username/projects/myproject/dependency: {} +After request PolledWatches:: /user/username/projects/myproject/decls: @@ -428,6 +436,7 @@ Info 52 [16:02:00.000] request: "seq": 3, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/decls: @@ -487,6 +496,7 @@ Info 61 [16:02:27.000] FileName: /user/username/projects/myproject/usage/usag Info 61 [16:02:28.000] Projects: /user/username/projects/myproject/usage/tsconfig.json Info 61 [16:02:29.000] FileName: /user/username/projects/myproject/dependency/fns.ts ProjectRootPath: undefined Info 61 [16:02:30.000] Projects: /user/username/projects/myproject/usage/tsconfig.json,/user/username/projects/myproject/dependency/tsconfig.json +After request PolledWatches:: /user/username/projects/myproject/decls: @@ -541,6 +551,7 @@ Info 62 [16:02:32.000] request: "seq": 4, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/decls: @@ -578,6 +589,7 @@ Info 71 [16:02:46.000] Elapsed:: *ms DirectoryWatcher:: Triggered with /user/u Info 72 [16:02:49.000] DirectoryWatcher:: Triggered with /user/username/projects/myproject/decls/fns.d.ts :: WatchInfo: /user/username/projects/myproject/decls 1 undefined Project: /user/username/projects/myproject/usage/tsconfig.json WatchType: Failed Lookup Locations Info 73 [16:02:50.000] Scheduled: /user/username/projects/myproject/usage/tsconfig.jsonFailedLookupInvalidation, Cancelled earlier one Info 74 [16:02:51.000] Elapsed:: *ms DirectoryWatcher:: Triggered with /user/username/projects/myproject/decls/fns.d.ts :: WatchInfo: /user/username/projects/myproject/decls 1 undefined Project: /user/username/projects/myproject/usage/tsconfig.json WatchType: Failed Lookup Locations +After request //// [/user/username/projects/myproject/dependency/fns.js] "use strict"; exports.__esModule = true; @@ -635,6 +647,7 @@ Info 76 [16:02:53.000] request: "seq": 5, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/usage/node_modules/@types: @@ -660,6 +673,7 @@ FsWatchesRecursive:: /user/username/projects/myproject/decls: {} +After request PolledWatches:: /user/username/projects/myproject/usage/node_modules/@types: diff --git a/tests/baselines/reference/tsserver/projectReferenceCompileOnSave/save-on-dependency-and-change-to-usage.js b/tests/baselines/reference/tsserver/projectReferenceCompileOnSave/save-on-dependency-and-change-to-usage.js index 456b94d8a7aba..9275d6ab90f67 100644 --- a/tests/baselines/reference/tsserver/projectReferenceCompileOnSave/save-on-dependency-and-change-to-usage.js +++ b/tests/baselines/reference/tsserver/projectReferenceCompileOnSave/save-on-dependency-and-change-to-usage.js @@ -8,6 +8,7 @@ Info 1 [16:00:30.000] request: "file": "/user/username/projects/myproject/usage/usage.ts" } } +Before request //// [/user/username/projects/myproject/dependency/fns.ts] export function fn1() { } export function fn2() { } @@ -114,6 +115,7 @@ Info 27 [16:00:58.000] ----------------------------------------------- Info 27 [16:00:59.000] Open files: Info 27 [16:01:00.000] FileName: /user/username/projects/myproject/usage/usage.ts ProjectRootPath: undefined Info 27 [16:01:01.000] Projects: /user/username/projects/myproject/usage/tsconfig.json +After request PolledWatches:: /user/username/projects/myproject/decls: @@ -152,6 +154,7 @@ Info 28 [16:01:03.000] request: "file": "/user/username/projects/myproject/dependency/fns.ts" } } +Before request PolledWatches:: /user/username/projects/myproject/decls: @@ -215,6 +218,7 @@ Info 45 [16:01:27.000] FileName: /user/username/projects/myproject/usage/usag Info 45 [16:01:28.000] Projects: /user/username/projects/myproject/usage/tsconfig.json Info 45 [16:01:29.000] FileName: /user/username/projects/myproject/dependency/fns.ts ProjectRootPath: undefined Info 45 [16:01:30.000] Projects: /user/username/projects/myproject/usage/tsconfig.json,/user/username/projects/myproject/dependency/tsconfig.json +After request PolledWatches:: /user/username/projects/myproject/decls: @@ -253,6 +257,7 @@ Info 46 [16:01:32.000] request: "seq": 1, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/decls: @@ -306,6 +311,7 @@ Info 49 [16:01:53.000] FileName: /user/username/projects/myproject/usage/usag Info 49 [16:01:54.000] Projects: /user/username/projects/myproject/usage/tsconfig.json Info 49 [16:01:55.000] FileName: /user/username/projects/myproject/dependency/fns.ts ProjectRootPath: undefined Info 49 [16:01:56.000] Projects: /user/username/projects/myproject/usage/tsconfig.json,/user/username/projects/myproject/dependency/tsconfig.json +After request PolledWatches:: /user/username/projects/myproject/decls: @@ -365,6 +371,7 @@ Info 50 [16:01:58.000] request: "seq": 2, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/decls: @@ -390,6 +397,7 @@ FsWatchesRecursive:: /user/username/projects/myproject/dependency: {} +After request PolledWatches:: /user/username/projects/myproject/decls: @@ -428,6 +436,7 @@ Info 52 [16:02:00.000] request: "seq": 3, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/decls: @@ -484,6 +493,7 @@ Info 58 [16:02:24.000] FileName: /user/username/projects/myproject/usage/usag Info 58 [16:02:25.000] Projects: /user/username/projects/myproject/usage/tsconfig.json Info 58 [16:02:26.000] FileName: /user/username/projects/myproject/dependency/fns.ts ProjectRootPath: undefined Info 58 [16:02:27.000] Projects: /user/username/projects/myproject/usage/tsconfig.json,/user/username/projects/myproject/dependency/tsconfig.json +After request PolledWatches:: /user/username/projects/myproject/decls: @@ -536,6 +546,7 @@ Info 59 [16:02:29.000] request: "seq": 4, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/decls: @@ -573,6 +584,7 @@ Info 68 [16:02:43.000] Elapsed:: *ms DirectoryWatcher:: Triggered with /user/u Info 69 [16:02:46.000] DirectoryWatcher:: Triggered with /user/username/projects/myproject/decls/fns.d.ts :: WatchInfo: /user/username/projects/myproject/decls 1 undefined Project: /user/username/projects/myproject/usage/tsconfig.json WatchType: Failed Lookup Locations Info 70 [16:02:47.000] Scheduled: /user/username/projects/myproject/usage/tsconfig.jsonFailedLookupInvalidation, Cancelled earlier one Info 71 [16:02:48.000] Elapsed:: *ms DirectoryWatcher:: Triggered with /user/username/projects/myproject/decls/fns.d.ts :: WatchInfo: /user/username/projects/myproject/decls 1 undefined Project: /user/username/projects/myproject/usage/tsconfig.json WatchType: Failed Lookup Locations +After request //// [/user/username/projects/myproject/dependency/fns.js] "use strict"; exports.__esModule = true; @@ -627,6 +639,7 @@ Info 73 [16:02:50.000] request: "seq": 5, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/usage/node_modules/@types: @@ -652,6 +665,7 @@ FsWatchesRecursive:: /user/username/projects/myproject/decls: {} +After request PolledWatches:: /user/username/projects/myproject/usage/node_modules/@types: diff --git a/tests/baselines/reference/tsserver/projectReferenceCompileOnSave/save-on-dependency-and-local-change-to-dependency.js b/tests/baselines/reference/tsserver/projectReferenceCompileOnSave/save-on-dependency-and-local-change-to-dependency.js index defb45bcf1114..7caf42c5e43d9 100644 --- a/tests/baselines/reference/tsserver/projectReferenceCompileOnSave/save-on-dependency-and-local-change-to-dependency.js +++ b/tests/baselines/reference/tsserver/projectReferenceCompileOnSave/save-on-dependency-and-local-change-to-dependency.js @@ -8,6 +8,7 @@ Info 1 [16:00:30.000] request: "file": "/user/username/projects/myproject/usage/usage.ts" } } +Before request //// [/user/username/projects/myproject/dependency/fns.ts] export function fn1() { } export function fn2() { } @@ -114,6 +115,7 @@ Info 27 [16:00:58.000] ----------------------------------------------- Info 27 [16:00:59.000] Open files: Info 27 [16:01:00.000] FileName: /user/username/projects/myproject/usage/usage.ts ProjectRootPath: undefined Info 27 [16:01:01.000] Projects: /user/username/projects/myproject/usage/tsconfig.json +After request PolledWatches:: /user/username/projects/myproject/decls: @@ -152,6 +154,7 @@ Info 28 [16:01:03.000] request: "file": "/user/username/projects/myproject/dependency/fns.ts" } } +Before request PolledWatches:: /user/username/projects/myproject/decls: @@ -215,6 +218,7 @@ Info 45 [16:01:27.000] FileName: /user/username/projects/myproject/usage/usag Info 45 [16:01:28.000] Projects: /user/username/projects/myproject/usage/tsconfig.json Info 45 [16:01:29.000] FileName: /user/username/projects/myproject/dependency/fns.ts ProjectRootPath: undefined Info 45 [16:01:30.000] Projects: /user/username/projects/myproject/usage/tsconfig.json,/user/username/projects/myproject/dependency/tsconfig.json +After request PolledWatches:: /user/username/projects/myproject/decls: @@ -253,6 +257,7 @@ Info 46 [16:01:32.000] request: "seq": 1, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/decls: @@ -306,6 +311,7 @@ Info 49 [16:01:53.000] FileName: /user/username/projects/myproject/usage/usag Info 49 [16:01:54.000] Projects: /user/username/projects/myproject/usage/tsconfig.json Info 49 [16:01:55.000] FileName: /user/username/projects/myproject/dependency/fns.ts ProjectRootPath: undefined Info 49 [16:01:56.000] Projects: /user/username/projects/myproject/usage/tsconfig.json,/user/username/projects/myproject/dependency/tsconfig.json +After request PolledWatches:: /user/username/projects/myproject/decls: @@ -365,6 +371,7 @@ Info 50 [16:01:58.000] request: "seq": 2, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/decls: @@ -390,6 +397,7 @@ FsWatchesRecursive:: /user/username/projects/myproject/dependency: {} +After request PolledWatches:: /user/username/projects/myproject/decls: @@ -428,6 +436,7 @@ Info 52 [16:02:00.000] request: "seq": 3, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/decls: @@ -487,6 +496,7 @@ Info 61 [16:02:27.000] FileName: /user/username/projects/myproject/usage/usag Info 61 [16:02:28.000] Projects: /user/username/projects/myproject/usage/tsconfig.json Info 61 [16:02:29.000] FileName: /user/username/projects/myproject/dependency/fns.ts ProjectRootPath: undefined Info 61 [16:02:30.000] Projects: /user/username/projects/myproject/usage/tsconfig.json,/user/username/projects/myproject/dependency/tsconfig.json +After request PolledWatches:: /user/username/projects/myproject/decls: @@ -539,6 +549,7 @@ Info 62 [16:02:32.000] request: "seq": 4, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/decls: @@ -576,6 +587,7 @@ Info 71 [16:02:46.000] Elapsed:: *ms DirectoryWatcher:: Triggered with /user/u Info 72 [16:02:49.000] DirectoryWatcher:: Triggered with /user/username/projects/myproject/decls/fns.d.ts :: WatchInfo: /user/username/projects/myproject/decls 1 undefined Project: /user/username/projects/myproject/usage/tsconfig.json WatchType: Failed Lookup Locations Info 73 [16:02:50.000] Scheduled: /user/username/projects/myproject/usage/tsconfig.jsonFailedLookupInvalidation, Cancelled earlier one Info 74 [16:02:51.000] Elapsed:: *ms DirectoryWatcher:: Triggered with /user/username/projects/myproject/decls/fns.d.ts :: WatchInfo: /user/username/projects/myproject/decls 1 undefined Project: /user/username/projects/myproject/usage/tsconfig.json WatchType: Failed Lookup Locations +After request //// [/user/username/projects/myproject/dependency/fns.js] "use strict"; exports.__esModule = true; @@ -631,6 +643,7 @@ Info 76 [16:02:53.000] request: "seq": 5, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/usage/node_modules/@types: @@ -656,6 +669,7 @@ FsWatchesRecursive:: /user/username/projects/myproject/decls: {} +After request PolledWatches:: /user/username/projects/myproject/usage/node_modules/@types: diff --git a/tests/baselines/reference/tsserver/projectReferenceCompileOnSave/save-on-dependency-and-local-change-to-usage.js b/tests/baselines/reference/tsserver/projectReferenceCompileOnSave/save-on-dependency-and-local-change-to-usage.js index a8c2a0a14b383..dcd707baaeba7 100644 --- a/tests/baselines/reference/tsserver/projectReferenceCompileOnSave/save-on-dependency-and-local-change-to-usage.js +++ b/tests/baselines/reference/tsserver/projectReferenceCompileOnSave/save-on-dependency-and-local-change-to-usage.js @@ -8,6 +8,7 @@ Info 1 [16:00:30.000] request: "file": "/user/username/projects/myproject/usage/usage.ts" } } +Before request //// [/user/username/projects/myproject/dependency/fns.ts] export function fn1() { } export function fn2() { } @@ -114,6 +115,7 @@ Info 27 [16:00:58.000] ----------------------------------------------- Info 27 [16:00:59.000] Open files: Info 27 [16:01:00.000] FileName: /user/username/projects/myproject/usage/usage.ts ProjectRootPath: undefined Info 27 [16:01:01.000] Projects: /user/username/projects/myproject/usage/tsconfig.json +After request PolledWatches:: /user/username/projects/myproject/decls: @@ -152,6 +154,7 @@ Info 28 [16:01:03.000] request: "file": "/user/username/projects/myproject/dependency/fns.ts" } } +Before request PolledWatches:: /user/username/projects/myproject/decls: @@ -215,6 +218,7 @@ Info 45 [16:01:27.000] FileName: /user/username/projects/myproject/usage/usag Info 45 [16:01:28.000] Projects: /user/username/projects/myproject/usage/tsconfig.json Info 45 [16:01:29.000] FileName: /user/username/projects/myproject/dependency/fns.ts ProjectRootPath: undefined Info 45 [16:01:30.000] Projects: /user/username/projects/myproject/usage/tsconfig.json,/user/username/projects/myproject/dependency/tsconfig.json +After request PolledWatches:: /user/username/projects/myproject/decls: @@ -253,6 +257,7 @@ Info 46 [16:01:32.000] request: "seq": 1, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/decls: @@ -306,6 +311,7 @@ Info 49 [16:01:53.000] FileName: /user/username/projects/myproject/usage/usag Info 49 [16:01:54.000] Projects: /user/username/projects/myproject/usage/tsconfig.json Info 49 [16:01:55.000] FileName: /user/username/projects/myproject/dependency/fns.ts ProjectRootPath: undefined Info 49 [16:01:56.000] Projects: /user/username/projects/myproject/usage/tsconfig.json,/user/username/projects/myproject/dependency/tsconfig.json +After request PolledWatches:: /user/username/projects/myproject/decls: @@ -365,6 +371,7 @@ Info 50 [16:01:58.000] request: "seq": 2, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/decls: @@ -390,6 +397,7 @@ FsWatchesRecursive:: /user/username/projects/myproject/dependency: {} +After request PolledWatches:: /user/username/projects/myproject/decls: @@ -428,6 +436,7 @@ Info 52 [16:02:00.000] request: "seq": 3, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/decls: @@ -484,6 +493,7 @@ Info 58 [16:02:24.000] FileName: /user/username/projects/myproject/usage/usag Info 58 [16:02:25.000] Projects: /user/username/projects/myproject/usage/tsconfig.json Info 58 [16:02:26.000] FileName: /user/username/projects/myproject/dependency/fns.ts ProjectRootPath: undefined Info 58 [16:02:27.000] Projects: /user/username/projects/myproject/usage/tsconfig.json,/user/username/projects/myproject/dependency/tsconfig.json +After request PolledWatches:: /user/username/projects/myproject/decls: @@ -536,6 +546,7 @@ Info 59 [16:02:29.000] request: "seq": 4, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/decls: @@ -573,6 +584,7 @@ Info 68 [16:02:43.000] Elapsed:: *ms DirectoryWatcher:: Triggered with /user/u Info 69 [16:02:46.000] DirectoryWatcher:: Triggered with /user/username/projects/myproject/decls/fns.d.ts :: WatchInfo: /user/username/projects/myproject/decls 1 undefined Project: /user/username/projects/myproject/usage/tsconfig.json WatchType: Failed Lookup Locations Info 70 [16:02:47.000] Scheduled: /user/username/projects/myproject/usage/tsconfig.jsonFailedLookupInvalidation, Cancelled earlier one Info 71 [16:02:48.000] Elapsed:: *ms DirectoryWatcher:: Triggered with /user/username/projects/myproject/decls/fns.d.ts :: WatchInfo: /user/username/projects/myproject/decls 1 undefined Project: /user/username/projects/myproject/usage/tsconfig.json WatchType: Failed Lookup Locations +After request //// [/user/username/projects/myproject/dependency/fns.js] "use strict"; exports.__esModule = true; @@ -627,6 +639,7 @@ Info 73 [16:02:50.000] request: "seq": 5, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/usage/node_modules/@types: @@ -652,6 +665,7 @@ FsWatchesRecursive:: /user/username/projects/myproject/decls: {} +After request PolledWatches:: /user/username/projects/myproject/usage/node_modules/@types: diff --git a/tests/baselines/reference/tsserver/projectReferenceCompileOnSave/save-on-dependency-with-project-and-change-to-dependency.js b/tests/baselines/reference/tsserver/projectReferenceCompileOnSave/save-on-dependency-with-project-and-change-to-dependency.js index f1af0c5ce703b..ba8cb40859818 100644 --- a/tests/baselines/reference/tsserver/projectReferenceCompileOnSave/save-on-dependency-with-project-and-change-to-dependency.js +++ b/tests/baselines/reference/tsserver/projectReferenceCompileOnSave/save-on-dependency-with-project-and-change-to-dependency.js @@ -8,6 +8,7 @@ Info 1 [16:00:30.000] request: "file": "/user/username/projects/myproject/usage/usage.ts" } } +Before request //// [/user/username/projects/myproject/dependency/fns.ts] export function fn1() { } export function fn2() { } @@ -114,6 +115,7 @@ Info 27 [16:00:58.000] ----------------------------------------------- Info 27 [16:00:59.000] Open files: Info 27 [16:01:00.000] FileName: /user/username/projects/myproject/usage/usage.ts ProjectRootPath: undefined Info 27 [16:01:01.000] Projects: /user/username/projects/myproject/usage/tsconfig.json +After request PolledWatches:: /user/username/projects/myproject/decls: @@ -152,6 +154,7 @@ Info 28 [16:01:03.000] request: "file": "/user/username/projects/myproject/dependency/fns.ts" } } +Before request PolledWatches:: /user/username/projects/myproject/decls: @@ -215,6 +218,7 @@ Info 45 [16:01:27.000] FileName: /user/username/projects/myproject/usage/usag Info 45 [16:01:28.000] Projects: /user/username/projects/myproject/usage/tsconfig.json Info 45 [16:01:29.000] FileName: /user/username/projects/myproject/dependency/fns.ts ProjectRootPath: undefined Info 45 [16:01:30.000] Projects: /user/username/projects/myproject/usage/tsconfig.json,/user/username/projects/myproject/dependency/tsconfig.json +After request PolledWatches:: /user/username/projects/myproject/decls: @@ -253,6 +257,7 @@ Info 46 [16:01:32.000] request: "seq": 1, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/decls: @@ -306,6 +311,7 @@ Info 49 [16:01:53.000] FileName: /user/username/projects/myproject/usage/usag Info 49 [16:01:54.000] Projects: /user/username/projects/myproject/usage/tsconfig.json Info 49 [16:01:55.000] FileName: /user/username/projects/myproject/dependency/fns.ts ProjectRootPath: undefined Info 49 [16:01:56.000] Projects: /user/username/projects/myproject/usage/tsconfig.json,/user/username/projects/myproject/dependency/tsconfig.json +After request PolledWatches:: /user/username/projects/myproject/decls: @@ -365,6 +371,7 @@ Info 50 [16:01:58.000] request: "seq": 2, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/decls: @@ -390,6 +397,7 @@ FsWatchesRecursive:: /user/username/projects/myproject/dependency: {} +After request PolledWatches:: /user/username/projects/myproject/decls: @@ -429,6 +437,7 @@ Info 52 [16:02:00.000] request: "seq": 3, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/decls: @@ -457,6 +466,7 @@ FsWatchesRecursive:: Info 53 [16:02:01.000] Starting updateGraphWorker: Project: /user/username/projects/myproject/dependency/tsconfig.json Info 54 [16:02:02.000] Finishing updateGraphWorker: Project: /user/username/projects/myproject/dependency/tsconfig.json Version: 2 structureChanged: false structureIsReused:: Completely Elapsed:: *ms Info 55 [16:02:03.000] Different program with same set of files +After request PolledWatches:: /user/username/projects/myproject/decls: @@ -505,6 +515,7 @@ Info 57 [16:02:05.000] request: "seq": 4, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/decls: @@ -542,6 +553,7 @@ Info 66 [16:02:19.000] Elapsed:: *ms DirectoryWatcher:: Triggered with /user/u Info 67 [16:02:22.000] DirectoryWatcher:: Triggered with /user/username/projects/myproject/decls/fns.d.ts :: WatchInfo: /user/username/projects/myproject/decls 1 undefined Project: /user/username/projects/myproject/usage/tsconfig.json WatchType: Failed Lookup Locations Info 68 [16:02:23.000] Scheduled: /user/username/projects/myproject/usage/tsconfig.jsonFailedLookupInvalidation, Cancelled earlier one Info 69 [16:02:24.000] Elapsed:: *ms DirectoryWatcher:: Triggered with /user/username/projects/myproject/decls/fns.d.ts :: WatchInfo: /user/username/projects/myproject/decls 1 undefined Project: /user/username/projects/myproject/usage/tsconfig.json WatchType: Failed Lookup Locations +After request //// [/user/username/projects/myproject/dependency/fns.js] "use strict"; exports.__esModule = true; @@ -600,6 +612,7 @@ Info 71 [16:02:26.000] request: "seq": 5, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/usage/node_modules/@types: @@ -625,6 +638,7 @@ FsWatchesRecursive:: /user/username/projects/myproject/decls: {} +After request PolledWatches:: /user/username/projects/myproject/usage/node_modules/@types: diff --git a/tests/baselines/reference/tsserver/projectReferenceCompileOnSave/save-on-dependency-with-project-and-change-to-usage.js b/tests/baselines/reference/tsserver/projectReferenceCompileOnSave/save-on-dependency-with-project-and-change-to-usage.js index 910b2d28a1b0b..a141b3f906adf 100644 --- a/tests/baselines/reference/tsserver/projectReferenceCompileOnSave/save-on-dependency-with-project-and-change-to-usage.js +++ b/tests/baselines/reference/tsserver/projectReferenceCompileOnSave/save-on-dependency-with-project-and-change-to-usage.js @@ -8,6 +8,7 @@ Info 1 [16:00:30.000] request: "file": "/user/username/projects/myproject/usage/usage.ts" } } +Before request //// [/user/username/projects/myproject/dependency/fns.ts] export function fn1() { } export function fn2() { } @@ -114,6 +115,7 @@ Info 27 [16:00:58.000] ----------------------------------------------- Info 27 [16:00:59.000] Open files: Info 27 [16:01:00.000] FileName: /user/username/projects/myproject/usage/usage.ts ProjectRootPath: undefined Info 27 [16:01:01.000] Projects: /user/username/projects/myproject/usage/tsconfig.json +After request PolledWatches:: /user/username/projects/myproject/decls: @@ -152,6 +154,7 @@ Info 28 [16:01:03.000] request: "file": "/user/username/projects/myproject/dependency/fns.ts" } } +Before request PolledWatches:: /user/username/projects/myproject/decls: @@ -215,6 +218,7 @@ Info 45 [16:01:27.000] FileName: /user/username/projects/myproject/usage/usag Info 45 [16:01:28.000] Projects: /user/username/projects/myproject/usage/tsconfig.json Info 45 [16:01:29.000] FileName: /user/username/projects/myproject/dependency/fns.ts ProjectRootPath: undefined Info 45 [16:01:30.000] Projects: /user/username/projects/myproject/usage/tsconfig.json,/user/username/projects/myproject/dependency/tsconfig.json +After request PolledWatches:: /user/username/projects/myproject/decls: @@ -253,6 +257,7 @@ Info 46 [16:01:32.000] request: "seq": 1, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/decls: @@ -306,6 +311,7 @@ Info 49 [16:01:53.000] FileName: /user/username/projects/myproject/usage/usag Info 49 [16:01:54.000] Projects: /user/username/projects/myproject/usage/tsconfig.json Info 49 [16:01:55.000] FileName: /user/username/projects/myproject/dependency/fns.ts ProjectRootPath: undefined Info 49 [16:01:56.000] Projects: /user/username/projects/myproject/usage/tsconfig.json,/user/username/projects/myproject/dependency/tsconfig.json +After request PolledWatches:: /user/username/projects/myproject/decls: @@ -365,6 +371,7 @@ Info 50 [16:01:58.000] request: "seq": 2, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/decls: @@ -390,6 +397,7 @@ FsWatchesRecursive:: /user/username/projects/myproject/dependency: {} +After request PolledWatches:: /user/username/projects/myproject/decls: @@ -429,6 +437,7 @@ Info 52 [16:02:00.000] request: "seq": 3, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/decls: @@ -454,6 +463,7 @@ FsWatchesRecursive:: /user/username/projects/myproject/dependency: {} +After request PolledWatches:: /user/username/projects/myproject/decls: @@ -502,6 +512,7 @@ Info 54 [16:02:02.000] request: "seq": 4, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/decls: @@ -539,6 +550,7 @@ Info 63 [16:02:16.000] Elapsed:: *ms DirectoryWatcher:: Triggered with /user/u Info 64 [16:02:19.000] DirectoryWatcher:: Triggered with /user/username/projects/myproject/decls/fns.d.ts :: WatchInfo: /user/username/projects/myproject/decls 1 undefined Project: /user/username/projects/myproject/usage/tsconfig.json WatchType: Failed Lookup Locations Info 65 [16:02:20.000] Scheduled: /user/username/projects/myproject/usage/tsconfig.jsonFailedLookupInvalidation, Cancelled earlier one Info 66 [16:02:21.000] Elapsed:: *ms DirectoryWatcher:: Triggered with /user/username/projects/myproject/decls/fns.d.ts :: WatchInfo: /user/username/projects/myproject/decls 1 undefined Project: /user/username/projects/myproject/usage/tsconfig.json WatchType: Failed Lookup Locations +After request //// [/user/username/projects/myproject/dependency/fns.js] "use strict"; exports.__esModule = true; @@ -594,6 +606,7 @@ Info 68 [16:02:23.000] request: "seq": 5, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/usage/node_modules/@types: @@ -619,6 +632,7 @@ FsWatchesRecursive:: /user/username/projects/myproject/decls: {} +After request PolledWatches:: /user/username/projects/myproject/usage/node_modules/@types: diff --git a/tests/baselines/reference/tsserver/projectReferenceCompileOnSave/save-on-dependency-with-project-and-local-change-to-dependency.js b/tests/baselines/reference/tsserver/projectReferenceCompileOnSave/save-on-dependency-with-project-and-local-change-to-dependency.js index c951eccffecdf..25c4609a574a0 100644 --- a/tests/baselines/reference/tsserver/projectReferenceCompileOnSave/save-on-dependency-with-project-and-local-change-to-dependency.js +++ b/tests/baselines/reference/tsserver/projectReferenceCompileOnSave/save-on-dependency-with-project-and-local-change-to-dependency.js @@ -8,6 +8,7 @@ Info 1 [16:00:30.000] request: "file": "/user/username/projects/myproject/usage/usage.ts" } } +Before request //// [/user/username/projects/myproject/dependency/fns.ts] export function fn1() { } export function fn2() { } @@ -114,6 +115,7 @@ Info 27 [16:00:58.000] ----------------------------------------------- Info 27 [16:00:59.000] Open files: Info 27 [16:01:00.000] FileName: /user/username/projects/myproject/usage/usage.ts ProjectRootPath: undefined Info 27 [16:01:01.000] Projects: /user/username/projects/myproject/usage/tsconfig.json +After request PolledWatches:: /user/username/projects/myproject/decls: @@ -152,6 +154,7 @@ Info 28 [16:01:03.000] request: "file": "/user/username/projects/myproject/dependency/fns.ts" } } +Before request PolledWatches:: /user/username/projects/myproject/decls: @@ -215,6 +218,7 @@ Info 45 [16:01:27.000] FileName: /user/username/projects/myproject/usage/usag Info 45 [16:01:28.000] Projects: /user/username/projects/myproject/usage/tsconfig.json Info 45 [16:01:29.000] FileName: /user/username/projects/myproject/dependency/fns.ts ProjectRootPath: undefined Info 45 [16:01:30.000] Projects: /user/username/projects/myproject/usage/tsconfig.json,/user/username/projects/myproject/dependency/tsconfig.json +After request PolledWatches:: /user/username/projects/myproject/decls: @@ -253,6 +257,7 @@ Info 46 [16:01:32.000] request: "seq": 1, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/decls: @@ -306,6 +311,7 @@ Info 49 [16:01:53.000] FileName: /user/username/projects/myproject/usage/usag Info 49 [16:01:54.000] Projects: /user/username/projects/myproject/usage/tsconfig.json Info 49 [16:01:55.000] FileName: /user/username/projects/myproject/dependency/fns.ts ProjectRootPath: undefined Info 49 [16:01:56.000] Projects: /user/username/projects/myproject/usage/tsconfig.json,/user/username/projects/myproject/dependency/tsconfig.json +After request PolledWatches:: /user/username/projects/myproject/decls: @@ -365,6 +371,7 @@ Info 50 [16:01:58.000] request: "seq": 2, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/decls: @@ -390,6 +397,7 @@ FsWatchesRecursive:: /user/username/projects/myproject/dependency: {} +After request PolledWatches:: /user/username/projects/myproject/decls: @@ -429,6 +437,7 @@ Info 52 [16:02:00.000] request: "seq": 3, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/decls: @@ -457,6 +466,7 @@ FsWatchesRecursive:: Info 53 [16:02:01.000] Starting updateGraphWorker: Project: /user/username/projects/myproject/dependency/tsconfig.json Info 54 [16:02:02.000] Finishing updateGraphWorker: Project: /user/username/projects/myproject/dependency/tsconfig.json Version: 2 structureChanged: false structureIsReused:: Completely Elapsed:: *ms Info 55 [16:02:03.000] Different program with same set of files +After request PolledWatches:: /user/username/projects/myproject/decls: @@ -505,6 +515,7 @@ Info 57 [16:02:05.000] request: "seq": 4, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/decls: @@ -542,6 +553,7 @@ Info 66 [16:02:19.000] Elapsed:: *ms DirectoryWatcher:: Triggered with /user/u Info 67 [16:02:22.000] DirectoryWatcher:: Triggered with /user/username/projects/myproject/decls/fns.d.ts :: WatchInfo: /user/username/projects/myproject/decls 1 undefined Project: /user/username/projects/myproject/usage/tsconfig.json WatchType: Failed Lookup Locations Info 68 [16:02:23.000] Scheduled: /user/username/projects/myproject/usage/tsconfig.jsonFailedLookupInvalidation, Cancelled earlier one Info 69 [16:02:24.000] Elapsed:: *ms DirectoryWatcher:: Triggered with /user/username/projects/myproject/decls/fns.d.ts :: WatchInfo: /user/username/projects/myproject/decls 1 undefined Project: /user/username/projects/myproject/usage/tsconfig.json WatchType: Failed Lookup Locations +After request //// [/user/username/projects/myproject/dependency/fns.js] "use strict"; exports.__esModule = true; @@ -598,6 +610,7 @@ Info 71 [16:02:26.000] request: "seq": 5, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/usage/node_modules/@types: @@ -623,6 +636,7 @@ FsWatchesRecursive:: /user/username/projects/myproject/decls: {} +After request PolledWatches:: /user/username/projects/myproject/usage/node_modules/@types: diff --git a/tests/baselines/reference/tsserver/projectReferenceCompileOnSave/save-on-dependency-with-project-and-local-change-to-usage.js b/tests/baselines/reference/tsserver/projectReferenceCompileOnSave/save-on-dependency-with-project-and-local-change-to-usage.js index 4546d22fb1fbe..f59ceb749357f 100644 --- a/tests/baselines/reference/tsserver/projectReferenceCompileOnSave/save-on-dependency-with-project-and-local-change-to-usage.js +++ b/tests/baselines/reference/tsserver/projectReferenceCompileOnSave/save-on-dependency-with-project-and-local-change-to-usage.js @@ -8,6 +8,7 @@ Info 1 [16:00:30.000] request: "file": "/user/username/projects/myproject/usage/usage.ts" } } +Before request //// [/user/username/projects/myproject/dependency/fns.ts] export function fn1() { } export function fn2() { } @@ -114,6 +115,7 @@ Info 27 [16:00:58.000] ----------------------------------------------- Info 27 [16:00:59.000] Open files: Info 27 [16:01:00.000] FileName: /user/username/projects/myproject/usage/usage.ts ProjectRootPath: undefined Info 27 [16:01:01.000] Projects: /user/username/projects/myproject/usage/tsconfig.json +After request PolledWatches:: /user/username/projects/myproject/decls: @@ -152,6 +154,7 @@ Info 28 [16:01:03.000] request: "file": "/user/username/projects/myproject/dependency/fns.ts" } } +Before request PolledWatches:: /user/username/projects/myproject/decls: @@ -215,6 +218,7 @@ Info 45 [16:01:27.000] FileName: /user/username/projects/myproject/usage/usag Info 45 [16:01:28.000] Projects: /user/username/projects/myproject/usage/tsconfig.json Info 45 [16:01:29.000] FileName: /user/username/projects/myproject/dependency/fns.ts ProjectRootPath: undefined Info 45 [16:01:30.000] Projects: /user/username/projects/myproject/usage/tsconfig.json,/user/username/projects/myproject/dependency/tsconfig.json +After request PolledWatches:: /user/username/projects/myproject/decls: @@ -253,6 +257,7 @@ Info 46 [16:01:32.000] request: "seq": 1, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/decls: @@ -306,6 +311,7 @@ Info 49 [16:01:53.000] FileName: /user/username/projects/myproject/usage/usag Info 49 [16:01:54.000] Projects: /user/username/projects/myproject/usage/tsconfig.json Info 49 [16:01:55.000] FileName: /user/username/projects/myproject/dependency/fns.ts ProjectRootPath: undefined Info 49 [16:01:56.000] Projects: /user/username/projects/myproject/usage/tsconfig.json,/user/username/projects/myproject/dependency/tsconfig.json +After request PolledWatches:: /user/username/projects/myproject/decls: @@ -365,6 +371,7 @@ Info 50 [16:01:58.000] request: "seq": 2, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/decls: @@ -390,6 +397,7 @@ FsWatchesRecursive:: /user/username/projects/myproject/dependency: {} +After request PolledWatches:: /user/username/projects/myproject/decls: @@ -429,6 +437,7 @@ Info 52 [16:02:00.000] request: "seq": 3, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/decls: @@ -454,6 +463,7 @@ FsWatchesRecursive:: /user/username/projects/myproject/dependency: {} +After request PolledWatches:: /user/username/projects/myproject/decls: @@ -502,6 +512,7 @@ Info 54 [16:02:02.000] request: "seq": 4, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/decls: @@ -539,6 +550,7 @@ Info 63 [16:02:16.000] Elapsed:: *ms DirectoryWatcher:: Triggered with /user/u Info 64 [16:02:19.000] DirectoryWatcher:: Triggered with /user/username/projects/myproject/decls/fns.d.ts :: WatchInfo: /user/username/projects/myproject/decls 1 undefined Project: /user/username/projects/myproject/usage/tsconfig.json WatchType: Failed Lookup Locations Info 65 [16:02:20.000] Scheduled: /user/username/projects/myproject/usage/tsconfig.jsonFailedLookupInvalidation, Cancelled earlier one Info 66 [16:02:21.000] Elapsed:: *ms DirectoryWatcher:: Triggered with /user/username/projects/myproject/decls/fns.d.ts :: WatchInfo: /user/username/projects/myproject/decls 1 undefined Project: /user/username/projects/myproject/usage/tsconfig.json WatchType: Failed Lookup Locations +After request //// [/user/username/projects/myproject/dependency/fns.js] "use strict"; exports.__esModule = true; @@ -594,6 +606,7 @@ Info 68 [16:02:23.000] request: "seq": 5, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/usage/node_modules/@types: @@ -619,6 +632,7 @@ FsWatchesRecursive:: /user/username/projects/myproject/decls: {} +After request PolledWatches:: /user/username/projects/myproject/usage/node_modules/@types: diff --git a/tests/baselines/reference/tsserver/projectReferenceCompileOnSave/save-on-dependency-with-project.js b/tests/baselines/reference/tsserver/projectReferenceCompileOnSave/save-on-dependency-with-project.js index fd603df30dac8..418b230d72161 100644 --- a/tests/baselines/reference/tsserver/projectReferenceCompileOnSave/save-on-dependency-with-project.js +++ b/tests/baselines/reference/tsserver/projectReferenceCompileOnSave/save-on-dependency-with-project.js @@ -8,6 +8,7 @@ Info 1 [16:00:30.000] request: "file": "/user/username/projects/myproject/usage/usage.ts" } } +Before request //// [/user/username/projects/myproject/dependency/fns.ts] export function fn1() { } export function fn2() { } @@ -114,6 +115,7 @@ Info 27 [16:00:58.000] ----------------------------------------------- Info 27 [16:00:59.000] Open files: Info 27 [16:01:00.000] FileName: /user/username/projects/myproject/usage/usage.ts ProjectRootPath: undefined Info 27 [16:01:01.000] Projects: /user/username/projects/myproject/usage/tsconfig.json +After request PolledWatches:: /user/username/projects/myproject/decls: @@ -152,6 +154,7 @@ Info 28 [16:01:03.000] request: "file": "/user/username/projects/myproject/dependency/fns.ts" } } +Before request PolledWatches:: /user/username/projects/myproject/decls: @@ -215,6 +218,7 @@ Info 45 [16:01:27.000] FileName: /user/username/projects/myproject/usage/usag Info 45 [16:01:28.000] Projects: /user/username/projects/myproject/usage/tsconfig.json Info 45 [16:01:29.000] FileName: /user/username/projects/myproject/dependency/fns.ts ProjectRootPath: undefined Info 45 [16:01:30.000] Projects: /user/username/projects/myproject/usage/tsconfig.json,/user/username/projects/myproject/dependency/tsconfig.json +After request PolledWatches:: /user/username/projects/myproject/decls: @@ -254,6 +258,7 @@ Info 46 [16:01:32.000] request: "seq": 1, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/decls: @@ -279,6 +284,7 @@ FsWatchesRecursive:: /user/username/projects/myproject/dependency: {} +After request PolledWatches:: /user/username/projects/myproject/decls: @@ -327,6 +333,7 @@ Info 48 [16:01:34.000] request: "seq": 2, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/decls: @@ -364,6 +371,7 @@ Info 57 [16:01:48.000] Elapsed:: *ms DirectoryWatcher:: Triggered with /user/u Info 58 [16:01:51.000] DirectoryWatcher:: Triggered with /user/username/projects/myproject/decls/fns.d.ts :: WatchInfo: /user/username/projects/myproject/decls 1 undefined Project: /user/username/projects/myproject/usage/tsconfig.json WatchType: Failed Lookup Locations Info 59 [16:01:52.000] Scheduled: /user/username/projects/myproject/usage/tsconfig.jsonFailedLookupInvalidation, Cancelled earlier one Info 60 [16:01:53.000] Elapsed:: *ms DirectoryWatcher:: Triggered with /user/username/projects/myproject/decls/fns.d.ts :: WatchInfo: /user/username/projects/myproject/decls 1 undefined Project: /user/username/projects/myproject/usage/tsconfig.json WatchType: Failed Lookup Locations +After request //// [/user/username/projects/myproject/dependency/fns.js] "use strict"; exports.__esModule = true; @@ -419,6 +427,7 @@ Info 62 [16:01:55.000] request: "seq": 3, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/usage/node_modules/@types: @@ -444,6 +453,7 @@ FsWatchesRecursive:: /user/username/projects/myproject/decls: {} +After request PolledWatches:: /user/username/projects/myproject/usage/node_modules/@types: diff --git a/tests/baselines/reference/tsserver/projectReferenceCompileOnSave/save-on-dependency-with-usage-project-and-change-to-dependency.js b/tests/baselines/reference/tsserver/projectReferenceCompileOnSave/save-on-dependency-with-usage-project-and-change-to-dependency.js index cc406859b408c..14d73dec929a0 100644 --- a/tests/baselines/reference/tsserver/projectReferenceCompileOnSave/save-on-dependency-with-usage-project-and-change-to-dependency.js +++ b/tests/baselines/reference/tsserver/projectReferenceCompileOnSave/save-on-dependency-with-usage-project-and-change-to-dependency.js @@ -8,6 +8,7 @@ Info 1 [16:00:30.000] request: "file": "/user/username/projects/myproject/usage/usage.ts" } } +Before request //// [/user/username/projects/myproject/dependency/fns.ts] export function fn1() { } export function fn2() { } @@ -114,6 +115,7 @@ Info 27 [16:00:58.000] ----------------------------------------------- Info 27 [16:00:59.000] Open files: Info 27 [16:01:00.000] FileName: /user/username/projects/myproject/usage/usage.ts ProjectRootPath: undefined Info 27 [16:01:01.000] Projects: /user/username/projects/myproject/usage/tsconfig.json +After request PolledWatches:: /user/username/projects/myproject/decls: @@ -152,6 +154,7 @@ Info 28 [16:01:03.000] request: "file": "/user/username/projects/myproject/dependency/fns.ts" } } +Before request PolledWatches:: /user/username/projects/myproject/decls: @@ -215,6 +218,7 @@ Info 45 [16:01:27.000] FileName: /user/username/projects/myproject/usage/usag Info 45 [16:01:28.000] Projects: /user/username/projects/myproject/usage/tsconfig.json Info 45 [16:01:29.000] FileName: /user/username/projects/myproject/dependency/fns.ts ProjectRootPath: undefined Info 45 [16:01:30.000] Projects: /user/username/projects/myproject/usage/tsconfig.json,/user/username/projects/myproject/dependency/tsconfig.json +After request PolledWatches:: /user/username/projects/myproject/decls: @@ -253,6 +257,7 @@ Info 46 [16:01:32.000] request: "seq": 1, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/decls: @@ -306,6 +311,7 @@ Info 49 [16:01:53.000] FileName: /user/username/projects/myproject/usage/usag Info 49 [16:01:54.000] Projects: /user/username/projects/myproject/usage/tsconfig.json Info 49 [16:01:55.000] FileName: /user/username/projects/myproject/dependency/fns.ts ProjectRootPath: undefined Info 49 [16:01:56.000] Projects: /user/username/projects/myproject/usage/tsconfig.json,/user/username/projects/myproject/dependency/tsconfig.json +After request PolledWatches:: /user/username/projects/myproject/decls: @@ -365,6 +371,7 @@ Info 50 [16:01:58.000] request: "seq": 2, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/decls: @@ -390,6 +397,7 @@ FsWatchesRecursive:: /user/username/projects/myproject/dependency: {} +After request PolledWatches:: /user/username/projects/myproject/decls: @@ -429,6 +437,7 @@ Info 52 [16:02:00.000] request: "seq": 3, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/decls: @@ -457,6 +466,7 @@ FsWatchesRecursive:: Info 53 [16:02:01.000] Starting updateGraphWorker: Project: /user/username/projects/myproject/usage/tsconfig.json Info 54 [16:02:02.000] Finishing updateGraphWorker: Project: /user/username/projects/myproject/usage/tsconfig.json Version: 2 structureChanged: false structureIsReused:: Completely Elapsed:: *ms Info 55 [16:02:03.000] Different program with same set of files +After request PolledWatches:: /user/username/projects/myproject/decls: @@ -505,6 +515,7 @@ Info 57 [16:02:05.000] request: "seq": 4, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/decls: @@ -530,6 +541,7 @@ FsWatchesRecursive:: /user/username/projects/myproject/dependency: {} +After request PolledWatches:: /user/username/projects/myproject/decls: @@ -570,6 +582,7 @@ Info 59 [16:02:07.000] request: "seq": 5, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/decls: @@ -595,6 +608,7 @@ FsWatchesRecursive:: /user/username/projects/myproject/dependency: {} +After request PolledWatches:: /user/username/projects/myproject/decls: diff --git a/tests/baselines/reference/tsserver/projectReferenceCompileOnSave/save-on-dependency-with-usage-project-and-change-to-usage.js b/tests/baselines/reference/tsserver/projectReferenceCompileOnSave/save-on-dependency-with-usage-project-and-change-to-usage.js index 929f6d4f9dd04..44c21dead51af 100644 --- a/tests/baselines/reference/tsserver/projectReferenceCompileOnSave/save-on-dependency-with-usage-project-and-change-to-usage.js +++ b/tests/baselines/reference/tsserver/projectReferenceCompileOnSave/save-on-dependency-with-usage-project-and-change-to-usage.js @@ -8,6 +8,7 @@ Info 1 [16:00:30.000] request: "file": "/user/username/projects/myproject/usage/usage.ts" } } +Before request //// [/user/username/projects/myproject/dependency/fns.ts] export function fn1() { } export function fn2() { } @@ -114,6 +115,7 @@ Info 27 [16:00:58.000] ----------------------------------------------- Info 27 [16:00:59.000] Open files: Info 27 [16:01:00.000] FileName: /user/username/projects/myproject/usage/usage.ts ProjectRootPath: undefined Info 27 [16:01:01.000] Projects: /user/username/projects/myproject/usage/tsconfig.json +After request PolledWatches:: /user/username/projects/myproject/decls: @@ -152,6 +154,7 @@ Info 28 [16:01:03.000] request: "file": "/user/username/projects/myproject/dependency/fns.ts" } } +Before request PolledWatches:: /user/username/projects/myproject/decls: @@ -215,6 +218,7 @@ Info 45 [16:01:27.000] FileName: /user/username/projects/myproject/usage/usag Info 45 [16:01:28.000] Projects: /user/username/projects/myproject/usage/tsconfig.json Info 45 [16:01:29.000] FileName: /user/username/projects/myproject/dependency/fns.ts ProjectRootPath: undefined Info 45 [16:01:30.000] Projects: /user/username/projects/myproject/usage/tsconfig.json,/user/username/projects/myproject/dependency/tsconfig.json +After request PolledWatches:: /user/username/projects/myproject/decls: @@ -253,6 +257,7 @@ Info 46 [16:01:32.000] request: "seq": 1, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/decls: @@ -306,6 +311,7 @@ Info 49 [16:01:53.000] FileName: /user/username/projects/myproject/usage/usag Info 49 [16:01:54.000] Projects: /user/username/projects/myproject/usage/tsconfig.json Info 49 [16:01:55.000] FileName: /user/username/projects/myproject/dependency/fns.ts ProjectRootPath: undefined Info 49 [16:01:56.000] Projects: /user/username/projects/myproject/usage/tsconfig.json,/user/username/projects/myproject/dependency/tsconfig.json +After request PolledWatches:: /user/username/projects/myproject/decls: @@ -365,6 +371,7 @@ Info 50 [16:01:58.000] request: "seq": 2, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/decls: @@ -390,6 +397,7 @@ FsWatchesRecursive:: /user/username/projects/myproject/dependency: {} +After request PolledWatches:: /user/username/projects/myproject/decls: @@ -429,6 +437,7 @@ Info 52 [16:02:00.000] request: "seq": 3, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/decls: @@ -457,6 +466,7 @@ FsWatchesRecursive:: Info 53 [16:02:01.000] Starting updateGraphWorker: Project: /user/username/projects/myproject/usage/tsconfig.json Info 54 [16:02:02.000] Finishing updateGraphWorker: Project: /user/username/projects/myproject/usage/tsconfig.json Version: 2 structureChanged: false structureIsReused:: Completely Elapsed:: *ms Info 55 [16:02:03.000] Different program with same set of files +After request PolledWatches:: /user/username/projects/myproject/decls: @@ -503,6 +513,7 @@ Info 57 [16:02:05.000] request: "seq": 4, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/decls: @@ -528,6 +539,7 @@ FsWatchesRecursive:: /user/username/projects/myproject/dependency: {} +After request PolledWatches:: /user/username/projects/myproject/decls: @@ -568,6 +580,7 @@ Info 59 [16:02:07.000] request: "seq": 5, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/decls: @@ -593,6 +606,7 @@ FsWatchesRecursive:: /user/username/projects/myproject/dependency: {} +After request PolledWatches:: /user/username/projects/myproject/decls: diff --git a/tests/baselines/reference/tsserver/projectReferenceCompileOnSave/save-on-dependency-with-usage-project-and-local-change-to-dependency.js b/tests/baselines/reference/tsserver/projectReferenceCompileOnSave/save-on-dependency-with-usage-project-and-local-change-to-dependency.js index 1075659a1246e..1f9499dcc2636 100644 --- a/tests/baselines/reference/tsserver/projectReferenceCompileOnSave/save-on-dependency-with-usage-project-and-local-change-to-dependency.js +++ b/tests/baselines/reference/tsserver/projectReferenceCompileOnSave/save-on-dependency-with-usage-project-and-local-change-to-dependency.js @@ -8,6 +8,7 @@ Info 1 [16:00:30.000] request: "file": "/user/username/projects/myproject/usage/usage.ts" } } +Before request //// [/user/username/projects/myproject/dependency/fns.ts] export function fn1() { } export function fn2() { } @@ -114,6 +115,7 @@ Info 27 [16:00:58.000] ----------------------------------------------- Info 27 [16:00:59.000] Open files: Info 27 [16:01:00.000] FileName: /user/username/projects/myproject/usage/usage.ts ProjectRootPath: undefined Info 27 [16:01:01.000] Projects: /user/username/projects/myproject/usage/tsconfig.json +After request PolledWatches:: /user/username/projects/myproject/decls: @@ -152,6 +154,7 @@ Info 28 [16:01:03.000] request: "file": "/user/username/projects/myproject/dependency/fns.ts" } } +Before request PolledWatches:: /user/username/projects/myproject/decls: @@ -215,6 +218,7 @@ Info 45 [16:01:27.000] FileName: /user/username/projects/myproject/usage/usag Info 45 [16:01:28.000] Projects: /user/username/projects/myproject/usage/tsconfig.json Info 45 [16:01:29.000] FileName: /user/username/projects/myproject/dependency/fns.ts ProjectRootPath: undefined Info 45 [16:01:30.000] Projects: /user/username/projects/myproject/usage/tsconfig.json,/user/username/projects/myproject/dependency/tsconfig.json +After request PolledWatches:: /user/username/projects/myproject/decls: @@ -253,6 +257,7 @@ Info 46 [16:01:32.000] request: "seq": 1, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/decls: @@ -306,6 +311,7 @@ Info 49 [16:01:53.000] FileName: /user/username/projects/myproject/usage/usag Info 49 [16:01:54.000] Projects: /user/username/projects/myproject/usage/tsconfig.json Info 49 [16:01:55.000] FileName: /user/username/projects/myproject/dependency/fns.ts ProjectRootPath: undefined Info 49 [16:01:56.000] Projects: /user/username/projects/myproject/usage/tsconfig.json,/user/username/projects/myproject/dependency/tsconfig.json +After request PolledWatches:: /user/username/projects/myproject/decls: @@ -365,6 +371,7 @@ Info 50 [16:01:58.000] request: "seq": 2, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/decls: @@ -390,6 +397,7 @@ FsWatchesRecursive:: /user/username/projects/myproject/dependency: {} +After request PolledWatches:: /user/username/projects/myproject/decls: @@ -429,6 +437,7 @@ Info 52 [16:02:00.000] request: "seq": 3, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/decls: @@ -457,6 +466,7 @@ FsWatchesRecursive:: Info 53 [16:02:01.000] Starting updateGraphWorker: Project: /user/username/projects/myproject/usage/tsconfig.json Info 54 [16:02:02.000] Finishing updateGraphWorker: Project: /user/username/projects/myproject/usage/tsconfig.json Version: 2 structureChanged: false structureIsReused:: Completely Elapsed:: *ms Info 55 [16:02:03.000] Different program with same set of files +After request PolledWatches:: /user/username/projects/myproject/decls: @@ -503,6 +513,7 @@ Info 57 [16:02:05.000] request: "seq": 4, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/decls: @@ -528,6 +539,7 @@ FsWatchesRecursive:: /user/username/projects/myproject/dependency: {} +After request PolledWatches:: /user/username/projects/myproject/decls: @@ -568,6 +580,7 @@ Info 59 [16:02:07.000] request: "seq": 5, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/decls: @@ -593,6 +606,7 @@ FsWatchesRecursive:: /user/username/projects/myproject/dependency: {} +After request PolledWatches:: /user/username/projects/myproject/decls: diff --git a/tests/baselines/reference/tsserver/projectReferenceCompileOnSave/save-on-dependency-with-usage-project-and-local-change-to-usage.js b/tests/baselines/reference/tsserver/projectReferenceCompileOnSave/save-on-dependency-with-usage-project-and-local-change-to-usage.js index c1e5fda48c77d..d13c4c40f94dd 100644 --- a/tests/baselines/reference/tsserver/projectReferenceCompileOnSave/save-on-dependency-with-usage-project-and-local-change-to-usage.js +++ b/tests/baselines/reference/tsserver/projectReferenceCompileOnSave/save-on-dependency-with-usage-project-and-local-change-to-usage.js @@ -8,6 +8,7 @@ Info 1 [16:00:30.000] request: "file": "/user/username/projects/myproject/usage/usage.ts" } } +Before request //// [/user/username/projects/myproject/dependency/fns.ts] export function fn1() { } export function fn2() { } @@ -114,6 +115,7 @@ Info 27 [16:00:58.000] ----------------------------------------------- Info 27 [16:00:59.000] Open files: Info 27 [16:01:00.000] FileName: /user/username/projects/myproject/usage/usage.ts ProjectRootPath: undefined Info 27 [16:01:01.000] Projects: /user/username/projects/myproject/usage/tsconfig.json +After request PolledWatches:: /user/username/projects/myproject/decls: @@ -152,6 +154,7 @@ Info 28 [16:01:03.000] request: "file": "/user/username/projects/myproject/dependency/fns.ts" } } +Before request PolledWatches:: /user/username/projects/myproject/decls: @@ -215,6 +218,7 @@ Info 45 [16:01:27.000] FileName: /user/username/projects/myproject/usage/usag Info 45 [16:01:28.000] Projects: /user/username/projects/myproject/usage/tsconfig.json Info 45 [16:01:29.000] FileName: /user/username/projects/myproject/dependency/fns.ts ProjectRootPath: undefined Info 45 [16:01:30.000] Projects: /user/username/projects/myproject/usage/tsconfig.json,/user/username/projects/myproject/dependency/tsconfig.json +After request PolledWatches:: /user/username/projects/myproject/decls: @@ -253,6 +257,7 @@ Info 46 [16:01:32.000] request: "seq": 1, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/decls: @@ -306,6 +311,7 @@ Info 49 [16:01:53.000] FileName: /user/username/projects/myproject/usage/usag Info 49 [16:01:54.000] Projects: /user/username/projects/myproject/usage/tsconfig.json Info 49 [16:01:55.000] FileName: /user/username/projects/myproject/dependency/fns.ts ProjectRootPath: undefined Info 49 [16:01:56.000] Projects: /user/username/projects/myproject/usage/tsconfig.json,/user/username/projects/myproject/dependency/tsconfig.json +After request PolledWatches:: /user/username/projects/myproject/decls: @@ -365,6 +371,7 @@ Info 50 [16:01:58.000] request: "seq": 2, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/decls: @@ -390,6 +397,7 @@ FsWatchesRecursive:: /user/username/projects/myproject/dependency: {} +After request PolledWatches:: /user/username/projects/myproject/decls: @@ -429,6 +437,7 @@ Info 52 [16:02:00.000] request: "seq": 3, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/decls: @@ -457,6 +466,7 @@ FsWatchesRecursive:: Info 53 [16:02:01.000] Starting updateGraphWorker: Project: /user/username/projects/myproject/usage/tsconfig.json Info 54 [16:02:02.000] Finishing updateGraphWorker: Project: /user/username/projects/myproject/usage/tsconfig.json Version: 2 structureChanged: false structureIsReused:: Completely Elapsed:: *ms Info 55 [16:02:03.000] Different program with same set of files +After request PolledWatches:: /user/username/projects/myproject/decls: @@ -503,6 +513,7 @@ Info 57 [16:02:05.000] request: "seq": 4, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/decls: @@ -528,6 +539,7 @@ FsWatchesRecursive:: /user/username/projects/myproject/dependency: {} +After request PolledWatches:: /user/username/projects/myproject/decls: @@ -568,6 +580,7 @@ Info 59 [16:02:07.000] request: "seq": 5, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/decls: @@ -593,6 +606,7 @@ FsWatchesRecursive:: /user/username/projects/myproject/dependency: {} +After request PolledWatches:: /user/username/projects/myproject/decls: diff --git a/tests/baselines/reference/tsserver/projectReferenceCompileOnSave/save-on-dependency-with-usage-project.js b/tests/baselines/reference/tsserver/projectReferenceCompileOnSave/save-on-dependency-with-usage-project.js index aeee4726447bd..d3850d5f3a057 100644 --- a/tests/baselines/reference/tsserver/projectReferenceCompileOnSave/save-on-dependency-with-usage-project.js +++ b/tests/baselines/reference/tsserver/projectReferenceCompileOnSave/save-on-dependency-with-usage-project.js @@ -8,6 +8,7 @@ Info 1 [16:00:30.000] request: "file": "/user/username/projects/myproject/usage/usage.ts" } } +Before request //// [/user/username/projects/myproject/dependency/fns.ts] export function fn1() { } export function fn2() { } @@ -114,6 +115,7 @@ Info 27 [16:00:58.000] ----------------------------------------------- Info 27 [16:00:59.000] Open files: Info 27 [16:01:00.000] FileName: /user/username/projects/myproject/usage/usage.ts ProjectRootPath: undefined Info 27 [16:01:01.000] Projects: /user/username/projects/myproject/usage/tsconfig.json +After request PolledWatches:: /user/username/projects/myproject/decls: @@ -152,6 +154,7 @@ Info 28 [16:01:03.000] request: "file": "/user/username/projects/myproject/dependency/fns.ts" } } +Before request PolledWatches:: /user/username/projects/myproject/decls: @@ -215,6 +218,7 @@ Info 45 [16:01:27.000] FileName: /user/username/projects/myproject/usage/usag Info 45 [16:01:28.000] Projects: /user/username/projects/myproject/usage/tsconfig.json Info 45 [16:01:29.000] FileName: /user/username/projects/myproject/dependency/fns.ts ProjectRootPath: undefined Info 45 [16:01:30.000] Projects: /user/username/projects/myproject/usage/tsconfig.json,/user/username/projects/myproject/dependency/tsconfig.json +After request PolledWatches:: /user/username/projects/myproject/decls: @@ -254,6 +258,7 @@ Info 46 [16:01:32.000] request: "seq": 1, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/decls: @@ -279,6 +284,7 @@ FsWatchesRecursive:: /user/username/projects/myproject/dependency: {} +After request PolledWatches:: /user/username/projects/myproject/decls: @@ -327,6 +333,7 @@ Info 48 [16:01:34.000] request: "seq": 2, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/decls: @@ -352,6 +359,7 @@ FsWatchesRecursive:: /user/username/projects/myproject/dependency: {} +After request PolledWatches:: /user/username/projects/myproject/decls: @@ -392,6 +400,7 @@ Info 50 [16:01:36.000] request: "seq": 3, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/decls: @@ -417,6 +426,7 @@ FsWatchesRecursive:: /user/username/projects/myproject/dependency: {} +After request PolledWatches:: /user/username/projects/myproject/decls: diff --git a/tests/baselines/reference/tsserver/projectReferenceCompileOnSave/save-on-dependency.js b/tests/baselines/reference/tsserver/projectReferenceCompileOnSave/save-on-dependency.js index 8f09813c7498b..6d5789e2f9c43 100644 --- a/tests/baselines/reference/tsserver/projectReferenceCompileOnSave/save-on-dependency.js +++ b/tests/baselines/reference/tsserver/projectReferenceCompileOnSave/save-on-dependency.js @@ -8,6 +8,7 @@ Info 1 [16:00:30.000] request: "file": "/user/username/projects/myproject/usage/usage.ts" } } +Before request //// [/user/username/projects/myproject/dependency/fns.ts] export function fn1() { } export function fn2() { } @@ -114,6 +115,7 @@ Info 27 [16:00:58.000] ----------------------------------------------- Info 27 [16:00:59.000] Open files: Info 27 [16:01:00.000] FileName: /user/username/projects/myproject/usage/usage.ts ProjectRootPath: undefined Info 27 [16:01:01.000] Projects: /user/username/projects/myproject/usage/tsconfig.json +After request PolledWatches:: /user/username/projects/myproject/decls: @@ -152,6 +154,7 @@ Info 28 [16:01:03.000] request: "file": "/user/username/projects/myproject/dependency/fns.ts" } } +Before request PolledWatches:: /user/username/projects/myproject/decls: @@ -215,6 +218,7 @@ Info 45 [16:01:27.000] FileName: /user/username/projects/myproject/usage/usag Info 45 [16:01:28.000] Projects: /user/username/projects/myproject/usage/tsconfig.json Info 45 [16:01:29.000] FileName: /user/username/projects/myproject/dependency/fns.ts ProjectRootPath: undefined Info 45 [16:01:30.000] Projects: /user/username/projects/myproject/usage/tsconfig.json,/user/username/projects/myproject/dependency/tsconfig.json +After request PolledWatches:: /user/username/projects/myproject/decls: @@ -253,6 +257,7 @@ Info 46 [16:01:32.000] request: "seq": 1, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/decls: @@ -306,6 +311,7 @@ Info 49 [16:01:53.000] FileName: /user/username/projects/myproject/usage/usag Info 49 [16:01:54.000] Projects: /user/username/projects/myproject/usage/tsconfig.json Info 49 [16:01:55.000] FileName: /user/username/projects/myproject/dependency/fns.ts ProjectRootPath: undefined Info 49 [16:01:56.000] Projects: /user/username/projects/myproject/usage/tsconfig.json,/user/username/projects/myproject/dependency/tsconfig.json +After request PolledWatches:: /user/username/projects/myproject/decls: @@ -360,6 +366,7 @@ Info 50 [16:01:58.000] request: "seq": 2, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/decls: @@ -397,6 +404,7 @@ Info 59 [16:02:12.000] Elapsed:: *ms DirectoryWatcher:: Triggered with /user/u Info 60 [16:02:15.000] DirectoryWatcher:: Triggered with /user/username/projects/myproject/decls/fns.d.ts :: WatchInfo: /user/username/projects/myproject/decls 1 undefined Project: /user/username/projects/myproject/usage/tsconfig.json WatchType: Failed Lookup Locations Info 61 [16:02:16.000] Scheduled: /user/username/projects/myproject/usage/tsconfig.jsonFailedLookupInvalidation, Cancelled earlier one Info 62 [16:02:17.000] Elapsed:: *ms DirectoryWatcher:: Triggered with /user/username/projects/myproject/decls/fns.d.ts :: WatchInfo: /user/username/projects/myproject/decls 1 undefined Project: /user/username/projects/myproject/usage/tsconfig.json WatchType: Failed Lookup Locations +After request //// [/user/username/projects/myproject/dependency/fns.js] "use strict"; exports.__esModule = true; @@ -451,6 +459,7 @@ Info 64 [16:02:19.000] request: "seq": 3, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/usage/node_modules/@types: @@ -476,6 +485,7 @@ FsWatchesRecursive:: /user/username/projects/myproject/decls: {} +After request PolledWatches:: /user/username/projects/myproject/usage/node_modules/@types: diff --git a/tests/baselines/reference/tsserver/projectReferenceCompileOnSave/save-on-usage-and-change-to-dependency.js b/tests/baselines/reference/tsserver/projectReferenceCompileOnSave/save-on-usage-and-change-to-dependency.js index 92d3728c237f5..aa3f3e0114a1f 100644 --- a/tests/baselines/reference/tsserver/projectReferenceCompileOnSave/save-on-usage-and-change-to-dependency.js +++ b/tests/baselines/reference/tsserver/projectReferenceCompileOnSave/save-on-usage-and-change-to-dependency.js @@ -8,6 +8,7 @@ Info 1 [16:00:30.000] request: "file": "/user/username/projects/myproject/usage/usage.ts" } } +Before request //// [/user/username/projects/myproject/dependency/fns.ts] export function fn1() { } export function fn2() { } @@ -114,6 +115,7 @@ Info 27 [16:00:58.000] ----------------------------------------------- Info 27 [16:00:59.000] Open files: Info 27 [16:01:00.000] FileName: /user/username/projects/myproject/usage/usage.ts ProjectRootPath: undefined Info 27 [16:01:01.000] Projects: /user/username/projects/myproject/usage/tsconfig.json +After request PolledWatches:: /user/username/projects/myproject/decls: @@ -152,6 +154,7 @@ Info 28 [16:01:03.000] request: "file": "/user/username/projects/myproject/dependency/fns.ts" } } +Before request PolledWatches:: /user/username/projects/myproject/decls: @@ -215,6 +218,7 @@ Info 45 [16:01:27.000] FileName: /user/username/projects/myproject/usage/usag Info 45 [16:01:28.000] Projects: /user/username/projects/myproject/usage/tsconfig.json Info 45 [16:01:29.000] FileName: /user/username/projects/myproject/dependency/fns.ts ProjectRootPath: undefined Info 45 [16:01:30.000] Projects: /user/username/projects/myproject/usage/tsconfig.json,/user/username/projects/myproject/dependency/tsconfig.json +After request PolledWatches:: /user/username/projects/myproject/decls: @@ -253,6 +257,7 @@ Info 46 [16:01:32.000] request: "seq": 1, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/decls: @@ -306,6 +311,7 @@ Info 49 [16:01:53.000] FileName: /user/username/projects/myproject/usage/usag Info 49 [16:01:54.000] Projects: /user/username/projects/myproject/usage/tsconfig.json Info 49 [16:01:55.000] FileName: /user/username/projects/myproject/dependency/fns.ts ProjectRootPath: undefined Info 49 [16:01:56.000] Projects: /user/username/projects/myproject/usage/tsconfig.json,/user/username/projects/myproject/dependency/tsconfig.json +After request PolledWatches:: /user/username/projects/myproject/decls: @@ -365,6 +371,7 @@ Info 50 [16:01:58.000] request: "seq": 2, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/decls: @@ -390,6 +397,7 @@ FsWatchesRecursive:: /user/username/projects/myproject/dependency: {} +After request PolledWatches:: /user/username/projects/myproject/decls: @@ -428,6 +436,7 @@ Info 52 [16:02:00.000] request: "seq": 3, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/decls: @@ -487,6 +496,7 @@ Info 61 [16:02:27.000] FileName: /user/username/projects/myproject/usage/usag Info 61 [16:02:28.000] Projects: /user/username/projects/myproject/usage/tsconfig.json Info 61 [16:02:29.000] FileName: /user/username/projects/myproject/dependency/fns.ts ProjectRootPath: undefined Info 61 [16:02:30.000] Projects: /user/username/projects/myproject/usage/tsconfig.json,/user/username/projects/myproject/dependency/tsconfig.json +After request PolledWatches:: /user/username/projects/myproject/decls: @@ -534,6 +544,7 @@ Info 62 [16:02:32.000] request: "seq": 4, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/decls: @@ -562,6 +573,7 @@ FsWatchesRecursive:: Info 63 [16:02:35.000] DirectoryWatcher:: Triggered with /user/username/projects/myproject/usage/usage.js :: WatchInfo: /user/username/projects/myproject/usage 1 undefined Config: /user/username/projects/myproject/usage/tsconfig.json WatchType: Wild card directory Info 64 [16:02:36.000] Project: /user/username/projects/myproject/usage/tsconfig.json Detected file add/remove of non supported extension: /user/username/projects/myproject/usage/usage.js Info 65 [16:02:37.000] Elapsed:: *ms DirectoryWatcher:: Triggered with /user/username/projects/myproject/usage/usage.js :: WatchInfo: /user/username/projects/myproject/usage 1 undefined Config: /user/username/projects/myproject/usage/tsconfig.json WatchType: Wild card directory +After request //// [/user/username/projects/myproject/usage/usage.js] "use strict"; exports.__esModule = true; @@ -609,6 +621,7 @@ Info 67 [16:02:39.000] request: "seq": 5, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/decls: @@ -634,6 +647,7 @@ FsWatchesRecursive:: /user/username/projects/myproject/dependency: {} +After request PolledWatches:: /user/username/projects/myproject/decls: diff --git a/tests/baselines/reference/tsserver/projectReferenceCompileOnSave/save-on-usage-and-change-to-usage.js b/tests/baselines/reference/tsserver/projectReferenceCompileOnSave/save-on-usage-and-change-to-usage.js index bc43177641033..ed1b42f568dbc 100644 --- a/tests/baselines/reference/tsserver/projectReferenceCompileOnSave/save-on-usage-and-change-to-usage.js +++ b/tests/baselines/reference/tsserver/projectReferenceCompileOnSave/save-on-usage-and-change-to-usage.js @@ -8,6 +8,7 @@ Info 1 [16:00:30.000] request: "file": "/user/username/projects/myproject/usage/usage.ts" } } +Before request //// [/user/username/projects/myproject/dependency/fns.ts] export function fn1() { } export function fn2() { } @@ -114,6 +115,7 @@ Info 27 [16:00:58.000] ----------------------------------------------- Info 27 [16:00:59.000] Open files: Info 27 [16:01:00.000] FileName: /user/username/projects/myproject/usage/usage.ts ProjectRootPath: undefined Info 27 [16:01:01.000] Projects: /user/username/projects/myproject/usage/tsconfig.json +After request PolledWatches:: /user/username/projects/myproject/decls: @@ -152,6 +154,7 @@ Info 28 [16:01:03.000] request: "file": "/user/username/projects/myproject/dependency/fns.ts" } } +Before request PolledWatches:: /user/username/projects/myproject/decls: @@ -215,6 +218,7 @@ Info 45 [16:01:27.000] FileName: /user/username/projects/myproject/usage/usag Info 45 [16:01:28.000] Projects: /user/username/projects/myproject/usage/tsconfig.json Info 45 [16:01:29.000] FileName: /user/username/projects/myproject/dependency/fns.ts ProjectRootPath: undefined Info 45 [16:01:30.000] Projects: /user/username/projects/myproject/usage/tsconfig.json,/user/username/projects/myproject/dependency/tsconfig.json +After request PolledWatches:: /user/username/projects/myproject/decls: @@ -253,6 +257,7 @@ Info 46 [16:01:32.000] request: "seq": 1, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/decls: @@ -306,6 +311,7 @@ Info 49 [16:01:53.000] FileName: /user/username/projects/myproject/usage/usag Info 49 [16:01:54.000] Projects: /user/username/projects/myproject/usage/tsconfig.json Info 49 [16:01:55.000] FileName: /user/username/projects/myproject/dependency/fns.ts ProjectRootPath: undefined Info 49 [16:01:56.000] Projects: /user/username/projects/myproject/usage/tsconfig.json,/user/username/projects/myproject/dependency/tsconfig.json +After request PolledWatches:: /user/username/projects/myproject/decls: @@ -365,6 +371,7 @@ Info 50 [16:01:58.000] request: "seq": 2, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/decls: @@ -390,6 +397,7 @@ FsWatchesRecursive:: /user/username/projects/myproject/dependency: {} +After request PolledWatches:: /user/username/projects/myproject/decls: @@ -428,6 +436,7 @@ Info 52 [16:02:00.000] request: "seq": 3, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/decls: @@ -484,6 +493,7 @@ Info 58 [16:02:24.000] FileName: /user/username/projects/myproject/usage/usag Info 58 [16:02:25.000] Projects: /user/username/projects/myproject/usage/tsconfig.json Info 58 [16:02:26.000] FileName: /user/username/projects/myproject/dependency/fns.ts ProjectRootPath: undefined Info 58 [16:02:27.000] Projects: /user/username/projects/myproject/usage/tsconfig.json,/user/username/projects/myproject/dependency/tsconfig.json +After request PolledWatches:: /user/username/projects/myproject/decls: @@ -531,6 +541,7 @@ Info 59 [16:02:29.000] request: "seq": 4, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/decls: @@ -559,6 +570,7 @@ FsWatchesRecursive:: Info 60 [16:02:32.000] DirectoryWatcher:: Triggered with /user/username/projects/myproject/usage/usage.js :: WatchInfo: /user/username/projects/myproject/usage 1 undefined Config: /user/username/projects/myproject/usage/tsconfig.json WatchType: Wild card directory Info 61 [16:02:33.000] Project: /user/username/projects/myproject/usage/tsconfig.json Detected file add/remove of non supported extension: /user/username/projects/myproject/usage/usage.js Info 62 [16:02:34.000] Elapsed:: *ms DirectoryWatcher:: Triggered with /user/username/projects/myproject/usage/usage.js :: WatchInfo: /user/username/projects/myproject/usage 1 undefined Config: /user/username/projects/myproject/usage/tsconfig.json WatchType: Wild card directory +After request //// [/user/username/projects/myproject/usage/usage.js] "use strict"; exports.__esModule = true; @@ -609,6 +621,7 @@ Info 64 [16:02:36.000] request: "seq": 5, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/decls: @@ -634,6 +647,7 @@ FsWatchesRecursive:: /user/username/projects/myproject/dependency: {} +After request PolledWatches:: /user/username/projects/myproject/decls: diff --git a/tests/baselines/reference/tsserver/projectReferenceCompileOnSave/save-on-usage-and-local-change-to-dependency-with-file.js b/tests/baselines/reference/tsserver/projectReferenceCompileOnSave/save-on-usage-and-local-change-to-dependency-with-file.js index 7e546cc01065a..59282d8c651c4 100644 --- a/tests/baselines/reference/tsserver/projectReferenceCompileOnSave/save-on-usage-and-local-change-to-dependency-with-file.js +++ b/tests/baselines/reference/tsserver/projectReferenceCompileOnSave/save-on-usage-and-local-change-to-dependency-with-file.js @@ -8,6 +8,7 @@ Info 1 [16:00:30.000] request: "file": "/user/username/projects/myproject/usage/usage.ts" } } +Before request //// [/user/username/projects/myproject/dependency/fns.ts] export function fn1() { } export function fn2() { } @@ -114,6 +115,7 @@ Info 27 [16:00:58.000] ----------------------------------------------- Info 27 [16:00:59.000] Open files: Info 27 [16:01:00.000] FileName: /user/username/projects/myproject/usage/usage.ts ProjectRootPath: undefined Info 27 [16:01:01.000] Projects: /user/username/projects/myproject/usage/tsconfig.json +After request PolledWatches:: /user/username/projects/myproject/decls: @@ -152,6 +154,7 @@ Info 28 [16:01:03.000] request: "file": "/user/username/projects/myproject/dependency/fns.ts" } } +Before request PolledWatches:: /user/username/projects/myproject/decls: @@ -215,6 +218,7 @@ Info 45 [16:01:27.000] FileName: /user/username/projects/myproject/usage/usag Info 45 [16:01:28.000] Projects: /user/username/projects/myproject/usage/tsconfig.json Info 45 [16:01:29.000] FileName: /user/username/projects/myproject/dependency/fns.ts ProjectRootPath: undefined Info 45 [16:01:30.000] Projects: /user/username/projects/myproject/usage/tsconfig.json,/user/username/projects/myproject/dependency/tsconfig.json +After request PolledWatches:: /user/username/projects/myproject/decls: @@ -253,6 +257,7 @@ Info 46 [16:01:32.000] request: "seq": 1, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/decls: @@ -306,6 +311,7 @@ Info 49 [16:01:53.000] FileName: /user/username/projects/myproject/usage/usag Info 49 [16:01:54.000] Projects: /user/username/projects/myproject/usage/tsconfig.json Info 49 [16:01:55.000] FileName: /user/username/projects/myproject/dependency/fns.ts ProjectRootPath: undefined Info 49 [16:01:56.000] Projects: /user/username/projects/myproject/usage/tsconfig.json,/user/username/projects/myproject/dependency/tsconfig.json +After request PolledWatches:: /user/username/projects/myproject/decls: @@ -365,6 +371,7 @@ Info 50 [16:01:58.000] request: "seq": 2, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/decls: @@ -390,6 +397,7 @@ FsWatchesRecursive:: /user/username/projects/myproject/dependency: {} +After request PolledWatches:: /user/username/projects/myproject/decls: @@ -429,6 +437,7 @@ Info 52 [16:02:00.000] request: "seq": 3, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/decls: @@ -457,6 +466,7 @@ FsWatchesRecursive:: Info 53 [16:02:01.000] Starting updateGraphWorker: Project: /user/username/projects/myproject/usage/tsconfig.json Info 54 [16:02:02.000] Finishing updateGraphWorker: Project: /user/username/projects/myproject/usage/tsconfig.json Version: 2 structureChanged: false structureIsReused:: Completely Elapsed:: *ms Info 55 [16:02:03.000] Different program with same set of files +After request PolledWatches:: /user/username/projects/myproject/decls: @@ -505,6 +515,7 @@ Info 57 [16:02:05.000] request: "seq": 4, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/decls: @@ -533,6 +544,7 @@ FsWatchesRecursive:: Info 58 [16:02:08.000] DirectoryWatcher:: Triggered with /user/username/projects/myproject/usage/usage.js :: WatchInfo: /user/username/projects/myproject/usage 1 undefined Config: /user/username/projects/myproject/usage/tsconfig.json WatchType: Wild card directory Info 59 [16:02:09.000] Project: /user/username/projects/myproject/usage/tsconfig.json Detected file add/remove of non supported extension: /user/username/projects/myproject/usage/usage.js Info 60 [16:02:10.000] Elapsed:: *ms DirectoryWatcher:: Triggered with /user/username/projects/myproject/usage/usage.js :: WatchInfo: /user/username/projects/myproject/usage 1 undefined Config: /user/username/projects/myproject/usage/tsconfig.json WatchType: Wild card directory +After request //// [/user/username/projects/myproject/usage/usage.js] "use strict"; exports.__esModule = true; @@ -581,6 +593,7 @@ Info 62 [16:02:12.000] request: "seq": 5, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/decls: @@ -606,6 +619,7 @@ FsWatchesRecursive:: /user/username/projects/myproject/dependency: {} +After request PolledWatches:: /user/username/projects/myproject/decls: diff --git a/tests/baselines/reference/tsserver/projectReferenceCompileOnSave/save-on-usage-and-local-change-to-dependency.js b/tests/baselines/reference/tsserver/projectReferenceCompileOnSave/save-on-usage-and-local-change-to-dependency.js index a694b36aca759..dd21e938a886e 100644 --- a/tests/baselines/reference/tsserver/projectReferenceCompileOnSave/save-on-usage-and-local-change-to-dependency.js +++ b/tests/baselines/reference/tsserver/projectReferenceCompileOnSave/save-on-usage-and-local-change-to-dependency.js @@ -8,6 +8,7 @@ Info 1 [16:00:30.000] request: "file": "/user/username/projects/myproject/usage/usage.ts" } } +Before request //// [/user/username/projects/myproject/dependency/fns.ts] export function fn1() { } export function fn2() { } @@ -114,6 +115,7 @@ Info 27 [16:00:58.000] ----------------------------------------------- Info 27 [16:00:59.000] Open files: Info 27 [16:01:00.000] FileName: /user/username/projects/myproject/usage/usage.ts ProjectRootPath: undefined Info 27 [16:01:01.000] Projects: /user/username/projects/myproject/usage/tsconfig.json +After request PolledWatches:: /user/username/projects/myproject/decls: @@ -152,6 +154,7 @@ Info 28 [16:01:03.000] request: "file": "/user/username/projects/myproject/dependency/fns.ts" } } +Before request PolledWatches:: /user/username/projects/myproject/decls: @@ -215,6 +218,7 @@ Info 45 [16:01:27.000] FileName: /user/username/projects/myproject/usage/usag Info 45 [16:01:28.000] Projects: /user/username/projects/myproject/usage/tsconfig.json Info 45 [16:01:29.000] FileName: /user/username/projects/myproject/dependency/fns.ts ProjectRootPath: undefined Info 45 [16:01:30.000] Projects: /user/username/projects/myproject/usage/tsconfig.json,/user/username/projects/myproject/dependency/tsconfig.json +After request PolledWatches:: /user/username/projects/myproject/decls: @@ -253,6 +257,7 @@ Info 46 [16:01:32.000] request: "seq": 1, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/decls: @@ -306,6 +311,7 @@ Info 49 [16:01:53.000] FileName: /user/username/projects/myproject/usage/usag Info 49 [16:01:54.000] Projects: /user/username/projects/myproject/usage/tsconfig.json Info 49 [16:01:55.000] FileName: /user/username/projects/myproject/dependency/fns.ts ProjectRootPath: undefined Info 49 [16:01:56.000] Projects: /user/username/projects/myproject/usage/tsconfig.json,/user/username/projects/myproject/dependency/tsconfig.json +After request PolledWatches:: /user/username/projects/myproject/decls: @@ -365,6 +371,7 @@ Info 50 [16:01:58.000] request: "seq": 2, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/decls: @@ -390,6 +397,7 @@ FsWatchesRecursive:: /user/username/projects/myproject/dependency: {} +After request PolledWatches:: /user/username/projects/myproject/decls: @@ -428,6 +436,7 @@ Info 52 [16:02:00.000] request: "seq": 3, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/decls: @@ -487,6 +496,7 @@ Info 61 [16:02:27.000] FileName: /user/username/projects/myproject/usage/usag Info 61 [16:02:28.000] Projects: /user/username/projects/myproject/usage/tsconfig.json Info 61 [16:02:29.000] FileName: /user/username/projects/myproject/dependency/fns.ts ProjectRootPath: undefined Info 61 [16:02:30.000] Projects: /user/username/projects/myproject/usage/tsconfig.json,/user/username/projects/myproject/dependency/tsconfig.json +After request PolledWatches:: /user/username/projects/myproject/decls: @@ -534,6 +544,7 @@ Info 62 [16:02:32.000] request: "seq": 4, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/decls: @@ -562,6 +573,7 @@ FsWatchesRecursive:: Info 63 [16:02:35.000] DirectoryWatcher:: Triggered with /user/username/projects/myproject/usage/usage.js :: WatchInfo: /user/username/projects/myproject/usage 1 undefined Config: /user/username/projects/myproject/usage/tsconfig.json WatchType: Wild card directory Info 64 [16:02:36.000] Project: /user/username/projects/myproject/usage/tsconfig.json Detected file add/remove of non supported extension: /user/username/projects/myproject/usage/usage.js Info 65 [16:02:37.000] Elapsed:: *ms DirectoryWatcher:: Triggered with /user/username/projects/myproject/usage/usage.js :: WatchInfo: /user/username/projects/myproject/usage 1 undefined Config: /user/username/projects/myproject/usage/tsconfig.json WatchType: Wild card directory +After request //// [/user/username/projects/myproject/usage/usage.js] "use strict"; exports.__esModule = true; @@ -609,6 +621,7 @@ Info 67 [16:02:39.000] request: "seq": 5, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/decls: @@ -634,6 +647,7 @@ FsWatchesRecursive:: /user/username/projects/myproject/dependency: {} +After request PolledWatches:: /user/username/projects/myproject/decls: diff --git a/tests/baselines/reference/tsserver/projectReferenceCompileOnSave/save-on-usage-and-local-change-to-usage-with-project.js b/tests/baselines/reference/tsserver/projectReferenceCompileOnSave/save-on-usage-and-local-change-to-usage-with-project.js index f948362c3e710..1d85a744a330f 100644 --- a/tests/baselines/reference/tsserver/projectReferenceCompileOnSave/save-on-usage-and-local-change-to-usage-with-project.js +++ b/tests/baselines/reference/tsserver/projectReferenceCompileOnSave/save-on-usage-and-local-change-to-usage-with-project.js @@ -8,6 +8,7 @@ Info 1 [16:00:30.000] request: "file": "/user/username/projects/myproject/usage/usage.ts" } } +Before request //// [/user/username/projects/myproject/dependency/fns.ts] export function fn1() { } export function fn2() { } @@ -114,6 +115,7 @@ Info 27 [16:00:58.000] ----------------------------------------------- Info 27 [16:00:59.000] Open files: Info 27 [16:01:00.000] FileName: /user/username/projects/myproject/usage/usage.ts ProjectRootPath: undefined Info 27 [16:01:01.000] Projects: /user/username/projects/myproject/usage/tsconfig.json +After request PolledWatches:: /user/username/projects/myproject/decls: @@ -152,6 +154,7 @@ Info 28 [16:01:03.000] request: "file": "/user/username/projects/myproject/dependency/fns.ts" } } +Before request PolledWatches:: /user/username/projects/myproject/decls: @@ -215,6 +218,7 @@ Info 45 [16:01:27.000] FileName: /user/username/projects/myproject/usage/usag Info 45 [16:01:28.000] Projects: /user/username/projects/myproject/usage/tsconfig.json Info 45 [16:01:29.000] FileName: /user/username/projects/myproject/dependency/fns.ts ProjectRootPath: undefined Info 45 [16:01:30.000] Projects: /user/username/projects/myproject/usage/tsconfig.json,/user/username/projects/myproject/dependency/tsconfig.json +After request PolledWatches:: /user/username/projects/myproject/decls: @@ -253,6 +257,7 @@ Info 46 [16:01:32.000] request: "seq": 1, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/decls: @@ -306,6 +311,7 @@ Info 49 [16:01:53.000] FileName: /user/username/projects/myproject/usage/usag Info 49 [16:01:54.000] Projects: /user/username/projects/myproject/usage/tsconfig.json Info 49 [16:01:55.000] FileName: /user/username/projects/myproject/dependency/fns.ts ProjectRootPath: undefined Info 49 [16:01:56.000] Projects: /user/username/projects/myproject/usage/tsconfig.json,/user/username/projects/myproject/dependency/tsconfig.json +After request PolledWatches:: /user/username/projects/myproject/decls: @@ -365,6 +371,7 @@ Info 50 [16:01:58.000] request: "seq": 2, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/decls: @@ -390,6 +397,7 @@ FsWatchesRecursive:: /user/username/projects/myproject/dependency: {} +After request PolledWatches:: /user/username/projects/myproject/decls: @@ -429,6 +437,7 @@ Info 52 [16:02:00.000] request: "seq": 3, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/decls: @@ -457,6 +466,7 @@ FsWatchesRecursive:: Info 53 [16:02:01.000] Starting updateGraphWorker: Project: /user/username/projects/myproject/usage/tsconfig.json Info 54 [16:02:02.000] Finishing updateGraphWorker: Project: /user/username/projects/myproject/usage/tsconfig.json Version: 2 structureChanged: false structureIsReused:: Completely Elapsed:: *ms Info 55 [16:02:03.000] Different program with same set of files +After request PolledWatches:: /user/username/projects/myproject/decls: @@ -505,6 +515,7 @@ Info 57 [16:02:05.000] request: "seq": 4, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/decls: @@ -533,6 +544,7 @@ FsWatchesRecursive:: Info 58 [16:02:08.000] DirectoryWatcher:: Triggered with /user/username/projects/myproject/usage/usage.js :: WatchInfo: /user/username/projects/myproject/usage 1 undefined Config: /user/username/projects/myproject/usage/tsconfig.json WatchType: Wild card directory Info 59 [16:02:09.000] Project: /user/username/projects/myproject/usage/tsconfig.json Detected file add/remove of non supported extension: /user/username/projects/myproject/usage/usage.js Info 60 [16:02:10.000] Elapsed:: *ms DirectoryWatcher:: Triggered with /user/username/projects/myproject/usage/usage.js :: WatchInfo: /user/username/projects/myproject/usage 1 undefined Config: /user/username/projects/myproject/usage/tsconfig.json WatchType: Wild card directory +After request //// [/user/username/projects/myproject/usage/usage.js] "use strict"; exports.__esModule = true; @@ -582,6 +594,7 @@ Info 62 [16:02:12.000] request: "seq": 5, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/decls: @@ -607,6 +620,7 @@ FsWatchesRecursive:: /user/username/projects/myproject/dependency: {} +After request PolledWatches:: /user/username/projects/myproject/decls: diff --git a/tests/baselines/reference/tsserver/projectReferenceCompileOnSave/save-on-usage-and-local-change-to-usage.js b/tests/baselines/reference/tsserver/projectReferenceCompileOnSave/save-on-usage-and-local-change-to-usage.js index 73d37e39cf59e..89b3cc444024f 100644 --- a/tests/baselines/reference/tsserver/projectReferenceCompileOnSave/save-on-usage-and-local-change-to-usage.js +++ b/tests/baselines/reference/tsserver/projectReferenceCompileOnSave/save-on-usage-and-local-change-to-usage.js @@ -8,6 +8,7 @@ Info 1 [16:00:30.000] request: "file": "/user/username/projects/myproject/usage/usage.ts" } } +Before request //// [/user/username/projects/myproject/dependency/fns.ts] export function fn1() { } export function fn2() { } @@ -114,6 +115,7 @@ Info 27 [16:00:58.000] ----------------------------------------------- Info 27 [16:00:59.000] Open files: Info 27 [16:01:00.000] FileName: /user/username/projects/myproject/usage/usage.ts ProjectRootPath: undefined Info 27 [16:01:01.000] Projects: /user/username/projects/myproject/usage/tsconfig.json +After request PolledWatches:: /user/username/projects/myproject/decls: @@ -152,6 +154,7 @@ Info 28 [16:01:03.000] request: "file": "/user/username/projects/myproject/dependency/fns.ts" } } +Before request PolledWatches:: /user/username/projects/myproject/decls: @@ -215,6 +218,7 @@ Info 45 [16:01:27.000] FileName: /user/username/projects/myproject/usage/usag Info 45 [16:01:28.000] Projects: /user/username/projects/myproject/usage/tsconfig.json Info 45 [16:01:29.000] FileName: /user/username/projects/myproject/dependency/fns.ts ProjectRootPath: undefined Info 45 [16:01:30.000] Projects: /user/username/projects/myproject/usage/tsconfig.json,/user/username/projects/myproject/dependency/tsconfig.json +After request PolledWatches:: /user/username/projects/myproject/decls: @@ -253,6 +257,7 @@ Info 46 [16:01:32.000] request: "seq": 1, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/decls: @@ -306,6 +311,7 @@ Info 49 [16:01:53.000] FileName: /user/username/projects/myproject/usage/usag Info 49 [16:01:54.000] Projects: /user/username/projects/myproject/usage/tsconfig.json Info 49 [16:01:55.000] FileName: /user/username/projects/myproject/dependency/fns.ts ProjectRootPath: undefined Info 49 [16:01:56.000] Projects: /user/username/projects/myproject/usage/tsconfig.json,/user/username/projects/myproject/dependency/tsconfig.json +After request PolledWatches:: /user/username/projects/myproject/decls: @@ -365,6 +371,7 @@ Info 50 [16:01:58.000] request: "seq": 2, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/decls: @@ -390,6 +397,7 @@ FsWatchesRecursive:: /user/username/projects/myproject/dependency: {} +After request PolledWatches:: /user/username/projects/myproject/decls: @@ -428,6 +436,7 @@ Info 52 [16:02:00.000] request: "seq": 3, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/decls: @@ -484,6 +493,7 @@ Info 58 [16:02:24.000] FileName: /user/username/projects/myproject/usage/usag Info 58 [16:02:25.000] Projects: /user/username/projects/myproject/usage/tsconfig.json Info 58 [16:02:26.000] FileName: /user/username/projects/myproject/dependency/fns.ts ProjectRootPath: undefined Info 58 [16:02:27.000] Projects: /user/username/projects/myproject/usage/tsconfig.json,/user/username/projects/myproject/dependency/tsconfig.json +After request PolledWatches:: /user/username/projects/myproject/decls: @@ -531,6 +541,7 @@ Info 59 [16:02:29.000] request: "seq": 4, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/decls: @@ -559,6 +570,7 @@ FsWatchesRecursive:: Info 60 [16:02:32.000] DirectoryWatcher:: Triggered with /user/username/projects/myproject/usage/usage.js :: WatchInfo: /user/username/projects/myproject/usage 1 undefined Config: /user/username/projects/myproject/usage/tsconfig.json WatchType: Wild card directory Info 61 [16:02:33.000] Project: /user/username/projects/myproject/usage/tsconfig.json Detected file add/remove of non supported extension: /user/username/projects/myproject/usage/usage.js Info 62 [16:02:34.000] Elapsed:: *ms DirectoryWatcher:: Triggered with /user/username/projects/myproject/usage/usage.js :: WatchInfo: /user/username/projects/myproject/usage 1 undefined Config: /user/username/projects/myproject/usage/tsconfig.json WatchType: Wild card directory +After request //// [/user/username/projects/myproject/usage/usage.js] "use strict"; exports.__esModule = true; @@ -607,6 +619,7 @@ Info 64 [16:02:36.000] request: "seq": 5, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/decls: @@ -632,6 +645,7 @@ FsWatchesRecursive:: /user/username/projects/myproject/dependency: {} +After request PolledWatches:: /user/username/projects/myproject/decls: diff --git a/tests/baselines/reference/tsserver/projectReferenceCompileOnSave/save-on-usage-with-project-and-change-to-dependency.js b/tests/baselines/reference/tsserver/projectReferenceCompileOnSave/save-on-usage-with-project-and-change-to-dependency.js index 98f69bd729405..06b1d0b3eb8c4 100644 --- a/tests/baselines/reference/tsserver/projectReferenceCompileOnSave/save-on-usage-with-project-and-change-to-dependency.js +++ b/tests/baselines/reference/tsserver/projectReferenceCompileOnSave/save-on-usage-with-project-and-change-to-dependency.js @@ -8,6 +8,7 @@ Info 1 [16:00:30.000] request: "file": "/user/username/projects/myproject/usage/usage.ts" } } +Before request //// [/user/username/projects/myproject/dependency/fns.ts] export function fn1() { } export function fn2() { } @@ -114,6 +115,7 @@ Info 27 [16:00:58.000] ----------------------------------------------- Info 27 [16:00:59.000] Open files: Info 27 [16:01:00.000] FileName: /user/username/projects/myproject/usage/usage.ts ProjectRootPath: undefined Info 27 [16:01:01.000] Projects: /user/username/projects/myproject/usage/tsconfig.json +After request PolledWatches:: /user/username/projects/myproject/decls: @@ -152,6 +154,7 @@ Info 28 [16:01:03.000] request: "file": "/user/username/projects/myproject/dependency/fns.ts" } } +Before request PolledWatches:: /user/username/projects/myproject/decls: @@ -215,6 +218,7 @@ Info 45 [16:01:27.000] FileName: /user/username/projects/myproject/usage/usag Info 45 [16:01:28.000] Projects: /user/username/projects/myproject/usage/tsconfig.json Info 45 [16:01:29.000] FileName: /user/username/projects/myproject/dependency/fns.ts ProjectRootPath: undefined Info 45 [16:01:30.000] Projects: /user/username/projects/myproject/usage/tsconfig.json,/user/username/projects/myproject/dependency/tsconfig.json +After request PolledWatches:: /user/username/projects/myproject/decls: @@ -253,6 +257,7 @@ Info 46 [16:01:32.000] request: "seq": 1, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/decls: @@ -306,6 +311,7 @@ Info 49 [16:01:53.000] FileName: /user/username/projects/myproject/usage/usag Info 49 [16:01:54.000] Projects: /user/username/projects/myproject/usage/tsconfig.json Info 49 [16:01:55.000] FileName: /user/username/projects/myproject/dependency/fns.ts ProjectRootPath: undefined Info 49 [16:01:56.000] Projects: /user/username/projects/myproject/usage/tsconfig.json,/user/username/projects/myproject/dependency/tsconfig.json +After request PolledWatches:: /user/username/projects/myproject/decls: @@ -365,6 +371,7 @@ Info 50 [16:01:58.000] request: "seq": 2, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/decls: @@ -390,6 +397,7 @@ FsWatchesRecursive:: /user/username/projects/myproject/dependency: {} +After request PolledWatches:: /user/username/projects/myproject/decls: @@ -429,6 +437,7 @@ Info 52 [16:02:00.000] request: "seq": 3, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/decls: @@ -457,6 +466,7 @@ FsWatchesRecursive:: Info 53 [16:02:01.000] Starting updateGraphWorker: Project: /user/username/projects/myproject/usage/tsconfig.json Info 54 [16:02:02.000] Finishing updateGraphWorker: Project: /user/username/projects/myproject/usage/tsconfig.json Version: 2 structureChanged: false structureIsReused:: Completely Elapsed:: *ms Info 55 [16:02:03.000] Different program with same set of files +After request PolledWatches:: /user/username/projects/myproject/decls: @@ -505,6 +515,7 @@ Info 57 [16:02:05.000] request: "seq": 4, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/decls: @@ -533,6 +544,7 @@ FsWatchesRecursive:: Info 58 [16:02:08.000] DirectoryWatcher:: Triggered with /user/username/projects/myproject/usage/usage.js :: WatchInfo: /user/username/projects/myproject/usage 1 undefined Config: /user/username/projects/myproject/usage/tsconfig.json WatchType: Wild card directory Info 59 [16:02:09.000] Project: /user/username/projects/myproject/usage/tsconfig.json Detected file add/remove of non supported extension: /user/username/projects/myproject/usage/usage.js Info 60 [16:02:10.000] Elapsed:: *ms DirectoryWatcher:: Triggered with /user/username/projects/myproject/usage/usage.js :: WatchInfo: /user/username/projects/myproject/usage 1 undefined Config: /user/username/projects/myproject/usage/tsconfig.json WatchType: Wild card directory +After request //// [/user/username/projects/myproject/usage/usage.js] "use strict"; exports.__esModule = true; @@ -581,6 +593,7 @@ Info 62 [16:02:12.000] request: "seq": 5, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/decls: @@ -606,6 +619,7 @@ FsWatchesRecursive:: /user/username/projects/myproject/dependency: {} +After request PolledWatches:: /user/username/projects/myproject/decls: diff --git a/tests/baselines/reference/tsserver/projectReferenceCompileOnSave/save-on-usage-with-project-and-change-to-usage.js b/tests/baselines/reference/tsserver/projectReferenceCompileOnSave/save-on-usage-with-project-and-change-to-usage.js index 4804538fc6790..1f711e3c98c42 100644 --- a/tests/baselines/reference/tsserver/projectReferenceCompileOnSave/save-on-usage-with-project-and-change-to-usage.js +++ b/tests/baselines/reference/tsserver/projectReferenceCompileOnSave/save-on-usage-with-project-and-change-to-usage.js @@ -8,6 +8,7 @@ Info 1 [16:00:30.000] request: "file": "/user/username/projects/myproject/usage/usage.ts" } } +Before request //// [/user/username/projects/myproject/dependency/fns.ts] export function fn1() { } export function fn2() { } @@ -114,6 +115,7 @@ Info 27 [16:00:58.000] ----------------------------------------------- Info 27 [16:00:59.000] Open files: Info 27 [16:01:00.000] FileName: /user/username/projects/myproject/usage/usage.ts ProjectRootPath: undefined Info 27 [16:01:01.000] Projects: /user/username/projects/myproject/usage/tsconfig.json +After request PolledWatches:: /user/username/projects/myproject/decls: @@ -152,6 +154,7 @@ Info 28 [16:01:03.000] request: "file": "/user/username/projects/myproject/dependency/fns.ts" } } +Before request PolledWatches:: /user/username/projects/myproject/decls: @@ -215,6 +218,7 @@ Info 45 [16:01:27.000] FileName: /user/username/projects/myproject/usage/usag Info 45 [16:01:28.000] Projects: /user/username/projects/myproject/usage/tsconfig.json Info 45 [16:01:29.000] FileName: /user/username/projects/myproject/dependency/fns.ts ProjectRootPath: undefined Info 45 [16:01:30.000] Projects: /user/username/projects/myproject/usage/tsconfig.json,/user/username/projects/myproject/dependency/tsconfig.json +After request PolledWatches:: /user/username/projects/myproject/decls: @@ -253,6 +257,7 @@ Info 46 [16:01:32.000] request: "seq": 1, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/decls: @@ -306,6 +311,7 @@ Info 49 [16:01:53.000] FileName: /user/username/projects/myproject/usage/usag Info 49 [16:01:54.000] Projects: /user/username/projects/myproject/usage/tsconfig.json Info 49 [16:01:55.000] FileName: /user/username/projects/myproject/dependency/fns.ts ProjectRootPath: undefined Info 49 [16:01:56.000] Projects: /user/username/projects/myproject/usage/tsconfig.json,/user/username/projects/myproject/dependency/tsconfig.json +After request PolledWatches:: /user/username/projects/myproject/decls: @@ -365,6 +371,7 @@ Info 50 [16:01:58.000] request: "seq": 2, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/decls: @@ -390,6 +397,7 @@ FsWatchesRecursive:: /user/username/projects/myproject/dependency: {} +After request PolledWatches:: /user/username/projects/myproject/decls: @@ -429,6 +437,7 @@ Info 52 [16:02:00.000] request: "seq": 3, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/decls: @@ -457,6 +466,7 @@ FsWatchesRecursive:: Info 53 [16:02:01.000] Starting updateGraphWorker: Project: /user/username/projects/myproject/usage/tsconfig.json Info 54 [16:02:02.000] Finishing updateGraphWorker: Project: /user/username/projects/myproject/usage/tsconfig.json Version: 2 structureChanged: false structureIsReused:: Completely Elapsed:: *ms Info 55 [16:02:03.000] Different program with same set of files +After request PolledWatches:: /user/username/projects/myproject/decls: @@ -505,6 +515,7 @@ Info 57 [16:02:05.000] request: "seq": 4, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/decls: @@ -533,6 +544,7 @@ FsWatchesRecursive:: Info 58 [16:02:08.000] DirectoryWatcher:: Triggered with /user/username/projects/myproject/usage/usage.js :: WatchInfo: /user/username/projects/myproject/usage 1 undefined Config: /user/username/projects/myproject/usage/tsconfig.json WatchType: Wild card directory Info 59 [16:02:09.000] Project: /user/username/projects/myproject/usage/tsconfig.json Detected file add/remove of non supported extension: /user/username/projects/myproject/usage/usage.js Info 60 [16:02:10.000] Elapsed:: *ms DirectoryWatcher:: Triggered with /user/username/projects/myproject/usage/usage.js :: WatchInfo: /user/username/projects/myproject/usage 1 undefined Config: /user/username/projects/myproject/usage/tsconfig.json WatchType: Wild card directory +After request //// [/user/username/projects/myproject/usage/usage.js] "use strict"; exports.__esModule = true; @@ -584,6 +596,7 @@ Info 62 [16:02:12.000] request: "seq": 5, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/decls: @@ -609,6 +622,7 @@ FsWatchesRecursive:: /user/username/projects/myproject/dependency: {} +After request PolledWatches:: /user/username/projects/myproject/decls: diff --git a/tests/baselines/reference/tsserver/projectReferenceCompileOnSave/save-on-usage-with-project.js b/tests/baselines/reference/tsserver/projectReferenceCompileOnSave/save-on-usage-with-project.js index 822c4e35638d0..7a7a0d1704b00 100644 --- a/tests/baselines/reference/tsserver/projectReferenceCompileOnSave/save-on-usage-with-project.js +++ b/tests/baselines/reference/tsserver/projectReferenceCompileOnSave/save-on-usage-with-project.js @@ -8,6 +8,7 @@ Info 1 [16:00:30.000] request: "file": "/user/username/projects/myproject/usage/usage.ts" } } +Before request //// [/user/username/projects/myproject/dependency/fns.ts] export function fn1() { } export function fn2() { } @@ -114,6 +115,7 @@ Info 27 [16:00:58.000] ----------------------------------------------- Info 27 [16:00:59.000] Open files: Info 27 [16:01:00.000] FileName: /user/username/projects/myproject/usage/usage.ts ProjectRootPath: undefined Info 27 [16:01:01.000] Projects: /user/username/projects/myproject/usage/tsconfig.json +After request PolledWatches:: /user/username/projects/myproject/decls: @@ -152,6 +154,7 @@ Info 28 [16:01:03.000] request: "file": "/user/username/projects/myproject/dependency/fns.ts" } } +Before request PolledWatches:: /user/username/projects/myproject/decls: @@ -215,6 +218,7 @@ Info 45 [16:01:27.000] FileName: /user/username/projects/myproject/usage/usag Info 45 [16:01:28.000] Projects: /user/username/projects/myproject/usage/tsconfig.json Info 45 [16:01:29.000] FileName: /user/username/projects/myproject/dependency/fns.ts ProjectRootPath: undefined Info 45 [16:01:30.000] Projects: /user/username/projects/myproject/usage/tsconfig.json,/user/username/projects/myproject/dependency/tsconfig.json +After request PolledWatches:: /user/username/projects/myproject/decls: @@ -254,6 +258,7 @@ Info 46 [16:01:32.000] request: "seq": 1, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/decls: @@ -279,6 +284,7 @@ FsWatchesRecursive:: /user/username/projects/myproject/dependency: {} +After request PolledWatches:: /user/username/projects/myproject/decls: @@ -327,6 +333,7 @@ Info 48 [16:01:34.000] request: "seq": 2, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/decls: @@ -355,6 +362,7 @@ FsWatchesRecursive:: Info 49 [16:01:37.000] DirectoryWatcher:: Triggered with /user/username/projects/myproject/usage/usage.js :: WatchInfo: /user/username/projects/myproject/usage 1 undefined Config: /user/username/projects/myproject/usage/tsconfig.json WatchType: Wild card directory Info 50 [16:01:38.000] Project: /user/username/projects/myproject/usage/tsconfig.json Detected file add/remove of non supported extension: /user/username/projects/myproject/usage/usage.js Info 51 [16:01:39.000] Elapsed:: *ms DirectoryWatcher:: Triggered with /user/username/projects/myproject/usage/usage.js :: WatchInfo: /user/username/projects/myproject/usage 1 undefined Config: /user/username/projects/myproject/usage/tsconfig.json WatchType: Wild card directory +After request //// [/user/username/projects/myproject/usage/usage.js] "use strict"; exports.__esModule = true; @@ -403,6 +411,7 @@ Info 53 [16:01:41.000] request: "seq": 3, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/decls: @@ -428,6 +437,7 @@ FsWatchesRecursive:: /user/username/projects/myproject/dependency: {} +After request PolledWatches:: /user/username/projects/myproject/decls: diff --git a/tests/baselines/reference/tsserver/projectReferenceCompileOnSave/save-on-usage.js b/tests/baselines/reference/tsserver/projectReferenceCompileOnSave/save-on-usage.js index 02d1eb1bd68dc..eebb14b3f3de3 100644 --- a/tests/baselines/reference/tsserver/projectReferenceCompileOnSave/save-on-usage.js +++ b/tests/baselines/reference/tsserver/projectReferenceCompileOnSave/save-on-usage.js @@ -8,6 +8,7 @@ Info 1 [16:00:30.000] request: "file": "/user/username/projects/myproject/usage/usage.ts" } } +Before request //// [/user/username/projects/myproject/dependency/fns.ts] export function fn1() { } export function fn2() { } @@ -114,6 +115,7 @@ Info 27 [16:00:58.000] ----------------------------------------------- Info 27 [16:00:59.000] Open files: Info 27 [16:01:00.000] FileName: /user/username/projects/myproject/usage/usage.ts ProjectRootPath: undefined Info 27 [16:01:01.000] Projects: /user/username/projects/myproject/usage/tsconfig.json +After request PolledWatches:: /user/username/projects/myproject/decls: @@ -152,6 +154,7 @@ Info 28 [16:01:03.000] request: "file": "/user/username/projects/myproject/dependency/fns.ts" } } +Before request PolledWatches:: /user/username/projects/myproject/decls: @@ -215,6 +218,7 @@ Info 45 [16:01:27.000] FileName: /user/username/projects/myproject/usage/usag Info 45 [16:01:28.000] Projects: /user/username/projects/myproject/usage/tsconfig.json Info 45 [16:01:29.000] FileName: /user/username/projects/myproject/dependency/fns.ts ProjectRootPath: undefined Info 45 [16:01:30.000] Projects: /user/username/projects/myproject/usage/tsconfig.json,/user/username/projects/myproject/dependency/tsconfig.json +After request PolledWatches:: /user/username/projects/myproject/decls: @@ -253,6 +257,7 @@ Info 46 [16:01:32.000] request: "seq": 1, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/decls: @@ -306,6 +311,7 @@ Info 49 [16:01:53.000] FileName: /user/username/projects/myproject/usage/usag Info 49 [16:01:54.000] Projects: /user/username/projects/myproject/usage/tsconfig.json Info 49 [16:01:55.000] FileName: /user/username/projects/myproject/dependency/fns.ts ProjectRootPath: undefined Info 49 [16:01:56.000] Projects: /user/username/projects/myproject/usage/tsconfig.json,/user/username/projects/myproject/dependency/tsconfig.json +After request PolledWatches:: /user/username/projects/myproject/decls: @@ -353,6 +359,7 @@ Info 50 [16:01:58.000] request: "seq": 2, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/decls: @@ -381,6 +388,7 @@ FsWatchesRecursive:: Info 51 [16:02:01.000] DirectoryWatcher:: Triggered with /user/username/projects/myproject/usage/usage.js :: WatchInfo: /user/username/projects/myproject/usage 1 undefined Config: /user/username/projects/myproject/usage/tsconfig.json WatchType: Wild card directory Info 52 [16:02:02.000] Project: /user/username/projects/myproject/usage/tsconfig.json Detected file add/remove of non supported extension: /user/username/projects/myproject/usage/usage.js Info 53 [16:02:03.000] Elapsed:: *ms DirectoryWatcher:: Triggered with /user/username/projects/myproject/usage/usage.js :: WatchInfo: /user/username/projects/myproject/usage 1 undefined Config: /user/username/projects/myproject/usage/tsconfig.json WatchType: Wild card directory +After request //// [/user/username/projects/myproject/usage/usage.js] "use strict"; exports.__esModule = true; @@ -428,6 +436,7 @@ Info 55 [16:02:05.000] request: "seq": 3, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/decls: @@ -453,6 +462,7 @@ FsWatchesRecursive:: /user/username/projects/myproject/dependency: {} +After request PolledWatches:: /user/username/projects/myproject/decls: diff --git a/tests/baselines/reference/tsserver/projectReferenceCompileOnSave/when-dependency-project-is-not-open-and-save-on-dependency-and-change-to-dependency.js b/tests/baselines/reference/tsserver/projectReferenceCompileOnSave/when-dependency-project-is-not-open-and-save-on-dependency-and-change-to-dependency.js index 9d52e9bd3cd9f..0c9ca474c69b2 100644 --- a/tests/baselines/reference/tsserver/projectReferenceCompileOnSave/when-dependency-project-is-not-open-and-save-on-dependency-and-change-to-dependency.js +++ b/tests/baselines/reference/tsserver/projectReferenceCompileOnSave/when-dependency-project-is-not-open-and-save-on-dependency-and-change-to-dependency.js @@ -8,6 +8,7 @@ Info 1 [16:00:30.000] request: "file": "/user/username/projects/myproject/usage/usage.ts" } } +Before request //// [/user/username/projects/myproject/dependency/fns.ts] export function fn1() { } export function fn2() { } @@ -114,6 +115,7 @@ Info 27 [16:00:58.000] ----------------------------------------------- Info 27 [16:00:59.000] Open files: Info 27 [16:01:00.000] FileName: /user/username/projects/myproject/usage/usage.ts ProjectRootPath: undefined Info 27 [16:01:01.000] Projects: /user/username/projects/myproject/usage/tsconfig.json +After request PolledWatches:: /user/username/projects/myproject/decls: @@ -152,6 +154,7 @@ Info 28 [16:01:03.000] request: "seq": 1, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/decls: @@ -193,6 +196,7 @@ Info 31 [16:01:14.000] ----------------------------------------------- Info 31 [16:01:15.000] Open files: Info 31 [16:01:16.000] FileName: /user/username/projects/myproject/usage/usage.ts ProjectRootPath: undefined Info 31 [16:01:17.000] Projects: /user/username/projects/myproject/usage/tsconfig.json +After request PolledWatches:: /user/username/projects/myproject/decls: @@ -244,6 +248,7 @@ Info 36 [16:01:26.000] request: "seq": 2, "type": "request" } +Before request //// [/user/username/projects/myproject/dependency/fns.ts] export function fn1() { } export function fn2() { } @@ -293,6 +298,7 @@ Info 42 [16:01:40.000] ----------------------------------------------- Info 42 [16:01:41.000] Open files: Info 42 [16:01:42.000] FileName: /user/username/projects/myproject/usage/usage.ts ProjectRootPath: undefined Info 42 [16:01:43.000] Projects: /user/username/projects/myproject/usage/tsconfig.json +After request PolledWatches:: /user/username/projects/myproject/decls: @@ -340,6 +346,7 @@ Info 43 [16:01:45.000] request: "seq": 3, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/decls: @@ -365,6 +372,7 @@ FsWatchesRecursive:: /user/username/projects/myproject/dependency: {} +After request PolledWatches:: /user/username/projects/myproject/decls: @@ -404,6 +412,7 @@ Info 45 [16:01:47.000] request: "seq": 4, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/decls: @@ -429,6 +438,7 @@ FsWatchesRecursive:: /user/username/projects/myproject/dependency: {} +After request PolledWatches:: /user/username/projects/myproject/decls: diff --git a/tests/baselines/reference/tsserver/projectReferenceCompileOnSave/when-dependency-project-is-not-open-and-save-on-dependency-and-change-to-usage.js b/tests/baselines/reference/tsserver/projectReferenceCompileOnSave/when-dependency-project-is-not-open-and-save-on-dependency-and-change-to-usage.js index c0985160e431e..f0d379553d989 100644 --- a/tests/baselines/reference/tsserver/projectReferenceCompileOnSave/when-dependency-project-is-not-open-and-save-on-dependency-and-change-to-usage.js +++ b/tests/baselines/reference/tsserver/projectReferenceCompileOnSave/when-dependency-project-is-not-open-and-save-on-dependency-and-change-to-usage.js @@ -8,6 +8,7 @@ Info 1 [16:00:30.000] request: "file": "/user/username/projects/myproject/usage/usage.ts" } } +Before request //// [/user/username/projects/myproject/dependency/fns.ts] export function fn1() { } export function fn2() { } @@ -114,6 +115,7 @@ Info 27 [16:00:58.000] ----------------------------------------------- Info 27 [16:00:59.000] Open files: Info 27 [16:01:00.000] FileName: /user/username/projects/myproject/usage/usage.ts ProjectRootPath: undefined Info 27 [16:01:01.000] Projects: /user/username/projects/myproject/usage/tsconfig.json +After request PolledWatches:: /user/username/projects/myproject/decls: @@ -152,6 +154,7 @@ Info 28 [16:01:03.000] request: "seq": 1, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/decls: @@ -193,6 +196,7 @@ Info 31 [16:01:14.000] ----------------------------------------------- Info 31 [16:01:15.000] Open files: Info 31 [16:01:16.000] FileName: /user/username/projects/myproject/usage/usage.ts ProjectRootPath: undefined Info 31 [16:01:17.000] Projects: /user/username/projects/myproject/usage/tsconfig.json +After request PolledWatches:: /user/username/projects/myproject/decls: @@ -245,6 +249,7 @@ Info 32 [16:01:19.000] request: "seq": 2, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/decls: @@ -270,6 +275,7 @@ FsWatchesRecursive:: /user/username/projects/myproject/dependency: {} +After request PolledWatches:: /user/username/projects/myproject/decls: @@ -308,6 +314,7 @@ Info 34 [16:01:21.000] request: "seq": 3, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/decls: @@ -352,6 +359,7 @@ Info 40 [16:01:35.000] ----------------------------------------------- Info 40 [16:01:36.000] Open files: Info 40 [16:01:37.000] FileName: /user/username/projects/myproject/usage/usage.ts ProjectRootPath: undefined Info 40 [16:01:38.000] Projects: /user/username/projects/myproject/usage/tsconfig.json +After request PolledWatches:: /user/username/projects/myproject/decls: @@ -397,6 +405,7 @@ Info 41 [16:01:40.000] request: "seq": 4, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/decls: @@ -422,6 +431,7 @@ FsWatchesRecursive:: /user/username/projects/myproject/dependency: {} +After request PolledWatches:: /user/username/projects/myproject/decls: @@ -461,6 +471,7 @@ Info 43 [16:01:42.000] request: "seq": 5, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/decls: @@ -486,6 +497,7 @@ FsWatchesRecursive:: /user/username/projects/myproject/dependency: {} +After request PolledWatches:: /user/username/projects/myproject/decls: diff --git a/tests/baselines/reference/tsserver/projectReferenceCompileOnSave/when-dependency-project-is-not-open-and-save-on-dependency-and-local-change-to-dependency.js b/tests/baselines/reference/tsserver/projectReferenceCompileOnSave/when-dependency-project-is-not-open-and-save-on-dependency-and-local-change-to-dependency.js index 472a550a51b69..6ee948a64fbdd 100644 --- a/tests/baselines/reference/tsserver/projectReferenceCompileOnSave/when-dependency-project-is-not-open-and-save-on-dependency-and-local-change-to-dependency.js +++ b/tests/baselines/reference/tsserver/projectReferenceCompileOnSave/when-dependency-project-is-not-open-and-save-on-dependency-and-local-change-to-dependency.js @@ -8,6 +8,7 @@ Info 1 [16:00:30.000] request: "file": "/user/username/projects/myproject/usage/usage.ts" } } +Before request //// [/user/username/projects/myproject/dependency/fns.ts] export function fn1() { } export function fn2() { } @@ -114,6 +115,7 @@ Info 27 [16:00:58.000] ----------------------------------------------- Info 27 [16:00:59.000] Open files: Info 27 [16:01:00.000] FileName: /user/username/projects/myproject/usage/usage.ts ProjectRootPath: undefined Info 27 [16:01:01.000] Projects: /user/username/projects/myproject/usage/tsconfig.json +After request PolledWatches:: /user/username/projects/myproject/decls: @@ -152,6 +154,7 @@ Info 28 [16:01:03.000] request: "seq": 1, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/decls: @@ -193,6 +196,7 @@ Info 31 [16:01:14.000] ----------------------------------------------- Info 31 [16:01:15.000] Open files: Info 31 [16:01:16.000] FileName: /user/username/projects/myproject/usage/usage.ts ProjectRootPath: undefined Info 31 [16:01:17.000] Projects: /user/username/projects/myproject/usage/tsconfig.json +After request PolledWatches:: /user/username/projects/myproject/decls: @@ -244,6 +248,7 @@ Info 36 [16:01:26.000] request: "seq": 2, "type": "request" } +Before request //// [/user/username/projects/myproject/dependency/fns.ts] export function fn1() { } export function fn2() { } @@ -293,6 +298,7 @@ Info 42 [16:01:40.000] ----------------------------------------------- Info 42 [16:01:41.000] Open files: Info 42 [16:01:42.000] FileName: /user/username/projects/myproject/usage/usage.ts ProjectRootPath: undefined Info 42 [16:01:43.000] Projects: /user/username/projects/myproject/usage/tsconfig.json +After request PolledWatches:: /user/username/projects/myproject/decls: @@ -338,6 +344,7 @@ Info 43 [16:01:45.000] request: "seq": 3, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/decls: @@ -363,6 +370,7 @@ FsWatchesRecursive:: /user/username/projects/myproject/dependency: {} +After request PolledWatches:: /user/username/projects/myproject/decls: @@ -402,6 +410,7 @@ Info 45 [16:01:47.000] request: "seq": 4, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/decls: @@ -427,6 +436,7 @@ FsWatchesRecursive:: /user/username/projects/myproject/dependency: {} +After request PolledWatches:: /user/username/projects/myproject/decls: diff --git a/tests/baselines/reference/tsserver/projectReferenceCompileOnSave/when-dependency-project-is-not-open-and-save-on-dependency-and-local-change-to-usage.js b/tests/baselines/reference/tsserver/projectReferenceCompileOnSave/when-dependency-project-is-not-open-and-save-on-dependency-and-local-change-to-usage.js index 1fa14b7fb05eb..6ef3ee7914cae 100644 --- a/tests/baselines/reference/tsserver/projectReferenceCompileOnSave/when-dependency-project-is-not-open-and-save-on-dependency-and-local-change-to-usage.js +++ b/tests/baselines/reference/tsserver/projectReferenceCompileOnSave/when-dependency-project-is-not-open-and-save-on-dependency-and-local-change-to-usage.js @@ -8,6 +8,7 @@ Info 1 [16:00:30.000] request: "file": "/user/username/projects/myproject/usage/usage.ts" } } +Before request //// [/user/username/projects/myproject/dependency/fns.ts] export function fn1() { } export function fn2() { } @@ -114,6 +115,7 @@ Info 27 [16:00:58.000] ----------------------------------------------- Info 27 [16:00:59.000] Open files: Info 27 [16:01:00.000] FileName: /user/username/projects/myproject/usage/usage.ts ProjectRootPath: undefined Info 27 [16:01:01.000] Projects: /user/username/projects/myproject/usage/tsconfig.json +After request PolledWatches:: /user/username/projects/myproject/decls: @@ -152,6 +154,7 @@ Info 28 [16:01:03.000] request: "seq": 1, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/decls: @@ -193,6 +196,7 @@ Info 31 [16:01:14.000] ----------------------------------------------- Info 31 [16:01:15.000] Open files: Info 31 [16:01:16.000] FileName: /user/username/projects/myproject/usage/usage.ts ProjectRootPath: undefined Info 31 [16:01:17.000] Projects: /user/username/projects/myproject/usage/tsconfig.json +After request PolledWatches:: /user/username/projects/myproject/decls: @@ -245,6 +249,7 @@ Info 32 [16:01:19.000] request: "seq": 2, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/decls: @@ -270,6 +275,7 @@ FsWatchesRecursive:: /user/username/projects/myproject/dependency: {} +After request PolledWatches:: /user/username/projects/myproject/decls: @@ -308,6 +314,7 @@ Info 34 [16:01:21.000] request: "seq": 3, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/decls: @@ -352,6 +359,7 @@ Info 40 [16:01:35.000] ----------------------------------------------- Info 40 [16:01:36.000] Open files: Info 40 [16:01:37.000] FileName: /user/username/projects/myproject/usage/usage.ts ProjectRootPath: undefined Info 40 [16:01:38.000] Projects: /user/username/projects/myproject/usage/tsconfig.json +After request PolledWatches:: /user/username/projects/myproject/decls: @@ -397,6 +405,7 @@ Info 41 [16:01:40.000] request: "seq": 4, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/decls: @@ -422,6 +431,7 @@ FsWatchesRecursive:: /user/username/projects/myproject/dependency: {} +After request PolledWatches:: /user/username/projects/myproject/decls: @@ -461,6 +471,7 @@ Info 43 [16:01:42.000] request: "seq": 5, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/decls: @@ -486,6 +497,7 @@ FsWatchesRecursive:: /user/username/projects/myproject/dependency: {} +After request PolledWatches:: /user/username/projects/myproject/decls: diff --git a/tests/baselines/reference/tsserver/projectReferenceCompileOnSave/when-dependency-project-is-not-open-and-save-on-dependency-with-project-and-change-to-dependency.js b/tests/baselines/reference/tsserver/projectReferenceCompileOnSave/when-dependency-project-is-not-open-and-save-on-dependency-with-project-and-change-to-dependency.js index 633eedb79b3b2..bc7ca12707dfa 100644 --- a/tests/baselines/reference/tsserver/projectReferenceCompileOnSave/when-dependency-project-is-not-open-and-save-on-dependency-with-project-and-change-to-dependency.js +++ b/tests/baselines/reference/tsserver/projectReferenceCompileOnSave/when-dependency-project-is-not-open-and-save-on-dependency-with-project-and-change-to-dependency.js @@ -8,6 +8,7 @@ Info 1 [16:00:30.000] request: "file": "/user/username/projects/myproject/usage/usage.ts" } } +Before request //// [/user/username/projects/myproject/dependency/fns.ts] export function fn1() { } export function fn2() { } @@ -114,6 +115,7 @@ Info 27 [16:00:58.000] ----------------------------------------------- Info 27 [16:00:59.000] Open files: Info 27 [16:01:00.000] FileName: /user/username/projects/myproject/usage/usage.ts ProjectRootPath: undefined Info 27 [16:01:01.000] Projects: /user/username/projects/myproject/usage/tsconfig.json +After request PolledWatches:: /user/username/projects/myproject/decls: @@ -152,6 +154,7 @@ Info 28 [16:01:03.000] request: "seq": 1, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/decls: @@ -193,6 +196,7 @@ Info 31 [16:01:14.000] ----------------------------------------------- Info 31 [16:01:15.000] Open files: Info 31 [16:01:16.000] FileName: /user/username/projects/myproject/usage/usage.ts ProjectRootPath: undefined Info 31 [16:01:17.000] Projects: /user/username/projects/myproject/usage/tsconfig.json +After request PolledWatches:: /user/username/projects/myproject/decls: @@ -245,6 +249,7 @@ Info 36 [16:01:26.000] request: "seq": 2, "type": "request" } +Before request //// [/user/username/projects/myproject/dependency/fns.ts] export function fn1() { } export function fn2() { } @@ -278,6 +283,7 @@ FsWatchesRecursive:: Info 37 [16:01:27.000] Starting updateGraphWorker: Project: /user/username/projects/myproject/usage/tsconfig.json Info 38 [16:01:28.000] Finishing updateGraphWorker: Project: /user/username/projects/myproject/usage/tsconfig.json Version: 2 structureChanged: false structureIsReused:: Completely Elapsed:: *ms Info 39 [16:01:29.000] Different program with same set of files +After request PolledWatches:: /user/username/projects/myproject/decls: @@ -326,6 +332,7 @@ Info 41 [16:01:31.000] request: "seq": 3, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/decls: @@ -351,6 +358,7 @@ FsWatchesRecursive:: /user/username/projects/myproject/dependency: {} +After request PolledWatches:: /user/username/projects/myproject/decls: @@ -391,6 +399,7 @@ Info 43 [16:01:33.000] request: "seq": 4, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/decls: @@ -416,6 +425,7 @@ FsWatchesRecursive:: /user/username/projects/myproject/dependency: {} +After request PolledWatches:: /user/username/projects/myproject/decls: diff --git a/tests/baselines/reference/tsserver/projectReferenceCompileOnSave/when-dependency-project-is-not-open-and-save-on-dependency-with-project-and-change-to-usage.js b/tests/baselines/reference/tsserver/projectReferenceCompileOnSave/when-dependency-project-is-not-open-and-save-on-dependency-with-project-and-change-to-usage.js index 8cdebe7d1b30a..46861bb9729c2 100644 --- a/tests/baselines/reference/tsserver/projectReferenceCompileOnSave/when-dependency-project-is-not-open-and-save-on-dependency-with-project-and-change-to-usage.js +++ b/tests/baselines/reference/tsserver/projectReferenceCompileOnSave/when-dependency-project-is-not-open-and-save-on-dependency-with-project-and-change-to-usage.js @@ -8,6 +8,7 @@ Info 1 [16:00:30.000] request: "file": "/user/username/projects/myproject/usage/usage.ts" } } +Before request //// [/user/username/projects/myproject/dependency/fns.ts] export function fn1() { } export function fn2() { } @@ -114,6 +115,7 @@ Info 27 [16:00:58.000] ----------------------------------------------- Info 27 [16:00:59.000] Open files: Info 27 [16:01:00.000] FileName: /user/username/projects/myproject/usage/usage.ts ProjectRootPath: undefined Info 27 [16:01:01.000] Projects: /user/username/projects/myproject/usage/tsconfig.json +After request PolledWatches:: /user/username/projects/myproject/decls: @@ -152,6 +154,7 @@ Info 28 [16:01:03.000] request: "seq": 1, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/decls: @@ -193,6 +196,7 @@ Info 31 [16:01:14.000] ----------------------------------------------- Info 31 [16:01:15.000] Open files: Info 31 [16:01:16.000] FileName: /user/username/projects/myproject/usage/usage.ts ProjectRootPath: undefined Info 31 [16:01:17.000] Projects: /user/username/projects/myproject/usage/tsconfig.json +After request PolledWatches:: /user/username/projects/myproject/decls: @@ -245,6 +249,7 @@ Info 32 [16:01:19.000] request: "seq": 2, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/decls: @@ -270,6 +275,7 @@ FsWatchesRecursive:: /user/username/projects/myproject/dependency: {} +After request PolledWatches:: /user/username/projects/myproject/decls: @@ -309,6 +315,7 @@ Info 34 [16:01:21.000] request: "seq": 3, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/decls: @@ -337,6 +344,7 @@ FsWatchesRecursive:: Info 35 [16:01:22.000] Starting updateGraphWorker: Project: /user/username/projects/myproject/usage/tsconfig.json Info 36 [16:01:23.000] Finishing updateGraphWorker: Project: /user/username/projects/myproject/usage/tsconfig.json Version: 2 structureChanged: false structureIsReused:: Completely Elapsed:: *ms Info 37 [16:01:24.000] Different program with same set of files +After request PolledWatches:: /user/username/projects/myproject/decls: @@ -383,6 +391,7 @@ Info 39 [16:01:26.000] request: "seq": 4, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/decls: @@ -408,6 +417,7 @@ FsWatchesRecursive:: /user/username/projects/myproject/dependency: {} +After request PolledWatches:: /user/username/projects/myproject/decls: @@ -448,6 +458,7 @@ Info 41 [16:01:28.000] request: "seq": 5, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/decls: @@ -473,6 +484,7 @@ FsWatchesRecursive:: /user/username/projects/myproject/dependency: {} +After request PolledWatches:: /user/username/projects/myproject/decls: diff --git a/tests/baselines/reference/tsserver/projectReferenceCompileOnSave/when-dependency-project-is-not-open-and-save-on-dependency-with-project-and-local-change-to-dependency.js b/tests/baselines/reference/tsserver/projectReferenceCompileOnSave/when-dependency-project-is-not-open-and-save-on-dependency-with-project-and-local-change-to-dependency.js index b3546849793a6..a376749832b55 100644 --- a/tests/baselines/reference/tsserver/projectReferenceCompileOnSave/when-dependency-project-is-not-open-and-save-on-dependency-with-project-and-local-change-to-dependency.js +++ b/tests/baselines/reference/tsserver/projectReferenceCompileOnSave/when-dependency-project-is-not-open-and-save-on-dependency-with-project-and-local-change-to-dependency.js @@ -8,6 +8,7 @@ Info 1 [16:00:30.000] request: "file": "/user/username/projects/myproject/usage/usage.ts" } } +Before request //// [/user/username/projects/myproject/dependency/fns.ts] export function fn1() { } export function fn2() { } @@ -114,6 +115,7 @@ Info 27 [16:00:58.000] ----------------------------------------------- Info 27 [16:00:59.000] Open files: Info 27 [16:01:00.000] FileName: /user/username/projects/myproject/usage/usage.ts ProjectRootPath: undefined Info 27 [16:01:01.000] Projects: /user/username/projects/myproject/usage/tsconfig.json +After request PolledWatches:: /user/username/projects/myproject/decls: @@ -152,6 +154,7 @@ Info 28 [16:01:03.000] request: "seq": 1, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/decls: @@ -193,6 +196,7 @@ Info 31 [16:01:14.000] ----------------------------------------------- Info 31 [16:01:15.000] Open files: Info 31 [16:01:16.000] FileName: /user/username/projects/myproject/usage/usage.ts ProjectRootPath: undefined Info 31 [16:01:17.000] Projects: /user/username/projects/myproject/usage/tsconfig.json +After request PolledWatches:: /user/username/projects/myproject/decls: @@ -245,6 +249,7 @@ Info 36 [16:01:26.000] request: "seq": 2, "type": "request" } +Before request //// [/user/username/projects/myproject/dependency/fns.ts] export function fn1() { } export function fn2() { } @@ -278,6 +283,7 @@ FsWatchesRecursive:: Info 37 [16:01:27.000] Starting updateGraphWorker: Project: /user/username/projects/myproject/usage/tsconfig.json Info 38 [16:01:28.000] Finishing updateGraphWorker: Project: /user/username/projects/myproject/usage/tsconfig.json Version: 2 structureChanged: false structureIsReused:: Completely Elapsed:: *ms Info 39 [16:01:29.000] Different program with same set of files +After request PolledWatches:: /user/username/projects/myproject/decls: @@ -324,6 +330,7 @@ Info 41 [16:01:31.000] request: "seq": 3, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/decls: @@ -349,6 +356,7 @@ FsWatchesRecursive:: /user/username/projects/myproject/dependency: {} +After request PolledWatches:: /user/username/projects/myproject/decls: @@ -389,6 +397,7 @@ Info 43 [16:01:33.000] request: "seq": 4, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/decls: @@ -414,6 +423,7 @@ FsWatchesRecursive:: /user/username/projects/myproject/dependency: {} +After request PolledWatches:: /user/username/projects/myproject/decls: diff --git a/tests/baselines/reference/tsserver/projectReferenceCompileOnSave/when-dependency-project-is-not-open-and-save-on-dependency-with-project-and-local-change-to-usage.js b/tests/baselines/reference/tsserver/projectReferenceCompileOnSave/when-dependency-project-is-not-open-and-save-on-dependency-with-project-and-local-change-to-usage.js index d68246489ad86..81d59908b72a3 100644 --- a/tests/baselines/reference/tsserver/projectReferenceCompileOnSave/when-dependency-project-is-not-open-and-save-on-dependency-with-project-and-local-change-to-usage.js +++ b/tests/baselines/reference/tsserver/projectReferenceCompileOnSave/when-dependency-project-is-not-open-and-save-on-dependency-with-project-and-local-change-to-usage.js @@ -8,6 +8,7 @@ Info 1 [16:00:30.000] request: "file": "/user/username/projects/myproject/usage/usage.ts" } } +Before request //// [/user/username/projects/myproject/dependency/fns.ts] export function fn1() { } export function fn2() { } @@ -114,6 +115,7 @@ Info 27 [16:00:58.000] ----------------------------------------------- Info 27 [16:00:59.000] Open files: Info 27 [16:01:00.000] FileName: /user/username/projects/myproject/usage/usage.ts ProjectRootPath: undefined Info 27 [16:01:01.000] Projects: /user/username/projects/myproject/usage/tsconfig.json +After request PolledWatches:: /user/username/projects/myproject/decls: @@ -152,6 +154,7 @@ Info 28 [16:01:03.000] request: "seq": 1, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/decls: @@ -193,6 +196,7 @@ Info 31 [16:01:14.000] ----------------------------------------------- Info 31 [16:01:15.000] Open files: Info 31 [16:01:16.000] FileName: /user/username/projects/myproject/usage/usage.ts ProjectRootPath: undefined Info 31 [16:01:17.000] Projects: /user/username/projects/myproject/usage/tsconfig.json +After request PolledWatches:: /user/username/projects/myproject/decls: @@ -245,6 +249,7 @@ Info 32 [16:01:19.000] request: "seq": 2, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/decls: @@ -270,6 +275,7 @@ FsWatchesRecursive:: /user/username/projects/myproject/dependency: {} +After request PolledWatches:: /user/username/projects/myproject/decls: @@ -309,6 +315,7 @@ Info 34 [16:01:21.000] request: "seq": 3, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/decls: @@ -337,6 +344,7 @@ FsWatchesRecursive:: Info 35 [16:01:22.000] Starting updateGraphWorker: Project: /user/username/projects/myproject/usage/tsconfig.json Info 36 [16:01:23.000] Finishing updateGraphWorker: Project: /user/username/projects/myproject/usage/tsconfig.json Version: 2 structureChanged: false structureIsReused:: Completely Elapsed:: *ms Info 37 [16:01:24.000] Different program with same set of files +After request PolledWatches:: /user/username/projects/myproject/decls: @@ -383,6 +391,7 @@ Info 39 [16:01:26.000] request: "seq": 4, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/decls: @@ -408,6 +417,7 @@ FsWatchesRecursive:: /user/username/projects/myproject/dependency: {} +After request PolledWatches:: /user/username/projects/myproject/decls: @@ -448,6 +458,7 @@ Info 41 [16:01:28.000] request: "seq": 5, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/decls: @@ -473,6 +484,7 @@ FsWatchesRecursive:: /user/username/projects/myproject/dependency: {} +After request PolledWatches:: /user/username/projects/myproject/decls: diff --git a/tests/baselines/reference/tsserver/projectReferenceCompileOnSave/when-dependency-project-is-not-open-and-save-on-dependency-with-project.js b/tests/baselines/reference/tsserver/projectReferenceCompileOnSave/when-dependency-project-is-not-open-and-save-on-dependency-with-project.js index 9bcf0c41300bf..1de8455ef17fc 100644 --- a/tests/baselines/reference/tsserver/projectReferenceCompileOnSave/when-dependency-project-is-not-open-and-save-on-dependency-with-project.js +++ b/tests/baselines/reference/tsserver/projectReferenceCompileOnSave/when-dependency-project-is-not-open-and-save-on-dependency-with-project.js @@ -8,6 +8,7 @@ Info 1 [16:00:30.000] request: "file": "/user/username/projects/myproject/usage/usage.ts" } } +Before request //// [/user/username/projects/myproject/dependency/fns.ts] export function fn1() { } export function fn2() { } @@ -114,6 +115,7 @@ Info 27 [16:00:58.000] ----------------------------------------------- Info 27 [16:00:59.000] Open files: Info 27 [16:01:00.000] FileName: /user/username/projects/myproject/usage/usage.ts ProjectRootPath: undefined Info 27 [16:01:01.000] Projects: /user/username/projects/myproject/usage/tsconfig.json +After request PolledWatches:: /user/username/projects/myproject/decls: @@ -153,6 +155,7 @@ Info 28 [16:01:03.000] request: "seq": 1, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/decls: @@ -178,6 +181,7 @@ FsWatchesRecursive:: /user/username/projects/myproject/dependency: {} +After request PolledWatches:: /user/username/projects/myproject/decls: @@ -226,6 +230,7 @@ Info 30 [16:01:05.000] request: "seq": 2, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/decls: @@ -251,6 +256,7 @@ FsWatchesRecursive:: /user/username/projects/myproject/dependency: {} +After request PolledWatches:: /user/username/projects/myproject/decls: @@ -291,6 +297,7 @@ Info 32 [16:01:07.000] request: "seq": 3, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/decls: @@ -316,6 +323,7 @@ FsWatchesRecursive:: /user/username/projects/myproject/dependency: {} +After request PolledWatches:: /user/username/projects/myproject/decls: diff --git a/tests/baselines/reference/tsserver/projectReferenceCompileOnSave/when-dependency-project-is-not-open-and-save-on-dependency.js b/tests/baselines/reference/tsserver/projectReferenceCompileOnSave/when-dependency-project-is-not-open-and-save-on-dependency.js index ab9f57ffaebf2..0ccc6871a4a27 100644 --- a/tests/baselines/reference/tsserver/projectReferenceCompileOnSave/when-dependency-project-is-not-open-and-save-on-dependency.js +++ b/tests/baselines/reference/tsserver/projectReferenceCompileOnSave/when-dependency-project-is-not-open-and-save-on-dependency.js @@ -8,6 +8,7 @@ Info 1 [16:00:30.000] request: "file": "/user/username/projects/myproject/usage/usage.ts" } } +Before request //// [/user/username/projects/myproject/dependency/fns.ts] export function fn1() { } export function fn2() { } @@ -114,6 +115,7 @@ Info 27 [16:00:58.000] ----------------------------------------------- Info 27 [16:00:59.000] Open files: Info 27 [16:01:00.000] FileName: /user/username/projects/myproject/usage/usage.ts ProjectRootPath: undefined Info 27 [16:01:01.000] Projects: /user/username/projects/myproject/usage/tsconfig.json +After request PolledWatches:: /user/username/projects/myproject/decls: @@ -152,6 +154,7 @@ Info 28 [16:01:03.000] request: "seq": 1, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/decls: @@ -193,6 +196,7 @@ Info 31 [16:01:14.000] ----------------------------------------------- Info 31 [16:01:15.000] Open files: Info 31 [16:01:16.000] FileName: /user/username/projects/myproject/usage/usage.ts ProjectRootPath: undefined Info 31 [16:01:17.000] Projects: /user/username/projects/myproject/usage/tsconfig.json +After request PolledWatches:: /user/username/projects/myproject/decls: @@ -240,6 +244,7 @@ Info 32 [16:01:19.000] request: "seq": 2, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/decls: @@ -265,6 +270,7 @@ FsWatchesRecursive:: /user/username/projects/myproject/dependency: {} +After request PolledWatches:: /user/username/projects/myproject/decls: @@ -304,6 +310,7 @@ Info 34 [16:01:21.000] request: "seq": 3, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/decls: @@ -329,6 +336,7 @@ FsWatchesRecursive:: /user/username/projects/myproject/dependency: {} +After request PolledWatches:: /user/username/projects/myproject/decls: diff --git a/tests/baselines/reference/tsserver/projectReferenceCompileOnSave/when-dependency-project-is-not-open-and-save-on-usage-and-change-to-depenedency.js b/tests/baselines/reference/tsserver/projectReferenceCompileOnSave/when-dependency-project-is-not-open-and-save-on-usage-and-change-to-depenedency.js index 991cb6a6d5c6e..060a3fbb1c4e4 100644 --- a/tests/baselines/reference/tsserver/projectReferenceCompileOnSave/when-dependency-project-is-not-open-and-save-on-usage-and-change-to-depenedency.js +++ b/tests/baselines/reference/tsserver/projectReferenceCompileOnSave/when-dependency-project-is-not-open-and-save-on-usage-and-change-to-depenedency.js @@ -8,6 +8,7 @@ Info 1 [16:00:30.000] request: "file": "/user/username/projects/myproject/usage/usage.ts" } } +Before request //// [/user/username/projects/myproject/dependency/fns.ts] export function fn1() { } export function fn2() { } @@ -114,6 +115,7 @@ Info 27 [16:00:58.000] ----------------------------------------------- Info 27 [16:00:59.000] Open files: Info 27 [16:01:00.000] FileName: /user/username/projects/myproject/usage/usage.ts ProjectRootPath: undefined Info 27 [16:01:01.000] Projects: /user/username/projects/myproject/usage/tsconfig.json +After request PolledWatches:: /user/username/projects/myproject/decls: @@ -152,6 +154,7 @@ Info 28 [16:01:03.000] request: "seq": 1, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/decls: @@ -193,6 +196,7 @@ Info 31 [16:01:14.000] ----------------------------------------------- Info 31 [16:01:15.000] Open files: Info 31 [16:01:16.000] FileName: /user/username/projects/myproject/usage/usage.ts ProjectRootPath: undefined Info 31 [16:01:17.000] Projects: /user/username/projects/myproject/usage/tsconfig.json +After request PolledWatches:: /user/username/projects/myproject/decls: @@ -244,6 +248,7 @@ Info 36 [16:01:26.000] request: "seq": 2, "type": "request" } +Before request //// [/user/username/projects/myproject/dependency/fns.ts] export function fn1() { } export function fn2() { } @@ -293,6 +298,7 @@ Info 42 [16:01:40.000] ----------------------------------------------- Info 42 [16:01:41.000] Open files: Info 42 [16:01:42.000] FileName: /user/username/projects/myproject/usage/usage.ts ProjectRootPath: undefined Info 42 [16:01:43.000] Projects: /user/username/projects/myproject/usage/tsconfig.json +After request PolledWatches:: /user/username/projects/myproject/decls: @@ -340,6 +346,7 @@ Info 43 [16:01:45.000] request: "seq": 3, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/decls: @@ -368,6 +375,7 @@ FsWatchesRecursive:: Info 44 [16:01:48.000] DirectoryWatcher:: Triggered with /user/username/projects/myproject/usage/usage.js :: WatchInfo: /user/username/projects/myproject/usage 1 undefined Config: /user/username/projects/myproject/usage/tsconfig.json WatchType: Wild card directory Info 45 [16:01:49.000] Project: /user/username/projects/myproject/usage/tsconfig.json Detected file add/remove of non supported extension: /user/username/projects/myproject/usage/usage.js Info 46 [16:01:50.000] Elapsed:: *ms DirectoryWatcher:: Triggered with /user/username/projects/myproject/usage/usage.js :: WatchInfo: /user/username/projects/myproject/usage 1 undefined Config: /user/username/projects/myproject/usage/tsconfig.json WatchType: Wild card directory +After request //// [/user/username/projects/myproject/usage/usage.js] "use strict"; exports.__esModule = true; @@ -415,6 +423,7 @@ Info 48 [16:01:52.000] request: "seq": 4, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/decls: @@ -440,6 +449,7 @@ FsWatchesRecursive:: /user/username/projects/myproject/dependency: {} +After request PolledWatches:: /user/username/projects/myproject/decls: diff --git a/tests/baselines/reference/tsserver/projectReferenceCompileOnSave/when-dependency-project-is-not-open-and-save-on-usage-and-change-to-usage.js b/tests/baselines/reference/tsserver/projectReferenceCompileOnSave/when-dependency-project-is-not-open-and-save-on-usage-and-change-to-usage.js index a42b6d275efb2..ee3d2f04c4174 100644 --- a/tests/baselines/reference/tsserver/projectReferenceCompileOnSave/when-dependency-project-is-not-open-and-save-on-usage-and-change-to-usage.js +++ b/tests/baselines/reference/tsserver/projectReferenceCompileOnSave/when-dependency-project-is-not-open-and-save-on-usage-and-change-to-usage.js @@ -8,6 +8,7 @@ Info 1 [16:00:30.000] request: "file": "/user/username/projects/myproject/usage/usage.ts" } } +Before request //// [/user/username/projects/myproject/dependency/fns.ts] export function fn1() { } export function fn2() { } @@ -114,6 +115,7 @@ Info 27 [16:00:58.000] ----------------------------------------------- Info 27 [16:00:59.000] Open files: Info 27 [16:01:00.000] FileName: /user/username/projects/myproject/usage/usage.ts ProjectRootPath: undefined Info 27 [16:01:01.000] Projects: /user/username/projects/myproject/usage/tsconfig.json +After request PolledWatches:: /user/username/projects/myproject/decls: @@ -152,6 +154,7 @@ Info 28 [16:01:03.000] request: "seq": 1, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/decls: @@ -193,6 +196,7 @@ Info 31 [16:01:14.000] ----------------------------------------------- Info 31 [16:01:15.000] Open files: Info 31 [16:01:16.000] FileName: /user/username/projects/myproject/usage/usage.ts ProjectRootPath: undefined Info 31 [16:01:17.000] Projects: /user/username/projects/myproject/usage/tsconfig.json +After request PolledWatches:: /user/username/projects/myproject/decls: @@ -245,6 +249,7 @@ Info 32 [16:01:19.000] request: "seq": 2, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/decls: @@ -270,6 +275,7 @@ FsWatchesRecursive:: /user/username/projects/myproject/dependency: {} +After request PolledWatches:: /user/username/projects/myproject/decls: @@ -308,6 +314,7 @@ Info 34 [16:01:21.000] request: "seq": 3, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/decls: @@ -352,6 +359,7 @@ Info 40 [16:01:35.000] ----------------------------------------------- Info 40 [16:01:36.000] Open files: Info 40 [16:01:37.000] FileName: /user/username/projects/myproject/usage/usage.ts ProjectRootPath: undefined Info 40 [16:01:38.000] Projects: /user/username/projects/myproject/usage/tsconfig.json +After request PolledWatches:: /user/username/projects/myproject/decls: @@ -399,6 +407,7 @@ Info 41 [16:01:40.000] request: "seq": 4, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/decls: @@ -427,6 +436,7 @@ FsWatchesRecursive:: Info 42 [16:01:43.000] DirectoryWatcher:: Triggered with /user/username/projects/myproject/usage/usage.js :: WatchInfo: /user/username/projects/myproject/usage 1 undefined Config: /user/username/projects/myproject/usage/tsconfig.json WatchType: Wild card directory Info 43 [16:01:44.000] Project: /user/username/projects/myproject/usage/tsconfig.json Detected file add/remove of non supported extension: /user/username/projects/myproject/usage/usage.js Info 44 [16:01:45.000] Elapsed:: *ms DirectoryWatcher:: Triggered with /user/username/projects/myproject/usage/usage.js :: WatchInfo: /user/username/projects/myproject/usage 1 undefined Config: /user/username/projects/myproject/usage/tsconfig.json WatchType: Wild card directory +After request //// [/user/username/projects/myproject/usage/usage.js] "use strict"; exports.__esModule = true; @@ -477,6 +487,7 @@ Info 46 [16:01:47.000] request: "seq": 5, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/decls: @@ -502,6 +513,7 @@ FsWatchesRecursive:: /user/username/projects/myproject/dependency: {} +After request PolledWatches:: /user/username/projects/myproject/decls: diff --git a/tests/baselines/reference/tsserver/projectReferenceCompileOnSave/when-dependency-project-is-not-open-and-save-on-usage-and-local-change-to-dependency.js b/tests/baselines/reference/tsserver/projectReferenceCompileOnSave/when-dependency-project-is-not-open-and-save-on-usage-and-local-change-to-dependency.js index cb3c1455ac419..4277fef7a33f8 100644 --- a/tests/baselines/reference/tsserver/projectReferenceCompileOnSave/when-dependency-project-is-not-open-and-save-on-usage-and-local-change-to-dependency.js +++ b/tests/baselines/reference/tsserver/projectReferenceCompileOnSave/when-dependency-project-is-not-open-and-save-on-usage-and-local-change-to-dependency.js @@ -8,6 +8,7 @@ Info 1 [16:00:30.000] request: "file": "/user/username/projects/myproject/usage/usage.ts" } } +Before request //// [/user/username/projects/myproject/dependency/fns.ts] export function fn1() { } export function fn2() { } @@ -114,6 +115,7 @@ Info 27 [16:00:58.000] ----------------------------------------------- Info 27 [16:00:59.000] Open files: Info 27 [16:01:00.000] FileName: /user/username/projects/myproject/usage/usage.ts ProjectRootPath: undefined Info 27 [16:01:01.000] Projects: /user/username/projects/myproject/usage/tsconfig.json +After request PolledWatches:: /user/username/projects/myproject/decls: @@ -152,6 +154,7 @@ Info 28 [16:01:03.000] request: "seq": 1, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/decls: @@ -193,6 +196,7 @@ Info 31 [16:01:14.000] ----------------------------------------------- Info 31 [16:01:15.000] Open files: Info 31 [16:01:16.000] FileName: /user/username/projects/myproject/usage/usage.ts ProjectRootPath: undefined Info 31 [16:01:17.000] Projects: /user/username/projects/myproject/usage/tsconfig.json +After request PolledWatches:: /user/username/projects/myproject/decls: @@ -244,6 +248,7 @@ Info 36 [16:01:26.000] request: "seq": 2, "type": "request" } +Before request //// [/user/username/projects/myproject/dependency/fns.ts] export function fn1() { } export function fn2() { } @@ -293,6 +298,7 @@ Info 42 [16:01:40.000] ----------------------------------------------- Info 42 [16:01:41.000] Open files: Info 42 [16:01:42.000] FileName: /user/username/projects/myproject/usage/usage.ts ProjectRootPath: undefined Info 42 [16:01:43.000] Projects: /user/username/projects/myproject/usage/tsconfig.json +After request PolledWatches:: /user/username/projects/myproject/decls: @@ -340,6 +346,7 @@ Info 43 [16:01:45.000] request: "seq": 3, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/decls: @@ -368,6 +375,7 @@ FsWatchesRecursive:: Info 44 [16:01:48.000] DirectoryWatcher:: Triggered with /user/username/projects/myproject/usage/usage.js :: WatchInfo: /user/username/projects/myproject/usage 1 undefined Config: /user/username/projects/myproject/usage/tsconfig.json WatchType: Wild card directory Info 45 [16:01:49.000] Project: /user/username/projects/myproject/usage/tsconfig.json Detected file add/remove of non supported extension: /user/username/projects/myproject/usage/usage.js Info 46 [16:01:50.000] Elapsed:: *ms DirectoryWatcher:: Triggered with /user/username/projects/myproject/usage/usage.js :: WatchInfo: /user/username/projects/myproject/usage 1 undefined Config: /user/username/projects/myproject/usage/tsconfig.json WatchType: Wild card directory +After request //// [/user/username/projects/myproject/usage/usage.js] "use strict"; exports.__esModule = true; @@ -415,6 +423,7 @@ Info 48 [16:01:52.000] request: "seq": 4, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/decls: @@ -440,6 +449,7 @@ FsWatchesRecursive:: /user/username/projects/myproject/dependency: {} +After request PolledWatches:: /user/username/projects/myproject/decls: diff --git a/tests/baselines/reference/tsserver/projectReferenceCompileOnSave/when-dependency-project-is-not-open-and-save-on-usage-and-local-change-to-usage.js b/tests/baselines/reference/tsserver/projectReferenceCompileOnSave/when-dependency-project-is-not-open-and-save-on-usage-and-local-change-to-usage.js index 7f5daef5b4554..1011e7e73f783 100644 --- a/tests/baselines/reference/tsserver/projectReferenceCompileOnSave/when-dependency-project-is-not-open-and-save-on-usage-and-local-change-to-usage.js +++ b/tests/baselines/reference/tsserver/projectReferenceCompileOnSave/when-dependency-project-is-not-open-and-save-on-usage-and-local-change-to-usage.js @@ -8,6 +8,7 @@ Info 1 [16:00:30.000] request: "file": "/user/username/projects/myproject/usage/usage.ts" } } +Before request //// [/user/username/projects/myproject/dependency/fns.ts] export function fn1() { } export function fn2() { } @@ -114,6 +115,7 @@ Info 27 [16:00:58.000] ----------------------------------------------- Info 27 [16:00:59.000] Open files: Info 27 [16:01:00.000] FileName: /user/username/projects/myproject/usage/usage.ts ProjectRootPath: undefined Info 27 [16:01:01.000] Projects: /user/username/projects/myproject/usage/tsconfig.json +After request PolledWatches:: /user/username/projects/myproject/decls: @@ -152,6 +154,7 @@ Info 28 [16:01:03.000] request: "seq": 1, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/decls: @@ -193,6 +196,7 @@ Info 31 [16:01:14.000] ----------------------------------------------- Info 31 [16:01:15.000] Open files: Info 31 [16:01:16.000] FileName: /user/username/projects/myproject/usage/usage.ts ProjectRootPath: undefined Info 31 [16:01:17.000] Projects: /user/username/projects/myproject/usage/tsconfig.json +After request PolledWatches:: /user/username/projects/myproject/decls: @@ -245,6 +249,7 @@ Info 32 [16:01:19.000] request: "seq": 2, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/decls: @@ -270,6 +275,7 @@ FsWatchesRecursive:: /user/username/projects/myproject/dependency: {} +After request PolledWatches:: /user/username/projects/myproject/decls: @@ -308,6 +314,7 @@ Info 34 [16:01:21.000] request: "seq": 3, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/decls: @@ -352,6 +359,7 @@ Info 40 [16:01:35.000] ----------------------------------------------- Info 40 [16:01:36.000] Open files: Info 40 [16:01:37.000] FileName: /user/username/projects/myproject/usage/usage.ts ProjectRootPath: undefined Info 40 [16:01:38.000] Projects: /user/username/projects/myproject/usage/tsconfig.json +After request PolledWatches:: /user/username/projects/myproject/decls: @@ -399,6 +407,7 @@ Info 41 [16:01:40.000] request: "seq": 4, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/decls: @@ -427,6 +436,7 @@ FsWatchesRecursive:: Info 42 [16:01:43.000] DirectoryWatcher:: Triggered with /user/username/projects/myproject/usage/usage.js :: WatchInfo: /user/username/projects/myproject/usage 1 undefined Config: /user/username/projects/myproject/usage/tsconfig.json WatchType: Wild card directory Info 43 [16:01:44.000] Project: /user/username/projects/myproject/usage/tsconfig.json Detected file add/remove of non supported extension: /user/username/projects/myproject/usage/usage.js Info 44 [16:01:45.000] Elapsed:: *ms DirectoryWatcher:: Triggered with /user/username/projects/myproject/usage/usage.js :: WatchInfo: /user/username/projects/myproject/usage 1 undefined Config: /user/username/projects/myproject/usage/tsconfig.json WatchType: Wild card directory +After request //// [/user/username/projects/myproject/usage/usage.js] "use strict"; exports.__esModule = true; @@ -475,6 +485,7 @@ Info 46 [16:01:47.000] request: "seq": 5, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/decls: @@ -500,6 +511,7 @@ FsWatchesRecursive:: /user/username/projects/myproject/dependency: {} +After request PolledWatches:: /user/username/projects/myproject/decls: diff --git a/tests/baselines/reference/tsserver/projectReferenceCompileOnSave/when-dependency-project-is-not-open-and-save-on-usage-with-project-and-change-to-depenedency.js b/tests/baselines/reference/tsserver/projectReferenceCompileOnSave/when-dependency-project-is-not-open-and-save-on-usage-with-project-and-change-to-depenedency.js index 6281d7b734df7..44d57cabefd91 100644 --- a/tests/baselines/reference/tsserver/projectReferenceCompileOnSave/when-dependency-project-is-not-open-and-save-on-usage-with-project-and-change-to-depenedency.js +++ b/tests/baselines/reference/tsserver/projectReferenceCompileOnSave/when-dependency-project-is-not-open-and-save-on-usage-with-project-and-change-to-depenedency.js @@ -8,6 +8,7 @@ Info 1 [16:00:30.000] request: "file": "/user/username/projects/myproject/usage/usage.ts" } } +Before request //// [/user/username/projects/myproject/dependency/fns.ts] export function fn1() { } export function fn2() { } @@ -114,6 +115,7 @@ Info 27 [16:00:58.000] ----------------------------------------------- Info 27 [16:00:59.000] Open files: Info 27 [16:01:00.000] FileName: /user/username/projects/myproject/usage/usage.ts ProjectRootPath: undefined Info 27 [16:01:01.000] Projects: /user/username/projects/myproject/usage/tsconfig.json +After request PolledWatches:: /user/username/projects/myproject/decls: @@ -152,6 +154,7 @@ Info 28 [16:01:03.000] request: "seq": 1, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/decls: @@ -193,6 +196,7 @@ Info 31 [16:01:14.000] ----------------------------------------------- Info 31 [16:01:15.000] Open files: Info 31 [16:01:16.000] FileName: /user/username/projects/myproject/usage/usage.ts ProjectRootPath: undefined Info 31 [16:01:17.000] Projects: /user/username/projects/myproject/usage/tsconfig.json +After request PolledWatches:: /user/username/projects/myproject/decls: @@ -245,6 +249,7 @@ Info 36 [16:01:26.000] request: "seq": 2, "type": "request" } +Before request //// [/user/username/projects/myproject/dependency/fns.ts] export function fn1() { } export function fn2() { } @@ -278,6 +283,7 @@ FsWatchesRecursive:: Info 37 [16:01:27.000] Starting updateGraphWorker: Project: /user/username/projects/myproject/usage/tsconfig.json Info 38 [16:01:28.000] Finishing updateGraphWorker: Project: /user/username/projects/myproject/usage/tsconfig.json Version: 2 structureChanged: false structureIsReused:: Completely Elapsed:: *ms Info 39 [16:01:29.000] Different program with same set of files +After request PolledWatches:: /user/username/projects/myproject/decls: @@ -326,6 +332,7 @@ Info 41 [16:01:31.000] request: "seq": 3, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/decls: @@ -354,6 +361,7 @@ FsWatchesRecursive:: Info 42 [16:01:34.000] DirectoryWatcher:: Triggered with /user/username/projects/myproject/usage/usage.js :: WatchInfo: /user/username/projects/myproject/usage 1 undefined Config: /user/username/projects/myproject/usage/tsconfig.json WatchType: Wild card directory Info 43 [16:01:35.000] Project: /user/username/projects/myproject/usage/tsconfig.json Detected file add/remove of non supported extension: /user/username/projects/myproject/usage/usage.js Info 44 [16:01:36.000] Elapsed:: *ms DirectoryWatcher:: Triggered with /user/username/projects/myproject/usage/usage.js :: WatchInfo: /user/username/projects/myproject/usage 1 undefined Config: /user/username/projects/myproject/usage/tsconfig.json WatchType: Wild card directory +After request //// [/user/username/projects/myproject/usage/usage.js] "use strict"; exports.__esModule = true; @@ -402,6 +410,7 @@ Info 46 [16:01:38.000] request: "seq": 4, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/decls: @@ -427,6 +436,7 @@ FsWatchesRecursive:: /user/username/projects/myproject/dependency: {} +After request PolledWatches:: /user/username/projects/myproject/decls: diff --git a/tests/baselines/reference/tsserver/projectReferenceCompileOnSave/when-dependency-project-is-not-open-and-save-on-usage-with-project-and-change-to-usage.js b/tests/baselines/reference/tsserver/projectReferenceCompileOnSave/when-dependency-project-is-not-open-and-save-on-usage-with-project-and-change-to-usage.js index 3206d7a14259c..14feebc1c0994 100644 --- a/tests/baselines/reference/tsserver/projectReferenceCompileOnSave/when-dependency-project-is-not-open-and-save-on-usage-with-project-and-change-to-usage.js +++ b/tests/baselines/reference/tsserver/projectReferenceCompileOnSave/when-dependency-project-is-not-open-and-save-on-usage-with-project-and-change-to-usage.js @@ -8,6 +8,7 @@ Info 1 [16:00:30.000] request: "file": "/user/username/projects/myproject/usage/usage.ts" } } +Before request //// [/user/username/projects/myproject/dependency/fns.ts] export function fn1() { } export function fn2() { } @@ -114,6 +115,7 @@ Info 27 [16:00:58.000] ----------------------------------------------- Info 27 [16:00:59.000] Open files: Info 27 [16:01:00.000] FileName: /user/username/projects/myproject/usage/usage.ts ProjectRootPath: undefined Info 27 [16:01:01.000] Projects: /user/username/projects/myproject/usage/tsconfig.json +After request PolledWatches:: /user/username/projects/myproject/decls: @@ -152,6 +154,7 @@ Info 28 [16:01:03.000] request: "seq": 1, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/decls: @@ -193,6 +196,7 @@ Info 31 [16:01:14.000] ----------------------------------------------- Info 31 [16:01:15.000] Open files: Info 31 [16:01:16.000] FileName: /user/username/projects/myproject/usage/usage.ts ProjectRootPath: undefined Info 31 [16:01:17.000] Projects: /user/username/projects/myproject/usage/tsconfig.json +After request PolledWatches:: /user/username/projects/myproject/decls: @@ -245,6 +249,7 @@ Info 32 [16:01:19.000] request: "seq": 2, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/decls: @@ -270,6 +275,7 @@ FsWatchesRecursive:: /user/username/projects/myproject/dependency: {} +After request PolledWatches:: /user/username/projects/myproject/decls: @@ -309,6 +315,7 @@ Info 34 [16:01:21.000] request: "seq": 3, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/decls: @@ -337,6 +344,7 @@ FsWatchesRecursive:: Info 35 [16:01:22.000] Starting updateGraphWorker: Project: /user/username/projects/myproject/usage/tsconfig.json Info 36 [16:01:23.000] Finishing updateGraphWorker: Project: /user/username/projects/myproject/usage/tsconfig.json Version: 2 structureChanged: false structureIsReused:: Completely Elapsed:: *ms Info 37 [16:01:24.000] Different program with same set of files +After request PolledWatches:: /user/username/projects/myproject/decls: @@ -385,6 +393,7 @@ Info 39 [16:01:26.000] request: "seq": 4, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/decls: @@ -413,6 +422,7 @@ FsWatchesRecursive:: Info 40 [16:01:29.000] DirectoryWatcher:: Triggered with /user/username/projects/myproject/usage/usage.js :: WatchInfo: /user/username/projects/myproject/usage 1 undefined Config: /user/username/projects/myproject/usage/tsconfig.json WatchType: Wild card directory Info 41 [16:01:30.000] Project: /user/username/projects/myproject/usage/tsconfig.json Detected file add/remove of non supported extension: /user/username/projects/myproject/usage/usage.js Info 42 [16:01:31.000] Elapsed:: *ms DirectoryWatcher:: Triggered with /user/username/projects/myproject/usage/usage.js :: WatchInfo: /user/username/projects/myproject/usage 1 undefined Config: /user/username/projects/myproject/usage/tsconfig.json WatchType: Wild card directory +After request //// [/user/username/projects/myproject/usage/usage.js] "use strict"; exports.__esModule = true; @@ -464,6 +474,7 @@ Info 44 [16:01:33.000] request: "seq": 5, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/decls: @@ -489,6 +500,7 @@ FsWatchesRecursive:: /user/username/projects/myproject/dependency: {} +After request PolledWatches:: /user/username/projects/myproject/decls: diff --git a/tests/baselines/reference/tsserver/projectReferenceCompileOnSave/when-dependency-project-is-not-open-and-save-on-usage-with-project-and-local-change-to-dependency.js b/tests/baselines/reference/tsserver/projectReferenceCompileOnSave/when-dependency-project-is-not-open-and-save-on-usage-with-project-and-local-change-to-dependency.js index ee127fa6f3c90..51d852ec82414 100644 --- a/tests/baselines/reference/tsserver/projectReferenceCompileOnSave/when-dependency-project-is-not-open-and-save-on-usage-with-project-and-local-change-to-dependency.js +++ b/tests/baselines/reference/tsserver/projectReferenceCompileOnSave/when-dependency-project-is-not-open-and-save-on-usage-with-project-and-local-change-to-dependency.js @@ -8,6 +8,7 @@ Info 1 [16:00:30.000] request: "file": "/user/username/projects/myproject/usage/usage.ts" } } +Before request //// [/user/username/projects/myproject/dependency/fns.ts] export function fn1() { } export function fn2() { } @@ -114,6 +115,7 @@ Info 27 [16:00:58.000] ----------------------------------------------- Info 27 [16:00:59.000] Open files: Info 27 [16:01:00.000] FileName: /user/username/projects/myproject/usage/usage.ts ProjectRootPath: undefined Info 27 [16:01:01.000] Projects: /user/username/projects/myproject/usage/tsconfig.json +After request PolledWatches:: /user/username/projects/myproject/decls: @@ -152,6 +154,7 @@ Info 28 [16:01:03.000] request: "seq": 1, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/decls: @@ -193,6 +196,7 @@ Info 31 [16:01:14.000] ----------------------------------------------- Info 31 [16:01:15.000] Open files: Info 31 [16:01:16.000] FileName: /user/username/projects/myproject/usage/usage.ts ProjectRootPath: undefined Info 31 [16:01:17.000] Projects: /user/username/projects/myproject/usage/tsconfig.json +After request PolledWatches:: /user/username/projects/myproject/decls: @@ -245,6 +249,7 @@ Info 36 [16:01:26.000] request: "seq": 2, "type": "request" } +Before request //// [/user/username/projects/myproject/dependency/fns.ts] export function fn1() { } export function fn2() { } @@ -278,6 +283,7 @@ FsWatchesRecursive:: Info 37 [16:01:27.000] Starting updateGraphWorker: Project: /user/username/projects/myproject/usage/tsconfig.json Info 38 [16:01:28.000] Finishing updateGraphWorker: Project: /user/username/projects/myproject/usage/tsconfig.json Version: 2 structureChanged: false structureIsReused:: Completely Elapsed:: *ms Info 39 [16:01:29.000] Different program with same set of files +After request PolledWatches:: /user/username/projects/myproject/decls: @@ -326,6 +332,7 @@ Info 41 [16:01:31.000] request: "seq": 3, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/decls: @@ -354,6 +361,7 @@ FsWatchesRecursive:: Info 42 [16:01:34.000] DirectoryWatcher:: Triggered with /user/username/projects/myproject/usage/usage.js :: WatchInfo: /user/username/projects/myproject/usage 1 undefined Config: /user/username/projects/myproject/usage/tsconfig.json WatchType: Wild card directory Info 43 [16:01:35.000] Project: /user/username/projects/myproject/usage/tsconfig.json Detected file add/remove of non supported extension: /user/username/projects/myproject/usage/usage.js Info 44 [16:01:36.000] Elapsed:: *ms DirectoryWatcher:: Triggered with /user/username/projects/myproject/usage/usage.js :: WatchInfo: /user/username/projects/myproject/usage 1 undefined Config: /user/username/projects/myproject/usage/tsconfig.json WatchType: Wild card directory +After request //// [/user/username/projects/myproject/usage/usage.js] "use strict"; exports.__esModule = true; @@ -402,6 +410,7 @@ Info 46 [16:01:38.000] request: "seq": 4, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/decls: @@ -427,6 +436,7 @@ FsWatchesRecursive:: /user/username/projects/myproject/dependency: {} +After request PolledWatches:: /user/username/projects/myproject/decls: diff --git a/tests/baselines/reference/tsserver/projectReferenceCompileOnSave/when-dependency-project-is-not-open-and-save-on-usage-with-project-and-local-change-to-usage.js b/tests/baselines/reference/tsserver/projectReferenceCompileOnSave/when-dependency-project-is-not-open-and-save-on-usage-with-project-and-local-change-to-usage.js index 52eda1a773a7a..2f8006ffc731d 100644 --- a/tests/baselines/reference/tsserver/projectReferenceCompileOnSave/when-dependency-project-is-not-open-and-save-on-usage-with-project-and-local-change-to-usage.js +++ b/tests/baselines/reference/tsserver/projectReferenceCompileOnSave/when-dependency-project-is-not-open-and-save-on-usage-with-project-and-local-change-to-usage.js @@ -8,6 +8,7 @@ Info 1 [16:00:30.000] request: "file": "/user/username/projects/myproject/usage/usage.ts" } } +Before request //// [/user/username/projects/myproject/dependency/fns.ts] export function fn1() { } export function fn2() { } @@ -114,6 +115,7 @@ Info 27 [16:00:58.000] ----------------------------------------------- Info 27 [16:00:59.000] Open files: Info 27 [16:01:00.000] FileName: /user/username/projects/myproject/usage/usage.ts ProjectRootPath: undefined Info 27 [16:01:01.000] Projects: /user/username/projects/myproject/usage/tsconfig.json +After request PolledWatches:: /user/username/projects/myproject/decls: @@ -152,6 +154,7 @@ Info 28 [16:01:03.000] request: "seq": 1, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/decls: @@ -193,6 +196,7 @@ Info 31 [16:01:14.000] ----------------------------------------------- Info 31 [16:01:15.000] Open files: Info 31 [16:01:16.000] FileName: /user/username/projects/myproject/usage/usage.ts ProjectRootPath: undefined Info 31 [16:01:17.000] Projects: /user/username/projects/myproject/usage/tsconfig.json +After request PolledWatches:: /user/username/projects/myproject/decls: @@ -245,6 +249,7 @@ Info 32 [16:01:19.000] request: "seq": 2, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/decls: @@ -270,6 +275,7 @@ FsWatchesRecursive:: /user/username/projects/myproject/dependency: {} +After request PolledWatches:: /user/username/projects/myproject/decls: @@ -309,6 +315,7 @@ Info 34 [16:01:21.000] request: "seq": 3, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/decls: @@ -337,6 +344,7 @@ FsWatchesRecursive:: Info 35 [16:01:22.000] Starting updateGraphWorker: Project: /user/username/projects/myproject/usage/tsconfig.json Info 36 [16:01:23.000] Finishing updateGraphWorker: Project: /user/username/projects/myproject/usage/tsconfig.json Version: 2 structureChanged: false structureIsReused:: Completely Elapsed:: *ms Info 37 [16:01:24.000] Different program with same set of files +After request PolledWatches:: /user/username/projects/myproject/decls: @@ -385,6 +393,7 @@ Info 39 [16:01:26.000] request: "seq": 4, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/decls: @@ -413,6 +422,7 @@ FsWatchesRecursive:: Info 40 [16:01:29.000] DirectoryWatcher:: Triggered with /user/username/projects/myproject/usage/usage.js :: WatchInfo: /user/username/projects/myproject/usage 1 undefined Config: /user/username/projects/myproject/usage/tsconfig.json WatchType: Wild card directory Info 41 [16:01:30.000] Project: /user/username/projects/myproject/usage/tsconfig.json Detected file add/remove of non supported extension: /user/username/projects/myproject/usage/usage.js Info 42 [16:01:31.000] Elapsed:: *ms DirectoryWatcher:: Triggered with /user/username/projects/myproject/usage/usage.js :: WatchInfo: /user/username/projects/myproject/usage 1 undefined Config: /user/username/projects/myproject/usage/tsconfig.json WatchType: Wild card directory +After request //// [/user/username/projects/myproject/usage/usage.js] "use strict"; exports.__esModule = true; @@ -462,6 +472,7 @@ Info 44 [16:01:33.000] request: "seq": 5, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/decls: @@ -487,6 +498,7 @@ FsWatchesRecursive:: /user/username/projects/myproject/dependency: {} +After request PolledWatches:: /user/username/projects/myproject/decls: diff --git a/tests/baselines/reference/tsserver/projectReferenceCompileOnSave/when-dependency-project-is-not-open-and-save-on-usage-with-project.js b/tests/baselines/reference/tsserver/projectReferenceCompileOnSave/when-dependency-project-is-not-open-and-save-on-usage-with-project.js index 580da0224fff0..6a7795c7f5da1 100644 --- a/tests/baselines/reference/tsserver/projectReferenceCompileOnSave/when-dependency-project-is-not-open-and-save-on-usage-with-project.js +++ b/tests/baselines/reference/tsserver/projectReferenceCompileOnSave/when-dependency-project-is-not-open-and-save-on-usage-with-project.js @@ -8,6 +8,7 @@ Info 1 [16:00:30.000] request: "file": "/user/username/projects/myproject/usage/usage.ts" } } +Before request //// [/user/username/projects/myproject/dependency/fns.ts] export function fn1() { } export function fn2() { } @@ -114,6 +115,7 @@ Info 27 [16:00:58.000] ----------------------------------------------- Info 27 [16:00:59.000] Open files: Info 27 [16:01:00.000] FileName: /user/username/projects/myproject/usage/usage.ts ProjectRootPath: undefined Info 27 [16:01:01.000] Projects: /user/username/projects/myproject/usage/tsconfig.json +After request PolledWatches:: /user/username/projects/myproject/decls: @@ -153,6 +155,7 @@ Info 28 [16:01:03.000] request: "seq": 1, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/decls: @@ -178,6 +181,7 @@ FsWatchesRecursive:: /user/username/projects/myproject/dependency: {} +After request PolledWatches:: /user/username/projects/myproject/decls: @@ -226,6 +230,7 @@ Info 30 [16:01:05.000] request: "seq": 2, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/decls: @@ -254,6 +259,7 @@ FsWatchesRecursive:: Info 31 [16:01:08.000] DirectoryWatcher:: Triggered with /user/username/projects/myproject/usage/usage.js :: WatchInfo: /user/username/projects/myproject/usage 1 undefined Config: /user/username/projects/myproject/usage/tsconfig.json WatchType: Wild card directory Info 32 [16:01:09.000] Project: /user/username/projects/myproject/usage/tsconfig.json Detected file add/remove of non supported extension: /user/username/projects/myproject/usage/usage.js Info 33 [16:01:10.000] Elapsed:: *ms DirectoryWatcher:: Triggered with /user/username/projects/myproject/usage/usage.js :: WatchInfo: /user/username/projects/myproject/usage 1 undefined Config: /user/username/projects/myproject/usage/tsconfig.json WatchType: Wild card directory +After request //// [/user/username/projects/myproject/usage/usage.js] "use strict"; exports.__esModule = true; @@ -302,6 +308,7 @@ Info 35 [16:01:12.000] request: "seq": 3, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/decls: @@ -327,6 +334,7 @@ FsWatchesRecursive:: /user/username/projects/myproject/dependency: {} +After request PolledWatches:: /user/username/projects/myproject/decls: diff --git a/tests/baselines/reference/tsserver/projectReferenceCompileOnSave/when-dependency-project-is-not-open-and-save-on-usage.js b/tests/baselines/reference/tsserver/projectReferenceCompileOnSave/when-dependency-project-is-not-open-and-save-on-usage.js index 1ff5653707122..c1d39d5c6b40e 100644 --- a/tests/baselines/reference/tsserver/projectReferenceCompileOnSave/when-dependency-project-is-not-open-and-save-on-usage.js +++ b/tests/baselines/reference/tsserver/projectReferenceCompileOnSave/when-dependency-project-is-not-open-and-save-on-usage.js @@ -8,6 +8,7 @@ Info 1 [16:00:30.000] request: "file": "/user/username/projects/myproject/usage/usage.ts" } } +Before request //// [/user/username/projects/myproject/dependency/fns.ts] export function fn1() { } export function fn2() { } @@ -114,6 +115,7 @@ Info 27 [16:00:58.000] ----------------------------------------------- Info 27 [16:00:59.000] Open files: Info 27 [16:01:00.000] FileName: /user/username/projects/myproject/usage/usage.ts ProjectRootPath: undefined Info 27 [16:01:01.000] Projects: /user/username/projects/myproject/usage/tsconfig.json +After request PolledWatches:: /user/username/projects/myproject/decls: @@ -152,6 +154,7 @@ Info 28 [16:01:03.000] request: "seq": 1, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/decls: @@ -193,6 +196,7 @@ Info 31 [16:01:14.000] ----------------------------------------------- Info 31 [16:01:15.000] Open files: Info 31 [16:01:16.000] FileName: /user/username/projects/myproject/usage/usage.ts ProjectRootPath: undefined Info 31 [16:01:17.000] Projects: /user/username/projects/myproject/usage/tsconfig.json +After request PolledWatches:: /user/username/projects/myproject/decls: @@ -240,6 +244,7 @@ Info 32 [16:01:19.000] request: "seq": 2, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/decls: @@ -268,6 +273,7 @@ FsWatchesRecursive:: Info 33 [16:01:22.000] DirectoryWatcher:: Triggered with /user/username/projects/myproject/usage/usage.js :: WatchInfo: /user/username/projects/myproject/usage 1 undefined Config: /user/username/projects/myproject/usage/tsconfig.json WatchType: Wild card directory Info 34 [16:01:23.000] Project: /user/username/projects/myproject/usage/tsconfig.json Detected file add/remove of non supported extension: /user/username/projects/myproject/usage/usage.js Info 35 [16:01:24.000] Elapsed:: *ms DirectoryWatcher:: Triggered with /user/username/projects/myproject/usage/usage.js :: WatchInfo: /user/username/projects/myproject/usage 1 undefined Config: /user/username/projects/myproject/usage/tsconfig.json WatchType: Wild card directory +After request //// [/user/username/projects/myproject/usage/usage.js] "use strict"; exports.__esModule = true; @@ -315,6 +321,7 @@ Info 37 [16:01:26.000] request: "seq": 3, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/decls: @@ -340,6 +347,7 @@ FsWatchesRecursive:: /user/username/projects/myproject/dependency: {} +After request PolledWatches:: /user/username/projects/myproject/decls: diff --git a/tests/baselines/reference/tsserver/projectReferenceErrors/with-module-scenario-when-dependency-project-is-not-open-gerErr-with-sync-commands.js b/tests/baselines/reference/tsserver/projectReferenceErrors/with-module-scenario-when-dependency-project-is-not-open-gerErr-with-sync-commands.js index 36c6219c9e6ac..301252bfcb248 100644 --- a/tests/baselines/reference/tsserver/projectReferenceErrors/with-module-scenario-when-dependency-project-is-not-open-gerErr-with-sync-commands.js +++ b/tests/baselines/reference/tsserver/projectReferenceErrors/with-module-scenario-when-dependency-project-is-not-open-gerErr-with-sync-commands.js @@ -8,6 +8,7 @@ Info 1 [16:00:30.000] request: "file": "/user/username/projects/myproject/usage/usage.ts" } } +Before request //// [/user/username/projects/myproject/dependency/fns.ts] export function fn1() { } export function fn2() { } @@ -122,6 +123,7 @@ Info 29 [16:01:00.000] ----------------------------------------------- Info 29 [16:01:01.000] Open files: Info 29 [16:01:02.000] FileName: /user/username/projects/myproject/usage/usage.ts ProjectRootPath: undefined Info 29 [16:01:03.000] Projects: /user/username/projects/myproject/usage/tsconfig.json +After request PolledWatches:: /user/username/projects/myproject/decls: @@ -160,6 +162,7 @@ Info 30 [16:01:05.000] request: "seq": 1, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/decls: @@ -185,6 +188,7 @@ FsWatchesRecursive:: /user/username/projects/myproject/dependency: {} +After request PolledWatches:: /user/username/projects/myproject/decls: @@ -224,6 +228,7 @@ Info 32 [16:01:07.000] request: "seq": 2, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/decls: @@ -249,6 +254,7 @@ FsWatchesRecursive:: /user/username/projects/myproject/dependency: {} +After request PolledWatches:: /user/username/projects/myproject/decls: @@ -302,6 +308,7 @@ Info 34 [16:01:09.000] request: "seq": 3, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/decls: @@ -327,6 +334,7 @@ FsWatchesRecursive:: /user/username/projects/myproject/dependency: {} +After request PolledWatches:: /user/username/projects/myproject/decls: @@ -366,6 +374,7 @@ Info 36 [16:01:11.000] request: "seq": 4, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/decls: @@ -391,6 +400,7 @@ FsWatchesRecursive:: /user/username/projects/myproject/dependency: {} +After request PolledWatches:: /user/username/projects/myproject/decls: @@ -430,6 +440,7 @@ Info 38 [16:01:13.000] request: "seq": 5, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/decls: @@ -455,6 +466,7 @@ FsWatchesRecursive:: /user/username/projects/myproject/dependency: {} +After request PolledWatches:: /user/username/projects/myproject/decls: @@ -494,6 +506,7 @@ Info 40 [16:01:15.000] request: "seq": 6, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/decls: @@ -519,6 +532,7 @@ FsWatchesRecursive:: /user/username/projects/myproject/dependency: {} +After request PolledWatches:: /user/username/projects/myproject/decls: @@ -559,6 +573,7 @@ Info 42 [16:01:17.000] request: "seq": 7, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/decls: @@ -584,6 +599,7 @@ FsWatchesRecursive:: /user/username/projects/myproject/dependency: {} +After request PolledWatches:: /user/username/projects/myproject/decls: @@ -624,6 +640,7 @@ Info 44 [16:01:19.000] request: "seq": 8, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/decls: @@ -649,6 +666,7 @@ FsWatchesRecursive:: /user/username/projects/myproject/dependency: {} +After request PolledWatches:: /user/username/projects/myproject/decls: @@ -703,6 +721,7 @@ Info 46 [16:01:21.000] request: "seq": 9, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/decls: @@ -728,6 +747,7 @@ FsWatchesRecursive:: /user/username/projects/myproject/dependency: {} +After request PolledWatches:: /user/username/projects/myproject/decls: @@ -768,6 +788,7 @@ Info 48 [16:01:23.000] request: "seq": 10, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/decls: @@ -793,6 +814,7 @@ FsWatchesRecursive:: /user/username/projects/myproject/dependency: {} +After request PolledWatches:: /user/username/projects/myproject/decls: @@ -833,6 +855,7 @@ Info 50 [16:01:25.000] request: "seq": 11, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/decls: @@ -858,6 +881,7 @@ FsWatchesRecursive:: /user/username/projects/myproject/dependency: {} +After request PolledWatches:: /user/username/projects/myproject/decls: @@ -898,6 +922,7 @@ Info 52 [16:01:27.000] request: "seq": 12, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/decls: @@ -923,6 +948,7 @@ FsWatchesRecursive:: /user/username/projects/myproject/dependency: {} +After request PolledWatches:: /user/username/projects/myproject/decls: diff --git a/tests/baselines/reference/tsserver/projectReferenceErrors/with-module-scenario-when-dependency-project-is-not-open-getErr.js b/tests/baselines/reference/tsserver/projectReferenceErrors/with-module-scenario-when-dependency-project-is-not-open-getErr.js index d8ad98fa681ec..d81b7d00ce856 100644 --- a/tests/baselines/reference/tsserver/projectReferenceErrors/with-module-scenario-when-dependency-project-is-not-open-getErr.js +++ b/tests/baselines/reference/tsserver/projectReferenceErrors/with-module-scenario-when-dependency-project-is-not-open-getErr.js @@ -8,6 +8,7 @@ Info 1 [16:00:30.000] request: "file": "/user/username/projects/myproject/usage/usage.ts" } } +Before request //// [/user/username/projects/myproject/dependency/fns.ts] export function fn1() { } export function fn2() { } @@ -130,6 +131,7 @@ Info 33 [16:01:04.000] ----------------------------------------------- Info 33 [16:01:05.000] Open files: Info 33 [16:01:06.000] FileName: /user/username/projects/myproject/usage/usage.ts ProjectRootPath: undefined Info 33 [16:01:07.000] Projects: /user/username/projects/myproject/usage/tsconfig.json +After request PolledWatches:: /user/username/projects/myproject/decls: @@ -171,6 +173,7 @@ Info 34 [16:01:09.000] request: "seq": 1, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/decls: @@ -196,6 +199,7 @@ FsWatchesRecursive:: /user/username/projects/myproject/dependency: {} +After request PolledWatches:: /user/username/projects/myproject/decls: @@ -225,11 +229,166 @@ Info 35 [16:01:10.000] response: { "responseRequired": false } +Before checking timeout queue length (1) and running + +PolledWatches:: +/user/username/projects/myproject/decls: + {"pollingInterval":500} +/user/username/projects/myproject/usage/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/myproject/node_modules/@types: + {"pollingInterval":500} + +FsWatches:: +/user/username/projects/myproject/usage/tsconfig.json: + {} +/user/username/projects/myproject/dependency/tsconfig.json: + {} +/user/username/projects/myproject/dependency/fns.ts: + {} +/a/lib/lib.d.ts: + {} + +FsWatchesRecursive:: +/user/username/projects/myproject/usage: + {} +/user/username/projects/myproject/dependency: + {} + Info 36 [16:01:11.000] event: {"seq":0,"type":"event","event":"syntaxDiag","body":{"file":"/user/username/projects/myproject/usage/usage.ts","diagnostics":[]}} +After checking timeout queue length (1) and running + +PolledWatches:: +/user/username/projects/myproject/decls: + {"pollingInterval":500} +/user/username/projects/myproject/usage/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/myproject/node_modules/@types: + {"pollingInterval":500} + +FsWatches:: +/user/username/projects/myproject/usage/tsconfig.json: + {} +/user/username/projects/myproject/dependency/tsconfig.json: + {} +/user/username/projects/myproject/dependency/fns.ts: + {} +/a/lib/lib.d.ts: + {} + +FsWatchesRecursive:: +/user/username/projects/myproject/usage: + {} +/user/username/projects/myproject/dependency: + {} + +Before running immediate callbacks and checking length (1) + +PolledWatches:: +/user/username/projects/myproject/decls: + {"pollingInterval":500} +/user/username/projects/myproject/usage/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/myproject/node_modules/@types: + {"pollingInterval":500} + +FsWatches:: +/user/username/projects/myproject/usage/tsconfig.json: + {} +/user/username/projects/myproject/dependency/tsconfig.json: + {} +/user/username/projects/myproject/dependency/fns.ts: + {} +/a/lib/lib.d.ts: + {} + +FsWatchesRecursive:: +/user/username/projects/myproject/usage: + {} +/user/username/projects/myproject/dependency: + {} + Info 37 [16:01:12.000] event: {"seq":0,"type":"event","event":"semanticDiag","body":{"file":"/user/username/projects/myproject/usage/usage.ts","diagnostics":[{"start":{"line":4,"offset":5},"end":{"line":4,"offset":10},"text":"Module '\"../decls/fns\"' has no exported member 'fnErr'.","code":2305,"category":"error"}]}} +Before running immediate callbacks and checking length (1) + +PolledWatches:: +/user/username/projects/myproject/decls: + {"pollingInterval":500} +/user/username/projects/myproject/usage/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/myproject/node_modules/@types: + {"pollingInterval":500} + +FsWatches:: +/user/username/projects/myproject/usage/tsconfig.json: + {} +/user/username/projects/myproject/dependency/tsconfig.json: + {} +/user/username/projects/myproject/dependency/fns.ts: + {} +/a/lib/lib.d.ts: + {} + +FsWatchesRecursive:: +/user/username/projects/myproject/usage: + {} +/user/username/projects/myproject/dependency: + {} + +Before running immediate callbacks and checking length (1) + +PolledWatches:: +/user/username/projects/myproject/decls: + {"pollingInterval":500} +/user/username/projects/myproject/usage/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/myproject/node_modules/@types: + {"pollingInterval":500} + +FsWatches:: +/user/username/projects/myproject/usage/tsconfig.json: + {} +/user/username/projects/myproject/dependency/tsconfig.json: + {} +/user/username/projects/myproject/dependency/fns.ts: + {} +/a/lib/lib.d.ts: + {} + +FsWatchesRecursive:: +/user/username/projects/myproject/usage: + {} +/user/username/projects/myproject/dependency: + {} + Info 38 [16:01:13.000] event: {"seq":0,"type":"event","event":"suggestionDiag","body":{"file":"/user/username/projects/myproject/usage/usage.ts","diagnostics":[]}} Info 39 [16:01:14.000] event: - {"seq":0,"type":"event","event":"requestCompleted","body":{"request_seq":1}} \ No newline at end of file + {"seq":0,"type":"event","event":"requestCompleted","body":{"request_seq":1}} +Before running immediate callbacks and checking length (1) + +PolledWatches:: +/user/username/projects/myproject/decls: + {"pollingInterval":500} +/user/username/projects/myproject/usage/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/myproject/node_modules/@types: + {"pollingInterval":500} + +FsWatches:: +/user/username/projects/myproject/usage/tsconfig.json: + {} +/user/username/projects/myproject/dependency/tsconfig.json: + {} +/user/username/projects/myproject/dependency/fns.ts: + {} +/a/lib/lib.d.ts: + {} + +FsWatchesRecursive:: +/user/username/projects/myproject/usage: + {} +/user/username/projects/myproject/dependency: + {} diff --git a/tests/baselines/reference/tsserver/projectReferenceErrors/with-module-scenario-when-dependency-project-is-not-open-geterrForProject.js b/tests/baselines/reference/tsserver/projectReferenceErrors/with-module-scenario-when-dependency-project-is-not-open-geterrForProject.js index 8ce1db5c7b54b..d827e5ff05899 100644 --- a/tests/baselines/reference/tsserver/projectReferenceErrors/with-module-scenario-when-dependency-project-is-not-open-geterrForProject.js +++ b/tests/baselines/reference/tsserver/projectReferenceErrors/with-module-scenario-when-dependency-project-is-not-open-geterrForProject.js @@ -8,6 +8,7 @@ Info 1 [16:00:30.000] request: "file": "/user/username/projects/myproject/usage/usage.ts" } } +Before request //// [/user/username/projects/myproject/dependency/fns.ts] export function fn1() { } export function fn2() { } @@ -130,6 +131,7 @@ Info 33 [16:01:04.000] ----------------------------------------------- Info 33 [16:01:05.000] Open files: Info 33 [16:01:06.000] FileName: /user/username/projects/myproject/usage/usage.ts ProjectRootPath: undefined Info 33 [16:01:07.000] Projects: /user/username/projects/myproject/usage/tsconfig.json +After request PolledWatches:: /user/username/projects/myproject/decls: @@ -169,6 +171,7 @@ Info 34 [16:01:09.000] request: "seq": 1, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/decls: @@ -194,6 +197,7 @@ FsWatchesRecursive:: /user/username/projects/myproject/dependency: {} +After request PolledWatches:: /user/username/projects/myproject/decls: @@ -223,30 +227,427 @@ Info 35 [16:01:10.000] response: { "responseRequired": false } +Before checking timeout queue length (1) and running + +PolledWatches:: +/user/username/projects/myproject/decls: + {"pollingInterval":500} +/user/username/projects/myproject/usage/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/myproject/node_modules/@types: + {"pollingInterval":500} + +FsWatches:: +/user/username/projects/myproject/usage/tsconfig.json: + {} +/user/username/projects/myproject/dependency/tsconfig.json: + {} +/user/username/projects/myproject/dependency/fns.ts: + {} +/a/lib/lib.d.ts: + {} + +FsWatchesRecursive:: +/user/username/projects/myproject/usage: + {} +/user/username/projects/myproject/dependency: + {} + Info 36 [16:01:11.000] event: {"seq":0,"type":"event","event":"syntaxDiag","body":{"file":"/user/username/projects/myproject/usage/usage.ts","diagnostics":[]}} +After checking timeout queue length (1) and running + +PolledWatches:: +/user/username/projects/myproject/decls: + {"pollingInterval":500} +/user/username/projects/myproject/usage/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/myproject/node_modules/@types: + {"pollingInterval":500} + +FsWatches:: +/user/username/projects/myproject/usage/tsconfig.json: + {} +/user/username/projects/myproject/dependency/tsconfig.json: + {} +/user/username/projects/myproject/dependency/fns.ts: + {} +/a/lib/lib.d.ts: + {} + +FsWatchesRecursive:: +/user/username/projects/myproject/usage: + {} +/user/username/projects/myproject/dependency: + {} + +Before running immediate callbacks and checking length (1) + +PolledWatches:: +/user/username/projects/myproject/decls: + {"pollingInterval":500} +/user/username/projects/myproject/usage/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/myproject/node_modules/@types: + {"pollingInterval":500} + +FsWatches:: +/user/username/projects/myproject/usage/tsconfig.json: + {} +/user/username/projects/myproject/dependency/tsconfig.json: + {} +/user/username/projects/myproject/dependency/fns.ts: + {} +/a/lib/lib.d.ts: + {} + +FsWatchesRecursive:: +/user/username/projects/myproject/usage: + {} +/user/username/projects/myproject/dependency: + {} + Info 37 [16:01:12.000] event: {"seq":0,"type":"event","event":"semanticDiag","body":{"file":"/user/username/projects/myproject/usage/usage.ts","diagnostics":[{"start":{"line":4,"offset":5},"end":{"line":4,"offset":10},"text":"Module '\"../decls/fns\"' has no exported member 'fnErr'.","code":2305,"category":"error"}]}} +Before running immediate callbacks and checking length (1) + +PolledWatches:: +/user/username/projects/myproject/decls: + {"pollingInterval":500} +/user/username/projects/myproject/usage/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/myproject/node_modules/@types: + {"pollingInterval":500} + +FsWatches:: +/user/username/projects/myproject/usage/tsconfig.json: + {} +/user/username/projects/myproject/dependency/tsconfig.json: + {} +/user/username/projects/myproject/dependency/fns.ts: + {} +/a/lib/lib.d.ts: + {} + +FsWatchesRecursive:: +/user/username/projects/myproject/usage: + {} +/user/username/projects/myproject/dependency: + {} + +Before running immediate callbacks and checking length (1) + +PolledWatches:: +/user/username/projects/myproject/decls: + {"pollingInterval":500} +/user/username/projects/myproject/usage/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/myproject/node_modules/@types: + {"pollingInterval":500} + +FsWatches:: +/user/username/projects/myproject/usage/tsconfig.json: + {} +/user/username/projects/myproject/dependency/tsconfig.json: + {} +/user/username/projects/myproject/dependency/fns.ts: + {} +/a/lib/lib.d.ts: + {} + +FsWatchesRecursive:: +/user/username/projects/myproject/usage: + {} +/user/username/projects/myproject/dependency: + {} + Info 38 [16:01:13.000] event: {"seq":0,"type":"event","event":"suggestionDiag","body":{"file":"/user/username/projects/myproject/usage/usage.ts","diagnostics":[]}} +Before running immediate callbacks and checking length (1) + +PolledWatches:: +/user/username/projects/myproject/decls: + {"pollingInterval":500} +/user/username/projects/myproject/usage/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/myproject/node_modules/@types: + {"pollingInterval":500} + +FsWatches:: +/user/username/projects/myproject/usage/tsconfig.json: + {} +/user/username/projects/myproject/dependency/tsconfig.json: + {} +/user/username/projects/myproject/dependency/fns.ts: + {} +/a/lib/lib.d.ts: + {} + +FsWatchesRecursive:: +/user/username/projects/myproject/usage: + {} +/user/username/projects/myproject/dependency: + {} + +Before checking timeout queue length (1) and running + +PolledWatches:: +/user/username/projects/myproject/decls: + {"pollingInterval":500} +/user/username/projects/myproject/usage/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/myproject/node_modules/@types: + {"pollingInterval":500} + +FsWatches:: +/user/username/projects/myproject/usage/tsconfig.json: + {} +/user/username/projects/myproject/dependency/tsconfig.json: + {} +/user/username/projects/myproject/dependency/fns.ts: + {} +/a/lib/lib.d.ts: + {} + +FsWatchesRecursive:: +/user/username/projects/myproject/usage: + {} +/user/username/projects/myproject/dependency: + {} + Info 39 [16:01:14.000] event: {"seq":0,"type":"event","event":"syntaxDiag","body":{"file":"/user/username/projects/myproject/dependency/fns.ts","diagnostics":[]}} -Info 40 [16:01:15.000] event: - {"seq":0,"type":"event","event":"semanticDiag","body":{"file":"/user/username/projects/myproject/dependency/fns.ts","diagnostics":[]}} -Info 41 [16:01:16.000] event: - {"seq":0,"type":"event","event":"suggestionDiag","body":{"file":"/user/username/projects/myproject/dependency/fns.ts","diagnostics":[]}} -Info 42 [16:01:17.000] event: - {"seq":0,"type":"event","event":"requestCompleted","body":{"request_seq":1}} -Info 43 [16:01:18.000] request: - { - "command": "geterrForProject", - "arguments": { - "delay": 0, - "file": "/user/username/projects/myproject/dependency/fns.ts" - }, - "seq": 2, - "type": "request" - } +After checking timeout queue length (1) and running + +PolledWatches:: +/user/username/projects/myproject/decls: + {"pollingInterval":500} +/user/username/projects/myproject/usage/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/myproject/node_modules/@types: + {"pollingInterval":500} + +FsWatches:: +/user/username/projects/myproject/usage/tsconfig.json: + {} +/user/username/projects/myproject/dependency/tsconfig.json: + {} +/user/username/projects/myproject/dependency/fns.ts: + {} +/a/lib/lib.d.ts: + {} + +FsWatchesRecursive:: +/user/username/projects/myproject/usage: + {} +/user/username/projects/myproject/dependency: + {} + +Before running immediate callbacks and checking length (1) + +PolledWatches:: +/user/username/projects/myproject/decls: + {"pollingInterval":500} +/user/username/projects/myproject/usage/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/myproject/node_modules/@types: + {"pollingInterval":500} + +FsWatches:: +/user/username/projects/myproject/usage/tsconfig.json: + {} +/user/username/projects/myproject/dependency/tsconfig.json: + {} +/user/username/projects/myproject/dependency/fns.ts: + {} +/a/lib/lib.d.ts: + {} + +FsWatchesRecursive:: +/user/username/projects/myproject/usage: + {} +/user/username/projects/myproject/dependency: + {} + +Info 40 [16:01:15.000] event: + {"seq":0,"type":"event","event":"semanticDiag","body":{"file":"/user/username/projects/myproject/dependency/fns.ts","diagnostics":[]}} +Before running immediate callbacks and checking length (1) + +PolledWatches:: +/user/username/projects/myproject/decls: + {"pollingInterval":500} +/user/username/projects/myproject/usage/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/myproject/node_modules/@types: + {"pollingInterval":500} + +FsWatches:: +/user/username/projects/myproject/usage/tsconfig.json: + {} +/user/username/projects/myproject/dependency/tsconfig.json: + {} +/user/username/projects/myproject/dependency/fns.ts: + {} +/a/lib/lib.d.ts: + {} + +FsWatchesRecursive:: +/user/username/projects/myproject/usage: + {} +/user/username/projects/myproject/dependency: + {} + +Before running immediate callbacks and checking length (1) + +PolledWatches:: +/user/username/projects/myproject/decls: + {"pollingInterval":500} +/user/username/projects/myproject/usage/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/myproject/node_modules/@types: + {"pollingInterval":500} + +FsWatches:: +/user/username/projects/myproject/usage/tsconfig.json: + {} +/user/username/projects/myproject/dependency/tsconfig.json: + {} +/user/username/projects/myproject/dependency/fns.ts: + {} +/a/lib/lib.d.ts: + {} + +FsWatchesRecursive:: +/user/username/projects/myproject/usage: + {} +/user/username/projects/myproject/dependency: + {} + +Info 41 [16:01:16.000] event: + {"seq":0,"type":"event","event":"suggestionDiag","body":{"file":"/user/username/projects/myproject/dependency/fns.ts","diagnostics":[]}} +Info 42 [16:01:17.000] event: + {"seq":0,"type":"event","event":"requestCompleted","body":{"request_seq":1}} +Before running immediate callbacks and checking length (1) + +PolledWatches:: +/user/username/projects/myproject/decls: + {"pollingInterval":500} +/user/username/projects/myproject/usage/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/myproject/node_modules/@types: + {"pollingInterval":500} + +FsWatches:: +/user/username/projects/myproject/usage/tsconfig.json: + {} +/user/username/projects/myproject/dependency/tsconfig.json: + {} +/user/username/projects/myproject/dependency/fns.ts: + {} +/a/lib/lib.d.ts: + {} + +FsWatchesRecursive:: +/user/username/projects/myproject/usage: + {} +/user/username/projects/myproject/dependency: + {} + +Info 43 [16:01:18.000] request: + { + "command": "geterrForProject", + "arguments": { + "delay": 0, + "file": "/user/username/projects/myproject/dependency/fns.ts" + }, + "seq": 2, + "type": "request" + } +Before request + +PolledWatches:: +/user/username/projects/myproject/decls: + {"pollingInterval":500} +/user/username/projects/myproject/usage/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/myproject/node_modules/@types: + {"pollingInterval":500} + +FsWatches:: +/user/username/projects/myproject/usage/tsconfig.json: + {} +/user/username/projects/myproject/dependency/tsconfig.json: + {} +/user/username/projects/myproject/dependency/fns.ts: + {} +/a/lib/lib.d.ts: + {} + +FsWatchesRecursive:: +/user/username/projects/myproject/usage: + {} +/user/username/projects/myproject/dependency: + {} + +After request + +PolledWatches:: +/user/username/projects/myproject/decls: + {"pollingInterval":500} +/user/username/projects/myproject/usage/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/myproject/node_modules/@types: + {"pollingInterval":500} + +FsWatches:: +/user/username/projects/myproject/usage/tsconfig.json: + {} +/user/username/projects/myproject/dependency/tsconfig.json: + {} +/user/username/projects/myproject/dependency/fns.ts: + {} +/a/lib/lib.d.ts: + {} + +FsWatchesRecursive:: +/user/username/projects/myproject/usage: + {} +/user/username/projects/myproject/dependency: + {} + +Info 44 [16:01:19.000] response: + { + "responseRequired": false + } +Before checking timeout queue length (1) and running + +PolledWatches:: +/user/username/projects/myproject/decls: + {"pollingInterval":500} +/user/username/projects/myproject/usage/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/myproject/node_modules/@types: + {"pollingInterval":500} + +FsWatches:: +/user/username/projects/myproject/usage/tsconfig.json: + {} +/user/username/projects/myproject/dependency/tsconfig.json: + {} +/user/username/projects/myproject/dependency/fns.ts: + {} +/a/lib/lib.d.ts: + {} + +FsWatchesRecursive:: +/user/username/projects/myproject/usage: + {} +/user/username/projects/myproject/dependency: + {} + +Info 45 [16:01:20.000] event: + {"seq":0,"type":"event","event":"syntaxDiag","body":{"file":"/user/username/projects/myproject/dependency/fns.ts","diagnostics":[]}} +After checking timeout queue length (1) and running PolledWatches:: /user/username/projects/myproject/decls: @@ -272,6 +673,7 @@ FsWatchesRecursive:: /user/username/projects/myproject/dependency: {} +Before running immediate callbacks and checking length (1) PolledWatches:: /user/username/projects/myproject/decls: @@ -297,21 +699,248 @@ FsWatchesRecursive:: /user/username/projects/myproject/dependency: {} -Info 44 [16:01:19.000] response: - { - "responseRequired": false - } -Info 45 [16:01:20.000] event: - {"seq":0,"type":"event","event":"syntaxDiag","body":{"file":"/user/username/projects/myproject/dependency/fns.ts","diagnostics":[]}} Info 46 [16:01:21.000] event: {"seq":0,"type":"event","event":"semanticDiag","body":{"file":"/user/username/projects/myproject/dependency/fns.ts","diagnostics":[]}} +Before running immediate callbacks and checking length (1) + +PolledWatches:: +/user/username/projects/myproject/decls: + {"pollingInterval":500} +/user/username/projects/myproject/usage/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/myproject/node_modules/@types: + {"pollingInterval":500} + +FsWatches:: +/user/username/projects/myproject/usage/tsconfig.json: + {} +/user/username/projects/myproject/dependency/tsconfig.json: + {} +/user/username/projects/myproject/dependency/fns.ts: + {} +/a/lib/lib.d.ts: + {} + +FsWatchesRecursive:: +/user/username/projects/myproject/usage: + {} +/user/username/projects/myproject/dependency: + {} + +Before running immediate callbacks and checking length (1) + +PolledWatches:: +/user/username/projects/myproject/decls: + {"pollingInterval":500} +/user/username/projects/myproject/usage/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/myproject/node_modules/@types: + {"pollingInterval":500} + +FsWatches:: +/user/username/projects/myproject/usage/tsconfig.json: + {} +/user/username/projects/myproject/dependency/tsconfig.json: + {} +/user/username/projects/myproject/dependency/fns.ts: + {} +/a/lib/lib.d.ts: + {} + +FsWatchesRecursive:: +/user/username/projects/myproject/usage: + {} +/user/username/projects/myproject/dependency: + {} + Info 47 [16:01:22.000] event: {"seq":0,"type":"event","event":"suggestionDiag","body":{"file":"/user/username/projects/myproject/dependency/fns.ts","diagnostics":[]}} +Before running immediate callbacks and checking length (1) + +PolledWatches:: +/user/username/projects/myproject/decls: + {"pollingInterval":500} +/user/username/projects/myproject/usage/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/myproject/node_modules/@types: + {"pollingInterval":500} + +FsWatches:: +/user/username/projects/myproject/usage/tsconfig.json: + {} +/user/username/projects/myproject/dependency/tsconfig.json: + {} +/user/username/projects/myproject/dependency/fns.ts: + {} +/a/lib/lib.d.ts: + {} + +FsWatchesRecursive:: +/user/username/projects/myproject/usage: + {} +/user/username/projects/myproject/dependency: + {} + +Before checking timeout queue length (1) and running + +PolledWatches:: +/user/username/projects/myproject/decls: + {"pollingInterval":500} +/user/username/projects/myproject/usage/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/myproject/node_modules/@types: + {"pollingInterval":500} + +FsWatches:: +/user/username/projects/myproject/usage/tsconfig.json: + {} +/user/username/projects/myproject/dependency/tsconfig.json: + {} +/user/username/projects/myproject/dependency/fns.ts: + {} +/a/lib/lib.d.ts: + {} + +FsWatchesRecursive:: +/user/username/projects/myproject/usage: + {} +/user/username/projects/myproject/dependency: + {} + Info 48 [16:01:23.000] event: {"seq":0,"type":"event","event":"syntaxDiag","body":{"file":"/user/username/projects/myproject/usage/usage.ts","diagnostics":[]}} +After checking timeout queue length (1) and running + +PolledWatches:: +/user/username/projects/myproject/decls: + {"pollingInterval":500} +/user/username/projects/myproject/usage/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/myproject/node_modules/@types: + {"pollingInterval":500} + +FsWatches:: +/user/username/projects/myproject/usage/tsconfig.json: + {} +/user/username/projects/myproject/dependency/tsconfig.json: + {} +/user/username/projects/myproject/dependency/fns.ts: + {} +/a/lib/lib.d.ts: + {} + +FsWatchesRecursive:: +/user/username/projects/myproject/usage: + {} +/user/username/projects/myproject/dependency: + {} + +Before running immediate callbacks and checking length (1) + +PolledWatches:: +/user/username/projects/myproject/decls: + {"pollingInterval":500} +/user/username/projects/myproject/usage/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/myproject/node_modules/@types: + {"pollingInterval":500} + +FsWatches:: +/user/username/projects/myproject/usage/tsconfig.json: + {} +/user/username/projects/myproject/dependency/tsconfig.json: + {} +/user/username/projects/myproject/dependency/fns.ts: + {} +/a/lib/lib.d.ts: + {} + +FsWatchesRecursive:: +/user/username/projects/myproject/usage: + {} +/user/username/projects/myproject/dependency: + {} + Info 49 [16:01:24.000] event: {"seq":0,"type":"event","event":"semanticDiag","body":{"file":"/user/username/projects/myproject/usage/usage.ts","diagnostics":[{"start":{"line":4,"offset":5},"end":{"line":4,"offset":10},"text":"Module '\"../decls/fns\"' has no exported member 'fnErr'.","code":2305,"category":"error"}]}} +Before running immediate callbacks and checking length (1) + +PolledWatches:: +/user/username/projects/myproject/decls: + {"pollingInterval":500} +/user/username/projects/myproject/usage/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/myproject/node_modules/@types: + {"pollingInterval":500} + +FsWatches:: +/user/username/projects/myproject/usage/tsconfig.json: + {} +/user/username/projects/myproject/dependency/tsconfig.json: + {} +/user/username/projects/myproject/dependency/fns.ts: + {} +/a/lib/lib.d.ts: + {} + +FsWatchesRecursive:: +/user/username/projects/myproject/usage: + {} +/user/username/projects/myproject/dependency: + {} + +Before running immediate callbacks and checking length (1) + +PolledWatches:: +/user/username/projects/myproject/decls: + {"pollingInterval":500} +/user/username/projects/myproject/usage/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/myproject/node_modules/@types: + {"pollingInterval":500} + +FsWatches:: +/user/username/projects/myproject/usage/tsconfig.json: + {} +/user/username/projects/myproject/dependency/tsconfig.json: + {} +/user/username/projects/myproject/dependency/fns.ts: + {} +/a/lib/lib.d.ts: + {} + +FsWatchesRecursive:: +/user/username/projects/myproject/usage: + {} +/user/username/projects/myproject/dependency: + {} + Info 50 [16:01:25.000] event: {"seq":0,"type":"event","event":"suggestionDiag","body":{"file":"/user/username/projects/myproject/usage/usage.ts","diagnostics":[]}} Info 51 [16:01:26.000] event: - {"seq":0,"type":"event","event":"requestCompleted","body":{"request_seq":2}} \ No newline at end of file + {"seq":0,"type":"event","event":"requestCompleted","body":{"request_seq":2}} +Before running immediate callbacks and checking length (1) + +PolledWatches:: +/user/username/projects/myproject/decls: + {"pollingInterval":500} +/user/username/projects/myproject/usage/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/myproject/node_modules/@types: + {"pollingInterval":500} + +FsWatches:: +/user/username/projects/myproject/usage/tsconfig.json: + {} +/user/username/projects/myproject/dependency/tsconfig.json: + {} +/user/username/projects/myproject/dependency/fns.ts: + {} +/a/lib/lib.d.ts: + {} + +FsWatchesRecursive:: +/user/username/projects/myproject/usage: + {} +/user/username/projects/myproject/dependency: + {} diff --git a/tests/baselines/reference/tsserver/projectReferenceErrors/with-module-scenario-when-the-depedency-file-is-open-gerErr-with-sync-commands.js b/tests/baselines/reference/tsserver/projectReferenceErrors/with-module-scenario-when-the-depedency-file-is-open-gerErr-with-sync-commands.js index 7eb3047c8c48a..38cf0feaadfd2 100644 --- a/tests/baselines/reference/tsserver/projectReferenceErrors/with-module-scenario-when-the-depedency-file-is-open-gerErr-with-sync-commands.js +++ b/tests/baselines/reference/tsserver/projectReferenceErrors/with-module-scenario-when-the-depedency-file-is-open-gerErr-with-sync-commands.js @@ -8,6 +8,7 @@ Info 1 [16:00:30.000] request: "file": "/user/username/projects/myproject/usage/usage.ts" } } +Before request //// [/user/username/projects/myproject/dependency/fns.ts] export function fn1() { } export function fn2() { } @@ -122,6 +123,7 @@ Info 29 [16:01:00.000] ----------------------------------------------- Info 29 [16:01:01.000] Open files: Info 29 [16:01:02.000] FileName: /user/username/projects/myproject/usage/usage.ts ProjectRootPath: undefined Info 29 [16:01:03.000] Projects: /user/username/projects/myproject/usage/tsconfig.json +After request PolledWatches:: /user/username/projects/myproject/decls: @@ -160,6 +162,7 @@ Info 30 [16:01:05.000] request: "file": "/user/username/projects/myproject/dependency/fns.ts" } } +Before request PolledWatches:: /user/username/projects/myproject/decls: @@ -223,6 +226,7 @@ Info 47 [16:01:29.000] FileName: /user/username/projects/myproject/usage/usag Info 47 [16:01:30.000] Projects: /user/username/projects/myproject/usage/tsconfig.json Info 47 [16:01:31.000] FileName: /user/username/projects/myproject/dependency/fns.ts ProjectRootPath: undefined Info 47 [16:01:32.000] Projects: /user/username/projects/myproject/usage/tsconfig.json,/user/username/projects/myproject/dependency/tsconfig.json +After request PolledWatches:: /user/username/projects/myproject/decls: @@ -261,6 +265,7 @@ Info 48 [16:01:34.000] request: "seq": 1, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/decls: @@ -286,6 +291,7 @@ FsWatchesRecursive:: /user/username/projects/myproject/dependency: {} +After request PolledWatches:: /user/username/projects/myproject/decls: @@ -325,6 +331,7 @@ Info 50 [16:01:36.000] request: "seq": 2, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/decls: @@ -350,6 +357,7 @@ FsWatchesRecursive:: /user/username/projects/myproject/dependency: {} +After request PolledWatches:: /user/username/projects/myproject/decls: @@ -403,6 +411,7 @@ Info 52 [16:01:38.000] request: "seq": 3, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/decls: @@ -428,6 +437,7 @@ FsWatchesRecursive:: /user/username/projects/myproject/dependency: {} +After request PolledWatches:: /user/username/projects/myproject/decls: @@ -467,6 +477,7 @@ Info 54 [16:01:40.000] request: "seq": 4, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/decls: @@ -492,6 +503,7 @@ FsWatchesRecursive:: /user/username/projects/myproject/dependency: {} +After request PolledWatches:: /user/username/projects/myproject/decls: @@ -531,6 +543,7 @@ Info 56 [16:01:42.000] request: "seq": 5, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/decls: @@ -556,6 +569,7 @@ FsWatchesRecursive:: /user/username/projects/myproject/dependency: {} +After request PolledWatches:: /user/username/projects/myproject/decls: @@ -609,6 +623,7 @@ Info 58 [16:01:44.000] request: "seq": 6, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/decls: @@ -634,6 +649,7 @@ FsWatchesRecursive:: /user/username/projects/myproject/dependency: {} +After request PolledWatches:: /user/username/projects/myproject/decls: @@ -674,6 +690,7 @@ Info 60 [16:01:46.000] request: "seq": 7, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/decls: @@ -699,6 +716,7 @@ FsWatchesRecursive:: /user/username/projects/myproject/dependency: {} +After request PolledWatches:: /user/username/projects/myproject/decls: @@ -739,6 +757,7 @@ Info 62 [16:01:48.000] request: "seq": 8, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/decls: @@ -764,6 +783,7 @@ FsWatchesRecursive:: /user/username/projects/myproject/dependency: {} +After request PolledWatches:: /user/username/projects/myproject/decls: @@ -818,6 +838,7 @@ Info 64 [16:01:50.000] request: "seq": 9, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/decls: @@ -843,6 +864,7 @@ FsWatchesRecursive:: /user/username/projects/myproject/dependency: {} +After request PolledWatches:: /user/username/projects/myproject/decls: @@ -883,6 +905,7 @@ Info 66 [16:01:52.000] request: "seq": 10, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/decls: @@ -908,6 +931,7 @@ FsWatchesRecursive:: /user/username/projects/myproject/dependency: {} +After request PolledWatches:: /user/username/projects/myproject/decls: @@ -948,6 +972,7 @@ Info 68 [16:01:54.000] request: "seq": 11, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/decls: @@ -973,6 +998,7 @@ FsWatchesRecursive:: /user/username/projects/myproject/dependency: {} +After request PolledWatches:: /user/username/projects/myproject/decls: @@ -1013,6 +1039,7 @@ Info 70 [16:01:56.000] request: "seq": 12, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/decls: @@ -1038,6 +1065,7 @@ FsWatchesRecursive:: /user/username/projects/myproject/dependency: {} +After request PolledWatches:: /user/username/projects/myproject/decls: @@ -1078,6 +1106,7 @@ Info 72 [16:01:58.000] request: "seq": 13, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/decls: @@ -1103,6 +1132,7 @@ FsWatchesRecursive:: /user/username/projects/myproject/dependency: {} +After request PolledWatches:: /user/username/projects/myproject/decls: @@ -1143,6 +1173,7 @@ Info 74 [16:02:00.000] request: "seq": 14, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/decls: @@ -1168,6 +1199,7 @@ FsWatchesRecursive:: /user/username/projects/myproject/dependency: {} +After request PolledWatches:: /user/username/projects/myproject/decls: @@ -1222,6 +1254,7 @@ Info 76 [16:02:02.000] request: "seq": 15, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/decls: @@ -1247,6 +1280,7 @@ FsWatchesRecursive:: /user/username/projects/myproject/dependency: {} +After request PolledWatches:: /user/username/projects/myproject/decls: diff --git a/tests/baselines/reference/tsserver/projectReferenceErrors/with-module-scenario-when-the-depedency-file-is-open-getErr.js b/tests/baselines/reference/tsserver/projectReferenceErrors/with-module-scenario-when-the-depedency-file-is-open-getErr.js index 5b1c46ff27cd2..8cdfb7bfeede0 100644 --- a/tests/baselines/reference/tsserver/projectReferenceErrors/with-module-scenario-when-the-depedency-file-is-open-getErr.js +++ b/tests/baselines/reference/tsserver/projectReferenceErrors/with-module-scenario-when-the-depedency-file-is-open-getErr.js @@ -8,6 +8,7 @@ Info 1 [16:00:30.000] request: "file": "/user/username/projects/myproject/usage/usage.ts" } } +Before request //// [/user/username/projects/myproject/dependency/fns.ts] export function fn1() { } export function fn2() { } @@ -130,6 +131,7 @@ Info 33 [16:01:04.000] ----------------------------------------------- Info 33 [16:01:05.000] Open files: Info 33 [16:01:06.000] FileName: /user/username/projects/myproject/usage/usage.ts ProjectRootPath: undefined Info 33 [16:01:07.000] Projects: /user/username/projects/myproject/usage/tsconfig.json +After request PolledWatches:: /user/username/projects/myproject/decls: @@ -168,6 +170,7 @@ Info 34 [16:01:09.000] request: "file": "/user/username/projects/myproject/dependency/fns.ts" } } +Before request PolledWatches:: /user/username/projects/myproject/decls: @@ -239,6 +242,7 @@ Info 55 [16:01:37.000] FileName: /user/username/projects/myproject/usage/usag Info 55 [16:01:38.000] Projects: /user/username/projects/myproject/usage/tsconfig.json Info 55 [16:01:39.000] FileName: /user/username/projects/myproject/dependency/fns.ts ProjectRootPath: undefined Info 55 [16:01:40.000] Projects: /user/username/projects/myproject/usage/tsconfig.json,/user/username/projects/myproject/dependency/tsconfig.json +After request PolledWatches:: /user/username/projects/myproject/decls: @@ -281,6 +285,7 @@ Info 56 [16:01:42.000] request: "seq": 1, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/decls: @@ -306,6 +311,7 @@ FsWatchesRecursive:: /user/username/projects/myproject/dependency: {} +After request PolledWatches:: /user/username/projects/myproject/decls: @@ -335,17 +341,328 @@ Info 57 [16:01:43.000] response: { "responseRequired": false } +Before checking timeout queue length (1) and running + +PolledWatches:: +/user/username/projects/myproject/decls: + {"pollingInterval":500} +/user/username/projects/myproject/usage/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/myproject/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/myproject/dependency/node_modules/@types: + {"pollingInterval":500} + +FsWatches:: +/user/username/projects/myproject/usage/tsconfig.json: + {} +/user/username/projects/myproject/dependency/tsconfig.json: + {} +/a/lib/lib.d.ts: + {} + +FsWatchesRecursive:: +/user/username/projects/myproject/usage: + {} +/user/username/projects/myproject/dependency: + {} + Info 58 [16:01:44.000] event: {"seq":0,"type":"event","event":"syntaxDiag","body":{"file":"/user/username/projects/myproject/usage/usage.ts","diagnostics":[]}} +After checking timeout queue length (1) and running + +PolledWatches:: +/user/username/projects/myproject/decls: + {"pollingInterval":500} +/user/username/projects/myproject/usage/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/myproject/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/myproject/dependency/node_modules/@types: + {"pollingInterval":500} + +FsWatches:: +/user/username/projects/myproject/usage/tsconfig.json: + {} +/user/username/projects/myproject/dependency/tsconfig.json: + {} +/a/lib/lib.d.ts: + {} + +FsWatchesRecursive:: +/user/username/projects/myproject/usage: + {} +/user/username/projects/myproject/dependency: + {} + +Before running immediate callbacks and checking length (1) + +PolledWatches:: +/user/username/projects/myproject/decls: + {"pollingInterval":500} +/user/username/projects/myproject/usage/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/myproject/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/myproject/dependency/node_modules/@types: + {"pollingInterval":500} + +FsWatches:: +/user/username/projects/myproject/usage/tsconfig.json: + {} +/user/username/projects/myproject/dependency/tsconfig.json: + {} +/a/lib/lib.d.ts: + {} + +FsWatchesRecursive:: +/user/username/projects/myproject/usage: + {} +/user/username/projects/myproject/dependency: + {} + Info 59 [16:01:45.000] event: {"seq":0,"type":"event","event":"semanticDiag","body":{"file":"/user/username/projects/myproject/usage/usage.ts","diagnostics":[{"start":{"line":4,"offset":5},"end":{"line":4,"offset":10},"text":"Module '\"../decls/fns\"' has no exported member 'fnErr'.","code":2305,"category":"error"}]}} +Before running immediate callbacks and checking length (1) + +PolledWatches:: +/user/username/projects/myproject/decls: + {"pollingInterval":500} +/user/username/projects/myproject/usage/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/myproject/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/myproject/dependency/node_modules/@types: + {"pollingInterval":500} + +FsWatches:: +/user/username/projects/myproject/usage/tsconfig.json: + {} +/user/username/projects/myproject/dependency/tsconfig.json: + {} +/a/lib/lib.d.ts: + {} + +FsWatchesRecursive:: +/user/username/projects/myproject/usage: + {} +/user/username/projects/myproject/dependency: + {} + +Before running immediate callbacks and checking length (1) + +PolledWatches:: +/user/username/projects/myproject/decls: + {"pollingInterval":500} +/user/username/projects/myproject/usage/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/myproject/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/myproject/dependency/node_modules/@types: + {"pollingInterval":500} + +FsWatches:: +/user/username/projects/myproject/usage/tsconfig.json: + {} +/user/username/projects/myproject/dependency/tsconfig.json: + {} +/a/lib/lib.d.ts: + {} + +FsWatchesRecursive:: +/user/username/projects/myproject/usage: + {} +/user/username/projects/myproject/dependency: + {} + Info 60 [16:01:46.000] event: {"seq":0,"type":"event","event":"suggestionDiag","body":{"file":"/user/username/projects/myproject/usage/usage.ts","diagnostics":[]}} +Before running immediate callbacks and checking length (1) + +PolledWatches:: +/user/username/projects/myproject/decls: + {"pollingInterval":500} +/user/username/projects/myproject/usage/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/myproject/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/myproject/dependency/node_modules/@types: + {"pollingInterval":500} + +FsWatches:: +/user/username/projects/myproject/usage/tsconfig.json: + {} +/user/username/projects/myproject/dependency/tsconfig.json: + {} +/a/lib/lib.d.ts: + {} + +FsWatchesRecursive:: +/user/username/projects/myproject/usage: + {} +/user/username/projects/myproject/dependency: + {} + +Before checking timeout queue length (1) and running + +PolledWatches:: +/user/username/projects/myproject/decls: + {"pollingInterval":500} +/user/username/projects/myproject/usage/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/myproject/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/myproject/dependency/node_modules/@types: + {"pollingInterval":500} + +FsWatches:: +/user/username/projects/myproject/usage/tsconfig.json: + {} +/user/username/projects/myproject/dependency/tsconfig.json: + {} +/a/lib/lib.d.ts: + {} + +FsWatchesRecursive:: +/user/username/projects/myproject/usage: + {} +/user/username/projects/myproject/dependency: + {} + Info 61 [16:01:47.000] event: {"seq":0,"type":"event","event":"syntaxDiag","body":{"file":"/user/username/projects/myproject/dependency/fns.ts","diagnostics":[]}} +After checking timeout queue length (1) and running + +PolledWatches:: +/user/username/projects/myproject/decls: + {"pollingInterval":500} +/user/username/projects/myproject/usage/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/myproject/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/myproject/dependency/node_modules/@types: + {"pollingInterval":500} + +FsWatches:: +/user/username/projects/myproject/usage/tsconfig.json: + {} +/user/username/projects/myproject/dependency/tsconfig.json: + {} +/a/lib/lib.d.ts: + {} + +FsWatchesRecursive:: +/user/username/projects/myproject/usage: + {} +/user/username/projects/myproject/dependency: + {} + +Before running immediate callbacks and checking length (1) + +PolledWatches:: +/user/username/projects/myproject/decls: + {"pollingInterval":500} +/user/username/projects/myproject/usage/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/myproject/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/myproject/dependency/node_modules/@types: + {"pollingInterval":500} + +FsWatches:: +/user/username/projects/myproject/usage/tsconfig.json: + {} +/user/username/projects/myproject/dependency/tsconfig.json: + {} +/a/lib/lib.d.ts: + {} + +FsWatchesRecursive:: +/user/username/projects/myproject/usage: + {} +/user/username/projects/myproject/dependency: + {} + Info 62 [16:01:48.000] event: {"seq":0,"type":"event","event":"semanticDiag","body":{"file":"/user/username/projects/myproject/dependency/fns.ts","diagnostics":[{"start":{"line":6,"offset":12},"end":{"line":6,"offset":13},"text":"Type 'number' is not assignable to type 'string'.","code":2322,"category":"error"}]}} +Before running immediate callbacks and checking length (1) + +PolledWatches:: +/user/username/projects/myproject/decls: + {"pollingInterval":500} +/user/username/projects/myproject/usage/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/myproject/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/myproject/dependency/node_modules/@types: + {"pollingInterval":500} + +FsWatches:: +/user/username/projects/myproject/usage/tsconfig.json: + {} +/user/username/projects/myproject/dependency/tsconfig.json: + {} +/a/lib/lib.d.ts: + {} + +FsWatchesRecursive:: +/user/username/projects/myproject/usage: + {} +/user/username/projects/myproject/dependency: + {} + +Before running immediate callbacks and checking length (1) + +PolledWatches:: +/user/username/projects/myproject/decls: + {"pollingInterval":500} +/user/username/projects/myproject/usage/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/myproject/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/myproject/dependency/node_modules/@types: + {"pollingInterval":500} + +FsWatches:: +/user/username/projects/myproject/usage/tsconfig.json: + {} +/user/username/projects/myproject/dependency/tsconfig.json: + {} +/a/lib/lib.d.ts: + {} + +FsWatchesRecursive:: +/user/username/projects/myproject/usage: + {} +/user/username/projects/myproject/dependency: + {} + Info 63 [16:01:49.000] event: {"seq":0,"type":"event","event":"suggestionDiag","body":{"file":"/user/username/projects/myproject/dependency/fns.ts","diagnostics":[]}} Info 64 [16:01:50.000] event: - {"seq":0,"type":"event","event":"requestCompleted","body":{"request_seq":1}} \ No newline at end of file + {"seq":0,"type":"event","event":"requestCompleted","body":{"request_seq":1}} +Before running immediate callbacks and checking length (1) + +PolledWatches:: +/user/username/projects/myproject/decls: + {"pollingInterval":500} +/user/username/projects/myproject/usage/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/myproject/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/myproject/dependency/node_modules/@types: + {"pollingInterval":500} + +FsWatches:: +/user/username/projects/myproject/usage/tsconfig.json: + {} +/user/username/projects/myproject/dependency/tsconfig.json: + {} +/a/lib/lib.d.ts: + {} + +FsWatchesRecursive:: +/user/username/projects/myproject/usage: + {} +/user/username/projects/myproject/dependency: + {} diff --git a/tests/baselines/reference/tsserver/projectReferenceErrors/with-module-scenario-when-the-depedency-file-is-open-geterrForProject.js b/tests/baselines/reference/tsserver/projectReferenceErrors/with-module-scenario-when-the-depedency-file-is-open-geterrForProject.js index 7810d703aaae4..5f3c2afefc11a 100644 --- a/tests/baselines/reference/tsserver/projectReferenceErrors/with-module-scenario-when-the-depedency-file-is-open-geterrForProject.js +++ b/tests/baselines/reference/tsserver/projectReferenceErrors/with-module-scenario-when-the-depedency-file-is-open-geterrForProject.js @@ -8,6 +8,7 @@ Info 1 [16:00:30.000] request: "file": "/user/username/projects/myproject/usage/usage.ts" } } +Before request //// [/user/username/projects/myproject/dependency/fns.ts] export function fn1() { } export function fn2() { } @@ -130,6 +131,7 @@ Info 33 [16:01:04.000] ----------------------------------------------- Info 33 [16:01:05.000] Open files: Info 33 [16:01:06.000] FileName: /user/username/projects/myproject/usage/usage.ts ProjectRootPath: undefined Info 33 [16:01:07.000] Projects: /user/username/projects/myproject/usage/tsconfig.json +After request PolledWatches:: /user/username/projects/myproject/decls: @@ -168,6 +170,7 @@ Info 34 [16:01:09.000] request: "file": "/user/username/projects/myproject/dependency/fns.ts" } } +Before request PolledWatches:: /user/username/projects/myproject/decls: @@ -239,6 +242,7 @@ Info 55 [16:01:37.000] FileName: /user/username/projects/myproject/usage/usag Info 55 [16:01:38.000] Projects: /user/username/projects/myproject/usage/tsconfig.json Info 55 [16:01:39.000] FileName: /user/username/projects/myproject/dependency/fns.ts ProjectRootPath: undefined Info 55 [16:01:40.000] Projects: /user/username/projects/myproject/usage/tsconfig.json,/user/username/projects/myproject/dependency/tsconfig.json +After request PolledWatches:: /user/username/projects/myproject/decls: @@ -278,6 +282,7 @@ Info 56 [16:01:42.000] request: "seq": 1, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/decls: @@ -303,6 +308,7 @@ FsWatchesRecursive:: /user/username/projects/myproject/dependency: {} +After request PolledWatches:: /user/username/projects/myproject/decls: @@ -332,20 +338,332 @@ Info 57 [16:01:43.000] response: { "responseRequired": false } +Before checking timeout queue length (1) and running + +PolledWatches:: +/user/username/projects/myproject/decls: + {"pollingInterval":500} +/user/username/projects/myproject/usage/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/myproject/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/myproject/dependency/node_modules/@types: + {"pollingInterval":500} + +FsWatches:: +/user/username/projects/myproject/usage/tsconfig.json: + {} +/user/username/projects/myproject/dependency/tsconfig.json: + {} +/a/lib/lib.d.ts: + {} + +FsWatchesRecursive:: +/user/username/projects/myproject/usage: + {} +/user/username/projects/myproject/dependency: + {} + Info 58 [16:01:44.000] event: {"seq":0,"type":"event","event":"syntaxDiag","body":{"file":"/user/username/projects/myproject/usage/usage.ts","diagnostics":[]}} +After checking timeout queue length (1) and running + +PolledWatches:: +/user/username/projects/myproject/decls: + {"pollingInterval":500} +/user/username/projects/myproject/usage/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/myproject/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/myproject/dependency/node_modules/@types: + {"pollingInterval":500} + +FsWatches:: +/user/username/projects/myproject/usage/tsconfig.json: + {} +/user/username/projects/myproject/dependency/tsconfig.json: + {} +/a/lib/lib.d.ts: + {} + +FsWatchesRecursive:: +/user/username/projects/myproject/usage: + {} +/user/username/projects/myproject/dependency: + {} + +Before running immediate callbacks and checking length (1) + +PolledWatches:: +/user/username/projects/myproject/decls: + {"pollingInterval":500} +/user/username/projects/myproject/usage/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/myproject/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/myproject/dependency/node_modules/@types: + {"pollingInterval":500} + +FsWatches:: +/user/username/projects/myproject/usage/tsconfig.json: + {} +/user/username/projects/myproject/dependency/tsconfig.json: + {} +/a/lib/lib.d.ts: + {} + +FsWatchesRecursive:: +/user/username/projects/myproject/usage: + {} +/user/username/projects/myproject/dependency: + {} + Info 59 [16:01:45.000] event: {"seq":0,"type":"event","event":"semanticDiag","body":{"file":"/user/username/projects/myproject/usage/usage.ts","diagnostics":[{"start":{"line":4,"offset":5},"end":{"line":4,"offset":10},"text":"Module '\"../decls/fns\"' has no exported member 'fnErr'.","code":2305,"category":"error"}]}} +Before running immediate callbacks and checking length (1) + +PolledWatches:: +/user/username/projects/myproject/decls: + {"pollingInterval":500} +/user/username/projects/myproject/usage/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/myproject/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/myproject/dependency/node_modules/@types: + {"pollingInterval":500} + +FsWatches:: +/user/username/projects/myproject/usage/tsconfig.json: + {} +/user/username/projects/myproject/dependency/tsconfig.json: + {} +/a/lib/lib.d.ts: + {} + +FsWatchesRecursive:: +/user/username/projects/myproject/usage: + {} +/user/username/projects/myproject/dependency: + {} + +Before running immediate callbacks and checking length (1) + +PolledWatches:: +/user/username/projects/myproject/decls: + {"pollingInterval":500} +/user/username/projects/myproject/usage/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/myproject/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/myproject/dependency/node_modules/@types: + {"pollingInterval":500} + +FsWatches:: +/user/username/projects/myproject/usage/tsconfig.json: + {} +/user/username/projects/myproject/dependency/tsconfig.json: + {} +/a/lib/lib.d.ts: + {} + +FsWatchesRecursive:: +/user/username/projects/myproject/usage: + {} +/user/username/projects/myproject/dependency: + {} + Info 60 [16:01:46.000] event: {"seq":0,"type":"event","event":"suggestionDiag","body":{"file":"/user/username/projects/myproject/usage/usage.ts","diagnostics":[]}} +Before running immediate callbacks and checking length (1) + +PolledWatches:: +/user/username/projects/myproject/decls: + {"pollingInterval":500} +/user/username/projects/myproject/usage/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/myproject/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/myproject/dependency/node_modules/@types: + {"pollingInterval":500} + +FsWatches:: +/user/username/projects/myproject/usage/tsconfig.json: + {} +/user/username/projects/myproject/dependency/tsconfig.json: + {} +/a/lib/lib.d.ts: + {} + +FsWatchesRecursive:: +/user/username/projects/myproject/usage: + {} +/user/username/projects/myproject/dependency: + {} + +Before checking timeout queue length (1) and running + +PolledWatches:: +/user/username/projects/myproject/decls: + {"pollingInterval":500} +/user/username/projects/myproject/usage/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/myproject/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/myproject/dependency/node_modules/@types: + {"pollingInterval":500} + +FsWatches:: +/user/username/projects/myproject/usage/tsconfig.json: + {} +/user/username/projects/myproject/dependency/tsconfig.json: + {} +/a/lib/lib.d.ts: + {} + +FsWatchesRecursive:: +/user/username/projects/myproject/usage: + {} +/user/username/projects/myproject/dependency: + {} + Info 61 [16:01:47.000] event: {"seq":0,"type":"event","event":"syntaxDiag","body":{"file":"/user/username/projects/myproject/dependency/fns.ts","diagnostics":[]}} +After checking timeout queue length (1) and running + +PolledWatches:: +/user/username/projects/myproject/decls: + {"pollingInterval":500} +/user/username/projects/myproject/usage/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/myproject/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/myproject/dependency/node_modules/@types: + {"pollingInterval":500} + +FsWatches:: +/user/username/projects/myproject/usage/tsconfig.json: + {} +/user/username/projects/myproject/dependency/tsconfig.json: + {} +/a/lib/lib.d.ts: + {} + +FsWatchesRecursive:: +/user/username/projects/myproject/usage: + {} +/user/username/projects/myproject/dependency: + {} + +Before running immediate callbacks and checking length (1) + +PolledWatches:: +/user/username/projects/myproject/decls: + {"pollingInterval":500} +/user/username/projects/myproject/usage/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/myproject/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/myproject/dependency/node_modules/@types: + {"pollingInterval":500} + +FsWatches:: +/user/username/projects/myproject/usage/tsconfig.json: + {} +/user/username/projects/myproject/dependency/tsconfig.json: + {} +/a/lib/lib.d.ts: + {} + +FsWatchesRecursive:: +/user/username/projects/myproject/usage: + {} +/user/username/projects/myproject/dependency: + {} + Info 62 [16:01:48.000] event: {"seq":0,"type":"event","event":"semanticDiag","body":{"file":"/user/username/projects/myproject/dependency/fns.ts","diagnostics":[]}} +Before running immediate callbacks and checking length (1) + +PolledWatches:: +/user/username/projects/myproject/decls: + {"pollingInterval":500} +/user/username/projects/myproject/usage/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/myproject/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/myproject/dependency/node_modules/@types: + {"pollingInterval":500} + +FsWatches:: +/user/username/projects/myproject/usage/tsconfig.json: + {} +/user/username/projects/myproject/dependency/tsconfig.json: + {} +/a/lib/lib.d.ts: + {} + +FsWatchesRecursive:: +/user/username/projects/myproject/usage: + {} +/user/username/projects/myproject/dependency: + {} + +Before running immediate callbacks and checking length (1) + +PolledWatches:: +/user/username/projects/myproject/decls: + {"pollingInterval":500} +/user/username/projects/myproject/usage/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/myproject/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/myproject/dependency/node_modules/@types: + {"pollingInterval":500} + +FsWatches:: +/user/username/projects/myproject/usage/tsconfig.json: + {} +/user/username/projects/myproject/dependency/tsconfig.json: + {} +/a/lib/lib.d.ts: + {} + +FsWatchesRecursive:: +/user/username/projects/myproject/usage: + {} +/user/username/projects/myproject/dependency: + {} + Info 63 [16:01:49.000] event: {"seq":0,"type":"event","event":"suggestionDiag","body":{"file":"/user/username/projects/myproject/dependency/fns.ts","diagnostics":[]}} Info 64 [16:01:50.000] event: {"seq":0,"type":"event","event":"requestCompleted","body":{"request_seq":1}} +Before running immediate callbacks and checking length (1) + +PolledWatches:: +/user/username/projects/myproject/decls: + {"pollingInterval":500} +/user/username/projects/myproject/usage/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/myproject/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/myproject/dependency/node_modules/@types: + {"pollingInterval":500} + +FsWatches:: +/user/username/projects/myproject/usage/tsconfig.json: + {} +/user/username/projects/myproject/dependency/tsconfig.json: + {} +/a/lib/lib.d.ts: + {} + +FsWatchesRecursive:: +/user/username/projects/myproject/usage: + {} +/user/username/projects/myproject/dependency: + {} + Info 65 [16:01:51.000] request: { "command": "geterrForProject", @@ -356,6 +674,7 @@ Info 65 [16:01:51.000] request: "seq": 2, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/decls: @@ -381,6 +700,7 @@ FsWatchesRecursive:: /user/username/projects/myproject/dependency: {} +After request PolledWatches:: /user/username/projects/myproject/decls: @@ -410,11 +730,166 @@ Info 66 [16:01:52.000] response: { "responseRequired": false } +Before checking timeout queue length (1) and running + +PolledWatches:: +/user/username/projects/myproject/decls: + {"pollingInterval":500} +/user/username/projects/myproject/usage/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/myproject/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/myproject/dependency/node_modules/@types: + {"pollingInterval":500} + +FsWatches:: +/user/username/projects/myproject/usage/tsconfig.json: + {} +/user/username/projects/myproject/dependency/tsconfig.json: + {} +/a/lib/lib.d.ts: + {} + +FsWatchesRecursive:: +/user/username/projects/myproject/usage: + {} +/user/username/projects/myproject/dependency: + {} + Info 67 [16:01:53.000] event: {"seq":0,"type":"event","event":"syntaxDiag","body":{"file":"/user/username/projects/myproject/dependency/fns.ts","diagnostics":[]}} +After checking timeout queue length (1) and running + +PolledWatches:: +/user/username/projects/myproject/decls: + {"pollingInterval":500} +/user/username/projects/myproject/usage/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/myproject/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/myproject/dependency/node_modules/@types: + {"pollingInterval":500} + +FsWatches:: +/user/username/projects/myproject/usage/tsconfig.json: + {} +/user/username/projects/myproject/dependency/tsconfig.json: + {} +/a/lib/lib.d.ts: + {} + +FsWatchesRecursive:: +/user/username/projects/myproject/usage: + {} +/user/username/projects/myproject/dependency: + {} + +Before running immediate callbacks and checking length (1) + +PolledWatches:: +/user/username/projects/myproject/decls: + {"pollingInterval":500} +/user/username/projects/myproject/usage/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/myproject/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/myproject/dependency/node_modules/@types: + {"pollingInterval":500} + +FsWatches:: +/user/username/projects/myproject/usage/tsconfig.json: + {} +/user/username/projects/myproject/dependency/tsconfig.json: + {} +/a/lib/lib.d.ts: + {} + +FsWatchesRecursive:: +/user/username/projects/myproject/usage: + {} +/user/username/projects/myproject/dependency: + {} + Info 68 [16:01:54.000] event: {"seq":0,"type":"event","event":"semanticDiag","body":{"file":"/user/username/projects/myproject/dependency/fns.ts","diagnostics":[{"start":{"line":6,"offset":12},"end":{"line":6,"offset":13},"text":"Type 'number' is not assignable to type 'string'.","code":2322,"category":"error"}]}} +Before running immediate callbacks and checking length (1) + +PolledWatches:: +/user/username/projects/myproject/decls: + {"pollingInterval":500} +/user/username/projects/myproject/usage/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/myproject/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/myproject/dependency/node_modules/@types: + {"pollingInterval":500} + +FsWatches:: +/user/username/projects/myproject/usage/tsconfig.json: + {} +/user/username/projects/myproject/dependency/tsconfig.json: + {} +/a/lib/lib.d.ts: + {} + +FsWatchesRecursive:: +/user/username/projects/myproject/usage: + {} +/user/username/projects/myproject/dependency: + {} + +Before running immediate callbacks and checking length (1) + +PolledWatches:: +/user/username/projects/myproject/decls: + {"pollingInterval":500} +/user/username/projects/myproject/usage/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/myproject/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/myproject/dependency/node_modules/@types: + {"pollingInterval":500} + +FsWatches:: +/user/username/projects/myproject/usage/tsconfig.json: + {} +/user/username/projects/myproject/dependency/tsconfig.json: + {} +/a/lib/lib.d.ts: + {} + +FsWatchesRecursive:: +/user/username/projects/myproject/usage: + {} +/user/username/projects/myproject/dependency: + {} + Info 69 [16:01:55.000] event: {"seq":0,"type":"event","event":"suggestionDiag","body":{"file":"/user/username/projects/myproject/dependency/fns.ts","diagnostics":[]}} Info 70 [16:01:56.000] event: - {"seq":0,"type":"event","event":"requestCompleted","body":{"request_seq":2}} \ No newline at end of file + {"seq":0,"type":"event","event":"requestCompleted","body":{"request_seq":2}} +Before running immediate callbacks and checking length (1) + +PolledWatches:: +/user/username/projects/myproject/decls: + {"pollingInterval":500} +/user/username/projects/myproject/usage/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/myproject/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/myproject/dependency/node_modules/@types: + {"pollingInterval":500} + +FsWatches:: +/user/username/projects/myproject/usage/tsconfig.json: + {} +/user/username/projects/myproject/dependency/tsconfig.json: + {} +/a/lib/lib.d.ts: + {} + +FsWatchesRecursive:: +/user/username/projects/myproject/usage: + {} +/user/username/projects/myproject/dependency: + {} diff --git a/tests/baselines/reference/tsserver/projectReferenceErrors/with-non-module-when-dependency-project-is-not-open-gerErr-with-sync-commands.js b/tests/baselines/reference/tsserver/projectReferenceErrors/with-non-module-when-dependency-project-is-not-open-gerErr-with-sync-commands.js index 2b01a74a10c28..1e6ea99fc8bc0 100644 --- a/tests/baselines/reference/tsserver/projectReferenceErrors/with-non-module-when-dependency-project-is-not-open-gerErr-with-sync-commands.js +++ b/tests/baselines/reference/tsserver/projectReferenceErrors/with-non-module-when-dependency-project-is-not-open-gerErr-with-sync-commands.js @@ -8,6 +8,7 @@ Info 1 [16:00:30.000] request: "file": "/user/username/projects/myproject/usage/usage.ts" } } +Before request //// [/user/username/projects/myproject/dependency/fns.ts] function fn1() { } function fn2() { } @@ -116,6 +117,7 @@ Info 27 [16:00:58.000] ----------------------------------------------- Info 27 [16:00:59.000] Open files: Info 27 [16:01:00.000] FileName: /user/username/projects/myproject/usage/usage.ts ProjectRootPath: undefined Info 27 [16:01:01.000] Projects: /user/username/projects/myproject/usage/tsconfig.json +After request PolledWatches:: /user/username/projects/myproject/usage/node_modules/@types: @@ -152,6 +154,7 @@ Info 28 [16:01:03.000] request: "seq": 1, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/usage/node_modules/@types: @@ -175,6 +178,7 @@ FsWatchesRecursive:: /user/username/projects/myproject/dependency: {} +After request PolledWatches:: /user/username/projects/myproject/usage/node_modules/@types: @@ -212,6 +216,7 @@ Info 30 [16:01:05.000] request: "seq": 2, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/usage/node_modules/@types: @@ -235,6 +240,7 @@ FsWatchesRecursive:: /user/username/projects/myproject/dependency: {} +After request PolledWatches:: /user/username/projects/myproject/usage/node_modules/@types: @@ -286,6 +292,7 @@ Info 32 [16:01:07.000] request: "seq": 3, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/usage/node_modules/@types: @@ -309,6 +316,7 @@ FsWatchesRecursive:: /user/username/projects/myproject/dependency: {} +After request PolledWatches:: /user/username/projects/myproject/usage/node_modules/@types: @@ -346,6 +354,7 @@ Info 34 [16:01:09.000] request: "seq": 4, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/usage/node_modules/@types: @@ -369,6 +378,7 @@ FsWatchesRecursive:: /user/username/projects/myproject/dependency: {} +After request PolledWatches:: /user/username/projects/myproject/usage/node_modules/@types: @@ -406,6 +416,7 @@ Info 36 [16:01:11.000] request: "seq": 5, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/usage/node_modules/@types: @@ -429,6 +440,7 @@ FsWatchesRecursive:: /user/username/projects/myproject/dependency: {} +After request PolledWatches:: /user/username/projects/myproject/usage/node_modules/@types: @@ -466,6 +478,7 @@ Info 38 [16:01:13.000] request: "seq": 6, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/usage/node_modules/@types: @@ -489,6 +502,7 @@ FsWatchesRecursive:: /user/username/projects/myproject/dependency: {} +After request PolledWatches:: /user/username/projects/myproject/usage/node_modules/@types: @@ -527,6 +541,7 @@ Info 40 [16:01:15.000] request: "seq": 7, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/usage/node_modules/@types: @@ -550,6 +565,7 @@ FsWatchesRecursive:: /user/username/projects/myproject/dependency: {} +After request PolledWatches:: /user/username/projects/myproject/usage/node_modules/@types: @@ -588,6 +604,7 @@ Info 42 [16:01:17.000] request: "seq": 8, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/usage/node_modules/@types: @@ -611,6 +628,7 @@ FsWatchesRecursive:: /user/username/projects/myproject/dependency: {} +After request PolledWatches:: /user/username/projects/myproject/usage/node_modules/@types: @@ -663,6 +681,7 @@ Info 44 [16:01:19.000] request: "seq": 9, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/usage/node_modules/@types: @@ -686,6 +705,7 @@ FsWatchesRecursive:: /user/username/projects/myproject/dependency: {} +After request PolledWatches:: /user/username/projects/myproject/usage/node_modules/@types: @@ -724,6 +744,7 @@ Info 46 [16:01:21.000] request: "seq": 10, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/usage/node_modules/@types: @@ -747,6 +768,7 @@ FsWatchesRecursive:: /user/username/projects/myproject/dependency: {} +After request PolledWatches:: /user/username/projects/myproject/usage/node_modules/@types: @@ -785,6 +807,7 @@ Info 48 [16:01:23.000] request: "seq": 11, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/usage/node_modules/@types: @@ -808,6 +831,7 @@ FsWatchesRecursive:: /user/username/projects/myproject/dependency: {} +After request PolledWatches:: /user/username/projects/myproject/usage/node_modules/@types: @@ -846,6 +870,7 @@ Info 50 [16:01:25.000] request: "seq": 12, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/usage/node_modules/@types: @@ -869,6 +894,7 @@ FsWatchesRecursive:: /user/username/projects/myproject/dependency: {} +After request PolledWatches:: /user/username/projects/myproject/usage/node_modules/@types: diff --git a/tests/baselines/reference/tsserver/projectReferenceErrors/with-non-module-when-dependency-project-is-not-open-getErr.js b/tests/baselines/reference/tsserver/projectReferenceErrors/with-non-module-when-dependency-project-is-not-open-getErr.js index 67dcc4d095ce8..57bf719692551 100644 --- a/tests/baselines/reference/tsserver/projectReferenceErrors/with-non-module-when-dependency-project-is-not-open-getErr.js +++ b/tests/baselines/reference/tsserver/projectReferenceErrors/with-non-module-when-dependency-project-is-not-open-getErr.js @@ -8,6 +8,7 @@ Info 1 [16:00:30.000] request: "file": "/user/username/projects/myproject/usage/usage.ts" } } +Before request //// [/user/username/projects/myproject/dependency/fns.ts] function fn1() { } function fn2() { } @@ -124,6 +125,7 @@ Info 31 [16:01:02.000] ----------------------------------------------- Info 31 [16:01:03.000] Open files: Info 31 [16:01:04.000] FileName: /user/username/projects/myproject/usage/usage.ts ProjectRootPath: undefined Info 31 [16:01:05.000] Projects: /user/username/projects/myproject/usage/tsconfig.json +After request PolledWatches:: /user/username/projects/myproject/usage/node_modules/@types: @@ -163,6 +165,7 @@ Info 32 [16:01:07.000] request: "seq": 1, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/usage/node_modules/@types: @@ -186,6 +189,7 @@ FsWatchesRecursive:: /user/username/projects/myproject/dependency: {} +After request PolledWatches:: /user/username/projects/myproject/usage/node_modules/@types: @@ -213,11 +217,154 @@ Info 33 [16:01:08.000] response: { "responseRequired": false } +Before checking timeout queue length (1) and running + +PolledWatches:: +/user/username/projects/myproject/usage/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/myproject/node_modules/@types: + {"pollingInterval":500} + +FsWatches:: +/user/username/projects/myproject/usage/tsconfig.json: + {} +/user/username/projects/myproject/dependency/tsconfig.json: + {} +/user/username/projects/myproject/dependency/fns.ts: + {} +/a/lib/lib.d.ts: + {} + +FsWatchesRecursive:: +/user/username/projects/myproject/usage: + {} +/user/username/projects/myproject/dependency: + {} + Info 34 [16:01:09.000] event: {"seq":0,"type":"event","event":"syntaxDiag","body":{"file":"/user/username/projects/myproject/usage/usage.ts","diagnostics":[]}} +After checking timeout queue length (1) and running + +PolledWatches:: +/user/username/projects/myproject/usage/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/myproject/node_modules/@types: + {"pollingInterval":500} + +FsWatches:: +/user/username/projects/myproject/usage/tsconfig.json: + {} +/user/username/projects/myproject/dependency/tsconfig.json: + {} +/user/username/projects/myproject/dependency/fns.ts: + {} +/a/lib/lib.d.ts: + {} + +FsWatchesRecursive:: +/user/username/projects/myproject/usage: + {} +/user/username/projects/myproject/dependency: + {} + +Before running immediate callbacks and checking length (1) + +PolledWatches:: +/user/username/projects/myproject/usage/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/myproject/node_modules/@types: + {"pollingInterval":500} + +FsWatches:: +/user/username/projects/myproject/usage/tsconfig.json: + {} +/user/username/projects/myproject/dependency/tsconfig.json: + {} +/user/username/projects/myproject/dependency/fns.ts: + {} +/a/lib/lib.d.ts: + {} + +FsWatchesRecursive:: +/user/username/projects/myproject/usage: + {} +/user/username/projects/myproject/dependency: + {} + Info 35 [16:01:10.000] event: {"seq":0,"type":"event","event":"semanticDiag","body":{"file":"/user/username/projects/myproject/usage/usage.ts","diagnostics":[{"start":{"line":3,"offset":1},"end":{"line":3,"offset":6},"text":"Cannot find name 'fnErr'.","code":2304,"category":"error"}]}} +Before running immediate callbacks and checking length (1) + +PolledWatches:: +/user/username/projects/myproject/usage/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/myproject/node_modules/@types: + {"pollingInterval":500} + +FsWatches:: +/user/username/projects/myproject/usage/tsconfig.json: + {} +/user/username/projects/myproject/dependency/tsconfig.json: + {} +/user/username/projects/myproject/dependency/fns.ts: + {} +/a/lib/lib.d.ts: + {} + +FsWatchesRecursive:: +/user/username/projects/myproject/usage: + {} +/user/username/projects/myproject/dependency: + {} + +Before running immediate callbacks and checking length (1) + +PolledWatches:: +/user/username/projects/myproject/usage/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/myproject/node_modules/@types: + {"pollingInterval":500} + +FsWatches:: +/user/username/projects/myproject/usage/tsconfig.json: + {} +/user/username/projects/myproject/dependency/tsconfig.json: + {} +/user/username/projects/myproject/dependency/fns.ts: + {} +/a/lib/lib.d.ts: + {} + +FsWatchesRecursive:: +/user/username/projects/myproject/usage: + {} +/user/username/projects/myproject/dependency: + {} + Info 36 [16:01:11.000] event: {"seq":0,"type":"event","event":"suggestionDiag","body":{"file":"/user/username/projects/myproject/usage/usage.ts","diagnostics":[]}} Info 37 [16:01:12.000] event: - {"seq":0,"type":"event","event":"requestCompleted","body":{"request_seq":1}} \ No newline at end of file + {"seq":0,"type":"event","event":"requestCompleted","body":{"request_seq":1}} +Before running immediate callbacks and checking length (1) + +PolledWatches:: +/user/username/projects/myproject/usage/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/myproject/node_modules/@types: + {"pollingInterval":500} + +FsWatches:: +/user/username/projects/myproject/usage/tsconfig.json: + {} +/user/username/projects/myproject/dependency/tsconfig.json: + {} +/user/username/projects/myproject/dependency/fns.ts: + {} +/a/lib/lib.d.ts: + {} + +FsWatchesRecursive:: +/user/username/projects/myproject/usage: + {} +/user/username/projects/myproject/dependency: + {} diff --git a/tests/baselines/reference/tsserver/projectReferenceErrors/with-non-module-when-dependency-project-is-not-open-geterrForProject.js b/tests/baselines/reference/tsserver/projectReferenceErrors/with-non-module-when-dependency-project-is-not-open-geterrForProject.js index 4c233fb64fa7d..ef77cd59aa050 100644 --- a/tests/baselines/reference/tsserver/projectReferenceErrors/with-non-module-when-dependency-project-is-not-open-geterrForProject.js +++ b/tests/baselines/reference/tsserver/projectReferenceErrors/with-non-module-when-dependency-project-is-not-open-geterrForProject.js @@ -8,6 +8,7 @@ Info 1 [16:00:30.000] request: "file": "/user/username/projects/myproject/usage/usage.ts" } } +Before request //// [/user/username/projects/myproject/dependency/fns.ts] function fn1() { } function fn2() { } @@ -124,6 +125,7 @@ Info 31 [16:01:02.000] ----------------------------------------------- Info 31 [16:01:03.000] Open files: Info 31 [16:01:04.000] FileName: /user/username/projects/myproject/usage/usage.ts ProjectRootPath: undefined Info 31 [16:01:05.000] Projects: /user/username/projects/myproject/usage/tsconfig.json +After request PolledWatches:: /user/username/projects/myproject/usage/node_modules/@types: @@ -161,6 +163,7 @@ Info 32 [16:01:07.000] request: "seq": 1, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/usage/node_modules/@types: @@ -184,6 +187,7 @@ FsWatchesRecursive:: /user/username/projects/myproject/dependency: {} +After request PolledWatches:: /user/username/projects/myproject/usage/node_modules/@types: @@ -211,30 +215,371 @@ Info 33 [16:01:08.000] response: { "responseRequired": false } +Before checking timeout queue length (1) and running + +PolledWatches:: +/user/username/projects/myproject/usage/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/myproject/node_modules/@types: + {"pollingInterval":500} + +FsWatches:: +/user/username/projects/myproject/usage/tsconfig.json: + {} +/user/username/projects/myproject/dependency/tsconfig.json: + {} +/user/username/projects/myproject/dependency/fns.ts: + {} +/a/lib/lib.d.ts: + {} + +FsWatchesRecursive:: +/user/username/projects/myproject/usage: + {} +/user/username/projects/myproject/dependency: + {} + Info 34 [16:01:09.000] event: {"seq":0,"type":"event","event":"syntaxDiag","body":{"file":"/user/username/projects/myproject/usage/usage.ts","diagnostics":[]}} +After checking timeout queue length (1) and running + +PolledWatches:: +/user/username/projects/myproject/usage/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/myproject/node_modules/@types: + {"pollingInterval":500} + +FsWatches:: +/user/username/projects/myproject/usage/tsconfig.json: + {} +/user/username/projects/myproject/dependency/tsconfig.json: + {} +/user/username/projects/myproject/dependency/fns.ts: + {} +/a/lib/lib.d.ts: + {} + +FsWatchesRecursive:: +/user/username/projects/myproject/usage: + {} +/user/username/projects/myproject/dependency: + {} + +Before running immediate callbacks and checking length (1) + +PolledWatches:: +/user/username/projects/myproject/usage/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/myproject/node_modules/@types: + {"pollingInterval":500} + +FsWatches:: +/user/username/projects/myproject/usage/tsconfig.json: + {} +/user/username/projects/myproject/dependency/tsconfig.json: + {} +/user/username/projects/myproject/dependency/fns.ts: + {} +/a/lib/lib.d.ts: + {} + +FsWatchesRecursive:: +/user/username/projects/myproject/usage: + {} +/user/username/projects/myproject/dependency: + {} + Info 35 [16:01:10.000] event: {"seq":0,"type":"event","event":"semanticDiag","body":{"file":"/user/username/projects/myproject/usage/usage.ts","diagnostics":[{"start":{"line":3,"offset":1},"end":{"line":3,"offset":6},"text":"Cannot find name 'fnErr'.","code":2304,"category":"error"}]}} +Before running immediate callbacks and checking length (1) + +PolledWatches:: +/user/username/projects/myproject/usage/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/myproject/node_modules/@types: + {"pollingInterval":500} + +FsWatches:: +/user/username/projects/myproject/usage/tsconfig.json: + {} +/user/username/projects/myproject/dependency/tsconfig.json: + {} +/user/username/projects/myproject/dependency/fns.ts: + {} +/a/lib/lib.d.ts: + {} + +FsWatchesRecursive:: +/user/username/projects/myproject/usage: + {} +/user/username/projects/myproject/dependency: + {} + +Before running immediate callbacks and checking length (1) + +PolledWatches:: +/user/username/projects/myproject/usage/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/myproject/node_modules/@types: + {"pollingInterval":500} + +FsWatches:: +/user/username/projects/myproject/usage/tsconfig.json: + {} +/user/username/projects/myproject/dependency/tsconfig.json: + {} +/user/username/projects/myproject/dependency/fns.ts: + {} +/a/lib/lib.d.ts: + {} + +FsWatchesRecursive:: +/user/username/projects/myproject/usage: + {} +/user/username/projects/myproject/dependency: + {} + Info 36 [16:01:11.000] event: {"seq":0,"type":"event","event":"suggestionDiag","body":{"file":"/user/username/projects/myproject/usage/usage.ts","diagnostics":[]}} +Before running immediate callbacks and checking length (1) + +PolledWatches:: +/user/username/projects/myproject/usage/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/myproject/node_modules/@types: + {"pollingInterval":500} + +FsWatches:: +/user/username/projects/myproject/usage/tsconfig.json: + {} +/user/username/projects/myproject/dependency/tsconfig.json: + {} +/user/username/projects/myproject/dependency/fns.ts: + {} +/a/lib/lib.d.ts: + {} + +FsWatchesRecursive:: +/user/username/projects/myproject/usage: + {} +/user/username/projects/myproject/dependency: + {} + +Before checking timeout queue length (1) and running + +PolledWatches:: +/user/username/projects/myproject/usage/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/myproject/node_modules/@types: + {"pollingInterval":500} + +FsWatches:: +/user/username/projects/myproject/usage/tsconfig.json: + {} +/user/username/projects/myproject/dependency/tsconfig.json: + {} +/user/username/projects/myproject/dependency/fns.ts: + {} +/a/lib/lib.d.ts: + {} + +FsWatchesRecursive:: +/user/username/projects/myproject/usage: + {} +/user/username/projects/myproject/dependency: + {} + Info 37 [16:01:12.000] event: {"seq":0,"type":"event","event":"syntaxDiag","body":{"file":"/user/username/projects/myproject/dependency/fns.ts","diagnostics":[]}} +After checking timeout queue length (1) and running + +PolledWatches:: +/user/username/projects/myproject/usage/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/myproject/node_modules/@types: + {"pollingInterval":500} + +FsWatches:: +/user/username/projects/myproject/usage/tsconfig.json: + {} +/user/username/projects/myproject/dependency/tsconfig.json: + {} +/user/username/projects/myproject/dependency/fns.ts: + {} +/a/lib/lib.d.ts: + {} + +FsWatchesRecursive:: +/user/username/projects/myproject/usage: + {} +/user/username/projects/myproject/dependency: + {} + +Before running immediate callbacks and checking length (1) + +PolledWatches:: +/user/username/projects/myproject/usage/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/myproject/node_modules/@types: + {"pollingInterval":500} + +FsWatches:: +/user/username/projects/myproject/usage/tsconfig.json: + {} +/user/username/projects/myproject/dependency/tsconfig.json: + {} +/user/username/projects/myproject/dependency/fns.ts: + {} +/a/lib/lib.d.ts: + {} + +FsWatchesRecursive:: +/user/username/projects/myproject/usage: + {} +/user/username/projects/myproject/dependency: + {} + Info 38 [16:01:13.000] event: {"seq":0,"type":"event","event":"semanticDiag","body":{"file":"/user/username/projects/myproject/dependency/fns.ts","diagnostics":[]}} +Before running immediate callbacks and checking length (1) + +PolledWatches:: +/user/username/projects/myproject/usage/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/myproject/node_modules/@types: + {"pollingInterval":500} + +FsWatches:: +/user/username/projects/myproject/usage/tsconfig.json: + {} +/user/username/projects/myproject/dependency/tsconfig.json: + {} +/user/username/projects/myproject/dependency/fns.ts: + {} +/a/lib/lib.d.ts: + {} + +FsWatchesRecursive:: +/user/username/projects/myproject/usage: + {} +/user/username/projects/myproject/dependency: + {} + +Before running immediate callbacks and checking length (1) + +PolledWatches:: +/user/username/projects/myproject/usage/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/myproject/node_modules/@types: + {"pollingInterval":500} + +FsWatches:: +/user/username/projects/myproject/usage/tsconfig.json: + {} +/user/username/projects/myproject/dependency/tsconfig.json: + {} +/user/username/projects/myproject/dependency/fns.ts: + {} +/a/lib/lib.d.ts: + {} + +FsWatchesRecursive:: +/user/username/projects/myproject/usage: + {} +/user/username/projects/myproject/dependency: + {} + Info 39 [16:01:14.000] event: {"seq":0,"type":"event","event":"suggestionDiag","body":{"file":"/user/username/projects/myproject/dependency/fns.ts","diagnostics":[]}} Info 40 [16:01:15.000] event: {"seq":0,"type":"event","event":"requestCompleted","body":{"request_seq":1}} +Before running immediate callbacks and checking length (1) + +PolledWatches:: +/user/username/projects/myproject/usage/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/myproject/node_modules/@types: + {"pollingInterval":500} + +FsWatches:: +/user/username/projects/myproject/usage/tsconfig.json: + {} +/user/username/projects/myproject/dependency/tsconfig.json: + {} +/user/username/projects/myproject/dependency/fns.ts: + {} +/a/lib/lib.d.ts: + {} + +FsWatchesRecursive:: +/user/username/projects/myproject/usage: + {} +/user/username/projects/myproject/dependency: + {} + Info 41 [16:01:16.000] request: { - "command": "geterrForProject", - "arguments": { - "delay": 0, - "file": "/user/username/projects/myproject/dependency/fns.ts" - }, - "seq": 2, - "type": "request" + "command": "geterrForProject", + "arguments": { + "delay": 0, + "file": "/user/username/projects/myproject/dependency/fns.ts" + }, + "seq": 2, + "type": "request" + } +Before request + +PolledWatches:: +/user/username/projects/myproject/usage/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/myproject/node_modules/@types: + {"pollingInterval":500} + +FsWatches:: +/user/username/projects/myproject/usage/tsconfig.json: + {} +/user/username/projects/myproject/dependency/tsconfig.json: + {} +/user/username/projects/myproject/dependency/fns.ts: + {} +/a/lib/lib.d.ts: + {} + +FsWatchesRecursive:: +/user/username/projects/myproject/usage: + {} +/user/username/projects/myproject/dependency: + {} + +After request + +PolledWatches:: +/user/username/projects/myproject/usage/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/myproject/node_modules/@types: + {"pollingInterval":500} + +FsWatches:: +/user/username/projects/myproject/usage/tsconfig.json: + {} +/user/username/projects/myproject/dependency/tsconfig.json: + {} +/user/username/projects/myproject/dependency/fns.ts: + {} +/a/lib/lib.d.ts: + {} + +FsWatchesRecursive:: +/user/username/projects/myproject/usage: + {} +/user/username/projects/myproject/dependency: + {} + +Info 42 [16:01:17.000] response: + { + "responseRequired": false } +Before checking timeout queue length (1) and running PolledWatches:: /user/username/projects/myproject/usage/node_modules/@types: @@ -258,6 +603,33 @@ FsWatchesRecursive:: /user/username/projects/myproject/dependency: {} +Info 43 [16:01:18.000] event: + {"seq":0,"type":"event","event":"syntaxDiag","body":{"file":"/user/username/projects/myproject/dependency/fns.ts","diagnostics":[]}} +After checking timeout queue length (1) and running + +PolledWatches:: +/user/username/projects/myproject/usage/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/myproject/node_modules/@types: + {"pollingInterval":500} + +FsWatches:: +/user/username/projects/myproject/usage/tsconfig.json: + {} +/user/username/projects/myproject/dependency/tsconfig.json: + {} +/user/username/projects/myproject/dependency/fns.ts: + {} +/a/lib/lib.d.ts: + {} + +FsWatchesRecursive:: +/user/username/projects/myproject/usage: + {} +/user/username/projects/myproject/dependency: + {} + +Before running immediate callbacks and checking length (1) PolledWatches:: /user/username/projects/myproject/usage/node_modules/@types: @@ -281,21 +653,230 @@ FsWatchesRecursive:: /user/username/projects/myproject/dependency: {} -Info 42 [16:01:17.000] response: - { - "responseRequired": false - } -Info 43 [16:01:18.000] event: - {"seq":0,"type":"event","event":"syntaxDiag","body":{"file":"/user/username/projects/myproject/dependency/fns.ts","diagnostics":[]}} Info 44 [16:01:19.000] event: {"seq":0,"type":"event","event":"semanticDiag","body":{"file":"/user/username/projects/myproject/dependency/fns.ts","diagnostics":[]}} +Before running immediate callbacks and checking length (1) + +PolledWatches:: +/user/username/projects/myproject/usage/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/myproject/node_modules/@types: + {"pollingInterval":500} + +FsWatches:: +/user/username/projects/myproject/usage/tsconfig.json: + {} +/user/username/projects/myproject/dependency/tsconfig.json: + {} +/user/username/projects/myproject/dependency/fns.ts: + {} +/a/lib/lib.d.ts: + {} + +FsWatchesRecursive:: +/user/username/projects/myproject/usage: + {} +/user/username/projects/myproject/dependency: + {} + +Before running immediate callbacks and checking length (1) + +PolledWatches:: +/user/username/projects/myproject/usage/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/myproject/node_modules/@types: + {"pollingInterval":500} + +FsWatches:: +/user/username/projects/myproject/usage/tsconfig.json: + {} +/user/username/projects/myproject/dependency/tsconfig.json: + {} +/user/username/projects/myproject/dependency/fns.ts: + {} +/a/lib/lib.d.ts: + {} + +FsWatchesRecursive:: +/user/username/projects/myproject/usage: + {} +/user/username/projects/myproject/dependency: + {} + Info 45 [16:01:20.000] event: {"seq":0,"type":"event","event":"suggestionDiag","body":{"file":"/user/username/projects/myproject/dependency/fns.ts","diagnostics":[]}} +Before running immediate callbacks and checking length (1) + +PolledWatches:: +/user/username/projects/myproject/usage/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/myproject/node_modules/@types: + {"pollingInterval":500} + +FsWatches:: +/user/username/projects/myproject/usage/tsconfig.json: + {} +/user/username/projects/myproject/dependency/tsconfig.json: + {} +/user/username/projects/myproject/dependency/fns.ts: + {} +/a/lib/lib.d.ts: + {} + +FsWatchesRecursive:: +/user/username/projects/myproject/usage: + {} +/user/username/projects/myproject/dependency: + {} + +Before checking timeout queue length (1) and running + +PolledWatches:: +/user/username/projects/myproject/usage/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/myproject/node_modules/@types: + {"pollingInterval":500} + +FsWatches:: +/user/username/projects/myproject/usage/tsconfig.json: + {} +/user/username/projects/myproject/dependency/tsconfig.json: + {} +/user/username/projects/myproject/dependency/fns.ts: + {} +/a/lib/lib.d.ts: + {} + +FsWatchesRecursive:: +/user/username/projects/myproject/usage: + {} +/user/username/projects/myproject/dependency: + {} + Info 46 [16:01:21.000] event: {"seq":0,"type":"event","event":"syntaxDiag","body":{"file":"/user/username/projects/myproject/usage/usage.ts","diagnostics":[]}} +After checking timeout queue length (1) and running + +PolledWatches:: +/user/username/projects/myproject/usage/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/myproject/node_modules/@types: + {"pollingInterval":500} + +FsWatches:: +/user/username/projects/myproject/usage/tsconfig.json: + {} +/user/username/projects/myproject/dependency/tsconfig.json: + {} +/user/username/projects/myproject/dependency/fns.ts: + {} +/a/lib/lib.d.ts: + {} + +FsWatchesRecursive:: +/user/username/projects/myproject/usage: + {} +/user/username/projects/myproject/dependency: + {} + +Before running immediate callbacks and checking length (1) + +PolledWatches:: +/user/username/projects/myproject/usage/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/myproject/node_modules/@types: + {"pollingInterval":500} + +FsWatches:: +/user/username/projects/myproject/usage/tsconfig.json: + {} +/user/username/projects/myproject/dependency/tsconfig.json: + {} +/user/username/projects/myproject/dependency/fns.ts: + {} +/a/lib/lib.d.ts: + {} + +FsWatchesRecursive:: +/user/username/projects/myproject/usage: + {} +/user/username/projects/myproject/dependency: + {} + Info 47 [16:01:22.000] event: {"seq":0,"type":"event","event":"semanticDiag","body":{"file":"/user/username/projects/myproject/usage/usage.ts","diagnostics":[{"start":{"line":3,"offset":1},"end":{"line":3,"offset":6},"text":"Cannot find name 'fnErr'.","code":2304,"category":"error"}]}} +Before running immediate callbacks and checking length (1) + +PolledWatches:: +/user/username/projects/myproject/usage/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/myproject/node_modules/@types: + {"pollingInterval":500} + +FsWatches:: +/user/username/projects/myproject/usage/tsconfig.json: + {} +/user/username/projects/myproject/dependency/tsconfig.json: + {} +/user/username/projects/myproject/dependency/fns.ts: + {} +/a/lib/lib.d.ts: + {} + +FsWatchesRecursive:: +/user/username/projects/myproject/usage: + {} +/user/username/projects/myproject/dependency: + {} + +Before running immediate callbacks and checking length (1) + +PolledWatches:: +/user/username/projects/myproject/usage/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/myproject/node_modules/@types: + {"pollingInterval":500} + +FsWatches:: +/user/username/projects/myproject/usage/tsconfig.json: + {} +/user/username/projects/myproject/dependency/tsconfig.json: + {} +/user/username/projects/myproject/dependency/fns.ts: + {} +/a/lib/lib.d.ts: + {} + +FsWatchesRecursive:: +/user/username/projects/myproject/usage: + {} +/user/username/projects/myproject/dependency: + {} + Info 48 [16:01:23.000] event: {"seq":0,"type":"event","event":"suggestionDiag","body":{"file":"/user/username/projects/myproject/usage/usage.ts","diagnostics":[]}} Info 49 [16:01:24.000] event: - {"seq":0,"type":"event","event":"requestCompleted","body":{"request_seq":2}} \ No newline at end of file + {"seq":0,"type":"event","event":"requestCompleted","body":{"request_seq":2}} +Before running immediate callbacks and checking length (1) + +PolledWatches:: +/user/username/projects/myproject/usage/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/myproject/node_modules/@types: + {"pollingInterval":500} + +FsWatches:: +/user/username/projects/myproject/usage/tsconfig.json: + {} +/user/username/projects/myproject/dependency/tsconfig.json: + {} +/user/username/projects/myproject/dependency/fns.ts: + {} +/a/lib/lib.d.ts: + {} + +FsWatchesRecursive:: +/user/username/projects/myproject/usage: + {} +/user/username/projects/myproject/dependency: + {} diff --git a/tests/baselines/reference/tsserver/projectReferenceErrors/with-non-module-when-the-depedency-file-is-open-gerErr-with-sync-commands.js b/tests/baselines/reference/tsserver/projectReferenceErrors/with-non-module-when-the-depedency-file-is-open-gerErr-with-sync-commands.js index cf459809afdac..5a61a0cb696ce 100644 --- a/tests/baselines/reference/tsserver/projectReferenceErrors/with-non-module-when-the-depedency-file-is-open-gerErr-with-sync-commands.js +++ b/tests/baselines/reference/tsserver/projectReferenceErrors/with-non-module-when-the-depedency-file-is-open-gerErr-with-sync-commands.js @@ -8,6 +8,7 @@ Info 1 [16:00:30.000] request: "file": "/user/username/projects/myproject/usage/usage.ts" } } +Before request //// [/user/username/projects/myproject/dependency/fns.ts] function fn1() { } function fn2() { } @@ -116,6 +117,7 @@ Info 27 [16:00:58.000] ----------------------------------------------- Info 27 [16:00:59.000] Open files: Info 27 [16:01:00.000] FileName: /user/username/projects/myproject/usage/usage.ts ProjectRootPath: undefined Info 27 [16:01:01.000] Projects: /user/username/projects/myproject/usage/tsconfig.json +After request PolledWatches:: /user/username/projects/myproject/usage/node_modules/@types: @@ -152,6 +154,7 @@ Info 28 [16:01:03.000] request: "file": "/user/username/projects/myproject/dependency/fns.ts" } } +Before request PolledWatches:: /user/username/projects/myproject/usage/node_modules/@types: @@ -213,6 +216,7 @@ Info 45 [16:01:27.000] FileName: /user/username/projects/myproject/usage/usag Info 45 [16:01:28.000] Projects: /user/username/projects/myproject/usage/tsconfig.json Info 45 [16:01:29.000] FileName: /user/username/projects/myproject/dependency/fns.ts ProjectRootPath: undefined Info 45 [16:01:30.000] Projects: /user/username/projects/myproject/usage/tsconfig.json,/user/username/projects/myproject/dependency/tsconfig.json +After request PolledWatches:: /user/username/projects/myproject/usage/node_modules/@types: @@ -249,6 +253,7 @@ Info 46 [16:01:32.000] request: "seq": 1, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/usage/node_modules/@types: @@ -272,6 +277,7 @@ FsWatchesRecursive:: /user/username/projects/myproject/dependency: {} +After request PolledWatches:: /user/username/projects/myproject/usage/node_modules/@types: @@ -309,6 +315,7 @@ Info 48 [16:01:34.000] request: "seq": 2, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/usage/node_modules/@types: @@ -332,6 +339,7 @@ FsWatchesRecursive:: /user/username/projects/myproject/dependency: {} +After request PolledWatches:: /user/username/projects/myproject/usage/node_modules/@types: @@ -383,6 +391,7 @@ Info 50 [16:01:36.000] request: "seq": 3, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/usage/node_modules/@types: @@ -406,6 +415,7 @@ FsWatchesRecursive:: /user/username/projects/myproject/dependency: {} +After request PolledWatches:: /user/username/projects/myproject/usage/node_modules/@types: @@ -443,6 +453,7 @@ Info 52 [16:01:38.000] request: "seq": 4, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/usage/node_modules/@types: @@ -466,6 +477,7 @@ FsWatchesRecursive:: /user/username/projects/myproject/dependency: {} +After request PolledWatches:: /user/username/projects/myproject/usage/node_modules/@types: @@ -503,6 +515,7 @@ Info 54 [16:01:40.000] request: "seq": 5, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/usage/node_modules/@types: @@ -526,6 +539,7 @@ FsWatchesRecursive:: /user/username/projects/myproject/dependency: {} +After request PolledWatches:: /user/username/projects/myproject/usage/node_modules/@types: @@ -577,6 +591,7 @@ Info 56 [16:01:42.000] request: "seq": 6, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/usage/node_modules/@types: @@ -600,6 +615,7 @@ FsWatchesRecursive:: /user/username/projects/myproject/dependency: {} +After request PolledWatches:: /user/username/projects/myproject/usage/node_modules/@types: @@ -638,6 +654,7 @@ Info 58 [16:01:44.000] request: "seq": 7, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/usage/node_modules/@types: @@ -661,6 +678,7 @@ FsWatchesRecursive:: /user/username/projects/myproject/dependency: {} +After request PolledWatches:: /user/username/projects/myproject/usage/node_modules/@types: @@ -699,6 +717,7 @@ Info 60 [16:01:46.000] request: "seq": 8, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/usage/node_modules/@types: @@ -722,6 +741,7 @@ FsWatchesRecursive:: /user/username/projects/myproject/dependency: {} +After request PolledWatches:: /user/username/projects/myproject/usage/node_modules/@types: @@ -774,6 +794,7 @@ Info 62 [16:01:48.000] request: "seq": 9, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/usage/node_modules/@types: @@ -797,6 +818,7 @@ FsWatchesRecursive:: /user/username/projects/myproject/dependency: {} +After request PolledWatches:: /user/username/projects/myproject/usage/node_modules/@types: @@ -835,6 +857,7 @@ Info 64 [16:01:50.000] request: "seq": 10, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/usage/node_modules/@types: @@ -858,6 +881,7 @@ FsWatchesRecursive:: /user/username/projects/myproject/dependency: {} +After request PolledWatches:: /user/username/projects/myproject/usage/node_modules/@types: @@ -896,6 +920,7 @@ Info 66 [16:01:52.000] request: "seq": 11, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/usage/node_modules/@types: @@ -919,6 +944,7 @@ FsWatchesRecursive:: /user/username/projects/myproject/dependency: {} +After request PolledWatches:: /user/username/projects/myproject/usage/node_modules/@types: @@ -957,6 +983,7 @@ Info 68 [16:01:54.000] request: "seq": 12, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/usage/node_modules/@types: @@ -980,6 +1007,7 @@ FsWatchesRecursive:: /user/username/projects/myproject/dependency: {} +After request PolledWatches:: /user/username/projects/myproject/usage/node_modules/@types: @@ -1018,6 +1046,7 @@ Info 70 [16:01:56.000] request: "seq": 13, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/usage/node_modules/@types: @@ -1041,6 +1070,7 @@ FsWatchesRecursive:: /user/username/projects/myproject/dependency: {} +After request PolledWatches:: /user/username/projects/myproject/usage/node_modules/@types: @@ -1079,6 +1109,7 @@ Info 72 [16:01:58.000] request: "seq": 14, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/usage/node_modules/@types: @@ -1102,6 +1133,7 @@ FsWatchesRecursive:: /user/username/projects/myproject/dependency: {} +After request PolledWatches:: /user/username/projects/myproject/usage/node_modules/@types: @@ -1154,6 +1186,7 @@ Info 74 [16:02:00.000] request: "seq": 15, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/usage/node_modules/@types: @@ -1177,6 +1210,7 @@ FsWatchesRecursive:: /user/username/projects/myproject/dependency: {} +After request PolledWatches:: /user/username/projects/myproject/usage/node_modules/@types: diff --git a/tests/baselines/reference/tsserver/projectReferenceErrors/with-non-module-when-the-depedency-file-is-open-getErr.js b/tests/baselines/reference/tsserver/projectReferenceErrors/with-non-module-when-the-depedency-file-is-open-getErr.js index 8b0c82893a301..051eafa8e1cd0 100644 --- a/tests/baselines/reference/tsserver/projectReferenceErrors/with-non-module-when-the-depedency-file-is-open-getErr.js +++ b/tests/baselines/reference/tsserver/projectReferenceErrors/with-non-module-when-the-depedency-file-is-open-getErr.js @@ -8,6 +8,7 @@ Info 1 [16:00:30.000] request: "file": "/user/username/projects/myproject/usage/usage.ts" } } +Before request //// [/user/username/projects/myproject/dependency/fns.ts] function fn1() { } function fn2() { } @@ -124,6 +125,7 @@ Info 31 [16:01:02.000] ----------------------------------------------- Info 31 [16:01:03.000] Open files: Info 31 [16:01:04.000] FileName: /user/username/projects/myproject/usage/usage.ts ProjectRootPath: undefined Info 31 [16:01:05.000] Projects: /user/username/projects/myproject/usage/tsconfig.json +After request PolledWatches:: /user/username/projects/myproject/usage/node_modules/@types: @@ -160,6 +162,7 @@ Info 32 [16:01:07.000] request: "file": "/user/username/projects/myproject/dependency/fns.ts" } } +Before request PolledWatches:: /user/username/projects/myproject/usage/node_modules/@types: @@ -229,6 +232,7 @@ Info 53 [16:01:35.000] FileName: /user/username/projects/myproject/usage/usag Info 53 [16:01:36.000] Projects: /user/username/projects/myproject/usage/tsconfig.json Info 53 [16:01:37.000] FileName: /user/username/projects/myproject/dependency/fns.ts ProjectRootPath: undefined Info 53 [16:01:38.000] Projects: /user/username/projects/myproject/usage/tsconfig.json,/user/username/projects/myproject/dependency/tsconfig.json +After request PolledWatches:: /user/username/projects/myproject/usage/node_modules/@types: @@ -269,6 +273,7 @@ Info 54 [16:01:40.000] request: "seq": 1, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/usage/node_modules/@types: @@ -292,6 +297,7 @@ FsWatchesRecursive:: /user/username/projects/myproject/dependency: {} +After request PolledWatches:: /user/username/projects/myproject/usage/node_modules/@types: @@ -319,17 +325,304 @@ Info 55 [16:01:41.000] response: { "responseRequired": false } +Before checking timeout queue length (1) and running + +PolledWatches:: +/user/username/projects/myproject/usage/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/myproject/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/myproject/dependency/node_modules/@types: + {"pollingInterval":500} + +FsWatches:: +/user/username/projects/myproject/usage/tsconfig.json: + {} +/user/username/projects/myproject/dependency/tsconfig.json: + {} +/a/lib/lib.d.ts: + {} + +FsWatchesRecursive:: +/user/username/projects/myproject/usage: + {} +/user/username/projects/myproject/dependency: + {} + Info 56 [16:01:42.000] event: {"seq":0,"type":"event","event":"syntaxDiag","body":{"file":"/user/username/projects/myproject/usage/usage.ts","diagnostics":[]}} +After checking timeout queue length (1) and running + +PolledWatches:: +/user/username/projects/myproject/usage/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/myproject/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/myproject/dependency/node_modules/@types: + {"pollingInterval":500} + +FsWatches:: +/user/username/projects/myproject/usage/tsconfig.json: + {} +/user/username/projects/myproject/dependency/tsconfig.json: + {} +/a/lib/lib.d.ts: + {} + +FsWatchesRecursive:: +/user/username/projects/myproject/usage: + {} +/user/username/projects/myproject/dependency: + {} + +Before running immediate callbacks and checking length (1) + +PolledWatches:: +/user/username/projects/myproject/usage/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/myproject/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/myproject/dependency/node_modules/@types: + {"pollingInterval":500} + +FsWatches:: +/user/username/projects/myproject/usage/tsconfig.json: + {} +/user/username/projects/myproject/dependency/tsconfig.json: + {} +/a/lib/lib.d.ts: + {} + +FsWatchesRecursive:: +/user/username/projects/myproject/usage: + {} +/user/username/projects/myproject/dependency: + {} + Info 57 [16:01:43.000] event: {"seq":0,"type":"event","event":"semanticDiag","body":{"file":"/user/username/projects/myproject/usage/usage.ts","diagnostics":[{"start":{"line":3,"offset":1},"end":{"line":3,"offset":6},"text":"Cannot find name 'fnErr'.","code":2304,"category":"error"}]}} +Before running immediate callbacks and checking length (1) + +PolledWatches:: +/user/username/projects/myproject/usage/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/myproject/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/myproject/dependency/node_modules/@types: + {"pollingInterval":500} + +FsWatches:: +/user/username/projects/myproject/usage/tsconfig.json: + {} +/user/username/projects/myproject/dependency/tsconfig.json: + {} +/a/lib/lib.d.ts: + {} + +FsWatchesRecursive:: +/user/username/projects/myproject/usage: + {} +/user/username/projects/myproject/dependency: + {} + +Before running immediate callbacks and checking length (1) + +PolledWatches:: +/user/username/projects/myproject/usage/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/myproject/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/myproject/dependency/node_modules/@types: + {"pollingInterval":500} + +FsWatches:: +/user/username/projects/myproject/usage/tsconfig.json: + {} +/user/username/projects/myproject/dependency/tsconfig.json: + {} +/a/lib/lib.d.ts: + {} + +FsWatchesRecursive:: +/user/username/projects/myproject/usage: + {} +/user/username/projects/myproject/dependency: + {} + Info 58 [16:01:44.000] event: {"seq":0,"type":"event","event":"suggestionDiag","body":{"file":"/user/username/projects/myproject/usage/usage.ts","diagnostics":[]}} +Before running immediate callbacks and checking length (1) + +PolledWatches:: +/user/username/projects/myproject/usage/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/myproject/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/myproject/dependency/node_modules/@types: + {"pollingInterval":500} + +FsWatches:: +/user/username/projects/myproject/usage/tsconfig.json: + {} +/user/username/projects/myproject/dependency/tsconfig.json: + {} +/a/lib/lib.d.ts: + {} + +FsWatchesRecursive:: +/user/username/projects/myproject/usage: + {} +/user/username/projects/myproject/dependency: + {} + +Before checking timeout queue length (1) and running + +PolledWatches:: +/user/username/projects/myproject/usage/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/myproject/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/myproject/dependency/node_modules/@types: + {"pollingInterval":500} + +FsWatches:: +/user/username/projects/myproject/usage/tsconfig.json: + {} +/user/username/projects/myproject/dependency/tsconfig.json: + {} +/a/lib/lib.d.ts: + {} + +FsWatchesRecursive:: +/user/username/projects/myproject/usage: + {} +/user/username/projects/myproject/dependency: + {} + Info 59 [16:01:45.000] event: {"seq":0,"type":"event","event":"syntaxDiag","body":{"file":"/user/username/projects/myproject/dependency/fns.ts","diagnostics":[]}} +After checking timeout queue length (1) and running + +PolledWatches:: +/user/username/projects/myproject/usage/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/myproject/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/myproject/dependency/node_modules/@types: + {"pollingInterval":500} + +FsWatches:: +/user/username/projects/myproject/usage/tsconfig.json: + {} +/user/username/projects/myproject/dependency/tsconfig.json: + {} +/a/lib/lib.d.ts: + {} + +FsWatchesRecursive:: +/user/username/projects/myproject/usage: + {} +/user/username/projects/myproject/dependency: + {} + +Before running immediate callbacks and checking length (1) + +PolledWatches:: +/user/username/projects/myproject/usage/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/myproject/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/myproject/dependency/node_modules/@types: + {"pollingInterval":500} + +FsWatches:: +/user/username/projects/myproject/usage/tsconfig.json: + {} +/user/username/projects/myproject/dependency/tsconfig.json: + {} +/a/lib/lib.d.ts: + {} + +FsWatchesRecursive:: +/user/username/projects/myproject/usage: + {} +/user/username/projects/myproject/dependency: + {} + Info 60 [16:01:46.000] event: {"seq":0,"type":"event","event":"semanticDiag","body":{"file":"/user/username/projects/myproject/dependency/fns.ts","diagnostics":[{"start":{"line":6,"offset":5},"end":{"line":6,"offset":6},"text":"Type 'number' is not assignable to type 'string'.","code":2322,"category":"error"}]}} +Before running immediate callbacks and checking length (1) + +PolledWatches:: +/user/username/projects/myproject/usage/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/myproject/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/myproject/dependency/node_modules/@types: + {"pollingInterval":500} + +FsWatches:: +/user/username/projects/myproject/usage/tsconfig.json: + {} +/user/username/projects/myproject/dependency/tsconfig.json: + {} +/a/lib/lib.d.ts: + {} + +FsWatchesRecursive:: +/user/username/projects/myproject/usage: + {} +/user/username/projects/myproject/dependency: + {} + +Before running immediate callbacks and checking length (1) + +PolledWatches:: +/user/username/projects/myproject/usage/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/myproject/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/myproject/dependency/node_modules/@types: + {"pollingInterval":500} + +FsWatches:: +/user/username/projects/myproject/usage/tsconfig.json: + {} +/user/username/projects/myproject/dependency/tsconfig.json: + {} +/a/lib/lib.d.ts: + {} + +FsWatchesRecursive:: +/user/username/projects/myproject/usage: + {} +/user/username/projects/myproject/dependency: + {} + Info 61 [16:01:47.000] event: {"seq":0,"type":"event","event":"suggestionDiag","body":{"file":"/user/username/projects/myproject/dependency/fns.ts","diagnostics":[]}} Info 62 [16:01:48.000] event: - {"seq":0,"type":"event","event":"requestCompleted","body":{"request_seq":1}} \ No newline at end of file + {"seq":0,"type":"event","event":"requestCompleted","body":{"request_seq":1}} +Before running immediate callbacks and checking length (1) + +PolledWatches:: +/user/username/projects/myproject/usage/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/myproject/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/myproject/dependency/node_modules/@types: + {"pollingInterval":500} + +FsWatches:: +/user/username/projects/myproject/usage/tsconfig.json: + {} +/user/username/projects/myproject/dependency/tsconfig.json: + {} +/a/lib/lib.d.ts: + {} + +FsWatchesRecursive:: +/user/username/projects/myproject/usage: + {} +/user/username/projects/myproject/dependency: + {} diff --git a/tests/baselines/reference/tsserver/projectReferenceErrors/with-non-module-when-the-depedency-file-is-open-geterrForProject.js b/tests/baselines/reference/tsserver/projectReferenceErrors/with-non-module-when-the-depedency-file-is-open-geterrForProject.js index a44924d2f2782..6de529c85dee4 100644 --- a/tests/baselines/reference/tsserver/projectReferenceErrors/with-non-module-when-the-depedency-file-is-open-geterrForProject.js +++ b/tests/baselines/reference/tsserver/projectReferenceErrors/with-non-module-when-the-depedency-file-is-open-geterrForProject.js @@ -8,6 +8,7 @@ Info 1 [16:00:30.000] request: "file": "/user/username/projects/myproject/usage/usage.ts" } } +Before request //// [/user/username/projects/myproject/dependency/fns.ts] function fn1() { } function fn2() { } @@ -124,6 +125,7 @@ Info 31 [16:01:02.000] ----------------------------------------------- Info 31 [16:01:03.000] Open files: Info 31 [16:01:04.000] FileName: /user/username/projects/myproject/usage/usage.ts ProjectRootPath: undefined Info 31 [16:01:05.000] Projects: /user/username/projects/myproject/usage/tsconfig.json +After request PolledWatches:: /user/username/projects/myproject/usage/node_modules/@types: @@ -160,6 +162,7 @@ Info 32 [16:01:07.000] request: "file": "/user/username/projects/myproject/dependency/fns.ts" } } +Before request PolledWatches:: /user/username/projects/myproject/usage/node_modules/@types: @@ -229,6 +232,7 @@ Info 53 [16:01:35.000] FileName: /user/username/projects/myproject/usage/usag Info 53 [16:01:36.000] Projects: /user/username/projects/myproject/usage/tsconfig.json Info 53 [16:01:37.000] FileName: /user/username/projects/myproject/dependency/fns.ts ProjectRootPath: undefined Info 53 [16:01:38.000] Projects: /user/username/projects/myproject/usage/tsconfig.json,/user/username/projects/myproject/dependency/tsconfig.json +After request PolledWatches:: /user/username/projects/myproject/usage/node_modules/@types: @@ -266,6 +270,7 @@ Info 54 [16:01:40.000] request: "seq": 1, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/usage/node_modules/@types: @@ -289,6 +294,7 @@ FsWatchesRecursive:: /user/username/projects/myproject/dependency: {} +After request PolledWatches:: /user/username/projects/myproject/usage/node_modules/@types: @@ -316,20 +322,308 @@ Info 55 [16:01:41.000] response: { "responseRequired": false } +Before checking timeout queue length (1) and running + +PolledWatches:: +/user/username/projects/myproject/usage/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/myproject/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/myproject/dependency/node_modules/@types: + {"pollingInterval":500} + +FsWatches:: +/user/username/projects/myproject/usage/tsconfig.json: + {} +/user/username/projects/myproject/dependency/tsconfig.json: + {} +/a/lib/lib.d.ts: + {} + +FsWatchesRecursive:: +/user/username/projects/myproject/usage: + {} +/user/username/projects/myproject/dependency: + {} + Info 56 [16:01:42.000] event: {"seq":0,"type":"event","event":"syntaxDiag","body":{"file":"/user/username/projects/myproject/usage/usage.ts","diagnostics":[]}} +After checking timeout queue length (1) and running + +PolledWatches:: +/user/username/projects/myproject/usage/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/myproject/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/myproject/dependency/node_modules/@types: + {"pollingInterval":500} + +FsWatches:: +/user/username/projects/myproject/usage/tsconfig.json: + {} +/user/username/projects/myproject/dependency/tsconfig.json: + {} +/a/lib/lib.d.ts: + {} + +FsWatchesRecursive:: +/user/username/projects/myproject/usage: + {} +/user/username/projects/myproject/dependency: + {} + +Before running immediate callbacks and checking length (1) + +PolledWatches:: +/user/username/projects/myproject/usage/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/myproject/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/myproject/dependency/node_modules/@types: + {"pollingInterval":500} + +FsWatches:: +/user/username/projects/myproject/usage/tsconfig.json: + {} +/user/username/projects/myproject/dependency/tsconfig.json: + {} +/a/lib/lib.d.ts: + {} + +FsWatchesRecursive:: +/user/username/projects/myproject/usage: + {} +/user/username/projects/myproject/dependency: + {} + Info 57 [16:01:43.000] event: {"seq":0,"type":"event","event":"semanticDiag","body":{"file":"/user/username/projects/myproject/usage/usage.ts","diagnostics":[{"start":{"line":3,"offset":1},"end":{"line":3,"offset":6},"text":"Cannot find name 'fnErr'.","code":2304,"category":"error"}]}} +Before running immediate callbacks and checking length (1) + +PolledWatches:: +/user/username/projects/myproject/usage/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/myproject/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/myproject/dependency/node_modules/@types: + {"pollingInterval":500} + +FsWatches:: +/user/username/projects/myproject/usage/tsconfig.json: + {} +/user/username/projects/myproject/dependency/tsconfig.json: + {} +/a/lib/lib.d.ts: + {} + +FsWatchesRecursive:: +/user/username/projects/myproject/usage: + {} +/user/username/projects/myproject/dependency: + {} + +Before running immediate callbacks and checking length (1) + +PolledWatches:: +/user/username/projects/myproject/usage/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/myproject/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/myproject/dependency/node_modules/@types: + {"pollingInterval":500} + +FsWatches:: +/user/username/projects/myproject/usage/tsconfig.json: + {} +/user/username/projects/myproject/dependency/tsconfig.json: + {} +/a/lib/lib.d.ts: + {} + +FsWatchesRecursive:: +/user/username/projects/myproject/usage: + {} +/user/username/projects/myproject/dependency: + {} + Info 58 [16:01:44.000] event: {"seq":0,"type":"event","event":"suggestionDiag","body":{"file":"/user/username/projects/myproject/usage/usage.ts","diagnostics":[]}} +Before running immediate callbacks and checking length (1) + +PolledWatches:: +/user/username/projects/myproject/usage/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/myproject/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/myproject/dependency/node_modules/@types: + {"pollingInterval":500} + +FsWatches:: +/user/username/projects/myproject/usage/tsconfig.json: + {} +/user/username/projects/myproject/dependency/tsconfig.json: + {} +/a/lib/lib.d.ts: + {} + +FsWatchesRecursive:: +/user/username/projects/myproject/usage: + {} +/user/username/projects/myproject/dependency: + {} + +Before checking timeout queue length (1) and running + +PolledWatches:: +/user/username/projects/myproject/usage/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/myproject/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/myproject/dependency/node_modules/@types: + {"pollingInterval":500} + +FsWatches:: +/user/username/projects/myproject/usage/tsconfig.json: + {} +/user/username/projects/myproject/dependency/tsconfig.json: + {} +/a/lib/lib.d.ts: + {} + +FsWatchesRecursive:: +/user/username/projects/myproject/usage: + {} +/user/username/projects/myproject/dependency: + {} + Info 59 [16:01:45.000] event: {"seq":0,"type":"event","event":"syntaxDiag","body":{"file":"/user/username/projects/myproject/dependency/fns.ts","diagnostics":[]}} +After checking timeout queue length (1) and running + +PolledWatches:: +/user/username/projects/myproject/usage/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/myproject/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/myproject/dependency/node_modules/@types: + {"pollingInterval":500} + +FsWatches:: +/user/username/projects/myproject/usage/tsconfig.json: + {} +/user/username/projects/myproject/dependency/tsconfig.json: + {} +/a/lib/lib.d.ts: + {} + +FsWatchesRecursive:: +/user/username/projects/myproject/usage: + {} +/user/username/projects/myproject/dependency: + {} + +Before running immediate callbacks and checking length (1) + +PolledWatches:: +/user/username/projects/myproject/usage/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/myproject/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/myproject/dependency/node_modules/@types: + {"pollingInterval":500} + +FsWatches:: +/user/username/projects/myproject/usage/tsconfig.json: + {} +/user/username/projects/myproject/dependency/tsconfig.json: + {} +/a/lib/lib.d.ts: + {} + +FsWatchesRecursive:: +/user/username/projects/myproject/usage: + {} +/user/username/projects/myproject/dependency: + {} + Info 60 [16:01:46.000] event: {"seq":0,"type":"event","event":"semanticDiag","body":{"file":"/user/username/projects/myproject/dependency/fns.ts","diagnostics":[]}} +Before running immediate callbacks and checking length (1) + +PolledWatches:: +/user/username/projects/myproject/usage/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/myproject/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/myproject/dependency/node_modules/@types: + {"pollingInterval":500} + +FsWatches:: +/user/username/projects/myproject/usage/tsconfig.json: + {} +/user/username/projects/myproject/dependency/tsconfig.json: + {} +/a/lib/lib.d.ts: + {} + +FsWatchesRecursive:: +/user/username/projects/myproject/usage: + {} +/user/username/projects/myproject/dependency: + {} + +Before running immediate callbacks and checking length (1) + +PolledWatches:: +/user/username/projects/myproject/usage/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/myproject/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/myproject/dependency/node_modules/@types: + {"pollingInterval":500} + +FsWatches:: +/user/username/projects/myproject/usage/tsconfig.json: + {} +/user/username/projects/myproject/dependency/tsconfig.json: + {} +/a/lib/lib.d.ts: + {} + +FsWatchesRecursive:: +/user/username/projects/myproject/usage: + {} +/user/username/projects/myproject/dependency: + {} + Info 61 [16:01:47.000] event: {"seq":0,"type":"event","event":"suggestionDiag","body":{"file":"/user/username/projects/myproject/dependency/fns.ts","diagnostics":[]}} Info 62 [16:01:48.000] event: {"seq":0,"type":"event","event":"requestCompleted","body":{"request_seq":1}} +Before running immediate callbacks and checking length (1) + +PolledWatches:: +/user/username/projects/myproject/usage/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/myproject/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/myproject/dependency/node_modules/@types: + {"pollingInterval":500} + +FsWatches:: +/user/username/projects/myproject/usage/tsconfig.json: + {} +/user/username/projects/myproject/dependency/tsconfig.json: + {} +/a/lib/lib.d.ts: + {} + +FsWatchesRecursive:: +/user/username/projects/myproject/usage: + {} +/user/username/projects/myproject/dependency: + {} + Info 63 [16:01:49.000] request: { "command": "geterrForProject", @@ -340,6 +634,7 @@ Info 63 [16:01:49.000] request: "seq": 2, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/usage/node_modules/@types: @@ -363,6 +658,7 @@ FsWatchesRecursive:: /user/username/projects/myproject/dependency: {} +After request PolledWatches:: /user/username/projects/myproject/usage/node_modules/@types: @@ -390,11 +686,154 @@ Info 64 [16:01:50.000] response: { "responseRequired": false } +Before checking timeout queue length (1) and running + +PolledWatches:: +/user/username/projects/myproject/usage/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/myproject/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/myproject/dependency/node_modules/@types: + {"pollingInterval":500} + +FsWatches:: +/user/username/projects/myproject/usage/tsconfig.json: + {} +/user/username/projects/myproject/dependency/tsconfig.json: + {} +/a/lib/lib.d.ts: + {} + +FsWatchesRecursive:: +/user/username/projects/myproject/usage: + {} +/user/username/projects/myproject/dependency: + {} + Info 65 [16:01:51.000] event: {"seq":0,"type":"event","event":"syntaxDiag","body":{"file":"/user/username/projects/myproject/dependency/fns.ts","diagnostics":[]}} +After checking timeout queue length (1) and running + +PolledWatches:: +/user/username/projects/myproject/usage/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/myproject/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/myproject/dependency/node_modules/@types: + {"pollingInterval":500} + +FsWatches:: +/user/username/projects/myproject/usage/tsconfig.json: + {} +/user/username/projects/myproject/dependency/tsconfig.json: + {} +/a/lib/lib.d.ts: + {} + +FsWatchesRecursive:: +/user/username/projects/myproject/usage: + {} +/user/username/projects/myproject/dependency: + {} + +Before running immediate callbacks and checking length (1) + +PolledWatches:: +/user/username/projects/myproject/usage/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/myproject/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/myproject/dependency/node_modules/@types: + {"pollingInterval":500} + +FsWatches:: +/user/username/projects/myproject/usage/tsconfig.json: + {} +/user/username/projects/myproject/dependency/tsconfig.json: + {} +/a/lib/lib.d.ts: + {} + +FsWatchesRecursive:: +/user/username/projects/myproject/usage: + {} +/user/username/projects/myproject/dependency: + {} + Info 66 [16:01:52.000] event: {"seq":0,"type":"event","event":"semanticDiag","body":{"file":"/user/username/projects/myproject/dependency/fns.ts","diagnostics":[{"start":{"line":6,"offset":5},"end":{"line":6,"offset":6},"text":"Type 'number' is not assignable to type 'string'.","code":2322,"category":"error"}]}} +Before running immediate callbacks and checking length (1) + +PolledWatches:: +/user/username/projects/myproject/usage/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/myproject/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/myproject/dependency/node_modules/@types: + {"pollingInterval":500} + +FsWatches:: +/user/username/projects/myproject/usage/tsconfig.json: + {} +/user/username/projects/myproject/dependency/tsconfig.json: + {} +/a/lib/lib.d.ts: + {} + +FsWatchesRecursive:: +/user/username/projects/myproject/usage: + {} +/user/username/projects/myproject/dependency: + {} + +Before running immediate callbacks and checking length (1) + +PolledWatches:: +/user/username/projects/myproject/usage/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/myproject/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/myproject/dependency/node_modules/@types: + {"pollingInterval":500} + +FsWatches:: +/user/username/projects/myproject/usage/tsconfig.json: + {} +/user/username/projects/myproject/dependency/tsconfig.json: + {} +/a/lib/lib.d.ts: + {} + +FsWatchesRecursive:: +/user/username/projects/myproject/usage: + {} +/user/username/projects/myproject/dependency: + {} + Info 67 [16:01:53.000] event: {"seq":0,"type":"event","event":"suggestionDiag","body":{"file":"/user/username/projects/myproject/dependency/fns.ts","diagnostics":[]}} Info 68 [16:01:54.000] event: - {"seq":0,"type":"event","event":"requestCompleted","body":{"request_seq":2}} \ No newline at end of file + {"seq":0,"type":"event","event":"requestCompleted","body":{"request_seq":2}} +Before running immediate callbacks and checking length (1) + +PolledWatches:: +/user/username/projects/myproject/usage/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/myproject/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/myproject/dependency/node_modules/@types: + {"pollingInterval":500} + +FsWatches:: +/user/username/projects/myproject/usage/tsconfig.json: + {} +/user/username/projects/myproject/dependency/tsconfig.json: + {} +/a/lib/lib.d.ts: + {} + +FsWatchesRecursive:: +/user/username/projects/myproject/usage: + {} +/user/username/projects/myproject/dependency: + {} 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 4c1c3fd9aa9ca..f355b288ec5da 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 @@ -8,6 +8,7 @@ Info 1 [16:01:15.000] request: "file": "/user/username/projects/container/compositeExec/index.ts" } } +Before request //// [/a/lib/lib.d.ts] /// interface Boolean {} @@ -423,6 +424,7 @@ Info 27 [16:01:46.000] ----------------------------------------------- Info 27 [16:01:47.000] Open files: Info 27 [16:01:48.000] FileName: /user/username/projects/container/compositeExec/index.ts ProjectRootPath: undefined Info 27 [16:01:49.000] Projects: /user/username/projects/container/compositeExec/tsconfig.json +After request PolledWatches:: /user/username/projects/container/compositeexec/node_modules/@types: @@ -457,6 +459,7 @@ Info 28 [16:01:51.000] request: "file": "/user/username/projects/temp/temp.ts" } } +Before request PolledWatches:: /user/username/projects/container/compositeexec/node_modules/@types: @@ -516,6 +519,7 @@ Info 41 [16:02:14.000] FileName: /user/username/projects/container/compositeE Info 41 [16:02:15.000] Projects: /user/username/projects/container/compositeExec/tsconfig.json Info 41 [16:02:16.000] FileName: /user/username/projects/temp/temp.ts ProjectRootPath: undefined Info 41 [16:02:17.000] Projects: /dev/null/inferredProject1* +After request PolledWatches:: /user/username/projects/container/compositeexec/node_modules/@types: @@ -558,6 +562,7 @@ Info 42 [16:02:19.000] request: "seq": 1, "type": "request" } +Before request PolledWatches:: /user/username/projects/container/compositeexec/node_modules/@types: @@ -673,6 +678,7 @@ Info 76 [16:02:53.000] Files (3) Info 77 [16:02:54.000] ----------------------------------------------- Info 78 [16:02:55.000] Search path: /user/username/projects/container/lib Info 79 [16:02:56.000] For info: /user/username/projects/container/lib/index.ts :: Config file name: /user/username/projects/container/lib/tsconfig.json +After request PolledWatches:: /user/username/projects/container/compositeexec/node_modules/@types: @@ -821,6 +827,7 @@ Info 84 [16:03:19.000] request: "file": "/user/username/projects/temp/temp.ts" } } +Before request PolledWatches:: /user/username/projects/container/compositeexec/node_modules/@types: @@ -898,6 +905,7 @@ Info 95 [16:03:46.000] FileName: /user/username/projects/container/compositeE Info 95 [16:03:47.000] Projects: /user/username/projects/container/compositeExec/tsconfig.json Info 95 [16:03:48.000] FileName: /user/username/projects/temp/temp.ts ProjectRootPath: undefined Info 95 [16:03:49.000] Projects: /dev/null/inferredProject1* +After request PolledWatches:: /user/username/projects/container/compositeexec/node_modules/@types: @@ -994,6 +1002,7 @@ Info 100 [16:04:29.000] request: "file": "/user/username/projects/temp/temp.ts" } } +Before request PolledWatches:: /user/username/projects/container/compositeexec/node_modules/@types: @@ -1128,6 +1137,7 @@ Info 148 [16:05:19.000] ----------------------------------------------- Info 148 [16:05:20.000] Open files: Info 148 [16:05:21.000] FileName: /user/username/projects/temp/temp.ts ProjectRootPath: undefined Info 148 [16:05:22.000] Projects: /dev/null/inferredProject1* +After request PolledWatches:: /user/username/projects/temp/node_modules/@types: diff --git a/tests/baselines/reference/tsserver/projectReferences/auto-import-with-referenced-project-when-built-with-disableSourceOfProjectReferenceRedirect.js b/tests/baselines/reference/tsserver/projectReferences/auto-import-with-referenced-project-when-built-with-disableSourceOfProjectReferenceRedirect.js index 4ae84ed36a730..d35da22a4e04e 100644 --- a/tests/baselines/reference/tsserver/projectReferences/auto-import-with-referenced-project-when-built-with-disableSourceOfProjectReferenceRedirect.js +++ b/tests/baselines/reference/tsserver/projectReferences/auto-import-with-referenced-project-when-built-with-disableSourceOfProjectReferenceRedirect.js @@ -8,6 +8,7 @@ Info 1 [16:01:12.000] request: "file": "/user/username/projects/myproject/app/src/program/index.ts" } } +Before request //// [/user/username/projects/myproject/tsconfig.json] {"files":[],"references":[{"path":"shared/src/library"},{"path":"app/src/program"}]} @@ -286,6 +287,7 @@ Info 45 [16:02:01.000] ----------------------------------------------- Info 45 [16:02:02.000] Open files: Info 45 [16:02:03.000] FileName: /user/username/projects/myproject/app/src/program/index.ts ProjectRootPath: undefined Info 45 [16:02:04.000] Projects: /user/username/projects/myproject/app/src/program/tsconfig.json +After request PolledWatches:: /user/username/projects/myproject/app/src/program/node_modules: @@ -347,6 +349,7 @@ Info 46 [16:02:06.000] request: "seq": 1, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/app/src/program/node_modules: @@ -390,6 +393,7 @@ FsWatchesRecursive:: Info 47 [16:02:07.000] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules 1 undefined WatchType: node_modules for closed script infos and package.jsons affecting module specifier cache Info 48 [16:02:08.000] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules 1 undefined WatchType: node_modules for closed script infos and package.jsons affecting module specifier cache +After request PolledWatches:: /user/username/projects/myproject/app/src/program/node_modules: diff --git a/tests/baselines/reference/tsserver/projectReferences/auto-import-with-referenced-project-when-built.js b/tests/baselines/reference/tsserver/projectReferences/auto-import-with-referenced-project-when-built.js index b1ecb7e3f414d..8c05d213312c7 100644 --- a/tests/baselines/reference/tsserver/projectReferences/auto-import-with-referenced-project-when-built.js +++ b/tests/baselines/reference/tsserver/projectReferences/auto-import-with-referenced-project-when-built.js @@ -8,6 +8,7 @@ Info 1 [16:01:12.000] request: "file": "/user/username/projects/myproject/app/src/program/index.ts" } } +Before request //// [/user/username/projects/myproject/tsconfig.json] {"files":[],"references":[{"path":"shared/src/library"},{"path":"app/src/program"}]} @@ -285,6 +286,7 @@ Info 45 [16:02:01.000] ----------------------------------------------- Info 45 [16:02:02.000] Open files: Info 45 [16:02:03.000] FileName: /user/username/projects/myproject/app/src/program/index.ts ProjectRootPath: undefined Info 45 [16:02:04.000] Projects: /user/username/projects/myproject/app/src/program/tsconfig.json +After request PolledWatches:: /user/username/projects/myproject/app/src/program/node_modules: @@ -346,6 +348,7 @@ Info 46 [16:02:06.000] request: "seq": 1, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/app/src/program/node_modules: @@ -389,6 +392,7 @@ FsWatchesRecursive:: Info 47 [16:02:07.000] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules 1 undefined WatchType: node_modules for closed script infos and package.jsons affecting module specifier cache Info 48 [16:02:08.000] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules 1 undefined WatchType: node_modules for closed script infos and package.jsons affecting module specifier cache +After request PolledWatches:: /user/username/projects/myproject/app/src/program/node_modules: diff --git a/tests/baselines/reference/tsserver/projectReferences/auto-import-with-referenced-project.js b/tests/baselines/reference/tsserver/projectReferences/auto-import-with-referenced-project.js index 5f208aaee5766..380d37056735f 100644 --- a/tests/baselines/reference/tsserver/projectReferences/auto-import-with-referenced-project.js +++ b/tests/baselines/reference/tsserver/projectReferences/auto-import-with-referenced-project.js @@ -8,6 +8,7 @@ Info 1 [16:00:48.000] request: "file": "/user/username/projects/myproject/app/src/program/index.ts" } } +Before request //// [/user/username/projects/myproject/tsconfig.json] {"files":[],"references":[{"path":"shared/src/library"},{"path":"app/src/program"}]} @@ -144,6 +145,7 @@ Info 45 [16:01:37.000] ----------------------------------------------- Info 45 [16:01:38.000] Open files: Info 45 [16:01:39.000] FileName: /user/username/projects/myproject/app/src/program/index.ts ProjectRootPath: undefined Info 45 [16:01:40.000] Projects: /user/username/projects/myproject/app/src/program/tsconfig.json +After request PolledWatches:: /user/username/projects/myproject/app/src/program/node_modules: @@ -205,6 +207,7 @@ Info 46 [16:01:42.000] request: "seq": 1, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/app/src/program/node_modules: @@ -248,6 +251,7 @@ FsWatchesRecursive:: Info 47 [16:01:43.000] DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules 1 undefined WatchType: node_modules for closed script infos and package.jsons affecting module specifier cache Info 48 [16:01:44.000] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules 1 undefined WatchType: node_modules for closed script infos and package.jsons affecting module specifier cache +After request PolledWatches:: /user/username/projects/myproject/app/src/program/node_modules: diff --git a/tests/baselines/reference/tsserver/projectReferences/can-successfully-find-references-with-out-option.js b/tests/baselines/reference/tsserver/projectReferences/can-successfully-find-references-with-out-option.js index e137962ec7389..c6f07cf5accd4 100644 --- a/tests/baselines/reference/tsserver/projectReferences/can-successfully-find-references-with-out-option.js +++ b/tests/baselines/reference/tsserver/projectReferences/can-successfully-find-references-with-out-option.js @@ -8,6 +8,7 @@ Info 1 [16:01:11.000] request: "file": "/user/username/projects/container/compositeExec/index.ts" } } +Before request //// [/a/lib/lib.d.ts] /// interface Boolean {} @@ -420,6 +421,7 @@ Info 27 [16:01:42.000] ----------------------------------------------- Info 27 [16:01:43.000] Open files: Info 27 [16:01:44.000] FileName: /user/username/projects/container/compositeExec/index.ts ProjectRootPath: undefined Info 27 [16:01:45.000] Projects: /user/username/projects/container/compositeExec/tsconfig.json +After request PolledWatches:: /user/username/projects/container/compositeexec/node_modules/@types: @@ -456,6 +458,7 @@ Info 28 [16:01:47.000] request: "seq": 1, "type": "request" } +Before request PolledWatches:: /user/username/projects/container/compositeexec/node_modules/@types: @@ -565,6 +568,7 @@ Info 62 [16:02:21.000] Files (3) Info 63 [16:02:22.000] ----------------------------------------------- Info 64 [16:02:23.000] Search path: /user/username/projects/container/lib Info 65 [16:02:24.000] For info: /user/username/projects/container/lib/index.ts :: Config file name: /user/username/projects/container/lib/tsconfig.json +After request PolledWatches:: /user/username/projects/container/compositeexec/node_modules/@types: diff --git a/tests/baselines/reference/tsserver/projectReferences/does-not-error-on-container-only-project.js b/tests/baselines/reference/tsserver/projectReferences/does-not-error-on-container-only-project.js index 9eff57286bda7..0459e1fb0b47c 100644 --- a/tests/baselines/reference/tsserver/projectReferences/does-not-error-on-container-only-project.js +++ b/tests/baselines/reference/tsserver/projectReferences/does-not-error-on-container-only-project.js @@ -150,6 +150,7 @@ Info 53 [16:02:03.000] request: "seq": 1, "type": "request" } +Before request //// [/a/lib/lib.d.ts] /// interface Boolean {} @@ -511,6 +512,7 @@ FsWatches:: FsWatchesRecursive:: +After request PolledWatches:: /user/username/projects/container/compositeexec/node_modules/@types: @@ -556,6 +558,7 @@ Info 55 [16:02:05.000] request: "seq": 2, "type": "request" } +Before request PolledWatches:: /user/username/projects/container/compositeexec/node_modules/@types: @@ -587,6 +590,7 @@ FsWatches:: FsWatchesRecursive:: +After request PolledWatches:: /user/username/projects/container/compositeexec/node_modules/@types: @@ -633,6 +637,7 @@ Info 57 [16:02:07.000] request: "seq": 3, "type": "request" } +Before request PolledWatches:: /user/username/projects/container/compositeexec/node_modules/@types: @@ -664,6 +669,7 @@ FsWatches:: FsWatchesRecursive:: +After request PolledWatches:: /user/username/projects/container/compositeexec/node_modules/@types: @@ -710,6 +716,7 @@ Info 59 [16:02:09.000] request: "seq": 4, "type": "request" } +Before request PolledWatches:: /user/username/projects/container/compositeexec/node_modules/@types: @@ -741,6 +748,7 @@ FsWatches:: FsWatchesRecursive:: +After request PolledWatches:: /user/username/projects/container/compositeexec/node_modules/@types: @@ -786,6 +794,7 @@ Info 61 [16:02:11.000] request: "seq": 5, "type": "request" } +Before request PolledWatches:: /user/username/projects/container/compositeexec/node_modules/@types: @@ -817,6 +826,7 @@ FsWatches:: FsWatchesRecursive:: +After request PolledWatches:: /user/username/projects/container/compositeexec/node_modules/@types: @@ -862,6 +872,7 @@ Info 63 [16:02:13.000] request: "seq": 6, "type": "request" } +Before request PolledWatches:: /user/username/projects/container/compositeexec/node_modules/@types: @@ -893,6 +904,7 @@ FsWatches:: FsWatchesRecursive:: +After request PolledWatches:: /user/username/projects/container/compositeexec/node_modules/@types: @@ -939,6 +951,7 @@ Info 65 [16:02:15.000] request: "seq": 7, "type": "request" } +Before request PolledWatches:: /user/username/projects/container/compositeexec/node_modules/@types: @@ -970,6 +983,7 @@ FsWatches:: FsWatchesRecursive:: +After request PolledWatches:: /user/username/projects/container/compositeexec/node_modules/@types: @@ -1016,6 +1030,7 @@ Info 67 [16:02:17.000] request: "seq": 8, "type": "request" } +Before request PolledWatches:: /user/username/projects/container/compositeexec/node_modules/@types: @@ -1047,6 +1062,7 @@ FsWatches:: FsWatchesRecursive:: +After request PolledWatches:: /user/username/projects/container/compositeexec/node_modules/@types: @@ -1092,6 +1108,7 @@ Info 69 [16:02:19.000] request: "seq": 9, "type": "request" } +Before request PolledWatches:: /user/username/projects/container/compositeexec/node_modules/@types: @@ -1123,6 +1140,7 @@ FsWatches:: FsWatchesRecursive:: +After request PolledWatches:: /user/username/projects/container/compositeexec/node_modules/@types: @@ -1168,6 +1186,7 @@ Info 71 [16:02:21.000] request: "seq": 10, "type": "request" } +Before request PolledWatches:: /user/username/projects/container/compositeexec/node_modules/@types: @@ -1199,6 +1218,7 @@ FsWatches:: FsWatchesRecursive:: +After request PolledWatches:: /user/username/projects/container/compositeexec/node_modules/@types: @@ -1245,6 +1265,7 @@ Info 73 [16:02:23.000] request: "seq": 11, "type": "request" } +Before request PolledWatches:: /user/username/projects/container/compositeexec/node_modules/@types: @@ -1276,6 +1297,7 @@ FsWatches:: FsWatchesRecursive:: +After request PolledWatches:: /user/username/projects/container/compositeexec/node_modules/@types: @@ -1322,6 +1344,7 @@ Info 75 [16:02:25.000] request: "seq": 12, "type": "request" } +Before request PolledWatches:: /user/username/projects/container/compositeexec/node_modules/@types: @@ -1353,6 +1376,7 @@ FsWatches:: FsWatchesRecursive:: +After request PolledWatches:: /user/username/projects/container/compositeexec/node_modules/@types: @@ -1398,6 +1422,7 @@ Info 77 [16:02:27.000] request: "seq": 13, "type": "request" } +Before request PolledWatches:: /user/username/projects/container/compositeexec/node_modules/@types: @@ -1429,6 +1454,7 @@ FsWatches:: FsWatchesRecursive:: +After request PolledWatches:: /user/username/projects/container/compositeexec/node_modules/@types: @@ -1474,6 +1500,7 @@ Info 79 [16:02:29.000] request: "seq": 14, "type": "request" } +Before request PolledWatches:: /user/username/projects/container/compositeexec/node_modules/@types: @@ -1505,6 +1532,7 @@ FsWatches:: FsWatchesRecursive:: +After request PolledWatches:: /user/username/projects/container/compositeexec/node_modules/@types: @@ -1551,6 +1579,7 @@ Info 81 [16:02:31.000] request: "seq": 15, "type": "request" } +Before request PolledWatches:: /user/username/projects/container/compositeexec/node_modules/@types: @@ -1582,6 +1611,7 @@ FsWatches:: FsWatchesRecursive:: +After request PolledWatches:: /user/username/projects/container/compositeexec/node_modules/@types: @@ -1628,6 +1658,7 @@ Info 83 [16:02:33.000] request: "seq": 16, "type": "request" } +Before request PolledWatches:: /user/username/projects/container/compositeexec/node_modules/@types: @@ -1659,6 +1690,7 @@ FsWatches:: FsWatchesRecursive:: +After request PolledWatches:: /user/username/projects/container/compositeexec/node_modules/@types: @@ -1704,6 +1736,7 @@ Info 85 [16:02:35.000] request: "seq": 17, "type": "request" } +Before request PolledWatches:: /user/username/projects/container/compositeexec/node_modules/@types: @@ -1735,6 +1768,7 @@ FsWatches:: FsWatchesRecursive:: +After request PolledWatches:: /user/username/projects/container/compositeexec/node_modules/@types: diff --git a/tests/baselines/reference/tsserver/projectReferences/find-refs-to-decl-in-other-proj-when-proj-is-loaded-and-refd-proj-loading-is-disabled-and-proj-ref-redirects-are-disabled-and-a-decl-map-is-missing.js b/tests/baselines/reference/tsserver/projectReferences/find-refs-to-decl-in-other-proj-when-proj-is-loaded-and-refd-proj-loading-is-disabled-and-proj-ref-redirects-are-disabled-and-a-decl-map-is-missing.js index 63104d40d8f67..4eb1908c435c2 100644 --- a/tests/baselines/reference/tsserver/projectReferences/find-refs-to-decl-in-other-proj-when-proj-is-loaded-and-refd-proj-loading-is-disabled-and-proj-ref-redirects-are-disabled-and-a-decl-map-is-missing.js +++ b/tests/baselines/reference/tsserver/projectReferences/find-refs-to-decl-in-other-proj-when-proj-is-loaded-and-refd-proj-loading-is-disabled-and-proj-ref-redirects-are-disabled-and-a-decl-map-is-missing.js @@ -8,6 +8,7 @@ Info 1 [16:00:30.000] request: "file": "/user/username/projects/myproject/a/index.ts" } } +Before request //// [/user/username/projects/myproject/a/tsconfig.json] { "compilerOptions": {"disableReferencedProjectLoad":true,"disableSourceOfProjectReferenceRedirect":true,"composite":true}, @@ -121,6 +122,7 @@ Info 29 [16:01:00.000] ----------------------------------------------- Info 29 [16:01:01.000] Open files: Info 29 [16:01:02.000] FileName: /user/username/projects/myproject/a/index.ts ProjectRootPath: undefined Info 29 [16:01:03.000] Projects: /user/username/projects/myproject/a/tsconfig.json +After request PolledWatches:: /a/lib/lib.d.ts: @@ -157,6 +159,7 @@ Info 30 [16:01:05.000] request: "file": "/user/username/projects/myproject/b/helper.ts" } } +Before request PolledWatches:: /a/lib/lib.d.ts: @@ -222,6 +225,7 @@ Info 50 [16:01:32.000] FileName: /user/username/projects/myproject/a/index.ts Info 50 [16:01:33.000] Projects: /user/username/projects/myproject/a/tsconfig.json Info 50 [16:01:34.000] FileName: /user/username/projects/myproject/b/helper.ts ProjectRootPath: undefined Info 50 [16:01:35.000] Projects: /user/username/projects/myproject/b/tsconfig.json +After request PolledWatches:: /a/lib/lib.d.ts: @@ -266,6 +270,7 @@ Info 51 [16:01:37.000] request: "seq": 1, "type": "request" } +Before request PolledWatches:: /a/lib/lib.d.ts: @@ -297,6 +302,7 @@ FsWatchesRecursive:: Info 52 [16:01:38.000] Finding references to /user/username/projects/myproject/a/index.ts position 40 in project /user/username/projects/myproject/a/tsconfig.json Info 53 [16:01:39.000] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/b/lib/index.d.ts.map 2000 undefined WatchType: Missing source map file +After request PolledWatches:: /a/lib/lib.d.ts: diff --git a/tests/baselines/reference/tsserver/projectReferences/find-refs-to-decl-in-other-proj-when-proj-is-loaded-and-refd-proj-loading-is-disabled-and-proj-ref-redirects-are-disabled-and-a-decl-map-is-present.js b/tests/baselines/reference/tsserver/projectReferences/find-refs-to-decl-in-other-proj-when-proj-is-loaded-and-refd-proj-loading-is-disabled-and-proj-ref-redirects-are-disabled-and-a-decl-map-is-present.js index 21498df895520..9a3f1a301da80 100644 --- a/tests/baselines/reference/tsserver/projectReferences/find-refs-to-decl-in-other-proj-when-proj-is-loaded-and-refd-proj-loading-is-disabled-and-proj-ref-redirects-are-disabled-and-a-decl-map-is-present.js +++ b/tests/baselines/reference/tsserver/projectReferences/find-refs-to-decl-in-other-proj-when-proj-is-loaded-and-refd-proj-loading-is-disabled-and-proj-ref-redirects-are-disabled-and-a-decl-map-is-present.js @@ -8,6 +8,7 @@ Info 1 [16:00:32.000] request: "file": "/user/username/projects/myproject/a/index.ts" } } +Before request //// [/user/username/projects/myproject/a/tsconfig.json] { "compilerOptions": {"disableReferencedProjectLoad":true,"disableSourceOfProjectReferenceRedirect":true,"composite":true}, @@ -124,6 +125,7 @@ Info 29 [16:01:02.000] ----------------------------------------------- Info 29 [16:01:03.000] Open files: Info 29 [16:01:04.000] FileName: /user/username/projects/myproject/a/index.ts ProjectRootPath: undefined Info 29 [16:01:05.000] Projects: /user/username/projects/myproject/a/tsconfig.json +After request PolledWatches:: /a/lib/lib.d.ts: @@ -160,6 +162,7 @@ Info 30 [16:01:07.000] request: "file": "/user/username/projects/myproject/b/helper.ts" } } +Before request PolledWatches:: /a/lib/lib.d.ts: @@ -225,6 +228,7 @@ Info 50 [16:01:34.000] FileName: /user/username/projects/myproject/a/index.ts Info 50 [16:01:35.000] Projects: /user/username/projects/myproject/a/tsconfig.json Info 50 [16:01:36.000] FileName: /user/username/projects/myproject/b/helper.ts ProjectRootPath: undefined Info 50 [16:01:37.000] Projects: /user/username/projects/myproject/b/tsconfig.json +After request PolledWatches:: /a/lib/lib.d.ts: @@ -269,6 +273,7 @@ Info 51 [16:01:39.000] request: "seq": 1, "type": "request" } +Before request PolledWatches:: /a/lib/lib.d.ts: @@ -305,6 +310,7 @@ Info 55 [16:01:43.000] For info: /user/username/projects/myproject/b/index.ts Info 56 [16:01:44.000] Search path: /user/username/projects/myproject/b Info 57 [16:01:45.000] For info: /user/username/projects/myproject/b/index.ts :: Config file name: /user/username/projects/myproject/b/tsconfig.json Info 58 [16:01:46.000] Finding references to /user/username/projects/myproject/b/index.ts position 13 in project /user/username/projects/myproject/b/tsconfig.json +After request PolledWatches:: /a/lib/lib.d.ts: diff --git a/tests/baselines/reference/tsserver/projectReferences/find-refs-to-decl-in-other-proj-when-proj-is-loaded-and-refd-proj-loading-is-disabled-and-proj-ref-redirects-are-enabled-and-a-decl-map-is-missing.js b/tests/baselines/reference/tsserver/projectReferences/find-refs-to-decl-in-other-proj-when-proj-is-loaded-and-refd-proj-loading-is-disabled-and-proj-ref-redirects-are-enabled-and-a-decl-map-is-missing.js index f039183ee268e..a575c23974be9 100644 --- a/tests/baselines/reference/tsserver/projectReferences/find-refs-to-decl-in-other-proj-when-proj-is-loaded-and-refd-proj-loading-is-disabled-and-proj-ref-redirects-are-enabled-and-a-decl-map-is-missing.js +++ b/tests/baselines/reference/tsserver/projectReferences/find-refs-to-decl-in-other-proj-when-proj-is-loaded-and-refd-proj-loading-is-disabled-and-proj-ref-redirects-are-enabled-and-a-decl-map-is-missing.js @@ -8,6 +8,7 @@ Info 1 [16:00:30.000] request: "file": "/user/username/projects/myproject/a/index.ts" } } +Before request //// [/user/username/projects/myproject/a/tsconfig.json] { "compilerOptions": {"disableReferencedProjectLoad":true,"disableSourceOfProjectReferenceRedirect":false,"composite":true}, @@ -121,6 +122,7 @@ Info 29 [16:01:00.000] ----------------------------------------------- Info 29 [16:01:01.000] Open files: Info 29 [16:01:02.000] FileName: /user/username/projects/myproject/a/index.ts ProjectRootPath: undefined Info 29 [16:01:03.000] Projects: /user/username/projects/myproject/a/tsconfig.json +After request PolledWatches:: /a/lib/lib.d.ts: @@ -157,6 +159,7 @@ Info 30 [16:01:05.000] request: "file": "/user/username/projects/myproject/b/helper.ts" } } +Before request PolledWatches:: /a/lib/lib.d.ts: @@ -221,6 +224,7 @@ Info 49 [16:01:31.000] FileName: /user/username/projects/myproject/a/index.ts Info 49 [16:01:32.000] Projects: /user/username/projects/myproject/a/tsconfig.json Info 49 [16:01:33.000] FileName: /user/username/projects/myproject/b/helper.ts ProjectRootPath: undefined Info 49 [16:01:34.000] Projects: /user/username/projects/myproject/b/tsconfig.json +After request PolledWatches:: /a/lib/lib.d.ts: @@ -263,6 +267,7 @@ Info 50 [16:01:36.000] request: "seq": 1, "type": "request" } +Before request PolledWatches:: /a/lib/lib.d.ts: @@ -296,6 +301,7 @@ Info 53 [16:01:39.000] For info: /user/username/projects/myproject/b/index.ts Info 54 [16:01:40.000] Search path: /user/username/projects/myproject/b Info 55 [16:01:41.000] For info: /user/username/projects/myproject/b/index.ts :: Config file name: /user/username/projects/myproject/b/tsconfig.json Info 56 [16:01:42.000] Finding references to /user/username/projects/myproject/b/index.ts position 13 in project /user/username/projects/myproject/b/tsconfig.json +After request PolledWatches:: /a/lib/lib.d.ts: diff --git a/tests/baselines/reference/tsserver/projectReferences/find-refs-to-decl-in-other-proj-when-proj-is-loaded-and-refd-proj-loading-is-disabled-and-proj-ref-redirects-are-enabled-and-a-decl-map-is-present.js b/tests/baselines/reference/tsserver/projectReferences/find-refs-to-decl-in-other-proj-when-proj-is-loaded-and-refd-proj-loading-is-disabled-and-proj-ref-redirects-are-enabled-and-a-decl-map-is-present.js index 69d01f845521f..90d32ec4476c7 100644 --- a/tests/baselines/reference/tsserver/projectReferences/find-refs-to-decl-in-other-proj-when-proj-is-loaded-and-refd-proj-loading-is-disabled-and-proj-ref-redirects-are-enabled-and-a-decl-map-is-present.js +++ b/tests/baselines/reference/tsserver/projectReferences/find-refs-to-decl-in-other-proj-when-proj-is-loaded-and-refd-proj-loading-is-disabled-and-proj-ref-redirects-are-enabled-and-a-decl-map-is-present.js @@ -8,6 +8,7 @@ Info 1 [16:00:32.000] request: "file": "/user/username/projects/myproject/a/index.ts" } } +Before request //// [/user/username/projects/myproject/a/tsconfig.json] { "compilerOptions": {"disableReferencedProjectLoad":true,"disableSourceOfProjectReferenceRedirect":false,"composite":true}, @@ -124,6 +125,7 @@ Info 29 [16:01:02.000] ----------------------------------------------- Info 29 [16:01:03.000] Open files: Info 29 [16:01:04.000] FileName: /user/username/projects/myproject/a/index.ts ProjectRootPath: undefined Info 29 [16:01:05.000] Projects: /user/username/projects/myproject/a/tsconfig.json +After request PolledWatches:: /a/lib/lib.d.ts: @@ -160,6 +162,7 @@ Info 30 [16:01:07.000] request: "file": "/user/username/projects/myproject/b/helper.ts" } } +Before request PolledWatches:: /a/lib/lib.d.ts: @@ -224,6 +227,7 @@ Info 49 [16:01:33.000] FileName: /user/username/projects/myproject/a/index.ts Info 49 [16:01:34.000] Projects: /user/username/projects/myproject/a/tsconfig.json Info 49 [16:01:35.000] FileName: /user/username/projects/myproject/b/helper.ts ProjectRootPath: undefined Info 49 [16:01:36.000] Projects: /user/username/projects/myproject/b/tsconfig.json +After request PolledWatches:: /a/lib/lib.d.ts: @@ -266,6 +270,7 @@ Info 50 [16:01:38.000] request: "seq": 1, "type": "request" } +Before request PolledWatches:: /a/lib/lib.d.ts: @@ -299,6 +304,7 @@ Info 53 [16:01:41.000] For info: /user/username/projects/myproject/b/index.ts Info 54 [16:01:42.000] Search path: /user/username/projects/myproject/b Info 55 [16:01:43.000] For info: /user/username/projects/myproject/b/index.ts :: Config file name: /user/username/projects/myproject/b/tsconfig.json Info 56 [16:01:44.000] Finding references to /user/username/projects/myproject/b/index.ts position 13 in project /user/username/projects/myproject/b/tsconfig.json +After request PolledWatches:: /a/lib/lib.d.ts: diff --git a/tests/baselines/reference/tsserver/projectReferences/find-refs-to-decl-in-other-proj-when-proj-is-loaded-and-refd-proj-loading-is-enabled-and-proj-ref-redirects-are-disabled-and-a-decl-map-is-missing.js b/tests/baselines/reference/tsserver/projectReferences/find-refs-to-decl-in-other-proj-when-proj-is-loaded-and-refd-proj-loading-is-enabled-and-proj-ref-redirects-are-disabled-and-a-decl-map-is-missing.js index 80bdbb08f977d..e6d7ec6ea8e1a 100644 --- a/tests/baselines/reference/tsserver/projectReferences/find-refs-to-decl-in-other-proj-when-proj-is-loaded-and-refd-proj-loading-is-enabled-and-proj-ref-redirects-are-disabled-and-a-decl-map-is-missing.js +++ b/tests/baselines/reference/tsserver/projectReferences/find-refs-to-decl-in-other-proj-when-proj-is-loaded-and-refd-proj-loading-is-enabled-and-proj-ref-redirects-are-disabled-and-a-decl-map-is-missing.js @@ -8,6 +8,7 @@ Info 1 [16:00:30.000] request: "file": "/user/username/projects/myproject/a/index.ts" } } +Before request //// [/user/username/projects/myproject/a/tsconfig.json] { "compilerOptions": {"disableReferencedProjectLoad":false,"disableSourceOfProjectReferenceRedirect":true,"composite":true}, @@ -121,6 +122,7 @@ Info 29 [16:01:00.000] ----------------------------------------------- Info 29 [16:01:01.000] Open files: Info 29 [16:01:02.000] FileName: /user/username/projects/myproject/a/index.ts ProjectRootPath: undefined Info 29 [16:01:03.000] Projects: /user/username/projects/myproject/a/tsconfig.json +After request PolledWatches:: /a/lib/lib.d.ts: @@ -157,6 +159,7 @@ Info 30 [16:01:05.000] request: "file": "/user/username/projects/myproject/b/helper.ts" } } +Before request PolledWatches:: /a/lib/lib.d.ts: @@ -222,6 +225,7 @@ Info 50 [16:01:32.000] FileName: /user/username/projects/myproject/a/index.ts Info 50 [16:01:33.000] Projects: /user/username/projects/myproject/a/tsconfig.json Info 50 [16:01:34.000] FileName: /user/username/projects/myproject/b/helper.ts ProjectRootPath: undefined Info 50 [16:01:35.000] Projects: /user/username/projects/myproject/b/tsconfig.json +After request PolledWatches:: /a/lib/lib.d.ts: @@ -266,6 +270,7 @@ Info 51 [16:01:37.000] request: "seq": 1, "type": "request" } +Before request PolledWatches:: /a/lib/lib.d.ts: @@ -297,6 +302,7 @@ FsWatchesRecursive:: Info 52 [16:01:38.000] Finding references to /user/username/projects/myproject/a/index.ts position 40 in project /user/username/projects/myproject/a/tsconfig.json Info 53 [16:01:39.000] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/b/lib/index.d.ts.map 2000 undefined WatchType: Missing source map file +After request PolledWatches:: /a/lib/lib.d.ts: diff --git a/tests/baselines/reference/tsserver/projectReferences/find-refs-to-decl-in-other-proj-when-proj-is-loaded-and-refd-proj-loading-is-enabled-and-proj-ref-redirects-are-disabled-and-a-decl-map-is-present.js b/tests/baselines/reference/tsserver/projectReferences/find-refs-to-decl-in-other-proj-when-proj-is-loaded-and-refd-proj-loading-is-enabled-and-proj-ref-redirects-are-disabled-and-a-decl-map-is-present.js index 23a49077e9968..cabbe12464670 100644 --- a/tests/baselines/reference/tsserver/projectReferences/find-refs-to-decl-in-other-proj-when-proj-is-loaded-and-refd-proj-loading-is-enabled-and-proj-ref-redirects-are-disabled-and-a-decl-map-is-present.js +++ b/tests/baselines/reference/tsserver/projectReferences/find-refs-to-decl-in-other-proj-when-proj-is-loaded-and-refd-proj-loading-is-enabled-and-proj-ref-redirects-are-disabled-and-a-decl-map-is-present.js @@ -8,6 +8,7 @@ Info 1 [16:00:32.000] request: "file": "/user/username/projects/myproject/a/index.ts" } } +Before request //// [/user/username/projects/myproject/a/tsconfig.json] { "compilerOptions": {"disableReferencedProjectLoad":false,"disableSourceOfProjectReferenceRedirect":true,"composite":true}, @@ -124,6 +125,7 @@ Info 29 [16:01:02.000] ----------------------------------------------- Info 29 [16:01:03.000] Open files: Info 29 [16:01:04.000] FileName: /user/username/projects/myproject/a/index.ts ProjectRootPath: undefined Info 29 [16:01:05.000] Projects: /user/username/projects/myproject/a/tsconfig.json +After request PolledWatches:: /a/lib/lib.d.ts: @@ -160,6 +162,7 @@ Info 30 [16:01:07.000] request: "file": "/user/username/projects/myproject/b/helper.ts" } } +Before request PolledWatches:: /a/lib/lib.d.ts: @@ -225,6 +228,7 @@ Info 50 [16:01:34.000] FileName: /user/username/projects/myproject/a/index.ts Info 50 [16:01:35.000] Projects: /user/username/projects/myproject/a/tsconfig.json Info 50 [16:01:36.000] FileName: /user/username/projects/myproject/b/helper.ts ProjectRootPath: undefined Info 50 [16:01:37.000] Projects: /user/username/projects/myproject/b/tsconfig.json +After request PolledWatches:: /a/lib/lib.d.ts: @@ -269,6 +273,7 @@ Info 51 [16:01:39.000] request: "seq": 1, "type": "request" } +Before request PolledWatches:: /a/lib/lib.d.ts: @@ -305,6 +310,7 @@ Info 55 [16:01:43.000] For info: /user/username/projects/myproject/b/index.ts Info 56 [16:01:44.000] Search path: /user/username/projects/myproject/b Info 57 [16:01:45.000] For info: /user/username/projects/myproject/b/index.ts :: Config file name: /user/username/projects/myproject/b/tsconfig.json Info 58 [16:01:46.000] Finding references to /user/username/projects/myproject/b/index.ts position 13 in project /user/username/projects/myproject/b/tsconfig.json +After request PolledWatches:: /a/lib/lib.d.ts: diff --git a/tests/baselines/reference/tsserver/projectReferences/find-refs-to-decl-in-other-proj-when-proj-is-loaded-and-refd-proj-loading-is-enabled-and-proj-ref-redirects-are-enabled-and-a-decl-map-is-missing.js b/tests/baselines/reference/tsserver/projectReferences/find-refs-to-decl-in-other-proj-when-proj-is-loaded-and-refd-proj-loading-is-enabled-and-proj-ref-redirects-are-enabled-and-a-decl-map-is-missing.js index ae5a132847a5d..9f4a235fabfd7 100644 --- a/tests/baselines/reference/tsserver/projectReferences/find-refs-to-decl-in-other-proj-when-proj-is-loaded-and-refd-proj-loading-is-enabled-and-proj-ref-redirects-are-enabled-and-a-decl-map-is-missing.js +++ b/tests/baselines/reference/tsserver/projectReferences/find-refs-to-decl-in-other-proj-when-proj-is-loaded-and-refd-proj-loading-is-enabled-and-proj-ref-redirects-are-enabled-and-a-decl-map-is-missing.js @@ -8,6 +8,7 @@ Info 1 [16:00:30.000] request: "file": "/user/username/projects/myproject/a/index.ts" } } +Before request //// [/user/username/projects/myproject/a/tsconfig.json] { "compilerOptions": {"disableReferencedProjectLoad":false,"disableSourceOfProjectReferenceRedirect":false,"composite":true}, @@ -121,6 +122,7 @@ Info 29 [16:01:00.000] ----------------------------------------------- Info 29 [16:01:01.000] Open files: Info 29 [16:01:02.000] FileName: /user/username/projects/myproject/a/index.ts ProjectRootPath: undefined Info 29 [16:01:03.000] Projects: /user/username/projects/myproject/a/tsconfig.json +After request PolledWatches:: /a/lib/lib.d.ts: @@ -157,6 +159,7 @@ Info 30 [16:01:05.000] request: "file": "/user/username/projects/myproject/b/helper.ts" } } +Before request PolledWatches:: /a/lib/lib.d.ts: @@ -221,6 +224,7 @@ Info 49 [16:01:31.000] FileName: /user/username/projects/myproject/a/index.ts Info 49 [16:01:32.000] Projects: /user/username/projects/myproject/a/tsconfig.json Info 49 [16:01:33.000] FileName: /user/username/projects/myproject/b/helper.ts ProjectRootPath: undefined Info 49 [16:01:34.000] Projects: /user/username/projects/myproject/b/tsconfig.json +After request PolledWatches:: /a/lib/lib.d.ts: @@ -263,6 +267,7 @@ Info 50 [16:01:36.000] request: "seq": 1, "type": "request" } +Before request PolledWatches:: /a/lib/lib.d.ts: @@ -296,6 +301,7 @@ Info 53 [16:01:39.000] For info: /user/username/projects/myproject/b/index.ts Info 54 [16:01:40.000] Search path: /user/username/projects/myproject/b Info 55 [16:01:41.000] For info: /user/username/projects/myproject/b/index.ts :: Config file name: /user/username/projects/myproject/b/tsconfig.json Info 56 [16:01:42.000] Finding references to /user/username/projects/myproject/b/index.ts position 13 in project /user/username/projects/myproject/b/tsconfig.json +After request PolledWatches:: /a/lib/lib.d.ts: diff --git a/tests/baselines/reference/tsserver/projectReferences/find-refs-to-decl-in-other-proj-when-proj-is-loaded-and-refd-proj-loading-is-enabled-and-proj-ref-redirects-are-enabled-and-a-decl-map-is-present.js b/tests/baselines/reference/tsserver/projectReferences/find-refs-to-decl-in-other-proj-when-proj-is-loaded-and-refd-proj-loading-is-enabled-and-proj-ref-redirects-are-enabled-and-a-decl-map-is-present.js index 3a708028a2bd3..6c65798e15a7f 100644 --- a/tests/baselines/reference/tsserver/projectReferences/find-refs-to-decl-in-other-proj-when-proj-is-loaded-and-refd-proj-loading-is-enabled-and-proj-ref-redirects-are-enabled-and-a-decl-map-is-present.js +++ b/tests/baselines/reference/tsserver/projectReferences/find-refs-to-decl-in-other-proj-when-proj-is-loaded-and-refd-proj-loading-is-enabled-and-proj-ref-redirects-are-enabled-and-a-decl-map-is-present.js @@ -8,6 +8,7 @@ Info 1 [16:00:32.000] request: "file": "/user/username/projects/myproject/a/index.ts" } } +Before request //// [/user/username/projects/myproject/a/tsconfig.json] { "compilerOptions": {"disableReferencedProjectLoad":false,"disableSourceOfProjectReferenceRedirect":false,"composite":true}, @@ -124,6 +125,7 @@ Info 29 [16:01:02.000] ----------------------------------------------- Info 29 [16:01:03.000] Open files: Info 29 [16:01:04.000] FileName: /user/username/projects/myproject/a/index.ts ProjectRootPath: undefined Info 29 [16:01:05.000] Projects: /user/username/projects/myproject/a/tsconfig.json +After request PolledWatches:: /a/lib/lib.d.ts: @@ -160,6 +162,7 @@ Info 30 [16:01:07.000] request: "file": "/user/username/projects/myproject/b/helper.ts" } } +Before request PolledWatches:: /a/lib/lib.d.ts: @@ -224,6 +227,7 @@ Info 49 [16:01:33.000] FileName: /user/username/projects/myproject/a/index.ts Info 49 [16:01:34.000] Projects: /user/username/projects/myproject/a/tsconfig.json Info 49 [16:01:35.000] FileName: /user/username/projects/myproject/b/helper.ts ProjectRootPath: undefined Info 49 [16:01:36.000] Projects: /user/username/projects/myproject/b/tsconfig.json +After request PolledWatches:: /a/lib/lib.d.ts: @@ -266,6 +270,7 @@ Info 50 [16:01:38.000] request: "seq": 1, "type": "request" } +Before request PolledWatches:: /a/lib/lib.d.ts: @@ -299,6 +304,7 @@ Info 53 [16:01:41.000] For info: /user/username/projects/myproject/b/index.ts Info 54 [16:01:42.000] Search path: /user/username/projects/myproject/b Info 55 [16:01:43.000] For info: /user/username/projects/myproject/b/index.ts :: Config file name: /user/username/projects/myproject/b/tsconfig.json Info 56 [16:01:44.000] Finding references to /user/username/projects/myproject/b/index.ts position 13 in project /user/username/projects/myproject/b/tsconfig.json +After request PolledWatches:: /a/lib/lib.d.ts: diff --git a/tests/baselines/reference/tsserver/projectReferences/find-refs-to-decl-in-other-proj-when-proj-is-not-loaded-and-refd-proj-loading-is-disabled-and-proj-ref-redirects-are-disabled-and-a-decl-map-is-missing.js b/tests/baselines/reference/tsserver/projectReferences/find-refs-to-decl-in-other-proj-when-proj-is-not-loaded-and-refd-proj-loading-is-disabled-and-proj-ref-redirects-are-disabled-and-a-decl-map-is-missing.js index 3dd75fbf2107f..825e2f2ab1ca0 100644 --- a/tests/baselines/reference/tsserver/projectReferences/find-refs-to-decl-in-other-proj-when-proj-is-not-loaded-and-refd-proj-loading-is-disabled-and-proj-ref-redirects-are-disabled-and-a-decl-map-is-missing.js +++ b/tests/baselines/reference/tsserver/projectReferences/find-refs-to-decl-in-other-proj-when-proj-is-not-loaded-and-refd-proj-loading-is-disabled-and-proj-ref-redirects-are-disabled-and-a-decl-map-is-missing.js @@ -8,6 +8,7 @@ Info 1 [16:00:30.000] request: "file": "/user/username/projects/myproject/a/index.ts" } } +Before request //// [/user/username/projects/myproject/a/tsconfig.json] { "compilerOptions": {"disableReferencedProjectLoad":true,"disableSourceOfProjectReferenceRedirect":true,"composite":true}, @@ -121,6 +122,7 @@ Info 29 [16:01:00.000] ----------------------------------------------- Info 29 [16:01:01.000] Open files: Info 29 [16:01:02.000] FileName: /user/username/projects/myproject/a/index.ts ProjectRootPath: undefined Info 29 [16:01:03.000] Projects: /user/username/projects/myproject/a/tsconfig.json +After request PolledWatches:: /a/lib/lib.d.ts: @@ -159,6 +161,7 @@ Info 30 [16:01:05.000] request: "seq": 1, "type": "request" } +Before request PolledWatches:: /a/lib/lib.d.ts: @@ -184,6 +187,7 @@ FsWatchesRecursive:: Info 31 [16:01:06.000] Finding references to /user/username/projects/myproject/a/index.ts position 40 in project /user/username/projects/myproject/a/tsconfig.json Info 32 [16:01:07.000] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/b/lib/index.d.ts.map 2000 undefined WatchType: Missing source map file +After request PolledWatches:: /a/lib/lib.d.ts: diff --git a/tests/baselines/reference/tsserver/projectReferences/find-refs-to-decl-in-other-proj-when-proj-is-not-loaded-and-refd-proj-loading-is-disabled-and-proj-ref-redirects-are-disabled-and-a-decl-map-is-present.js b/tests/baselines/reference/tsserver/projectReferences/find-refs-to-decl-in-other-proj-when-proj-is-not-loaded-and-refd-proj-loading-is-disabled-and-proj-ref-redirects-are-disabled-and-a-decl-map-is-present.js index 7989cc6415b71..6a900027f7864 100644 --- a/tests/baselines/reference/tsserver/projectReferences/find-refs-to-decl-in-other-proj-when-proj-is-not-loaded-and-refd-proj-loading-is-disabled-and-proj-ref-redirects-are-disabled-and-a-decl-map-is-present.js +++ b/tests/baselines/reference/tsserver/projectReferences/find-refs-to-decl-in-other-proj-when-proj-is-not-loaded-and-refd-proj-loading-is-disabled-and-proj-ref-redirects-are-disabled-and-a-decl-map-is-present.js @@ -8,6 +8,7 @@ Info 1 [16:00:32.000] request: "file": "/user/username/projects/myproject/a/index.ts" } } +Before request //// [/user/username/projects/myproject/a/tsconfig.json] { "compilerOptions": {"disableReferencedProjectLoad":true,"disableSourceOfProjectReferenceRedirect":true,"composite":true}, @@ -124,6 +125,7 @@ Info 29 [16:01:02.000] ----------------------------------------------- Info 29 [16:01:03.000] Open files: Info 29 [16:01:04.000] FileName: /user/username/projects/myproject/a/index.ts ProjectRootPath: undefined Info 29 [16:01:05.000] Projects: /user/username/projects/myproject/a/tsconfig.json +After request PolledWatches:: /a/lib/lib.d.ts: @@ -162,6 +164,7 @@ Info 30 [16:01:07.000] request: "seq": 1, "type": "request" } +Before request PolledWatches:: /a/lib/lib.d.ts: @@ -192,6 +195,7 @@ Info 34 [16:01:11.000] Search path: /user/username/projects/myproject/b Info 35 [16:01:12.000] For info: /user/username/projects/myproject/b/index.ts :: Config file name: /user/username/projects/myproject/b/tsconfig.json Info 36 [16:01:13.000] Search path: /user/username/projects/myproject/b Info 37 [16:01:14.000] For info: /user/username/projects/myproject/b/index.ts :: Config file name: /user/username/projects/myproject/b/tsconfig.json +After request PolledWatches:: /a/lib/lib.d.ts: diff --git a/tests/baselines/reference/tsserver/projectReferences/find-refs-to-decl-in-other-proj-when-proj-is-not-loaded-and-refd-proj-loading-is-disabled-and-proj-ref-redirects-are-enabled-and-a-decl-map-is-missing.js b/tests/baselines/reference/tsserver/projectReferences/find-refs-to-decl-in-other-proj-when-proj-is-not-loaded-and-refd-proj-loading-is-disabled-and-proj-ref-redirects-are-enabled-and-a-decl-map-is-missing.js index 26a3d362cb415..33b0f239d0c89 100644 --- a/tests/baselines/reference/tsserver/projectReferences/find-refs-to-decl-in-other-proj-when-proj-is-not-loaded-and-refd-proj-loading-is-disabled-and-proj-ref-redirects-are-enabled-and-a-decl-map-is-missing.js +++ b/tests/baselines/reference/tsserver/projectReferences/find-refs-to-decl-in-other-proj-when-proj-is-not-loaded-and-refd-proj-loading-is-disabled-and-proj-ref-redirects-are-enabled-and-a-decl-map-is-missing.js @@ -8,6 +8,7 @@ Info 1 [16:00:30.000] request: "file": "/user/username/projects/myproject/a/index.ts" } } +Before request //// [/user/username/projects/myproject/a/tsconfig.json] { "compilerOptions": {"disableReferencedProjectLoad":true,"disableSourceOfProjectReferenceRedirect":false,"composite":true}, @@ -121,6 +122,7 @@ Info 29 [16:01:00.000] ----------------------------------------------- Info 29 [16:01:01.000] Open files: Info 29 [16:01:02.000] FileName: /user/username/projects/myproject/a/index.ts ProjectRootPath: undefined Info 29 [16:01:03.000] Projects: /user/username/projects/myproject/a/tsconfig.json +After request PolledWatches:: /a/lib/lib.d.ts: @@ -159,6 +161,7 @@ Info 30 [16:01:05.000] request: "seq": 1, "type": "request" } +Before request PolledWatches:: /a/lib/lib.d.ts: @@ -187,6 +190,7 @@ Info 32 [16:01:07.000] Search path: /user/username/projects/myproject/b Info 33 [16:01:08.000] For info: /user/username/projects/myproject/b/index.ts :: Config file name: /user/username/projects/myproject/b/tsconfig.json Info 34 [16:01:09.000] Search path: /user/username/projects/myproject/b Info 35 [16:01:10.000] For info: /user/username/projects/myproject/b/index.ts :: Config file name: /user/username/projects/myproject/b/tsconfig.json +After request PolledWatches:: /a/lib/lib.d.ts: diff --git a/tests/baselines/reference/tsserver/projectReferences/find-refs-to-decl-in-other-proj-when-proj-is-not-loaded-and-refd-proj-loading-is-disabled-and-proj-ref-redirects-are-enabled-and-a-decl-map-is-present.js b/tests/baselines/reference/tsserver/projectReferences/find-refs-to-decl-in-other-proj-when-proj-is-not-loaded-and-refd-proj-loading-is-disabled-and-proj-ref-redirects-are-enabled-and-a-decl-map-is-present.js index 124085be9060d..943ecac885fb3 100644 --- a/tests/baselines/reference/tsserver/projectReferences/find-refs-to-decl-in-other-proj-when-proj-is-not-loaded-and-refd-proj-loading-is-disabled-and-proj-ref-redirects-are-enabled-and-a-decl-map-is-present.js +++ b/tests/baselines/reference/tsserver/projectReferences/find-refs-to-decl-in-other-proj-when-proj-is-not-loaded-and-refd-proj-loading-is-disabled-and-proj-ref-redirects-are-enabled-and-a-decl-map-is-present.js @@ -8,6 +8,7 @@ Info 1 [16:00:32.000] request: "file": "/user/username/projects/myproject/a/index.ts" } } +Before request //// [/user/username/projects/myproject/a/tsconfig.json] { "compilerOptions": {"disableReferencedProjectLoad":true,"disableSourceOfProjectReferenceRedirect":false,"composite":true}, @@ -124,6 +125,7 @@ Info 29 [16:01:02.000] ----------------------------------------------- Info 29 [16:01:03.000] Open files: Info 29 [16:01:04.000] FileName: /user/username/projects/myproject/a/index.ts ProjectRootPath: undefined Info 29 [16:01:05.000] Projects: /user/username/projects/myproject/a/tsconfig.json +After request PolledWatches:: /a/lib/lib.d.ts: @@ -162,6 +164,7 @@ Info 30 [16:01:07.000] request: "seq": 1, "type": "request" } +Before request PolledWatches:: /a/lib/lib.d.ts: @@ -190,6 +193,7 @@ Info 32 [16:01:09.000] Search path: /user/username/projects/myproject/b Info 33 [16:01:10.000] For info: /user/username/projects/myproject/b/index.ts :: Config file name: /user/username/projects/myproject/b/tsconfig.json Info 34 [16:01:11.000] Search path: /user/username/projects/myproject/b Info 35 [16:01:12.000] For info: /user/username/projects/myproject/b/index.ts :: Config file name: /user/username/projects/myproject/b/tsconfig.json +After request PolledWatches:: /a/lib/lib.d.ts: diff --git a/tests/baselines/reference/tsserver/projectReferences/find-refs-to-decl-in-other-proj-when-proj-is-not-loaded-and-refd-proj-loading-is-enabled-and-proj-ref-redirects-are-disabled-and-a-decl-map-is-missing.js b/tests/baselines/reference/tsserver/projectReferences/find-refs-to-decl-in-other-proj-when-proj-is-not-loaded-and-refd-proj-loading-is-enabled-and-proj-ref-redirects-are-disabled-and-a-decl-map-is-missing.js index d6fa44406e1ae..4c55160a9d6c3 100644 --- a/tests/baselines/reference/tsserver/projectReferences/find-refs-to-decl-in-other-proj-when-proj-is-not-loaded-and-refd-proj-loading-is-enabled-and-proj-ref-redirects-are-disabled-and-a-decl-map-is-missing.js +++ b/tests/baselines/reference/tsserver/projectReferences/find-refs-to-decl-in-other-proj-when-proj-is-not-loaded-and-refd-proj-loading-is-enabled-and-proj-ref-redirects-are-disabled-and-a-decl-map-is-missing.js @@ -8,6 +8,7 @@ Info 1 [16:00:30.000] request: "file": "/user/username/projects/myproject/a/index.ts" } } +Before request //// [/user/username/projects/myproject/a/tsconfig.json] { "compilerOptions": {"disableReferencedProjectLoad":false,"disableSourceOfProjectReferenceRedirect":true,"composite":true}, @@ -121,6 +122,7 @@ Info 29 [16:01:00.000] ----------------------------------------------- Info 29 [16:01:01.000] Open files: Info 29 [16:01:02.000] FileName: /user/username/projects/myproject/a/index.ts ProjectRootPath: undefined Info 29 [16:01:03.000] Projects: /user/username/projects/myproject/a/tsconfig.json +After request PolledWatches:: /a/lib/lib.d.ts: @@ -159,6 +161,7 @@ Info 30 [16:01:05.000] request: "seq": 1, "type": "request" } +Before request PolledWatches:: /a/lib/lib.d.ts: @@ -184,6 +187,7 @@ FsWatchesRecursive:: Info 31 [16:01:06.000] Finding references to /user/username/projects/myproject/a/index.ts position 40 in project /user/username/projects/myproject/a/tsconfig.json Info 32 [16:01:07.000] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/b/lib/index.d.ts.map 2000 undefined WatchType: Missing source map file +After request PolledWatches:: /a/lib/lib.d.ts: diff --git a/tests/baselines/reference/tsserver/projectReferences/find-refs-to-decl-in-other-proj-when-proj-is-not-loaded-and-refd-proj-loading-is-enabled-and-proj-ref-redirects-are-disabled-and-a-decl-map-is-present.js b/tests/baselines/reference/tsserver/projectReferences/find-refs-to-decl-in-other-proj-when-proj-is-not-loaded-and-refd-proj-loading-is-enabled-and-proj-ref-redirects-are-disabled-and-a-decl-map-is-present.js index c1c36fb480331..453f42c75872d 100644 --- a/tests/baselines/reference/tsserver/projectReferences/find-refs-to-decl-in-other-proj-when-proj-is-not-loaded-and-refd-proj-loading-is-enabled-and-proj-ref-redirects-are-disabled-and-a-decl-map-is-present.js +++ b/tests/baselines/reference/tsserver/projectReferences/find-refs-to-decl-in-other-proj-when-proj-is-not-loaded-and-refd-proj-loading-is-enabled-and-proj-ref-redirects-are-disabled-and-a-decl-map-is-present.js @@ -8,6 +8,7 @@ Info 1 [16:00:32.000] request: "file": "/user/username/projects/myproject/a/index.ts" } } +Before request //// [/user/username/projects/myproject/a/tsconfig.json] { "compilerOptions": {"disableReferencedProjectLoad":false,"disableSourceOfProjectReferenceRedirect":true,"composite":true}, @@ -124,6 +125,7 @@ Info 29 [16:01:02.000] ----------------------------------------------- Info 29 [16:01:03.000] Open files: Info 29 [16:01:04.000] FileName: /user/username/projects/myproject/a/index.ts ProjectRootPath: undefined Info 29 [16:01:05.000] Projects: /user/username/projects/myproject/a/tsconfig.json +After request PolledWatches:: /a/lib/lib.d.ts: @@ -162,6 +164,7 @@ Info 30 [16:01:07.000] request: "seq": 1, "type": "request" } +Before request PolledWatches:: /a/lib/lib.d.ts: @@ -218,6 +221,7 @@ Info 50 [16:01:27.000] ----------------------------------------------- Info 51 [16:01:28.000] Search path: /user/username/projects/myproject/b Info 52 [16:01:29.000] For info: /user/username/projects/myproject/b/index.ts :: Config file name: /user/username/projects/myproject/b/tsconfig.json Info 53 [16:01:30.000] Finding references to /user/username/projects/myproject/b/index.ts position 13 in project /user/username/projects/myproject/b/tsconfig.json +After request PolledWatches:: /a/lib/lib.d.ts: diff --git a/tests/baselines/reference/tsserver/projectReferences/find-refs-to-decl-in-other-proj-when-proj-is-not-loaded-and-refd-proj-loading-is-enabled-and-proj-ref-redirects-are-enabled-and-a-decl-map-is-missing.js b/tests/baselines/reference/tsserver/projectReferences/find-refs-to-decl-in-other-proj-when-proj-is-not-loaded-and-refd-proj-loading-is-enabled-and-proj-ref-redirects-are-enabled-and-a-decl-map-is-missing.js index f601bf09ed7fc..90e852f5652c1 100644 --- a/tests/baselines/reference/tsserver/projectReferences/find-refs-to-decl-in-other-proj-when-proj-is-not-loaded-and-refd-proj-loading-is-enabled-and-proj-ref-redirects-are-enabled-and-a-decl-map-is-missing.js +++ b/tests/baselines/reference/tsserver/projectReferences/find-refs-to-decl-in-other-proj-when-proj-is-not-loaded-and-refd-proj-loading-is-enabled-and-proj-ref-redirects-are-enabled-and-a-decl-map-is-missing.js @@ -8,6 +8,7 @@ Info 1 [16:00:30.000] request: "file": "/user/username/projects/myproject/a/index.ts" } } +Before request //// [/user/username/projects/myproject/a/tsconfig.json] { "compilerOptions": {"disableReferencedProjectLoad":false,"disableSourceOfProjectReferenceRedirect":false,"composite":true}, @@ -121,6 +122,7 @@ Info 29 [16:01:00.000] ----------------------------------------------- Info 29 [16:01:01.000] Open files: Info 29 [16:01:02.000] FileName: /user/username/projects/myproject/a/index.ts ProjectRootPath: undefined Info 29 [16:01:03.000] Projects: /user/username/projects/myproject/a/tsconfig.json +After request PolledWatches:: /a/lib/lib.d.ts: @@ -159,6 +161,7 @@ Info 30 [16:01:05.000] request: "seq": 1, "type": "request" } +Before request PolledWatches:: /a/lib/lib.d.ts: @@ -213,6 +216,7 @@ Info 48 [16:01:23.000] ----------------------------------------------- Info 49 [16:01:24.000] Search path: /user/username/projects/myproject/b Info 50 [16:01:25.000] For info: /user/username/projects/myproject/b/index.ts :: Config file name: /user/username/projects/myproject/b/tsconfig.json Info 51 [16:01:26.000] Finding references to /user/username/projects/myproject/b/index.ts position 13 in project /user/username/projects/myproject/b/tsconfig.json +After request PolledWatches:: /a/lib/lib.d.ts: diff --git a/tests/baselines/reference/tsserver/projectReferences/find-refs-to-decl-in-other-proj-when-proj-is-not-loaded-and-refd-proj-loading-is-enabled-and-proj-ref-redirects-are-enabled-and-a-decl-map-is-present.js b/tests/baselines/reference/tsserver/projectReferences/find-refs-to-decl-in-other-proj-when-proj-is-not-loaded-and-refd-proj-loading-is-enabled-and-proj-ref-redirects-are-enabled-and-a-decl-map-is-present.js index 64d3c43b78af3..76de3d303230a 100644 --- a/tests/baselines/reference/tsserver/projectReferences/find-refs-to-decl-in-other-proj-when-proj-is-not-loaded-and-refd-proj-loading-is-enabled-and-proj-ref-redirects-are-enabled-and-a-decl-map-is-present.js +++ b/tests/baselines/reference/tsserver/projectReferences/find-refs-to-decl-in-other-proj-when-proj-is-not-loaded-and-refd-proj-loading-is-enabled-and-proj-ref-redirects-are-enabled-and-a-decl-map-is-present.js @@ -8,6 +8,7 @@ Info 1 [16:00:32.000] request: "file": "/user/username/projects/myproject/a/index.ts" } } +Before request //// [/user/username/projects/myproject/a/tsconfig.json] { "compilerOptions": {"disableReferencedProjectLoad":false,"disableSourceOfProjectReferenceRedirect":false,"composite":true}, @@ -124,6 +125,7 @@ Info 29 [16:01:02.000] ----------------------------------------------- Info 29 [16:01:03.000] Open files: Info 29 [16:01:04.000] FileName: /user/username/projects/myproject/a/index.ts ProjectRootPath: undefined Info 29 [16:01:05.000] Projects: /user/username/projects/myproject/a/tsconfig.json +After request PolledWatches:: /a/lib/lib.d.ts: @@ -162,6 +164,7 @@ Info 30 [16:01:07.000] request: "seq": 1, "type": "request" } +Before request PolledWatches:: /a/lib/lib.d.ts: @@ -216,6 +219,7 @@ Info 48 [16:01:25.000] ----------------------------------------------- Info 49 [16:01:26.000] Search path: /user/username/projects/myproject/b Info 50 [16:01:27.000] For info: /user/username/projects/myproject/b/index.ts :: Config file name: /user/username/projects/myproject/b/tsconfig.json Info 51 [16:01:28.000] Finding references to /user/username/projects/myproject/b/index.ts position 13 in project /user/username/projects/myproject/b/tsconfig.json +After request PolledWatches:: /a/lib/lib.d.ts: diff --git a/tests/baselines/reference/tsserver/projectReferences/finding-local-reference-doesnt-load-ancestor/sibling-projects.js b/tests/baselines/reference/tsserver/projectReferences/finding-local-reference-doesnt-load-ancestor/sibling-projects.js index 08c900aca5b32..c4c612cdd3b40 100644 --- a/tests/baselines/reference/tsserver/projectReferences/finding-local-reference-doesnt-load-ancestor/sibling-projects.js +++ b/tests/baselines/reference/tsserver/projectReferences/finding-local-reference-doesnt-load-ancestor/sibling-projects.js @@ -8,6 +8,7 @@ Info 1 [16:00:35.000] request: "file": "/user/username/projects/solution/compiler/program.ts" } } +Before request //// [/a/lib/lib.d.ts] /// interface Boolean {} @@ -116,6 +117,7 @@ Info 25 [16:01:04.000] ----------------------------------------------- Info 25 [16:01:05.000] Open files: Info 25 [16:01:06.000] FileName: /user/username/projects/solution/compiler/program.ts ProjectRootPath: undefined Info 25 [16:01:07.000] Projects: /user/username/projects/solution/compiler/tsconfig.json +After request PolledWatches:: /user/username/projects/solution/compiler/node_modules/@types: @@ -150,6 +152,7 @@ Info 26 [16:01:09.000] request: "seq": 1, "type": "request" } +Before request PolledWatches:: /user/username/projects/solution/compiler/node_modules/@types: @@ -170,6 +173,7 @@ FsWatches:: FsWatchesRecursive:: Info 27 [16:01:10.000] Finding references to /user/username/projects/solution/compiler/program.ts position 133 in project /user/username/projects/solution/compiler/tsconfig.json +After request PolledWatches:: /user/username/projects/solution/compiler/node_modules/@types: @@ -245,6 +249,7 @@ Info 29 [16:01:12.000] request: "seq": 2, "type": "request" } +Before request PolledWatches:: /user/username/projects/solution/compiler/node_modules/@types: @@ -339,6 +344,7 @@ Info 57 [16:01:40.000] Search path: /user/username/projects/solution/compiler Info 58 [16:01:41.000] For info: /user/username/projects/solution/compiler/types.ts :: Config file name: /user/username/projects/solution/compiler/tsconfig.json Info 59 [16:01:42.000] Search path: /user/username/projects/solution/compiler Info 60 [16:01:43.000] For info: /user/username/projects/solution/compiler/program.ts :: Config file name: /user/username/projects/solution/compiler/tsconfig.json +After request PolledWatches:: /user/username/projects/solution/compiler/node_modules/@types: diff --git a/tests/baselines/reference/tsserver/projectReferences/finding-references-in-overlapping-projects.js b/tests/baselines/reference/tsserver/projectReferences/finding-references-in-overlapping-projects.js index 887b10d49f68b..6fdb49ec457ee 100644 --- a/tests/baselines/reference/tsserver/projectReferences/finding-references-in-overlapping-projects.js +++ b/tests/baselines/reference/tsserver/projectReferences/finding-references-in-overlapping-projects.js @@ -8,6 +8,7 @@ Info 1 [16:00:45.000] request: "file": "/user/username/projects/solution/b/index.ts" } } +Before request //// [/a/lib/lib.d.ts] /// interface Boolean {} @@ -149,6 +150,7 @@ Info 31 [16:01:20.000] ----------------------------------------------- Info 31 [16:01:21.000] Open files: Info 31 [16:01:22.000] FileName: /user/username/projects/solution/b/index.ts ProjectRootPath: undefined Info 31 [16:01:23.000] Projects: /user/username/projects/solution/b/tsconfig.json +After request PolledWatches:: /user/username/projects/solution/b/node_modules/@types: @@ -189,6 +191,7 @@ Info 32 [16:01:25.000] request: "seq": 1, "type": "request" } +Before request PolledWatches:: /user/username/projects/solution/b/node_modules/@types: @@ -405,6 +408,7 @@ Info 124 [16:02:57.000] Search path: /user/username/projects/solution/c Info 125 [16:02:58.000] For info: /user/username/projects/solution/c/index.ts :: Config file name: /user/username/projects/solution/c/tsconfig.json Info 126 [16:02:59.000] Search path: /user/username/projects/solution/c Info 127 [16:03:00.000] For info: /user/username/projects/solution/c/index.ts :: Config file name: /user/username/projects/solution/c/tsconfig.json +After request PolledWatches:: /user/username/projects/solution/b/node_modules/@types: @@ -593,6 +597,7 @@ Info 129 [16:03:02.000] request: "seq": 2, "type": "request" } +Before request PolledWatches:: /user/username/projects/solution/b/node_modules/@types: @@ -670,6 +675,7 @@ Info 160 [16:03:33.000] For info: /user/username/projects/solution/c/index.ts : Info 161 [16:03:34.000] Search path: /user/username/projects/solution/c Info 162 [16:03:35.000] For info: /user/username/projects/solution/c/index.ts :: Config file name: /user/username/projects/solution/c/tsconfig.json Info 163 [16:03:36.000] Finding references to /user/username/projects/solution/a/index.ts position 34 in project /user/username/projects/solution/a/tsconfig.json +After request PolledWatches:: /user/username/projects/solution/b/node_modules/@types: diff --git a/tests/baselines/reference/tsserver/projectReferences/monorepo-like-with-symlinks-when-packageJson-has-types-field-and-has-index.ts-and-solution-is-built-with-preserveSymlinks.js b/tests/baselines/reference/tsserver/projectReferences/monorepo-like-with-symlinks-when-packageJson-has-types-field-and-has-index.ts-and-solution-is-built-with-preserveSymlinks.js index d79b72774c42b..e56304e474be3 100644 --- a/tests/baselines/reference/tsserver/projectReferences/monorepo-like-with-symlinks-when-packageJson-has-types-field-and-has-index.ts-and-solution-is-built-with-preserveSymlinks.js +++ b/tests/baselines/reference/tsserver/projectReferences/monorepo-like-with-symlinks-when-packageJson-has-types-field-and-has-index.ts-and-solution-is-built-with-preserveSymlinks.js @@ -8,6 +8,7 @@ Info 1 [16:01:12.000] request: "file": "/user/username/projects/myproject/packages/A/src/index.ts" } } +Before request //// [/a/lib/lib.d.ts] /// interface Boolean {} @@ -289,6 +290,7 @@ Info 43 [16:01:56.000] ----------------------------------------------- Info 43 [16:01:57.000] Open files: Info 43 [16:01:58.000] FileName: /user/username/projects/myproject/packages/A/src/index.ts ProjectRootPath: undefined Info 43 [16:01:59.000] Projects: /user/username/projects/myproject/packages/A/tsconfig.json +After request PolledWatches:: /user/username/projects/myproject/packages/a/node_modules: @@ -340,6 +342,7 @@ Info 44 [16:02:01.000] request: "seq": 1, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/packages/a/node_modules: @@ -375,6 +378,7 @@ FsWatchesRecursive:: /user/username/projects/myproject/node_modules: {} +After request PolledWatches:: /user/username/projects/myproject/packages/a/node_modules: @@ -414,14 +418,230 @@ Info 45 [16:02:02.000] response: { "responseRequired": false } +Before checking timeout queue length (1) and running + +PolledWatches:: +/user/username/projects/myproject/packages/a/node_modules: + {"pollingInterval":500} +/user/username/projects/myproject/packages/node_modules: + {"pollingInterval":500} +/user/username/projects/myproject/packages/a/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/myproject/packages/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/myproject/node_modules/@types: + {"pollingInterval":500} + +FsWatches:: +/user/username/projects/myproject/packages/a/tsconfig.json: + {} +/user/username/projects/myproject/packages/b/tsconfig.json: + {} +/user/username/projects/myproject/packages/b/src/index.ts: + {} +/user/username/projects/myproject/packages/b/src/bar.ts: + {} +/a/lib/lib.d.ts: + {} +/user/username/projects/myproject/packages/b/package.json: + {} + +FsWatchesRecursive:: +/user/username/projects/myproject/packages/a/src: + {} +/user/username/projects/myproject/packages/b/src: + {} +/user/username/projects/myproject/node_modules: + {} + Info 46 [16:02:03.000] event: {"seq":0,"type":"event","event":"syntaxDiag","body":{"file":"/user/username/projects/myproject/packages/A/src/index.ts","diagnostics":[]}} +After checking timeout queue length (1) and running + +PolledWatches:: +/user/username/projects/myproject/packages/a/node_modules: + {"pollingInterval":500} +/user/username/projects/myproject/packages/node_modules: + {"pollingInterval":500} +/user/username/projects/myproject/packages/a/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/myproject/packages/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/myproject/node_modules/@types: + {"pollingInterval":500} + +FsWatches:: +/user/username/projects/myproject/packages/a/tsconfig.json: + {} +/user/username/projects/myproject/packages/b/tsconfig.json: + {} +/user/username/projects/myproject/packages/b/src/index.ts: + {} +/user/username/projects/myproject/packages/b/src/bar.ts: + {} +/a/lib/lib.d.ts: + {} +/user/username/projects/myproject/packages/b/package.json: + {} + +FsWatchesRecursive:: +/user/username/projects/myproject/packages/a/src: + {} +/user/username/projects/myproject/packages/b/src: + {} +/user/username/projects/myproject/node_modules: + {} + +Before running immediate callbacks and checking length (1) + +PolledWatches:: +/user/username/projects/myproject/packages/a/node_modules: + {"pollingInterval":500} +/user/username/projects/myproject/packages/node_modules: + {"pollingInterval":500} +/user/username/projects/myproject/packages/a/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/myproject/packages/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/myproject/node_modules/@types: + {"pollingInterval":500} + +FsWatches:: +/user/username/projects/myproject/packages/a/tsconfig.json: + {} +/user/username/projects/myproject/packages/b/tsconfig.json: + {} +/user/username/projects/myproject/packages/b/src/index.ts: + {} +/user/username/projects/myproject/packages/b/src/bar.ts: + {} +/a/lib/lib.d.ts: + {} +/user/username/projects/myproject/packages/b/package.json: + {} + +FsWatchesRecursive:: +/user/username/projects/myproject/packages/a/src: + {} +/user/username/projects/myproject/packages/b/src: + {} +/user/username/projects/myproject/node_modules: + {} + Info 47 [16:02:04.000] event: {"seq":0,"type":"event","event":"semanticDiag","body":{"file":"/user/username/projects/myproject/packages/A/src/index.ts","diagnostics":[]}} +Before running immediate callbacks and checking length (1) + +PolledWatches:: +/user/username/projects/myproject/packages/a/node_modules: + {"pollingInterval":500} +/user/username/projects/myproject/packages/node_modules: + {"pollingInterval":500} +/user/username/projects/myproject/packages/a/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/myproject/packages/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/myproject/node_modules/@types: + {"pollingInterval":500} + +FsWatches:: +/user/username/projects/myproject/packages/a/tsconfig.json: + {} +/user/username/projects/myproject/packages/b/tsconfig.json: + {} +/user/username/projects/myproject/packages/b/src/index.ts: + {} +/user/username/projects/myproject/packages/b/src/bar.ts: + {} +/a/lib/lib.d.ts: + {} +/user/username/projects/myproject/packages/b/package.json: + {} + +FsWatchesRecursive:: +/user/username/projects/myproject/packages/a/src: + {} +/user/username/projects/myproject/packages/b/src: + {} +/user/username/projects/myproject/node_modules: + {} + +Before running immediate callbacks and checking length (1) + +PolledWatches:: +/user/username/projects/myproject/packages/a/node_modules: + {"pollingInterval":500} +/user/username/projects/myproject/packages/node_modules: + {"pollingInterval":500} +/user/username/projects/myproject/packages/a/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/myproject/packages/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/myproject/node_modules/@types: + {"pollingInterval":500} + +FsWatches:: +/user/username/projects/myproject/packages/a/tsconfig.json: + {} +/user/username/projects/myproject/packages/b/tsconfig.json: + {} +/user/username/projects/myproject/packages/b/src/index.ts: + {} +/user/username/projects/myproject/packages/b/src/bar.ts: + {} +/a/lib/lib.d.ts: + {} +/user/username/projects/myproject/packages/b/package.json: + {} + +FsWatchesRecursive:: +/user/username/projects/myproject/packages/a/src: + {} +/user/username/projects/myproject/packages/b/src: + {} +/user/username/projects/myproject/node_modules: + {} + Info 48 [16:02:05.000] event: {"seq":0,"type":"event","event":"suggestionDiag","body":{"file":"/user/username/projects/myproject/packages/A/src/index.ts","diagnostics":[]}} Info 49 [16:02:06.000] event: {"seq":0,"type":"event","event":"requestCompleted","body":{"request_seq":1}} +Before running immediate callbacks and checking length (1) + +PolledWatches:: +/user/username/projects/myproject/packages/a/node_modules: + {"pollingInterval":500} +/user/username/projects/myproject/packages/node_modules: + {"pollingInterval":500} +/user/username/projects/myproject/packages/a/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/myproject/packages/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/myproject/node_modules/@types: + {"pollingInterval":500} + +FsWatches:: +/user/username/projects/myproject/packages/a/tsconfig.json: + {} +/user/username/projects/myproject/packages/b/tsconfig.json: + {} +/user/username/projects/myproject/packages/b/src/index.ts: + {} +/user/username/projects/myproject/packages/b/src/bar.ts: + {} +/a/lib/lib.d.ts: + {} +/user/username/projects/myproject/packages/b/package.json: + {} + +FsWatchesRecursive:: +/user/username/projects/myproject/packages/a/src: + {} +/user/username/projects/myproject/packages/b/src: + {} +/user/username/projects/myproject/node_modules: + {} + Info 50 [16:02:07.000] request: { "command": "updateOpen", @@ -448,6 +668,7 @@ Info 50 [16:02:07.000] request: "seq": 2, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/packages/a/node_modules: @@ -483,6 +704,7 @@ FsWatchesRecursive:: /user/username/projects/myproject/node_modules: {} +After request PolledWatches:: /user/username/projects/myproject/packages/a/node_modules: @@ -535,6 +757,7 @@ Info 52 [16:02:09.000] request: "seq": 3, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/packages/a/node_modules: @@ -570,6 +793,7 @@ FsWatchesRecursive:: /user/username/projects/myproject/node_modules: {} +After request PolledWatches:: /user/username/projects/myproject/packages/a/node_modules: @@ -609,14 +833,229 @@ Info 53 [16:02:10.000] response: { "responseRequired": false } +Before checking timeout queue length (1) and running + +PolledWatches:: +/user/username/projects/myproject/packages/a/node_modules: + {"pollingInterval":500} +/user/username/projects/myproject/packages/node_modules: + {"pollingInterval":500} +/user/username/projects/myproject/packages/a/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/myproject/packages/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/myproject/node_modules/@types: + {"pollingInterval":500} + +FsWatches:: +/user/username/projects/myproject/packages/a/tsconfig.json: + {} +/user/username/projects/myproject/packages/b/tsconfig.json: + {} +/user/username/projects/myproject/packages/b/src/index.ts: + {} +/user/username/projects/myproject/packages/b/src/bar.ts: + {} +/a/lib/lib.d.ts: + {} +/user/username/projects/myproject/packages/b/package.json: + {} + +FsWatchesRecursive:: +/user/username/projects/myproject/packages/a/src: + {} +/user/username/projects/myproject/packages/b/src: + {} +/user/username/projects/myproject/node_modules: + {} + Info 54 [16:02:11.000] Starting updateGraphWorker: Project: /user/username/projects/myproject/packages/A/tsconfig.json Info 55 [16:02:12.000] Finishing updateGraphWorker: Project: /user/username/projects/myproject/packages/A/tsconfig.json Version: 2 structureChanged: false structureIsReused:: Completely Elapsed:: *ms Info 56 [16:02:13.000] Different program with same set of files Info 57 [16:02:14.000] event: {"seq":0,"type":"event","event":"syntaxDiag","body":{"file":"/user/username/projects/myproject/packages/A/src/index.ts","diagnostics":[]}} +After checking timeout queue length (1) and running + +PolledWatches:: +/user/username/projects/myproject/packages/a/node_modules: + {"pollingInterval":500} +/user/username/projects/myproject/packages/node_modules: + {"pollingInterval":500} +/user/username/projects/myproject/packages/a/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/myproject/packages/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/myproject/node_modules/@types: + {"pollingInterval":500} + +FsWatches:: +/user/username/projects/myproject/packages/a/tsconfig.json: + {} +/user/username/projects/myproject/packages/b/tsconfig.json: + {} +/user/username/projects/myproject/packages/b/src/index.ts: + {} +/user/username/projects/myproject/packages/b/src/bar.ts: + {} +/a/lib/lib.d.ts: + {} +/user/username/projects/myproject/packages/b/package.json: + {} + +FsWatchesRecursive:: +/user/username/projects/myproject/packages/a/src: + {} +/user/username/projects/myproject/packages/b/src: + {} +/user/username/projects/myproject/node_modules: + {} + +Before running immediate callbacks and checking length (1) + +PolledWatches:: +/user/username/projects/myproject/packages/a/node_modules: + {"pollingInterval":500} +/user/username/projects/myproject/packages/node_modules: + {"pollingInterval":500} +/user/username/projects/myproject/packages/a/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/myproject/packages/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/myproject/node_modules/@types: + {"pollingInterval":500} + +FsWatches:: +/user/username/projects/myproject/packages/a/tsconfig.json: + {} +/user/username/projects/myproject/packages/b/tsconfig.json: + {} +/user/username/projects/myproject/packages/b/src/index.ts: + {} +/user/username/projects/myproject/packages/b/src/bar.ts: + {} +/a/lib/lib.d.ts: + {} +/user/username/projects/myproject/packages/b/package.json: + {} + +FsWatchesRecursive:: +/user/username/projects/myproject/packages/a/src: + {} +/user/username/projects/myproject/packages/b/src: + {} +/user/username/projects/myproject/node_modules: + {} + Info 58 [16:02:15.000] event: {"seq":0,"type":"event","event":"semanticDiag","body":{"file":"/user/username/projects/myproject/packages/A/src/index.ts","diagnostics":[]}} +Before running immediate callbacks and checking length (1) + +PolledWatches:: +/user/username/projects/myproject/packages/a/node_modules: + {"pollingInterval":500} +/user/username/projects/myproject/packages/node_modules: + {"pollingInterval":500} +/user/username/projects/myproject/packages/a/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/myproject/packages/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/myproject/node_modules/@types: + {"pollingInterval":500} + +FsWatches:: +/user/username/projects/myproject/packages/a/tsconfig.json: + {} +/user/username/projects/myproject/packages/b/tsconfig.json: + {} +/user/username/projects/myproject/packages/b/src/index.ts: + {} +/user/username/projects/myproject/packages/b/src/bar.ts: + {} +/a/lib/lib.d.ts: + {} +/user/username/projects/myproject/packages/b/package.json: + {} + +FsWatchesRecursive:: +/user/username/projects/myproject/packages/a/src: + {} +/user/username/projects/myproject/packages/b/src: + {} +/user/username/projects/myproject/node_modules: + {} + +Before running immediate callbacks and checking length (1) + +PolledWatches:: +/user/username/projects/myproject/packages/a/node_modules: + {"pollingInterval":500} +/user/username/projects/myproject/packages/node_modules: + {"pollingInterval":500} +/user/username/projects/myproject/packages/a/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/myproject/packages/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/myproject/node_modules/@types: + {"pollingInterval":500} + +FsWatches:: +/user/username/projects/myproject/packages/a/tsconfig.json: + {} +/user/username/projects/myproject/packages/b/tsconfig.json: + {} +/user/username/projects/myproject/packages/b/src/index.ts: + {} +/user/username/projects/myproject/packages/b/src/bar.ts: + {} +/a/lib/lib.d.ts: + {} +/user/username/projects/myproject/packages/b/package.json: + {} + +FsWatchesRecursive:: +/user/username/projects/myproject/packages/a/src: + {} +/user/username/projects/myproject/packages/b/src: + {} +/user/username/projects/myproject/node_modules: + {} + Info 59 [16:02:16.000] event: {"seq":0,"type":"event","event":"suggestionDiag","body":{"file":"/user/username/projects/myproject/packages/A/src/index.ts","diagnostics":[]}} Info 60 [16:02:17.000] event: - {"seq":0,"type":"event","event":"requestCompleted","body":{"request_seq":3}} \ No newline at end of file + {"seq":0,"type":"event","event":"requestCompleted","body":{"request_seq":3}} +Before running immediate callbacks and checking length (1) + +PolledWatches:: +/user/username/projects/myproject/packages/a/node_modules: + {"pollingInterval":500} +/user/username/projects/myproject/packages/node_modules: + {"pollingInterval":500} +/user/username/projects/myproject/packages/a/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/myproject/packages/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/myproject/node_modules/@types: + {"pollingInterval":500} + +FsWatches:: +/user/username/projects/myproject/packages/a/tsconfig.json: + {} +/user/username/projects/myproject/packages/b/tsconfig.json: + {} +/user/username/projects/myproject/packages/b/src/index.ts: + {} +/user/username/projects/myproject/packages/b/src/bar.ts: + {} +/a/lib/lib.d.ts: + {} +/user/username/projects/myproject/packages/b/package.json: + {} + +FsWatchesRecursive:: +/user/username/projects/myproject/packages/a/src: + {} +/user/username/projects/myproject/packages/b/src: + {} +/user/username/projects/myproject/node_modules: + {} diff --git a/tests/baselines/reference/tsserver/projectReferences/monorepo-like-with-symlinks-when-packageJson-has-types-field-and-has-index.ts-and-solution-is-built.js b/tests/baselines/reference/tsserver/projectReferences/monorepo-like-with-symlinks-when-packageJson-has-types-field-and-has-index.ts-and-solution-is-built.js index 234d535f70c3a..6434540495001 100644 --- a/tests/baselines/reference/tsserver/projectReferences/monorepo-like-with-symlinks-when-packageJson-has-types-field-and-has-index.ts-and-solution-is-built.js +++ b/tests/baselines/reference/tsserver/projectReferences/monorepo-like-with-symlinks-when-packageJson-has-types-field-and-has-index.ts-and-solution-is-built.js @@ -8,6 +8,7 @@ Info 1 [16:01:12.000] request: "file": "/user/username/projects/myproject/packages/A/src/index.ts" } } +Before request //// [/a/lib/lib.d.ts] /// interface Boolean {} @@ -287,6 +288,7 @@ Info 43 [16:01:56.000] ----------------------------------------------- Info 43 [16:01:57.000] Open files: Info 43 [16:01:58.000] FileName: /user/username/projects/myproject/packages/A/src/index.ts ProjectRootPath: undefined Info 43 [16:01:59.000] Projects: /user/username/projects/myproject/packages/A/tsconfig.json +After request PolledWatches:: /user/username/projects/myproject/packages/a/node_modules: @@ -338,6 +340,7 @@ Info 44 [16:02:01.000] request: "seq": 1, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/packages/a/node_modules: @@ -373,6 +376,7 @@ FsWatchesRecursive:: /user/username/projects/myproject/node_modules: {} +After request PolledWatches:: /user/username/projects/myproject/packages/a/node_modules: @@ -412,14 +416,230 @@ Info 45 [16:02:02.000] response: { "responseRequired": false } +Before checking timeout queue length (1) and running + +PolledWatches:: +/user/username/projects/myproject/packages/a/node_modules: + {"pollingInterval":500} +/user/username/projects/myproject/packages/node_modules: + {"pollingInterval":500} +/user/username/projects/myproject/packages/a/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/myproject/packages/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/myproject/node_modules/@types: + {"pollingInterval":500} + +FsWatches:: +/user/username/projects/myproject/packages/a/tsconfig.json: + {} +/user/username/projects/myproject/packages/b/tsconfig.json: + {} +/user/username/projects/myproject/packages/b/src/index.ts: + {} +/user/username/projects/myproject/packages/b/src/bar.ts: + {} +/a/lib/lib.d.ts: + {} +/user/username/projects/myproject/packages/b/package.json: + {} + +FsWatchesRecursive:: +/user/username/projects/myproject/packages/a/src: + {} +/user/username/projects/myproject/packages/b/src: + {} +/user/username/projects/myproject/node_modules: + {} + Info 46 [16:02:03.000] event: {"seq":0,"type":"event","event":"syntaxDiag","body":{"file":"/user/username/projects/myproject/packages/A/src/index.ts","diagnostics":[]}} +After checking timeout queue length (1) and running + +PolledWatches:: +/user/username/projects/myproject/packages/a/node_modules: + {"pollingInterval":500} +/user/username/projects/myproject/packages/node_modules: + {"pollingInterval":500} +/user/username/projects/myproject/packages/a/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/myproject/packages/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/myproject/node_modules/@types: + {"pollingInterval":500} + +FsWatches:: +/user/username/projects/myproject/packages/a/tsconfig.json: + {} +/user/username/projects/myproject/packages/b/tsconfig.json: + {} +/user/username/projects/myproject/packages/b/src/index.ts: + {} +/user/username/projects/myproject/packages/b/src/bar.ts: + {} +/a/lib/lib.d.ts: + {} +/user/username/projects/myproject/packages/b/package.json: + {} + +FsWatchesRecursive:: +/user/username/projects/myproject/packages/a/src: + {} +/user/username/projects/myproject/packages/b/src: + {} +/user/username/projects/myproject/node_modules: + {} + +Before running immediate callbacks and checking length (1) + +PolledWatches:: +/user/username/projects/myproject/packages/a/node_modules: + {"pollingInterval":500} +/user/username/projects/myproject/packages/node_modules: + {"pollingInterval":500} +/user/username/projects/myproject/packages/a/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/myproject/packages/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/myproject/node_modules/@types: + {"pollingInterval":500} + +FsWatches:: +/user/username/projects/myproject/packages/a/tsconfig.json: + {} +/user/username/projects/myproject/packages/b/tsconfig.json: + {} +/user/username/projects/myproject/packages/b/src/index.ts: + {} +/user/username/projects/myproject/packages/b/src/bar.ts: + {} +/a/lib/lib.d.ts: + {} +/user/username/projects/myproject/packages/b/package.json: + {} + +FsWatchesRecursive:: +/user/username/projects/myproject/packages/a/src: + {} +/user/username/projects/myproject/packages/b/src: + {} +/user/username/projects/myproject/node_modules: + {} + Info 47 [16:02:04.000] event: {"seq":0,"type":"event","event":"semanticDiag","body":{"file":"/user/username/projects/myproject/packages/A/src/index.ts","diagnostics":[]}} +Before running immediate callbacks and checking length (1) + +PolledWatches:: +/user/username/projects/myproject/packages/a/node_modules: + {"pollingInterval":500} +/user/username/projects/myproject/packages/node_modules: + {"pollingInterval":500} +/user/username/projects/myproject/packages/a/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/myproject/packages/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/myproject/node_modules/@types: + {"pollingInterval":500} + +FsWatches:: +/user/username/projects/myproject/packages/a/tsconfig.json: + {} +/user/username/projects/myproject/packages/b/tsconfig.json: + {} +/user/username/projects/myproject/packages/b/src/index.ts: + {} +/user/username/projects/myproject/packages/b/src/bar.ts: + {} +/a/lib/lib.d.ts: + {} +/user/username/projects/myproject/packages/b/package.json: + {} + +FsWatchesRecursive:: +/user/username/projects/myproject/packages/a/src: + {} +/user/username/projects/myproject/packages/b/src: + {} +/user/username/projects/myproject/node_modules: + {} + +Before running immediate callbacks and checking length (1) + +PolledWatches:: +/user/username/projects/myproject/packages/a/node_modules: + {"pollingInterval":500} +/user/username/projects/myproject/packages/node_modules: + {"pollingInterval":500} +/user/username/projects/myproject/packages/a/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/myproject/packages/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/myproject/node_modules/@types: + {"pollingInterval":500} + +FsWatches:: +/user/username/projects/myproject/packages/a/tsconfig.json: + {} +/user/username/projects/myproject/packages/b/tsconfig.json: + {} +/user/username/projects/myproject/packages/b/src/index.ts: + {} +/user/username/projects/myproject/packages/b/src/bar.ts: + {} +/a/lib/lib.d.ts: + {} +/user/username/projects/myproject/packages/b/package.json: + {} + +FsWatchesRecursive:: +/user/username/projects/myproject/packages/a/src: + {} +/user/username/projects/myproject/packages/b/src: + {} +/user/username/projects/myproject/node_modules: + {} + Info 48 [16:02:05.000] event: {"seq":0,"type":"event","event":"suggestionDiag","body":{"file":"/user/username/projects/myproject/packages/A/src/index.ts","diagnostics":[]}} Info 49 [16:02:06.000] event: {"seq":0,"type":"event","event":"requestCompleted","body":{"request_seq":1}} +Before running immediate callbacks and checking length (1) + +PolledWatches:: +/user/username/projects/myproject/packages/a/node_modules: + {"pollingInterval":500} +/user/username/projects/myproject/packages/node_modules: + {"pollingInterval":500} +/user/username/projects/myproject/packages/a/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/myproject/packages/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/myproject/node_modules/@types: + {"pollingInterval":500} + +FsWatches:: +/user/username/projects/myproject/packages/a/tsconfig.json: + {} +/user/username/projects/myproject/packages/b/tsconfig.json: + {} +/user/username/projects/myproject/packages/b/src/index.ts: + {} +/user/username/projects/myproject/packages/b/src/bar.ts: + {} +/a/lib/lib.d.ts: + {} +/user/username/projects/myproject/packages/b/package.json: + {} + +FsWatchesRecursive:: +/user/username/projects/myproject/packages/a/src: + {} +/user/username/projects/myproject/packages/b/src: + {} +/user/username/projects/myproject/node_modules: + {} + Info 50 [16:02:07.000] request: { "command": "updateOpen", @@ -446,6 +666,7 @@ Info 50 [16:02:07.000] request: "seq": 2, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/packages/a/node_modules: @@ -481,6 +702,7 @@ FsWatchesRecursive:: /user/username/projects/myproject/node_modules: {} +After request PolledWatches:: /user/username/projects/myproject/packages/a/node_modules: @@ -533,6 +755,7 @@ Info 52 [16:02:09.000] request: "seq": 3, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/packages/a/node_modules: @@ -568,6 +791,7 @@ FsWatchesRecursive:: /user/username/projects/myproject/node_modules: {} +After request PolledWatches:: /user/username/projects/myproject/packages/a/node_modules: @@ -607,14 +831,229 @@ Info 53 [16:02:10.000] response: { "responseRequired": false } +Before checking timeout queue length (1) and running + +PolledWatches:: +/user/username/projects/myproject/packages/a/node_modules: + {"pollingInterval":500} +/user/username/projects/myproject/packages/node_modules: + {"pollingInterval":500} +/user/username/projects/myproject/packages/a/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/myproject/packages/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/myproject/node_modules/@types: + {"pollingInterval":500} + +FsWatches:: +/user/username/projects/myproject/packages/a/tsconfig.json: + {} +/user/username/projects/myproject/packages/b/tsconfig.json: + {} +/user/username/projects/myproject/packages/b/src/index.ts: + {} +/user/username/projects/myproject/packages/b/src/bar.ts: + {} +/a/lib/lib.d.ts: + {} +/user/username/projects/myproject/packages/b/package.json: + {} + +FsWatchesRecursive:: +/user/username/projects/myproject/packages/a/src: + {} +/user/username/projects/myproject/packages/b/src: + {} +/user/username/projects/myproject/node_modules: + {} + Info 54 [16:02:11.000] Starting updateGraphWorker: Project: /user/username/projects/myproject/packages/A/tsconfig.json Info 55 [16:02:12.000] Finishing updateGraphWorker: Project: /user/username/projects/myproject/packages/A/tsconfig.json Version: 2 structureChanged: false structureIsReused:: Completely Elapsed:: *ms Info 56 [16:02:13.000] Different program with same set of files Info 57 [16:02:14.000] event: {"seq":0,"type":"event","event":"syntaxDiag","body":{"file":"/user/username/projects/myproject/packages/A/src/index.ts","diagnostics":[]}} +After checking timeout queue length (1) and running + +PolledWatches:: +/user/username/projects/myproject/packages/a/node_modules: + {"pollingInterval":500} +/user/username/projects/myproject/packages/node_modules: + {"pollingInterval":500} +/user/username/projects/myproject/packages/a/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/myproject/packages/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/myproject/node_modules/@types: + {"pollingInterval":500} + +FsWatches:: +/user/username/projects/myproject/packages/a/tsconfig.json: + {} +/user/username/projects/myproject/packages/b/tsconfig.json: + {} +/user/username/projects/myproject/packages/b/src/index.ts: + {} +/user/username/projects/myproject/packages/b/src/bar.ts: + {} +/a/lib/lib.d.ts: + {} +/user/username/projects/myproject/packages/b/package.json: + {} + +FsWatchesRecursive:: +/user/username/projects/myproject/packages/a/src: + {} +/user/username/projects/myproject/packages/b/src: + {} +/user/username/projects/myproject/node_modules: + {} + +Before running immediate callbacks and checking length (1) + +PolledWatches:: +/user/username/projects/myproject/packages/a/node_modules: + {"pollingInterval":500} +/user/username/projects/myproject/packages/node_modules: + {"pollingInterval":500} +/user/username/projects/myproject/packages/a/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/myproject/packages/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/myproject/node_modules/@types: + {"pollingInterval":500} + +FsWatches:: +/user/username/projects/myproject/packages/a/tsconfig.json: + {} +/user/username/projects/myproject/packages/b/tsconfig.json: + {} +/user/username/projects/myproject/packages/b/src/index.ts: + {} +/user/username/projects/myproject/packages/b/src/bar.ts: + {} +/a/lib/lib.d.ts: + {} +/user/username/projects/myproject/packages/b/package.json: + {} + +FsWatchesRecursive:: +/user/username/projects/myproject/packages/a/src: + {} +/user/username/projects/myproject/packages/b/src: + {} +/user/username/projects/myproject/node_modules: + {} + Info 58 [16:02:15.000] event: {"seq":0,"type":"event","event":"semanticDiag","body":{"file":"/user/username/projects/myproject/packages/A/src/index.ts","diagnostics":[]}} +Before running immediate callbacks and checking length (1) + +PolledWatches:: +/user/username/projects/myproject/packages/a/node_modules: + {"pollingInterval":500} +/user/username/projects/myproject/packages/node_modules: + {"pollingInterval":500} +/user/username/projects/myproject/packages/a/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/myproject/packages/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/myproject/node_modules/@types: + {"pollingInterval":500} + +FsWatches:: +/user/username/projects/myproject/packages/a/tsconfig.json: + {} +/user/username/projects/myproject/packages/b/tsconfig.json: + {} +/user/username/projects/myproject/packages/b/src/index.ts: + {} +/user/username/projects/myproject/packages/b/src/bar.ts: + {} +/a/lib/lib.d.ts: + {} +/user/username/projects/myproject/packages/b/package.json: + {} + +FsWatchesRecursive:: +/user/username/projects/myproject/packages/a/src: + {} +/user/username/projects/myproject/packages/b/src: + {} +/user/username/projects/myproject/node_modules: + {} + +Before running immediate callbacks and checking length (1) + +PolledWatches:: +/user/username/projects/myproject/packages/a/node_modules: + {"pollingInterval":500} +/user/username/projects/myproject/packages/node_modules: + {"pollingInterval":500} +/user/username/projects/myproject/packages/a/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/myproject/packages/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/myproject/node_modules/@types: + {"pollingInterval":500} + +FsWatches:: +/user/username/projects/myproject/packages/a/tsconfig.json: + {} +/user/username/projects/myproject/packages/b/tsconfig.json: + {} +/user/username/projects/myproject/packages/b/src/index.ts: + {} +/user/username/projects/myproject/packages/b/src/bar.ts: + {} +/a/lib/lib.d.ts: + {} +/user/username/projects/myproject/packages/b/package.json: + {} + +FsWatchesRecursive:: +/user/username/projects/myproject/packages/a/src: + {} +/user/username/projects/myproject/packages/b/src: + {} +/user/username/projects/myproject/node_modules: + {} + Info 59 [16:02:16.000] event: {"seq":0,"type":"event","event":"suggestionDiag","body":{"file":"/user/username/projects/myproject/packages/A/src/index.ts","diagnostics":[]}} Info 60 [16:02:17.000] event: - {"seq":0,"type":"event","event":"requestCompleted","body":{"request_seq":3}} \ No newline at end of file + {"seq":0,"type":"event","event":"requestCompleted","body":{"request_seq":3}} +Before running immediate callbacks and checking length (1) + +PolledWatches:: +/user/username/projects/myproject/packages/a/node_modules: + {"pollingInterval":500} +/user/username/projects/myproject/packages/node_modules: + {"pollingInterval":500} +/user/username/projects/myproject/packages/a/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/myproject/packages/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/myproject/node_modules/@types: + {"pollingInterval":500} + +FsWatches:: +/user/username/projects/myproject/packages/a/tsconfig.json: + {} +/user/username/projects/myproject/packages/b/tsconfig.json: + {} +/user/username/projects/myproject/packages/b/src/index.ts: + {} +/user/username/projects/myproject/packages/b/src/bar.ts: + {} +/a/lib/lib.d.ts: + {} +/user/username/projects/myproject/packages/b/package.json: + {} + +FsWatchesRecursive:: +/user/username/projects/myproject/packages/a/src: + {} +/user/username/projects/myproject/packages/b/src: + {} +/user/username/projects/myproject/node_modules: + {} diff --git a/tests/baselines/reference/tsserver/projectReferences/monorepo-like-with-symlinks-when-packageJson-has-types-field-and-has-index.ts-and-solution-is-not-built-with-preserveSymlinks.js b/tests/baselines/reference/tsserver/projectReferences/monorepo-like-with-symlinks-when-packageJson-has-types-field-and-has-index.ts-and-solution-is-not-built-with-preserveSymlinks.js index 217b4b6821ebf..b4dec1f127fc2 100644 --- a/tests/baselines/reference/tsserver/projectReferences/monorepo-like-with-symlinks-when-packageJson-has-types-field-and-has-index.ts-and-solution-is-not-built-with-preserveSymlinks.js +++ b/tests/baselines/reference/tsserver/projectReferences/monorepo-like-with-symlinks-when-packageJson-has-types-field-and-has-index.ts-and-solution-is-not-built-with-preserveSymlinks.js @@ -8,6 +8,7 @@ Info 1 [16:00:44.000] request: "file": "/user/username/projects/myproject/packages/A/src/index.ts" } } +Before request //// [/a/lib/lib.d.ts] /// interface Boolean {} @@ -147,6 +148,7 @@ Info 43 [16:01:28.000] ----------------------------------------------- Info 43 [16:01:29.000] Open files: Info 43 [16:01:30.000] FileName: /user/username/projects/myproject/packages/A/src/index.ts ProjectRootPath: undefined Info 43 [16:01:31.000] Projects: /user/username/projects/myproject/packages/A/tsconfig.json +After request PolledWatches:: /user/username/projects/myproject/packages/a/node_modules: @@ -198,6 +200,7 @@ Info 44 [16:01:33.000] request: "seq": 1, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/packages/a/node_modules: @@ -233,6 +236,7 @@ FsWatchesRecursive:: /user/username/projects/myproject/node_modules: {} +After request PolledWatches:: /user/username/projects/myproject/packages/a/node_modules: @@ -272,14 +276,230 @@ Info 45 [16:01:34.000] response: { "responseRequired": false } +Before checking timeout queue length (1) and running + +PolledWatches:: +/user/username/projects/myproject/packages/a/node_modules: + {"pollingInterval":500} +/user/username/projects/myproject/packages/node_modules: + {"pollingInterval":500} +/user/username/projects/myproject/packages/a/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/myproject/packages/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/myproject/node_modules/@types: + {"pollingInterval":500} + +FsWatches:: +/user/username/projects/myproject/packages/a/tsconfig.json: + {} +/user/username/projects/myproject/packages/b/tsconfig.json: + {} +/user/username/projects/myproject/packages/b/src/index.ts: + {} +/user/username/projects/myproject/packages/b/src/bar.ts: + {} +/a/lib/lib.d.ts: + {} +/user/username/projects/myproject/packages/b/package.json: + {} + +FsWatchesRecursive:: +/user/username/projects/myproject/packages/a/src: + {} +/user/username/projects/myproject/packages/b/src: + {} +/user/username/projects/myproject/node_modules: + {} + Info 46 [16:01:35.000] event: {"seq":0,"type":"event","event":"syntaxDiag","body":{"file":"/user/username/projects/myproject/packages/A/src/index.ts","diagnostics":[]}} +After checking timeout queue length (1) and running + +PolledWatches:: +/user/username/projects/myproject/packages/a/node_modules: + {"pollingInterval":500} +/user/username/projects/myproject/packages/node_modules: + {"pollingInterval":500} +/user/username/projects/myproject/packages/a/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/myproject/packages/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/myproject/node_modules/@types: + {"pollingInterval":500} + +FsWatches:: +/user/username/projects/myproject/packages/a/tsconfig.json: + {} +/user/username/projects/myproject/packages/b/tsconfig.json: + {} +/user/username/projects/myproject/packages/b/src/index.ts: + {} +/user/username/projects/myproject/packages/b/src/bar.ts: + {} +/a/lib/lib.d.ts: + {} +/user/username/projects/myproject/packages/b/package.json: + {} + +FsWatchesRecursive:: +/user/username/projects/myproject/packages/a/src: + {} +/user/username/projects/myproject/packages/b/src: + {} +/user/username/projects/myproject/node_modules: + {} + +Before running immediate callbacks and checking length (1) + +PolledWatches:: +/user/username/projects/myproject/packages/a/node_modules: + {"pollingInterval":500} +/user/username/projects/myproject/packages/node_modules: + {"pollingInterval":500} +/user/username/projects/myproject/packages/a/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/myproject/packages/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/myproject/node_modules/@types: + {"pollingInterval":500} + +FsWatches:: +/user/username/projects/myproject/packages/a/tsconfig.json: + {} +/user/username/projects/myproject/packages/b/tsconfig.json: + {} +/user/username/projects/myproject/packages/b/src/index.ts: + {} +/user/username/projects/myproject/packages/b/src/bar.ts: + {} +/a/lib/lib.d.ts: + {} +/user/username/projects/myproject/packages/b/package.json: + {} + +FsWatchesRecursive:: +/user/username/projects/myproject/packages/a/src: + {} +/user/username/projects/myproject/packages/b/src: + {} +/user/username/projects/myproject/node_modules: + {} + Info 47 [16:01:36.000] event: {"seq":0,"type":"event","event":"semanticDiag","body":{"file":"/user/username/projects/myproject/packages/A/src/index.ts","diagnostics":[]}} +Before running immediate callbacks and checking length (1) + +PolledWatches:: +/user/username/projects/myproject/packages/a/node_modules: + {"pollingInterval":500} +/user/username/projects/myproject/packages/node_modules: + {"pollingInterval":500} +/user/username/projects/myproject/packages/a/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/myproject/packages/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/myproject/node_modules/@types: + {"pollingInterval":500} + +FsWatches:: +/user/username/projects/myproject/packages/a/tsconfig.json: + {} +/user/username/projects/myproject/packages/b/tsconfig.json: + {} +/user/username/projects/myproject/packages/b/src/index.ts: + {} +/user/username/projects/myproject/packages/b/src/bar.ts: + {} +/a/lib/lib.d.ts: + {} +/user/username/projects/myproject/packages/b/package.json: + {} + +FsWatchesRecursive:: +/user/username/projects/myproject/packages/a/src: + {} +/user/username/projects/myproject/packages/b/src: + {} +/user/username/projects/myproject/node_modules: + {} + +Before running immediate callbacks and checking length (1) + +PolledWatches:: +/user/username/projects/myproject/packages/a/node_modules: + {"pollingInterval":500} +/user/username/projects/myproject/packages/node_modules: + {"pollingInterval":500} +/user/username/projects/myproject/packages/a/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/myproject/packages/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/myproject/node_modules/@types: + {"pollingInterval":500} + +FsWatches:: +/user/username/projects/myproject/packages/a/tsconfig.json: + {} +/user/username/projects/myproject/packages/b/tsconfig.json: + {} +/user/username/projects/myproject/packages/b/src/index.ts: + {} +/user/username/projects/myproject/packages/b/src/bar.ts: + {} +/a/lib/lib.d.ts: + {} +/user/username/projects/myproject/packages/b/package.json: + {} + +FsWatchesRecursive:: +/user/username/projects/myproject/packages/a/src: + {} +/user/username/projects/myproject/packages/b/src: + {} +/user/username/projects/myproject/node_modules: + {} + Info 48 [16:01:37.000] event: {"seq":0,"type":"event","event":"suggestionDiag","body":{"file":"/user/username/projects/myproject/packages/A/src/index.ts","diagnostics":[]}} Info 49 [16:01:38.000] event: {"seq":0,"type":"event","event":"requestCompleted","body":{"request_seq":1}} +Before running immediate callbacks and checking length (1) + +PolledWatches:: +/user/username/projects/myproject/packages/a/node_modules: + {"pollingInterval":500} +/user/username/projects/myproject/packages/node_modules: + {"pollingInterval":500} +/user/username/projects/myproject/packages/a/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/myproject/packages/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/myproject/node_modules/@types: + {"pollingInterval":500} + +FsWatches:: +/user/username/projects/myproject/packages/a/tsconfig.json: + {} +/user/username/projects/myproject/packages/b/tsconfig.json: + {} +/user/username/projects/myproject/packages/b/src/index.ts: + {} +/user/username/projects/myproject/packages/b/src/bar.ts: + {} +/a/lib/lib.d.ts: + {} +/user/username/projects/myproject/packages/b/package.json: + {} + +FsWatchesRecursive:: +/user/username/projects/myproject/packages/a/src: + {} +/user/username/projects/myproject/packages/b/src: + {} +/user/username/projects/myproject/node_modules: + {} + Info 50 [16:01:39.000] request: { "command": "updateOpen", @@ -306,6 +526,7 @@ Info 50 [16:01:39.000] request: "seq": 2, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/packages/a/node_modules: @@ -341,6 +562,7 @@ FsWatchesRecursive:: /user/username/projects/myproject/node_modules: {} +After request PolledWatches:: /user/username/projects/myproject/packages/a/node_modules: @@ -393,6 +615,7 @@ Info 52 [16:01:41.000] request: "seq": 3, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/packages/a/node_modules: @@ -428,6 +651,7 @@ FsWatchesRecursive:: /user/username/projects/myproject/node_modules: {} +After request PolledWatches:: /user/username/projects/myproject/packages/a/node_modules: @@ -467,14 +691,229 @@ Info 53 [16:01:42.000] response: { "responseRequired": false } +Before checking timeout queue length (1) and running + +PolledWatches:: +/user/username/projects/myproject/packages/a/node_modules: + {"pollingInterval":500} +/user/username/projects/myproject/packages/node_modules: + {"pollingInterval":500} +/user/username/projects/myproject/packages/a/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/myproject/packages/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/myproject/node_modules/@types: + {"pollingInterval":500} + +FsWatches:: +/user/username/projects/myproject/packages/a/tsconfig.json: + {} +/user/username/projects/myproject/packages/b/tsconfig.json: + {} +/user/username/projects/myproject/packages/b/src/index.ts: + {} +/user/username/projects/myproject/packages/b/src/bar.ts: + {} +/a/lib/lib.d.ts: + {} +/user/username/projects/myproject/packages/b/package.json: + {} + +FsWatchesRecursive:: +/user/username/projects/myproject/packages/a/src: + {} +/user/username/projects/myproject/packages/b/src: + {} +/user/username/projects/myproject/node_modules: + {} + Info 54 [16:01:43.000] Starting updateGraphWorker: Project: /user/username/projects/myproject/packages/A/tsconfig.json Info 55 [16:01:44.000] Finishing updateGraphWorker: Project: /user/username/projects/myproject/packages/A/tsconfig.json Version: 2 structureChanged: false structureIsReused:: Completely Elapsed:: *ms Info 56 [16:01:45.000] Different program with same set of files Info 57 [16:01:46.000] event: {"seq":0,"type":"event","event":"syntaxDiag","body":{"file":"/user/username/projects/myproject/packages/A/src/index.ts","diagnostics":[]}} +After checking timeout queue length (1) and running + +PolledWatches:: +/user/username/projects/myproject/packages/a/node_modules: + {"pollingInterval":500} +/user/username/projects/myproject/packages/node_modules: + {"pollingInterval":500} +/user/username/projects/myproject/packages/a/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/myproject/packages/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/myproject/node_modules/@types: + {"pollingInterval":500} + +FsWatches:: +/user/username/projects/myproject/packages/a/tsconfig.json: + {} +/user/username/projects/myproject/packages/b/tsconfig.json: + {} +/user/username/projects/myproject/packages/b/src/index.ts: + {} +/user/username/projects/myproject/packages/b/src/bar.ts: + {} +/a/lib/lib.d.ts: + {} +/user/username/projects/myproject/packages/b/package.json: + {} + +FsWatchesRecursive:: +/user/username/projects/myproject/packages/a/src: + {} +/user/username/projects/myproject/packages/b/src: + {} +/user/username/projects/myproject/node_modules: + {} + +Before running immediate callbacks and checking length (1) + +PolledWatches:: +/user/username/projects/myproject/packages/a/node_modules: + {"pollingInterval":500} +/user/username/projects/myproject/packages/node_modules: + {"pollingInterval":500} +/user/username/projects/myproject/packages/a/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/myproject/packages/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/myproject/node_modules/@types: + {"pollingInterval":500} + +FsWatches:: +/user/username/projects/myproject/packages/a/tsconfig.json: + {} +/user/username/projects/myproject/packages/b/tsconfig.json: + {} +/user/username/projects/myproject/packages/b/src/index.ts: + {} +/user/username/projects/myproject/packages/b/src/bar.ts: + {} +/a/lib/lib.d.ts: + {} +/user/username/projects/myproject/packages/b/package.json: + {} + +FsWatchesRecursive:: +/user/username/projects/myproject/packages/a/src: + {} +/user/username/projects/myproject/packages/b/src: + {} +/user/username/projects/myproject/node_modules: + {} + Info 58 [16:01:47.000] event: {"seq":0,"type":"event","event":"semanticDiag","body":{"file":"/user/username/projects/myproject/packages/A/src/index.ts","diagnostics":[]}} +Before running immediate callbacks and checking length (1) + +PolledWatches:: +/user/username/projects/myproject/packages/a/node_modules: + {"pollingInterval":500} +/user/username/projects/myproject/packages/node_modules: + {"pollingInterval":500} +/user/username/projects/myproject/packages/a/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/myproject/packages/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/myproject/node_modules/@types: + {"pollingInterval":500} + +FsWatches:: +/user/username/projects/myproject/packages/a/tsconfig.json: + {} +/user/username/projects/myproject/packages/b/tsconfig.json: + {} +/user/username/projects/myproject/packages/b/src/index.ts: + {} +/user/username/projects/myproject/packages/b/src/bar.ts: + {} +/a/lib/lib.d.ts: + {} +/user/username/projects/myproject/packages/b/package.json: + {} + +FsWatchesRecursive:: +/user/username/projects/myproject/packages/a/src: + {} +/user/username/projects/myproject/packages/b/src: + {} +/user/username/projects/myproject/node_modules: + {} + +Before running immediate callbacks and checking length (1) + +PolledWatches:: +/user/username/projects/myproject/packages/a/node_modules: + {"pollingInterval":500} +/user/username/projects/myproject/packages/node_modules: + {"pollingInterval":500} +/user/username/projects/myproject/packages/a/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/myproject/packages/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/myproject/node_modules/@types: + {"pollingInterval":500} + +FsWatches:: +/user/username/projects/myproject/packages/a/tsconfig.json: + {} +/user/username/projects/myproject/packages/b/tsconfig.json: + {} +/user/username/projects/myproject/packages/b/src/index.ts: + {} +/user/username/projects/myproject/packages/b/src/bar.ts: + {} +/a/lib/lib.d.ts: + {} +/user/username/projects/myproject/packages/b/package.json: + {} + +FsWatchesRecursive:: +/user/username/projects/myproject/packages/a/src: + {} +/user/username/projects/myproject/packages/b/src: + {} +/user/username/projects/myproject/node_modules: + {} + Info 59 [16:01:48.000] event: {"seq":0,"type":"event","event":"suggestionDiag","body":{"file":"/user/username/projects/myproject/packages/A/src/index.ts","diagnostics":[]}} Info 60 [16:01:49.000] event: - {"seq":0,"type":"event","event":"requestCompleted","body":{"request_seq":3}} \ No newline at end of file + {"seq":0,"type":"event","event":"requestCompleted","body":{"request_seq":3}} +Before running immediate callbacks and checking length (1) + +PolledWatches:: +/user/username/projects/myproject/packages/a/node_modules: + {"pollingInterval":500} +/user/username/projects/myproject/packages/node_modules: + {"pollingInterval":500} +/user/username/projects/myproject/packages/a/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/myproject/packages/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/myproject/node_modules/@types: + {"pollingInterval":500} + +FsWatches:: +/user/username/projects/myproject/packages/a/tsconfig.json: + {} +/user/username/projects/myproject/packages/b/tsconfig.json: + {} +/user/username/projects/myproject/packages/b/src/index.ts: + {} +/user/username/projects/myproject/packages/b/src/bar.ts: + {} +/a/lib/lib.d.ts: + {} +/user/username/projects/myproject/packages/b/package.json: + {} + +FsWatchesRecursive:: +/user/username/projects/myproject/packages/a/src: + {} +/user/username/projects/myproject/packages/b/src: + {} +/user/username/projects/myproject/node_modules: + {} diff --git a/tests/baselines/reference/tsserver/projectReferences/monorepo-like-with-symlinks-when-packageJson-has-types-field-and-has-index.ts-and-solution-is-not-built.js b/tests/baselines/reference/tsserver/projectReferences/monorepo-like-with-symlinks-when-packageJson-has-types-field-and-has-index.ts-and-solution-is-not-built.js index d7d0e70469a9c..5965a03da32bc 100644 --- a/tests/baselines/reference/tsserver/projectReferences/monorepo-like-with-symlinks-when-packageJson-has-types-field-and-has-index.ts-and-solution-is-not-built.js +++ b/tests/baselines/reference/tsserver/projectReferences/monorepo-like-with-symlinks-when-packageJson-has-types-field-and-has-index.ts-and-solution-is-not-built.js @@ -8,6 +8,7 @@ Info 1 [16:00:44.000] request: "file": "/user/username/projects/myproject/packages/A/src/index.ts" } } +Before request //// [/a/lib/lib.d.ts] /// interface Boolean {} @@ -145,6 +146,7 @@ Info 43 [16:01:28.000] ----------------------------------------------- Info 43 [16:01:29.000] Open files: Info 43 [16:01:30.000] FileName: /user/username/projects/myproject/packages/A/src/index.ts ProjectRootPath: undefined Info 43 [16:01:31.000] Projects: /user/username/projects/myproject/packages/A/tsconfig.json +After request PolledWatches:: /user/username/projects/myproject/packages/a/node_modules: @@ -196,6 +198,7 @@ Info 44 [16:01:33.000] request: "seq": 1, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/packages/a/node_modules: @@ -231,6 +234,7 @@ FsWatchesRecursive:: /user/username/projects/myproject/node_modules: {} +After request PolledWatches:: /user/username/projects/myproject/packages/a/node_modules: @@ -270,14 +274,230 @@ Info 45 [16:01:34.000] response: { "responseRequired": false } +Before checking timeout queue length (1) and running + +PolledWatches:: +/user/username/projects/myproject/packages/a/node_modules: + {"pollingInterval":500} +/user/username/projects/myproject/packages/node_modules: + {"pollingInterval":500} +/user/username/projects/myproject/packages/a/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/myproject/packages/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/myproject/node_modules/@types: + {"pollingInterval":500} + +FsWatches:: +/user/username/projects/myproject/packages/a/tsconfig.json: + {} +/user/username/projects/myproject/packages/b/tsconfig.json: + {} +/user/username/projects/myproject/packages/b/src/index.ts: + {} +/user/username/projects/myproject/packages/b/src/bar.ts: + {} +/a/lib/lib.d.ts: + {} +/user/username/projects/myproject/packages/b/package.json: + {} + +FsWatchesRecursive:: +/user/username/projects/myproject/packages/a/src: + {} +/user/username/projects/myproject/packages/b/src: + {} +/user/username/projects/myproject/node_modules: + {} + Info 46 [16:01:35.000] event: {"seq":0,"type":"event","event":"syntaxDiag","body":{"file":"/user/username/projects/myproject/packages/A/src/index.ts","diagnostics":[]}} +After checking timeout queue length (1) and running + +PolledWatches:: +/user/username/projects/myproject/packages/a/node_modules: + {"pollingInterval":500} +/user/username/projects/myproject/packages/node_modules: + {"pollingInterval":500} +/user/username/projects/myproject/packages/a/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/myproject/packages/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/myproject/node_modules/@types: + {"pollingInterval":500} + +FsWatches:: +/user/username/projects/myproject/packages/a/tsconfig.json: + {} +/user/username/projects/myproject/packages/b/tsconfig.json: + {} +/user/username/projects/myproject/packages/b/src/index.ts: + {} +/user/username/projects/myproject/packages/b/src/bar.ts: + {} +/a/lib/lib.d.ts: + {} +/user/username/projects/myproject/packages/b/package.json: + {} + +FsWatchesRecursive:: +/user/username/projects/myproject/packages/a/src: + {} +/user/username/projects/myproject/packages/b/src: + {} +/user/username/projects/myproject/node_modules: + {} + +Before running immediate callbacks and checking length (1) + +PolledWatches:: +/user/username/projects/myproject/packages/a/node_modules: + {"pollingInterval":500} +/user/username/projects/myproject/packages/node_modules: + {"pollingInterval":500} +/user/username/projects/myproject/packages/a/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/myproject/packages/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/myproject/node_modules/@types: + {"pollingInterval":500} + +FsWatches:: +/user/username/projects/myproject/packages/a/tsconfig.json: + {} +/user/username/projects/myproject/packages/b/tsconfig.json: + {} +/user/username/projects/myproject/packages/b/src/index.ts: + {} +/user/username/projects/myproject/packages/b/src/bar.ts: + {} +/a/lib/lib.d.ts: + {} +/user/username/projects/myproject/packages/b/package.json: + {} + +FsWatchesRecursive:: +/user/username/projects/myproject/packages/a/src: + {} +/user/username/projects/myproject/packages/b/src: + {} +/user/username/projects/myproject/node_modules: + {} + Info 47 [16:01:36.000] event: {"seq":0,"type":"event","event":"semanticDiag","body":{"file":"/user/username/projects/myproject/packages/A/src/index.ts","diagnostics":[]}} +Before running immediate callbacks and checking length (1) + +PolledWatches:: +/user/username/projects/myproject/packages/a/node_modules: + {"pollingInterval":500} +/user/username/projects/myproject/packages/node_modules: + {"pollingInterval":500} +/user/username/projects/myproject/packages/a/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/myproject/packages/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/myproject/node_modules/@types: + {"pollingInterval":500} + +FsWatches:: +/user/username/projects/myproject/packages/a/tsconfig.json: + {} +/user/username/projects/myproject/packages/b/tsconfig.json: + {} +/user/username/projects/myproject/packages/b/src/index.ts: + {} +/user/username/projects/myproject/packages/b/src/bar.ts: + {} +/a/lib/lib.d.ts: + {} +/user/username/projects/myproject/packages/b/package.json: + {} + +FsWatchesRecursive:: +/user/username/projects/myproject/packages/a/src: + {} +/user/username/projects/myproject/packages/b/src: + {} +/user/username/projects/myproject/node_modules: + {} + +Before running immediate callbacks and checking length (1) + +PolledWatches:: +/user/username/projects/myproject/packages/a/node_modules: + {"pollingInterval":500} +/user/username/projects/myproject/packages/node_modules: + {"pollingInterval":500} +/user/username/projects/myproject/packages/a/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/myproject/packages/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/myproject/node_modules/@types: + {"pollingInterval":500} + +FsWatches:: +/user/username/projects/myproject/packages/a/tsconfig.json: + {} +/user/username/projects/myproject/packages/b/tsconfig.json: + {} +/user/username/projects/myproject/packages/b/src/index.ts: + {} +/user/username/projects/myproject/packages/b/src/bar.ts: + {} +/a/lib/lib.d.ts: + {} +/user/username/projects/myproject/packages/b/package.json: + {} + +FsWatchesRecursive:: +/user/username/projects/myproject/packages/a/src: + {} +/user/username/projects/myproject/packages/b/src: + {} +/user/username/projects/myproject/node_modules: + {} + Info 48 [16:01:37.000] event: {"seq":0,"type":"event","event":"suggestionDiag","body":{"file":"/user/username/projects/myproject/packages/A/src/index.ts","diagnostics":[]}} Info 49 [16:01:38.000] event: {"seq":0,"type":"event","event":"requestCompleted","body":{"request_seq":1}} +Before running immediate callbacks and checking length (1) + +PolledWatches:: +/user/username/projects/myproject/packages/a/node_modules: + {"pollingInterval":500} +/user/username/projects/myproject/packages/node_modules: + {"pollingInterval":500} +/user/username/projects/myproject/packages/a/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/myproject/packages/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/myproject/node_modules/@types: + {"pollingInterval":500} + +FsWatches:: +/user/username/projects/myproject/packages/a/tsconfig.json: + {} +/user/username/projects/myproject/packages/b/tsconfig.json: + {} +/user/username/projects/myproject/packages/b/src/index.ts: + {} +/user/username/projects/myproject/packages/b/src/bar.ts: + {} +/a/lib/lib.d.ts: + {} +/user/username/projects/myproject/packages/b/package.json: + {} + +FsWatchesRecursive:: +/user/username/projects/myproject/packages/a/src: + {} +/user/username/projects/myproject/packages/b/src: + {} +/user/username/projects/myproject/node_modules: + {} + Info 50 [16:01:39.000] request: { "command": "updateOpen", @@ -304,6 +524,7 @@ Info 50 [16:01:39.000] request: "seq": 2, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/packages/a/node_modules: @@ -339,6 +560,7 @@ FsWatchesRecursive:: /user/username/projects/myproject/node_modules: {} +After request PolledWatches:: /user/username/projects/myproject/packages/a/node_modules: @@ -391,6 +613,7 @@ Info 52 [16:01:41.000] request: "seq": 3, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/packages/a/node_modules: @@ -426,6 +649,7 @@ FsWatchesRecursive:: /user/username/projects/myproject/node_modules: {} +After request PolledWatches:: /user/username/projects/myproject/packages/a/node_modules: @@ -465,14 +689,229 @@ Info 53 [16:01:42.000] response: { "responseRequired": false } +Before checking timeout queue length (1) and running + +PolledWatches:: +/user/username/projects/myproject/packages/a/node_modules: + {"pollingInterval":500} +/user/username/projects/myproject/packages/node_modules: + {"pollingInterval":500} +/user/username/projects/myproject/packages/a/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/myproject/packages/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/myproject/node_modules/@types: + {"pollingInterval":500} + +FsWatches:: +/user/username/projects/myproject/packages/a/tsconfig.json: + {} +/user/username/projects/myproject/packages/b/tsconfig.json: + {} +/user/username/projects/myproject/packages/b/src/index.ts: + {} +/user/username/projects/myproject/packages/b/src/bar.ts: + {} +/a/lib/lib.d.ts: + {} +/user/username/projects/myproject/packages/b/package.json: + {} + +FsWatchesRecursive:: +/user/username/projects/myproject/packages/a/src: + {} +/user/username/projects/myproject/packages/b/src: + {} +/user/username/projects/myproject/node_modules: + {} + Info 54 [16:01:43.000] Starting updateGraphWorker: Project: /user/username/projects/myproject/packages/A/tsconfig.json Info 55 [16:01:44.000] Finishing updateGraphWorker: Project: /user/username/projects/myproject/packages/A/tsconfig.json Version: 2 structureChanged: false structureIsReused:: Completely Elapsed:: *ms Info 56 [16:01:45.000] Different program with same set of files Info 57 [16:01:46.000] event: {"seq":0,"type":"event","event":"syntaxDiag","body":{"file":"/user/username/projects/myproject/packages/A/src/index.ts","diagnostics":[]}} +After checking timeout queue length (1) and running + +PolledWatches:: +/user/username/projects/myproject/packages/a/node_modules: + {"pollingInterval":500} +/user/username/projects/myproject/packages/node_modules: + {"pollingInterval":500} +/user/username/projects/myproject/packages/a/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/myproject/packages/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/myproject/node_modules/@types: + {"pollingInterval":500} + +FsWatches:: +/user/username/projects/myproject/packages/a/tsconfig.json: + {} +/user/username/projects/myproject/packages/b/tsconfig.json: + {} +/user/username/projects/myproject/packages/b/src/index.ts: + {} +/user/username/projects/myproject/packages/b/src/bar.ts: + {} +/a/lib/lib.d.ts: + {} +/user/username/projects/myproject/packages/b/package.json: + {} + +FsWatchesRecursive:: +/user/username/projects/myproject/packages/a/src: + {} +/user/username/projects/myproject/packages/b/src: + {} +/user/username/projects/myproject/node_modules: + {} + +Before running immediate callbacks and checking length (1) + +PolledWatches:: +/user/username/projects/myproject/packages/a/node_modules: + {"pollingInterval":500} +/user/username/projects/myproject/packages/node_modules: + {"pollingInterval":500} +/user/username/projects/myproject/packages/a/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/myproject/packages/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/myproject/node_modules/@types: + {"pollingInterval":500} + +FsWatches:: +/user/username/projects/myproject/packages/a/tsconfig.json: + {} +/user/username/projects/myproject/packages/b/tsconfig.json: + {} +/user/username/projects/myproject/packages/b/src/index.ts: + {} +/user/username/projects/myproject/packages/b/src/bar.ts: + {} +/a/lib/lib.d.ts: + {} +/user/username/projects/myproject/packages/b/package.json: + {} + +FsWatchesRecursive:: +/user/username/projects/myproject/packages/a/src: + {} +/user/username/projects/myproject/packages/b/src: + {} +/user/username/projects/myproject/node_modules: + {} + Info 58 [16:01:47.000] event: {"seq":0,"type":"event","event":"semanticDiag","body":{"file":"/user/username/projects/myproject/packages/A/src/index.ts","diagnostics":[]}} +Before running immediate callbacks and checking length (1) + +PolledWatches:: +/user/username/projects/myproject/packages/a/node_modules: + {"pollingInterval":500} +/user/username/projects/myproject/packages/node_modules: + {"pollingInterval":500} +/user/username/projects/myproject/packages/a/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/myproject/packages/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/myproject/node_modules/@types: + {"pollingInterval":500} + +FsWatches:: +/user/username/projects/myproject/packages/a/tsconfig.json: + {} +/user/username/projects/myproject/packages/b/tsconfig.json: + {} +/user/username/projects/myproject/packages/b/src/index.ts: + {} +/user/username/projects/myproject/packages/b/src/bar.ts: + {} +/a/lib/lib.d.ts: + {} +/user/username/projects/myproject/packages/b/package.json: + {} + +FsWatchesRecursive:: +/user/username/projects/myproject/packages/a/src: + {} +/user/username/projects/myproject/packages/b/src: + {} +/user/username/projects/myproject/node_modules: + {} + +Before running immediate callbacks and checking length (1) + +PolledWatches:: +/user/username/projects/myproject/packages/a/node_modules: + {"pollingInterval":500} +/user/username/projects/myproject/packages/node_modules: + {"pollingInterval":500} +/user/username/projects/myproject/packages/a/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/myproject/packages/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/myproject/node_modules/@types: + {"pollingInterval":500} + +FsWatches:: +/user/username/projects/myproject/packages/a/tsconfig.json: + {} +/user/username/projects/myproject/packages/b/tsconfig.json: + {} +/user/username/projects/myproject/packages/b/src/index.ts: + {} +/user/username/projects/myproject/packages/b/src/bar.ts: + {} +/a/lib/lib.d.ts: + {} +/user/username/projects/myproject/packages/b/package.json: + {} + +FsWatchesRecursive:: +/user/username/projects/myproject/packages/a/src: + {} +/user/username/projects/myproject/packages/b/src: + {} +/user/username/projects/myproject/node_modules: + {} + Info 59 [16:01:48.000] event: {"seq":0,"type":"event","event":"suggestionDiag","body":{"file":"/user/username/projects/myproject/packages/A/src/index.ts","diagnostics":[]}} Info 60 [16:01:49.000] event: - {"seq":0,"type":"event","event":"requestCompleted","body":{"request_seq":3}} \ No newline at end of file + {"seq":0,"type":"event","event":"requestCompleted","body":{"request_seq":3}} +Before running immediate callbacks and checking length (1) + +PolledWatches:: +/user/username/projects/myproject/packages/a/node_modules: + {"pollingInterval":500} +/user/username/projects/myproject/packages/node_modules: + {"pollingInterval":500} +/user/username/projects/myproject/packages/a/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/myproject/packages/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/myproject/node_modules/@types: + {"pollingInterval":500} + +FsWatches:: +/user/username/projects/myproject/packages/a/tsconfig.json: + {} +/user/username/projects/myproject/packages/b/tsconfig.json: + {} +/user/username/projects/myproject/packages/b/src/index.ts: + {} +/user/username/projects/myproject/packages/b/src/bar.ts: + {} +/a/lib/lib.d.ts: + {} +/user/username/projects/myproject/packages/b/package.json: + {} + +FsWatchesRecursive:: +/user/username/projects/myproject/packages/a/src: + {} +/user/username/projects/myproject/packages/b/src: + {} +/user/username/projects/myproject/node_modules: + {} diff --git a/tests/baselines/reference/tsserver/projectReferences/monorepo-like-with-symlinks-when-packageJson-has-types-field-and-has-index.ts-with-scoped-package-and-solution-is-built-with-preserveSymlinks.js b/tests/baselines/reference/tsserver/projectReferences/monorepo-like-with-symlinks-when-packageJson-has-types-field-and-has-index.ts-with-scoped-package-and-solution-is-built-with-preserveSymlinks.js index 06e21cb50f08f..87a1c941ef870 100644 --- a/tests/baselines/reference/tsserver/projectReferences/monorepo-like-with-symlinks-when-packageJson-has-types-field-and-has-index.ts-with-scoped-package-and-solution-is-built-with-preserveSymlinks.js +++ b/tests/baselines/reference/tsserver/projectReferences/monorepo-like-with-symlinks-when-packageJson-has-types-field-and-has-index.ts-with-scoped-package-and-solution-is-built-with-preserveSymlinks.js @@ -8,6 +8,7 @@ Info 1 [16:01:14.000] request: "file": "/user/username/projects/myproject/packages/A/src/index.ts" } } +Before request //// [/a/lib/lib.d.ts] /// interface Boolean {} @@ -289,6 +290,7 @@ Info 43 [16:01:58.000] ----------------------------------------------- Info 43 [16:01:59.000] Open files: Info 43 [16:02:00.000] FileName: /user/username/projects/myproject/packages/A/src/index.ts ProjectRootPath: undefined Info 43 [16:02:01.000] Projects: /user/username/projects/myproject/packages/A/tsconfig.json +After request PolledWatches:: /user/username/projects/myproject/packages/a/node_modules: @@ -340,6 +342,7 @@ Info 44 [16:02:03.000] request: "seq": 1, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/packages/a/node_modules: @@ -375,6 +378,7 @@ FsWatchesRecursive:: /user/username/projects/myproject/node_modules: {} +After request PolledWatches:: /user/username/projects/myproject/packages/a/node_modules: @@ -414,14 +418,230 @@ Info 45 [16:02:04.000] response: { "responseRequired": false } +Before checking timeout queue length (1) and running + +PolledWatches:: +/user/username/projects/myproject/packages/a/node_modules: + {"pollingInterval":500} +/user/username/projects/myproject/packages/node_modules: + {"pollingInterval":500} +/user/username/projects/myproject/packages/a/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/myproject/packages/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/myproject/node_modules/@types: + {"pollingInterval":500} + +FsWatches:: +/user/username/projects/myproject/packages/a/tsconfig.json: + {} +/user/username/projects/myproject/packages/b/tsconfig.json: + {} +/user/username/projects/myproject/packages/b/src/index.ts: + {} +/user/username/projects/myproject/packages/b/src/bar.ts: + {} +/a/lib/lib.d.ts: + {} +/user/username/projects/myproject/packages/b/package.json: + {} + +FsWatchesRecursive:: +/user/username/projects/myproject/packages/a/src: + {} +/user/username/projects/myproject/packages/b/src: + {} +/user/username/projects/myproject/node_modules: + {} + Info 46 [16:02:05.000] event: {"seq":0,"type":"event","event":"syntaxDiag","body":{"file":"/user/username/projects/myproject/packages/A/src/index.ts","diagnostics":[]}} +After checking timeout queue length (1) and running + +PolledWatches:: +/user/username/projects/myproject/packages/a/node_modules: + {"pollingInterval":500} +/user/username/projects/myproject/packages/node_modules: + {"pollingInterval":500} +/user/username/projects/myproject/packages/a/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/myproject/packages/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/myproject/node_modules/@types: + {"pollingInterval":500} + +FsWatches:: +/user/username/projects/myproject/packages/a/tsconfig.json: + {} +/user/username/projects/myproject/packages/b/tsconfig.json: + {} +/user/username/projects/myproject/packages/b/src/index.ts: + {} +/user/username/projects/myproject/packages/b/src/bar.ts: + {} +/a/lib/lib.d.ts: + {} +/user/username/projects/myproject/packages/b/package.json: + {} + +FsWatchesRecursive:: +/user/username/projects/myproject/packages/a/src: + {} +/user/username/projects/myproject/packages/b/src: + {} +/user/username/projects/myproject/node_modules: + {} + +Before running immediate callbacks and checking length (1) + +PolledWatches:: +/user/username/projects/myproject/packages/a/node_modules: + {"pollingInterval":500} +/user/username/projects/myproject/packages/node_modules: + {"pollingInterval":500} +/user/username/projects/myproject/packages/a/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/myproject/packages/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/myproject/node_modules/@types: + {"pollingInterval":500} + +FsWatches:: +/user/username/projects/myproject/packages/a/tsconfig.json: + {} +/user/username/projects/myproject/packages/b/tsconfig.json: + {} +/user/username/projects/myproject/packages/b/src/index.ts: + {} +/user/username/projects/myproject/packages/b/src/bar.ts: + {} +/a/lib/lib.d.ts: + {} +/user/username/projects/myproject/packages/b/package.json: + {} + +FsWatchesRecursive:: +/user/username/projects/myproject/packages/a/src: + {} +/user/username/projects/myproject/packages/b/src: + {} +/user/username/projects/myproject/node_modules: + {} + Info 47 [16:02:06.000] event: {"seq":0,"type":"event","event":"semanticDiag","body":{"file":"/user/username/projects/myproject/packages/A/src/index.ts","diagnostics":[]}} +Before running immediate callbacks and checking length (1) + +PolledWatches:: +/user/username/projects/myproject/packages/a/node_modules: + {"pollingInterval":500} +/user/username/projects/myproject/packages/node_modules: + {"pollingInterval":500} +/user/username/projects/myproject/packages/a/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/myproject/packages/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/myproject/node_modules/@types: + {"pollingInterval":500} + +FsWatches:: +/user/username/projects/myproject/packages/a/tsconfig.json: + {} +/user/username/projects/myproject/packages/b/tsconfig.json: + {} +/user/username/projects/myproject/packages/b/src/index.ts: + {} +/user/username/projects/myproject/packages/b/src/bar.ts: + {} +/a/lib/lib.d.ts: + {} +/user/username/projects/myproject/packages/b/package.json: + {} + +FsWatchesRecursive:: +/user/username/projects/myproject/packages/a/src: + {} +/user/username/projects/myproject/packages/b/src: + {} +/user/username/projects/myproject/node_modules: + {} + +Before running immediate callbacks and checking length (1) + +PolledWatches:: +/user/username/projects/myproject/packages/a/node_modules: + {"pollingInterval":500} +/user/username/projects/myproject/packages/node_modules: + {"pollingInterval":500} +/user/username/projects/myproject/packages/a/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/myproject/packages/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/myproject/node_modules/@types: + {"pollingInterval":500} + +FsWatches:: +/user/username/projects/myproject/packages/a/tsconfig.json: + {} +/user/username/projects/myproject/packages/b/tsconfig.json: + {} +/user/username/projects/myproject/packages/b/src/index.ts: + {} +/user/username/projects/myproject/packages/b/src/bar.ts: + {} +/a/lib/lib.d.ts: + {} +/user/username/projects/myproject/packages/b/package.json: + {} + +FsWatchesRecursive:: +/user/username/projects/myproject/packages/a/src: + {} +/user/username/projects/myproject/packages/b/src: + {} +/user/username/projects/myproject/node_modules: + {} + Info 48 [16:02:07.000] event: {"seq":0,"type":"event","event":"suggestionDiag","body":{"file":"/user/username/projects/myproject/packages/A/src/index.ts","diagnostics":[]}} Info 49 [16:02:08.000] event: {"seq":0,"type":"event","event":"requestCompleted","body":{"request_seq":1}} +Before running immediate callbacks and checking length (1) + +PolledWatches:: +/user/username/projects/myproject/packages/a/node_modules: + {"pollingInterval":500} +/user/username/projects/myproject/packages/node_modules: + {"pollingInterval":500} +/user/username/projects/myproject/packages/a/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/myproject/packages/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/myproject/node_modules/@types: + {"pollingInterval":500} + +FsWatches:: +/user/username/projects/myproject/packages/a/tsconfig.json: + {} +/user/username/projects/myproject/packages/b/tsconfig.json: + {} +/user/username/projects/myproject/packages/b/src/index.ts: + {} +/user/username/projects/myproject/packages/b/src/bar.ts: + {} +/a/lib/lib.d.ts: + {} +/user/username/projects/myproject/packages/b/package.json: + {} + +FsWatchesRecursive:: +/user/username/projects/myproject/packages/a/src: + {} +/user/username/projects/myproject/packages/b/src: + {} +/user/username/projects/myproject/node_modules: + {} + Info 50 [16:02:09.000] request: { "command": "updateOpen", @@ -448,6 +668,7 @@ Info 50 [16:02:09.000] request: "seq": 2, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/packages/a/node_modules: @@ -483,6 +704,7 @@ FsWatchesRecursive:: /user/username/projects/myproject/node_modules: {} +After request PolledWatches:: /user/username/projects/myproject/packages/a/node_modules: @@ -535,6 +757,7 @@ Info 52 [16:02:11.000] request: "seq": 3, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/packages/a/node_modules: @@ -570,6 +793,7 @@ FsWatchesRecursive:: /user/username/projects/myproject/node_modules: {} +After request PolledWatches:: /user/username/projects/myproject/packages/a/node_modules: @@ -609,14 +833,229 @@ Info 53 [16:02:12.000] response: { "responseRequired": false } +Before checking timeout queue length (1) and running + +PolledWatches:: +/user/username/projects/myproject/packages/a/node_modules: + {"pollingInterval":500} +/user/username/projects/myproject/packages/node_modules: + {"pollingInterval":500} +/user/username/projects/myproject/packages/a/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/myproject/packages/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/myproject/node_modules/@types: + {"pollingInterval":500} + +FsWatches:: +/user/username/projects/myproject/packages/a/tsconfig.json: + {} +/user/username/projects/myproject/packages/b/tsconfig.json: + {} +/user/username/projects/myproject/packages/b/src/index.ts: + {} +/user/username/projects/myproject/packages/b/src/bar.ts: + {} +/a/lib/lib.d.ts: + {} +/user/username/projects/myproject/packages/b/package.json: + {} + +FsWatchesRecursive:: +/user/username/projects/myproject/packages/a/src: + {} +/user/username/projects/myproject/packages/b/src: + {} +/user/username/projects/myproject/node_modules: + {} + Info 54 [16:02:13.000] Starting updateGraphWorker: Project: /user/username/projects/myproject/packages/A/tsconfig.json Info 55 [16:02:14.000] Finishing updateGraphWorker: Project: /user/username/projects/myproject/packages/A/tsconfig.json Version: 2 structureChanged: false structureIsReused:: Completely Elapsed:: *ms Info 56 [16:02:15.000] Different program with same set of files Info 57 [16:02:16.000] event: {"seq":0,"type":"event","event":"syntaxDiag","body":{"file":"/user/username/projects/myproject/packages/A/src/index.ts","diagnostics":[]}} +After checking timeout queue length (1) and running + +PolledWatches:: +/user/username/projects/myproject/packages/a/node_modules: + {"pollingInterval":500} +/user/username/projects/myproject/packages/node_modules: + {"pollingInterval":500} +/user/username/projects/myproject/packages/a/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/myproject/packages/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/myproject/node_modules/@types: + {"pollingInterval":500} + +FsWatches:: +/user/username/projects/myproject/packages/a/tsconfig.json: + {} +/user/username/projects/myproject/packages/b/tsconfig.json: + {} +/user/username/projects/myproject/packages/b/src/index.ts: + {} +/user/username/projects/myproject/packages/b/src/bar.ts: + {} +/a/lib/lib.d.ts: + {} +/user/username/projects/myproject/packages/b/package.json: + {} + +FsWatchesRecursive:: +/user/username/projects/myproject/packages/a/src: + {} +/user/username/projects/myproject/packages/b/src: + {} +/user/username/projects/myproject/node_modules: + {} + +Before running immediate callbacks and checking length (1) + +PolledWatches:: +/user/username/projects/myproject/packages/a/node_modules: + {"pollingInterval":500} +/user/username/projects/myproject/packages/node_modules: + {"pollingInterval":500} +/user/username/projects/myproject/packages/a/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/myproject/packages/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/myproject/node_modules/@types: + {"pollingInterval":500} + +FsWatches:: +/user/username/projects/myproject/packages/a/tsconfig.json: + {} +/user/username/projects/myproject/packages/b/tsconfig.json: + {} +/user/username/projects/myproject/packages/b/src/index.ts: + {} +/user/username/projects/myproject/packages/b/src/bar.ts: + {} +/a/lib/lib.d.ts: + {} +/user/username/projects/myproject/packages/b/package.json: + {} + +FsWatchesRecursive:: +/user/username/projects/myproject/packages/a/src: + {} +/user/username/projects/myproject/packages/b/src: + {} +/user/username/projects/myproject/node_modules: + {} + Info 58 [16:02:17.000] event: {"seq":0,"type":"event","event":"semanticDiag","body":{"file":"/user/username/projects/myproject/packages/A/src/index.ts","diagnostics":[]}} +Before running immediate callbacks and checking length (1) + +PolledWatches:: +/user/username/projects/myproject/packages/a/node_modules: + {"pollingInterval":500} +/user/username/projects/myproject/packages/node_modules: + {"pollingInterval":500} +/user/username/projects/myproject/packages/a/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/myproject/packages/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/myproject/node_modules/@types: + {"pollingInterval":500} + +FsWatches:: +/user/username/projects/myproject/packages/a/tsconfig.json: + {} +/user/username/projects/myproject/packages/b/tsconfig.json: + {} +/user/username/projects/myproject/packages/b/src/index.ts: + {} +/user/username/projects/myproject/packages/b/src/bar.ts: + {} +/a/lib/lib.d.ts: + {} +/user/username/projects/myproject/packages/b/package.json: + {} + +FsWatchesRecursive:: +/user/username/projects/myproject/packages/a/src: + {} +/user/username/projects/myproject/packages/b/src: + {} +/user/username/projects/myproject/node_modules: + {} + +Before running immediate callbacks and checking length (1) + +PolledWatches:: +/user/username/projects/myproject/packages/a/node_modules: + {"pollingInterval":500} +/user/username/projects/myproject/packages/node_modules: + {"pollingInterval":500} +/user/username/projects/myproject/packages/a/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/myproject/packages/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/myproject/node_modules/@types: + {"pollingInterval":500} + +FsWatches:: +/user/username/projects/myproject/packages/a/tsconfig.json: + {} +/user/username/projects/myproject/packages/b/tsconfig.json: + {} +/user/username/projects/myproject/packages/b/src/index.ts: + {} +/user/username/projects/myproject/packages/b/src/bar.ts: + {} +/a/lib/lib.d.ts: + {} +/user/username/projects/myproject/packages/b/package.json: + {} + +FsWatchesRecursive:: +/user/username/projects/myproject/packages/a/src: + {} +/user/username/projects/myproject/packages/b/src: + {} +/user/username/projects/myproject/node_modules: + {} + Info 59 [16:02:18.000] event: {"seq":0,"type":"event","event":"suggestionDiag","body":{"file":"/user/username/projects/myproject/packages/A/src/index.ts","diagnostics":[]}} Info 60 [16:02:19.000] event: - {"seq":0,"type":"event","event":"requestCompleted","body":{"request_seq":3}} \ No newline at end of file + {"seq":0,"type":"event","event":"requestCompleted","body":{"request_seq":3}} +Before running immediate callbacks and checking length (1) + +PolledWatches:: +/user/username/projects/myproject/packages/a/node_modules: + {"pollingInterval":500} +/user/username/projects/myproject/packages/node_modules: + {"pollingInterval":500} +/user/username/projects/myproject/packages/a/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/myproject/packages/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/myproject/node_modules/@types: + {"pollingInterval":500} + +FsWatches:: +/user/username/projects/myproject/packages/a/tsconfig.json: + {} +/user/username/projects/myproject/packages/b/tsconfig.json: + {} +/user/username/projects/myproject/packages/b/src/index.ts: + {} +/user/username/projects/myproject/packages/b/src/bar.ts: + {} +/a/lib/lib.d.ts: + {} +/user/username/projects/myproject/packages/b/package.json: + {} + +FsWatchesRecursive:: +/user/username/projects/myproject/packages/a/src: + {} +/user/username/projects/myproject/packages/b/src: + {} +/user/username/projects/myproject/node_modules: + {} diff --git a/tests/baselines/reference/tsserver/projectReferences/monorepo-like-with-symlinks-when-packageJson-has-types-field-and-has-index.ts-with-scoped-package-and-solution-is-built.js b/tests/baselines/reference/tsserver/projectReferences/monorepo-like-with-symlinks-when-packageJson-has-types-field-and-has-index.ts-with-scoped-package-and-solution-is-built.js index 15e9fe95a4488..fe71df1a8aec6 100644 --- a/tests/baselines/reference/tsserver/projectReferences/monorepo-like-with-symlinks-when-packageJson-has-types-field-and-has-index.ts-with-scoped-package-and-solution-is-built.js +++ b/tests/baselines/reference/tsserver/projectReferences/monorepo-like-with-symlinks-when-packageJson-has-types-field-and-has-index.ts-with-scoped-package-and-solution-is-built.js @@ -8,6 +8,7 @@ Info 1 [16:01:14.000] request: "file": "/user/username/projects/myproject/packages/A/src/index.ts" } } +Before request //// [/a/lib/lib.d.ts] /// interface Boolean {} @@ -287,6 +288,7 @@ Info 43 [16:01:58.000] ----------------------------------------------- Info 43 [16:01:59.000] Open files: Info 43 [16:02:00.000] FileName: /user/username/projects/myproject/packages/A/src/index.ts ProjectRootPath: undefined Info 43 [16:02:01.000] Projects: /user/username/projects/myproject/packages/A/tsconfig.json +After request PolledWatches:: /user/username/projects/myproject/packages/a/node_modules: @@ -338,6 +340,7 @@ Info 44 [16:02:03.000] request: "seq": 1, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/packages/a/node_modules: @@ -373,6 +376,7 @@ FsWatchesRecursive:: /user/username/projects/myproject/node_modules: {} +After request PolledWatches:: /user/username/projects/myproject/packages/a/node_modules: @@ -412,14 +416,230 @@ Info 45 [16:02:04.000] response: { "responseRequired": false } +Before checking timeout queue length (1) and running + +PolledWatches:: +/user/username/projects/myproject/packages/a/node_modules: + {"pollingInterval":500} +/user/username/projects/myproject/packages/node_modules: + {"pollingInterval":500} +/user/username/projects/myproject/packages/a/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/myproject/packages/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/myproject/node_modules/@types: + {"pollingInterval":500} + +FsWatches:: +/user/username/projects/myproject/packages/a/tsconfig.json: + {} +/user/username/projects/myproject/packages/b/tsconfig.json: + {} +/user/username/projects/myproject/packages/b/src/index.ts: + {} +/user/username/projects/myproject/packages/b/src/bar.ts: + {} +/a/lib/lib.d.ts: + {} +/user/username/projects/myproject/packages/b/package.json: + {} + +FsWatchesRecursive:: +/user/username/projects/myproject/packages/a/src: + {} +/user/username/projects/myproject/packages/b/src: + {} +/user/username/projects/myproject/node_modules: + {} + Info 46 [16:02:05.000] event: {"seq":0,"type":"event","event":"syntaxDiag","body":{"file":"/user/username/projects/myproject/packages/A/src/index.ts","diagnostics":[]}} +After checking timeout queue length (1) and running + +PolledWatches:: +/user/username/projects/myproject/packages/a/node_modules: + {"pollingInterval":500} +/user/username/projects/myproject/packages/node_modules: + {"pollingInterval":500} +/user/username/projects/myproject/packages/a/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/myproject/packages/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/myproject/node_modules/@types: + {"pollingInterval":500} + +FsWatches:: +/user/username/projects/myproject/packages/a/tsconfig.json: + {} +/user/username/projects/myproject/packages/b/tsconfig.json: + {} +/user/username/projects/myproject/packages/b/src/index.ts: + {} +/user/username/projects/myproject/packages/b/src/bar.ts: + {} +/a/lib/lib.d.ts: + {} +/user/username/projects/myproject/packages/b/package.json: + {} + +FsWatchesRecursive:: +/user/username/projects/myproject/packages/a/src: + {} +/user/username/projects/myproject/packages/b/src: + {} +/user/username/projects/myproject/node_modules: + {} + +Before running immediate callbacks and checking length (1) + +PolledWatches:: +/user/username/projects/myproject/packages/a/node_modules: + {"pollingInterval":500} +/user/username/projects/myproject/packages/node_modules: + {"pollingInterval":500} +/user/username/projects/myproject/packages/a/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/myproject/packages/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/myproject/node_modules/@types: + {"pollingInterval":500} + +FsWatches:: +/user/username/projects/myproject/packages/a/tsconfig.json: + {} +/user/username/projects/myproject/packages/b/tsconfig.json: + {} +/user/username/projects/myproject/packages/b/src/index.ts: + {} +/user/username/projects/myproject/packages/b/src/bar.ts: + {} +/a/lib/lib.d.ts: + {} +/user/username/projects/myproject/packages/b/package.json: + {} + +FsWatchesRecursive:: +/user/username/projects/myproject/packages/a/src: + {} +/user/username/projects/myproject/packages/b/src: + {} +/user/username/projects/myproject/node_modules: + {} + Info 47 [16:02:06.000] event: {"seq":0,"type":"event","event":"semanticDiag","body":{"file":"/user/username/projects/myproject/packages/A/src/index.ts","diagnostics":[]}} +Before running immediate callbacks and checking length (1) + +PolledWatches:: +/user/username/projects/myproject/packages/a/node_modules: + {"pollingInterval":500} +/user/username/projects/myproject/packages/node_modules: + {"pollingInterval":500} +/user/username/projects/myproject/packages/a/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/myproject/packages/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/myproject/node_modules/@types: + {"pollingInterval":500} + +FsWatches:: +/user/username/projects/myproject/packages/a/tsconfig.json: + {} +/user/username/projects/myproject/packages/b/tsconfig.json: + {} +/user/username/projects/myproject/packages/b/src/index.ts: + {} +/user/username/projects/myproject/packages/b/src/bar.ts: + {} +/a/lib/lib.d.ts: + {} +/user/username/projects/myproject/packages/b/package.json: + {} + +FsWatchesRecursive:: +/user/username/projects/myproject/packages/a/src: + {} +/user/username/projects/myproject/packages/b/src: + {} +/user/username/projects/myproject/node_modules: + {} + +Before running immediate callbacks and checking length (1) + +PolledWatches:: +/user/username/projects/myproject/packages/a/node_modules: + {"pollingInterval":500} +/user/username/projects/myproject/packages/node_modules: + {"pollingInterval":500} +/user/username/projects/myproject/packages/a/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/myproject/packages/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/myproject/node_modules/@types: + {"pollingInterval":500} + +FsWatches:: +/user/username/projects/myproject/packages/a/tsconfig.json: + {} +/user/username/projects/myproject/packages/b/tsconfig.json: + {} +/user/username/projects/myproject/packages/b/src/index.ts: + {} +/user/username/projects/myproject/packages/b/src/bar.ts: + {} +/a/lib/lib.d.ts: + {} +/user/username/projects/myproject/packages/b/package.json: + {} + +FsWatchesRecursive:: +/user/username/projects/myproject/packages/a/src: + {} +/user/username/projects/myproject/packages/b/src: + {} +/user/username/projects/myproject/node_modules: + {} + Info 48 [16:02:07.000] event: {"seq":0,"type":"event","event":"suggestionDiag","body":{"file":"/user/username/projects/myproject/packages/A/src/index.ts","diagnostics":[]}} Info 49 [16:02:08.000] event: {"seq":0,"type":"event","event":"requestCompleted","body":{"request_seq":1}} +Before running immediate callbacks and checking length (1) + +PolledWatches:: +/user/username/projects/myproject/packages/a/node_modules: + {"pollingInterval":500} +/user/username/projects/myproject/packages/node_modules: + {"pollingInterval":500} +/user/username/projects/myproject/packages/a/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/myproject/packages/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/myproject/node_modules/@types: + {"pollingInterval":500} + +FsWatches:: +/user/username/projects/myproject/packages/a/tsconfig.json: + {} +/user/username/projects/myproject/packages/b/tsconfig.json: + {} +/user/username/projects/myproject/packages/b/src/index.ts: + {} +/user/username/projects/myproject/packages/b/src/bar.ts: + {} +/a/lib/lib.d.ts: + {} +/user/username/projects/myproject/packages/b/package.json: + {} + +FsWatchesRecursive:: +/user/username/projects/myproject/packages/a/src: + {} +/user/username/projects/myproject/packages/b/src: + {} +/user/username/projects/myproject/node_modules: + {} + Info 50 [16:02:09.000] request: { "command": "updateOpen", @@ -446,6 +666,7 @@ Info 50 [16:02:09.000] request: "seq": 2, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/packages/a/node_modules: @@ -481,6 +702,7 @@ FsWatchesRecursive:: /user/username/projects/myproject/node_modules: {} +After request PolledWatches:: /user/username/projects/myproject/packages/a/node_modules: @@ -533,6 +755,7 @@ Info 52 [16:02:11.000] request: "seq": 3, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/packages/a/node_modules: @@ -568,6 +791,7 @@ FsWatchesRecursive:: /user/username/projects/myproject/node_modules: {} +After request PolledWatches:: /user/username/projects/myproject/packages/a/node_modules: @@ -607,14 +831,229 @@ Info 53 [16:02:12.000] response: { "responseRequired": false } +Before checking timeout queue length (1) and running + +PolledWatches:: +/user/username/projects/myproject/packages/a/node_modules: + {"pollingInterval":500} +/user/username/projects/myproject/packages/node_modules: + {"pollingInterval":500} +/user/username/projects/myproject/packages/a/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/myproject/packages/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/myproject/node_modules/@types: + {"pollingInterval":500} + +FsWatches:: +/user/username/projects/myproject/packages/a/tsconfig.json: + {} +/user/username/projects/myproject/packages/b/tsconfig.json: + {} +/user/username/projects/myproject/packages/b/src/index.ts: + {} +/user/username/projects/myproject/packages/b/src/bar.ts: + {} +/a/lib/lib.d.ts: + {} +/user/username/projects/myproject/packages/b/package.json: + {} + +FsWatchesRecursive:: +/user/username/projects/myproject/packages/a/src: + {} +/user/username/projects/myproject/packages/b/src: + {} +/user/username/projects/myproject/node_modules: + {} + Info 54 [16:02:13.000] Starting updateGraphWorker: Project: /user/username/projects/myproject/packages/A/tsconfig.json Info 55 [16:02:14.000] Finishing updateGraphWorker: Project: /user/username/projects/myproject/packages/A/tsconfig.json Version: 2 structureChanged: false structureIsReused:: Completely Elapsed:: *ms Info 56 [16:02:15.000] Different program with same set of files Info 57 [16:02:16.000] event: {"seq":0,"type":"event","event":"syntaxDiag","body":{"file":"/user/username/projects/myproject/packages/A/src/index.ts","diagnostics":[]}} +After checking timeout queue length (1) and running + +PolledWatches:: +/user/username/projects/myproject/packages/a/node_modules: + {"pollingInterval":500} +/user/username/projects/myproject/packages/node_modules: + {"pollingInterval":500} +/user/username/projects/myproject/packages/a/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/myproject/packages/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/myproject/node_modules/@types: + {"pollingInterval":500} + +FsWatches:: +/user/username/projects/myproject/packages/a/tsconfig.json: + {} +/user/username/projects/myproject/packages/b/tsconfig.json: + {} +/user/username/projects/myproject/packages/b/src/index.ts: + {} +/user/username/projects/myproject/packages/b/src/bar.ts: + {} +/a/lib/lib.d.ts: + {} +/user/username/projects/myproject/packages/b/package.json: + {} + +FsWatchesRecursive:: +/user/username/projects/myproject/packages/a/src: + {} +/user/username/projects/myproject/packages/b/src: + {} +/user/username/projects/myproject/node_modules: + {} + +Before running immediate callbacks and checking length (1) + +PolledWatches:: +/user/username/projects/myproject/packages/a/node_modules: + {"pollingInterval":500} +/user/username/projects/myproject/packages/node_modules: + {"pollingInterval":500} +/user/username/projects/myproject/packages/a/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/myproject/packages/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/myproject/node_modules/@types: + {"pollingInterval":500} + +FsWatches:: +/user/username/projects/myproject/packages/a/tsconfig.json: + {} +/user/username/projects/myproject/packages/b/tsconfig.json: + {} +/user/username/projects/myproject/packages/b/src/index.ts: + {} +/user/username/projects/myproject/packages/b/src/bar.ts: + {} +/a/lib/lib.d.ts: + {} +/user/username/projects/myproject/packages/b/package.json: + {} + +FsWatchesRecursive:: +/user/username/projects/myproject/packages/a/src: + {} +/user/username/projects/myproject/packages/b/src: + {} +/user/username/projects/myproject/node_modules: + {} + Info 58 [16:02:17.000] event: {"seq":0,"type":"event","event":"semanticDiag","body":{"file":"/user/username/projects/myproject/packages/A/src/index.ts","diagnostics":[]}} +Before running immediate callbacks and checking length (1) + +PolledWatches:: +/user/username/projects/myproject/packages/a/node_modules: + {"pollingInterval":500} +/user/username/projects/myproject/packages/node_modules: + {"pollingInterval":500} +/user/username/projects/myproject/packages/a/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/myproject/packages/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/myproject/node_modules/@types: + {"pollingInterval":500} + +FsWatches:: +/user/username/projects/myproject/packages/a/tsconfig.json: + {} +/user/username/projects/myproject/packages/b/tsconfig.json: + {} +/user/username/projects/myproject/packages/b/src/index.ts: + {} +/user/username/projects/myproject/packages/b/src/bar.ts: + {} +/a/lib/lib.d.ts: + {} +/user/username/projects/myproject/packages/b/package.json: + {} + +FsWatchesRecursive:: +/user/username/projects/myproject/packages/a/src: + {} +/user/username/projects/myproject/packages/b/src: + {} +/user/username/projects/myproject/node_modules: + {} + +Before running immediate callbacks and checking length (1) + +PolledWatches:: +/user/username/projects/myproject/packages/a/node_modules: + {"pollingInterval":500} +/user/username/projects/myproject/packages/node_modules: + {"pollingInterval":500} +/user/username/projects/myproject/packages/a/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/myproject/packages/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/myproject/node_modules/@types: + {"pollingInterval":500} + +FsWatches:: +/user/username/projects/myproject/packages/a/tsconfig.json: + {} +/user/username/projects/myproject/packages/b/tsconfig.json: + {} +/user/username/projects/myproject/packages/b/src/index.ts: + {} +/user/username/projects/myproject/packages/b/src/bar.ts: + {} +/a/lib/lib.d.ts: + {} +/user/username/projects/myproject/packages/b/package.json: + {} + +FsWatchesRecursive:: +/user/username/projects/myproject/packages/a/src: + {} +/user/username/projects/myproject/packages/b/src: + {} +/user/username/projects/myproject/node_modules: + {} + Info 59 [16:02:18.000] event: {"seq":0,"type":"event","event":"suggestionDiag","body":{"file":"/user/username/projects/myproject/packages/A/src/index.ts","diagnostics":[]}} Info 60 [16:02:19.000] event: - {"seq":0,"type":"event","event":"requestCompleted","body":{"request_seq":3}} \ No newline at end of file + {"seq":0,"type":"event","event":"requestCompleted","body":{"request_seq":3}} +Before running immediate callbacks and checking length (1) + +PolledWatches:: +/user/username/projects/myproject/packages/a/node_modules: + {"pollingInterval":500} +/user/username/projects/myproject/packages/node_modules: + {"pollingInterval":500} +/user/username/projects/myproject/packages/a/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/myproject/packages/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/myproject/node_modules/@types: + {"pollingInterval":500} + +FsWatches:: +/user/username/projects/myproject/packages/a/tsconfig.json: + {} +/user/username/projects/myproject/packages/b/tsconfig.json: + {} +/user/username/projects/myproject/packages/b/src/index.ts: + {} +/user/username/projects/myproject/packages/b/src/bar.ts: + {} +/a/lib/lib.d.ts: + {} +/user/username/projects/myproject/packages/b/package.json: + {} + +FsWatchesRecursive:: +/user/username/projects/myproject/packages/a/src: + {} +/user/username/projects/myproject/packages/b/src: + {} +/user/username/projects/myproject/node_modules: + {} diff --git a/tests/baselines/reference/tsserver/projectReferences/monorepo-like-with-symlinks-when-packageJson-has-types-field-and-has-index.ts-with-scoped-package-and-solution-is-not-built-with-preserveSymlinks.js b/tests/baselines/reference/tsserver/projectReferences/monorepo-like-with-symlinks-when-packageJson-has-types-field-and-has-index.ts-with-scoped-package-and-solution-is-not-built-with-preserveSymlinks.js index 8a6161c426bc8..ab76e103c4a06 100644 --- a/tests/baselines/reference/tsserver/projectReferences/monorepo-like-with-symlinks-when-packageJson-has-types-field-and-has-index.ts-with-scoped-package-and-solution-is-not-built-with-preserveSymlinks.js +++ b/tests/baselines/reference/tsserver/projectReferences/monorepo-like-with-symlinks-when-packageJson-has-types-field-and-has-index.ts-with-scoped-package-and-solution-is-not-built-with-preserveSymlinks.js @@ -8,6 +8,7 @@ Info 1 [16:00:46.000] request: "file": "/user/username/projects/myproject/packages/A/src/index.ts" } } +Before request //// [/a/lib/lib.d.ts] /// interface Boolean {} @@ -147,6 +148,7 @@ Info 43 [16:01:30.000] ----------------------------------------------- Info 43 [16:01:31.000] Open files: Info 43 [16:01:32.000] FileName: /user/username/projects/myproject/packages/A/src/index.ts ProjectRootPath: undefined Info 43 [16:01:33.000] Projects: /user/username/projects/myproject/packages/A/tsconfig.json +After request PolledWatches:: /user/username/projects/myproject/packages/a/node_modules: @@ -198,6 +200,7 @@ Info 44 [16:01:35.000] request: "seq": 1, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/packages/a/node_modules: @@ -233,6 +236,7 @@ FsWatchesRecursive:: /user/username/projects/myproject/node_modules: {} +After request PolledWatches:: /user/username/projects/myproject/packages/a/node_modules: @@ -272,14 +276,230 @@ Info 45 [16:01:36.000] response: { "responseRequired": false } +Before checking timeout queue length (1) and running + +PolledWatches:: +/user/username/projects/myproject/packages/a/node_modules: + {"pollingInterval":500} +/user/username/projects/myproject/packages/node_modules: + {"pollingInterval":500} +/user/username/projects/myproject/packages/a/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/myproject/packages/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/myproject/node_modules/@types: + {"pollingInterval":500} + +FsWatches:: +/user/username/projects/myproject/packages/a/tsconfig.json: + {} +/user/username/projects/myproject/packages/b/tsconfig.json: + {} +/user/username/projects/myproject/packages/b/src/index.ts: + {} +/user/username/projects/myproject/packages/b/src/bar.ts: + {} +/a/lib/lib.d.ts: + {} +/user/username/projects/myproject/packages/b/package.json: + {} + +FsWatchesRecursive:: +/user/username/projects/myproject/packages/a/src: + {} +/user/username/projects/myproject/packages/b/src: + {} +/user/username/projects/myproject/node_modules: + {} + Info 46 [16:01:37.000] event: {"seq":0,"type":"event","event":"syntaxDiag","body":{"file":"/user/username/projects/myproject/packages/A/src/index.ts","diagnostics":[]}} +After checking timeout queue length (1) and running + +PolledWatches:: +/user/username/projects/myproject/packages/a/node_modules: + {"pollingInterval":500} +/user/username/projects/myproject/packages/node_modules: + {"pollingInterval":500} +/user/username/projects/myproject/packages/a/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/myproject/packages/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/myproject/node_modules/@types: + {"pollingInterval":500} + +FsWatches:: +/user/username/projects/myproject/packages/a/tsconfig.json: + {} +/user/username/projects/myproject/packages/b/tsconfig.json: + {} +/user/username/projects/myproject/packages/b/src/index.ts: + {} +/user/username/projects/myproject/packages/b/src/bar.ts: + {} +/a/lib/lib.d.ts: + {} +/user/username/projects/myproject/packages/b/package.json: + {} + +FsWatchesRecursive:: +/user/username/projects/myproject/packages/a/src: + {} +/user/username/projects/myproject/packages/b/src: + {} +/user/username/projects/myproject/node_modules: + {} + +Before running immediate callbacks and checking length (1) + +PolledWatches:: +/user/username/projects/myproject/packages/a/node_modules: + {"pollingInterval":500} +/user/username/projects/myproject/packages/node_modules: + {"pollingInterval":500} +/user/username/projects/myproject/packages/a/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/myproject/packages/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/myproject/node_modules/@types: + {"pollingInterval":500} + +FsWatches:: +/user/username/projects/myproject/packages/a/tsconfig.json: + {} +/user/username/projects/myproject/packages/b/tsconfig.json: + {} +/user/username/projects/myproject/packages/b/src/index.ts: + {} +/user/username/projects/myproject/packages/b/src/bar.ts: + {} +/a/lib/lib.d.ts: + {} +/user/username/projects/myproject/packages/b/package.json: + {} + +FsWatchesRecursive:: +/user/username/projects/myproject/packages/a/src: + {} +/user/username/projects/myproject/packages/b/src: + {} +/user/username/projects/myproject/node_modules: + {} + Info 47 [16:01:38.000] event: {"seq":0,"type":"event","event":"semanticDiag","body":{"file":"/user/username/projects/myproject/packages/A/src/index.ts","diagnostics":[]}} +Before running immediate callbacks and checking length (1) + +PolledWatches:: +/user/username/projects/myproject/packages/a/node_modules: + {"pollingInterval":500} +/user/username/projects/myproject/packages/node_modules: + {"pollingInterval":500} +/user/username/projects/myproject/packages/a/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/myproject/packages/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/myproject/node_modules/@types: + {"pollingInterval":500} + +FsWatches:: +/user/username/projects/myproject/packages/a/tsconfig.json: + {} +/user/username/projects/myproject/packages/b/tsconfig.json: + {} +/user/username/projects/myproject/packages/b/src/index.ts: + {} +/user/username/projects/myproject/packages/b/src/bar.ts: + {} +/a/lib/lib.d.ts: + {} +/user/username/projects/myproject/packages/b/package.json: + {} + +FsWatchesRecursive:: +/user/username/projects/myproject/packages/a/src: + {} +/user/username/projects/myproject/packages/b/src: + {} +/user/username/projects/myproject/node_modules: + {} + +Before running immediate callbacks and checking length (1) + +PolledWatches:: +/user/username/projects/myproject/packages/a/node_modules: + {"pollingInterval":500} +/user/username/projects/myproject/packages/node_modules: + {"pollingInterval":500} +/user/username/projects/myproject/packages/a/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/myproject/packages/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/myproject/node_modules/@types: + {"pollingInterval":500} + +FsWatches:: +/user/username/projects/myproject/packages/a/tsconfig.json: + {} +/user/username/projects/myproject/packages/b/tsconfig.json: + {} +/user/username/projects/myproject/packages/b/src/index.ts: + {} +/user/username/projects/myproject/packages/b/src/bar.ts: + {} +/a/lib/lib.d.ts: + {} +/user/username/projects/myproject/packages/b/package.json: + {} + +FsWatchesRecursive:: +/user/username/projects/myproject/packages/a/src: + {} +/user/username/projects/myproject/packages/b/src: + {} +/user/username/projects/myproject/node_modules: + {} + Info 48 [16:01:39.000] event: {"seq":0,"type":"event","event":"suggestionDiag","body":{"file":"/user/username/projects/myproject/packages/A/src/index.ts","diagnostics":[]}} Info 49 [16:01:40.000] event: {"seq":0,"type":"event","event":"requestCompleted","body":{"request_seq":1}} +Before running immediate callbacks and checking length (1) + +PolledWatches:: +/user/username/projects/myproject/packages/a/node_modules: + {"pollingInterval":500} +/user/username/projects/myproject/packages/node_modules: + {"pollingInterval":500} +/user/username/projects/myproject/packages/a/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/myproject/packages/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/myproject/node_modules/@types: + {"pollingInterval":500} + +FsWatches:: +/user/username/projects/myproject/packages/a/tsconfig.json: + {} +/user/username/projects/myproject/packages/b/tsconfig.json: + {} +/user/username/projects/myproject/packages/b/src/index.ts: + {} +/user/username/projects/myproject/packages/b/src/bar.ts: + {} +/a/lib/lib.d.ts: + {} +/user/username/projects/myproject/packages/b/package.json: + {} + +FsWatchesRecursive:: +/user/username/projects/myproject/packages/a/src: + {} +/user/username/projects/myproject/packages/b/src: + {} +/user/username/projects/myproject/node_modules: + {} + Info 50 [16:01:41.000] request: { "command": "updateOpen", @@ -306,6 +526,7 @@ Info 50 [16:01:41.000] request: "seq": 2, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/packages/a/node_modules: @@ -341,6 +562,7 @@ FsWatchesRecursive:: /user/username/projects/myproject/node_modules: {} +After request PolledWatches:: /user/username/projects/myproject/packages/a/node_modules: @@ -393,6 +615,7 @@ Info 52 [16:01:43.000] request: "seq": 3, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/packages/a/node_modules: @@ -428,6 +651,7 @@ FsWatchesRecursive:: /user/username/projects/myproject/node_modules: {} +After request PolledWatches:: /user/username/projects/myproject/packages/a/node_modules: @@ -467,14 +691,229 @@ Info 53 [16:01:44.000] response: { "responseRequired": false } +Before checking timeout queue length (1) and running + +PolledWatches:: +/user/username/projects/myproject/packages/a/node_modules: + {"pollingInterval":500} +/user/username/projects/myproject/packages/node_modules: + {"pollingInterval":500} +/user/username/projects/myproject/packages/a/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/myproject/packages/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/myproject/node_modules/@types: + {"pollingInterval":500} + +FsWatches:: +/user/username/projects/myproject/packages/a/tsconfig.json: + {} +/user/username/projects/myproject/packages/b/tsconfig.json: + {} +/user/username/projects/myproject/packages/b/src/index.ts: + {} +/user/username/projects/myproject/packages/b/src/bar.ts: + {} +/a/lib/lib.d.ts: + {} +/user/username/projects/myproject/packages/b/package.json: + {} + +FsWatchesRecursive:: +/user/username/projects/myproject/packages/a/src: + {} +/user/username/projects/myproject/packages/b/src: + {} +/user/username/projects/myproject/node_modules: + {} + Info 54 [16:01:45.000] Starting updateGraphWorker: Project: /user/username/projects/myproject/packages/A/tsconfig.json Info 55 [16:01:46.000] Finishing updateGraphWorker: Project: /user/username/projects/myproject/packages/A/tsconfig.json Version: 2 structureChanged: false structureIsReused:: Completely Elapsed:: *ms Info 56 [16:01:47.000] Different program with same set of files Info 57 [16:01:48.000] event: {"seq":0,"type":"event","event":"syntaxDiag","body":{"file":"/user/username/projects/myproject/packages/A/src/index.ts","diagnostics":[]}} +After checking timeout queue length (1) and running + +PolledWatches:: +/user/username/projects/myproject/packages/a/node_modules: + {"pollingInterval":500} +/user/username/projects/myproject/packages/node_modules: + {"pollingInterval":500} +/user/username/projects/myproject/packages/a/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/myproject/packages/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/myproject/node_modules/@types: + {"pollingInterval":500} + +FsWatches:: +/user/username/projects/myproject/packages/a/tsconfig.json: + {} +/user/username/projects/myproject/packages/b/tsconfig.json: + {} +/user/username/projects/myproject/packages/b/src/index.ts: + {} +/user/username/projects/myproject/packages/b/src/bar.ts: + {} +/a/lib/lib.d.ts: + {} +/user/username/projects/myproject/packages/b/package.json: + {} + +FsWatchesRecursive:: +/user/username/projects/myproject/packages/a/src: + {} +/user/username/projects/myproject/packages/b/src: + {} +/user/username/projects/myproject/node_modules: + {} + +Before running immediate callbacks and checking length (1) + +PolledWatches:: +/user/username/projects/myproject/packages/a/node_modules: + {"pollingInterval":500} +/user/username/projects/myproject/packages/node_modules: + {"pollingInterval":500} +/user/username/projects/myproject/packages/a/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/myproject/packages/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/myproject/node_modules/@types: + {"pollingInterval":500} + +FsWatches:: +/user/username/projects/myproject/packages/a/tsconfig.json: + {} +/user/username/projects/myproject/packages/b/tsconfig.json: + {} +/user/username/projects/myproject/packages/b/src/index.ts: + {} +/user/username/projects/myproject/packages/b/src/bar.ts: + {} +/a/lib/lib.d.ts: + {} +/user/username/projects/myproject/packages/b/package.json: + {} + +FsWatchesRecursive:: +/user/username/projects/myproject/packages/a/src: + {} +/user/username/projects/myproject/packages/b/src: + {} +/user/username/projects/myproject/node_modules: + {} + Info 58 [16:01:49.000] event: {"seq":0,"type":"event","event":"semanticDiag","body":{"file":"/user/username/projects/myproject/packages/A/src/index.ts","diagnostics":[]}} +Before running immediate callbacks and checking length (1) + +PolledWatches:: +/user/username/projects/myproject/packages/a/node_modules: + {"pollingInterval":500} +/user/username/projects/myproject/packages/node_modules: + {"pollingInterval":500} +/user/username/projects/myproject/packages/a/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/myproject/packages/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/myproject/node_modules/@types: + {"pollingInterval":500} + +FsWatches:: +/user/username/projects/myproject/packages/a/tsconfig.json: + {} +/user/username/projects/myproject/packages/b/tsconfig.json: + {} +/user/username/projects/myproject/packages/b/src/index.ts: + {} +/user/username/projects/myproject/packages/b/src/bar.ts: + {} +/a/lib/lib.d.ts: + {} +/user/username/projects/myproject/packages/b/package.json: + {} + +FsWatchesRecursive:: +/user/username/projects/myproject/packages/a/src: + {} +/user/username/projects/myproject/packages/b/src: + {} +/user/username/projects/myproject/node_modules: + {} + +Before running immediate callbacks and checking length (1) + +PolledWatches:: +/user/username/projects/myproject/packages/a/node_modules: + {"pollingInterval":500} +/user/username/projects/myproject/packages/node_modules: + {"pollingInterval":500} +/user/username/projects/myproject/packages/a/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/myproject/packages/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/myproject/node_modules/@types: + {"pollingInterval":500} + +FsWatches:: +/user/username/projects/myproject/packages/a/tsconfig.json: + {} +/user/username/projects/myproject/packages/b/tsconfig.json: + {} +/user/username/projects/myproject/packages/b/src/index.ts: + {} +/user/username/projects/myproject/packages/b/src/bar.ts: + {} +/a/lib/lib.d.ts: + {} +/user/username/projects/myproject/packages/b/package.json: + {} + +FsWatchesRecursive:: +/user/username/projects/myproject/packages/a/src: + {} +/user/username/projects/myproject/packages/b/src: + {} +/user/username/projects/myproject/node_modules: + {} + Info 59 [16:01:50.000] event: {"seq":0,"type":"event","event":"suggestionDiag","body":{"file":"/user/username/projects/myproject/packages/A/src/index.ts","diagnostics":[]}} Info 60 [16:01:51.000] event: - {"seq":0,"type":"event","event":"requestCompleted","body":{"request_seq":3}} \ No newline at end of file + {"seq":0,"type":"event","event":"requestCompleted","body":{"request_seq":3}} +Before running immediate callbacks and checking length (1) + +PolledWatches:: +/user/username/projects/myproject/packages/a/node_modules: + {"pollingInterval":500} +/user/username/projects/myproject/packages/node_modules: + {"pollingInterval":500} +/user/username/projects/myproject/packages/a/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/myproject/packages/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/myproject/node_modules/@types: + {"pollingInterval":500} + +FsWatches:: +/user/username/projects/myproject/packages/a/tsconfig.json: + {} +/user/username/projects/myproject/packages/b/tsconfig.json: + {} +/user/username/projects/myproject/packages/b/src/index.ts: + {} +/user/username/projects/myproject/packages/b/src/bar.ts: + {} +/a/lib/lib.d.ts: + {} +/user/username/projects/myproject/packages/b/package.json: + {} + +FsWatchesRecursive:: +/user/username/projects/myproject/packages/a/src: + {} +/user/username/projects/myproject/packages/b/src: + {} +/user/username/projects/myproject/node_modules: + {} diff --git a/tests/baselines/reference/tsserver/projectReferences/monorepo-like-with-symlinks-when-packageJson-has-types-field-and-has-index.ts-with-scoped-package-and-solution-is-not-built.js b/tests/baselines/reference/tsserver/projectReferences/monorepo-like-with-symlinks-when-packageJson-has-types-field-and-has-index.ts-with-scoped-package-and-solution-is-not-built.js index d46b10704a9d7..d3c5f530539e0 100644 --- a/tests/baselines/reference/tsserver/projectReferences/monorepo-like-with-symlinks-when-packageJson-has-types-field-and-has-index.ts-with-scoped-package-and-solution-is-not-built.js +++ b/tests/baselines/reference/tsserver/projectReferences/monorepo-like-with-symlinks-when-packageJson-has-types-field-and-has-index.ts-with-scoped-package-and-solution-is-not-built.js @@ -8,6 +8,7 @@ Info 1 [16:00:46.000] request: "file": "/user/username/projects/myproject/packages/A/src/index.ts" } } +Before request //// [/a/lib/lib.d.ts] /// interface Boolean {} @@ -145,6 +146,7 @@ Info 43 [16:01:30.000] ----------------------------------------------- Info 43 [16:01:31.000] Open files: Info 43 [16:01:32.000] FileName: /user/username/projects/myproject/packages/A/src/index.ts ProjectRootPath: undefined Info 43 [16:01:33.000] Projects: /user/username/projects/myproject/packages/A/tsconfig.json +After request PolledWatches:: /user/username/projects/myproject/packages/a/node_modules: @@ -196,6 +198,7 @@ Info 44 [16:01:35.000] request: "seq": 1, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/packages/a/node_modules: @@ -231,6 +234,7 @@ FsWatchesRecursive:: /user/username/projects/myproject/node_modules: {} +After request PolledWatches:: /user/username/projects/myproject/packages/a/node_modules: @@ -270,14 +274,230 @@ Info 45 [16:01:36.000] response: { "responseRequired": false } +Before checking timeout queue length (1) and running + +PolledWatches:: +/user/username/projects/myproject/packages/a/node_modules: + {"pollingInterval":500} +/user/username/projects/myproject/packages/node_modules: + {"pollingInterval":500} +/user/username/projects/myproject/packages/a/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/myproject/packages/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/myproject/node_modules/@types: + {"pollingInterval":500} + +FsWatches:: +/user/username/projects/myproject/packages/a/tsconfig.json: + {} +/user/username/projects/myproject/packages/b/tsconfig.json: + {} +/user/username/projects/myproject/packages/b/src/index.ts: + {} +/user/username/projects/myproject/packages/b/src/bar.ts: + {} +/a/lib/lib.d.ts: + {} +/user/username/projects/myproject/packages/b/package.json: + {} + +FsWatchesRecursive:: +/user/username/projects/myproject/packages/a/src: + {} +/user/username/projects/myproject/packages/b/src: + {} +/user/username/projects/myproject/node_modules: + {} + Info 46 [16:01:37.000] event: {"seq":0,"type":"event","event":"syntaxDiag","body":{"file":"/user/username/projects/myproject/packages/A/src/index.ts","diagnostics":[]}} +After checking timeout queue length (1) and running + +PolledWatches:: +/user/username/projects/myproject/packages/a/node_modules: + {"pollingInterval":500} +/user/username/projects/myproject/packages/node_modules: + {"pollingInterval":500} +/user/username/projects/myproject/packages/a/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/myproject/packages/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/myproject/node_modules/@types: + {"pollingInterval":500} + +FsWatches:: +/user/username/projects/myproject/packages/a/tsconfig.json: + {} +/user/username/projects/myproject/packages/b/tsconfig.json: + {} +/user/username/projects/myproject/packages/b/src/index.ts: + {} +/user/username/projects/myproject/packages/b/src/bar.ts: + {} +/a/lib/lib.d.ts: + {} +/user/username/projects/myproject/packages/b/package.json: + {} + +FsWatchesRecursive:: +/user/username/projects/myproject/packages/a/src: + {} +/user/username/projects/myproject/packages/b/src: + {} +/user/username/projects/myproject/node_modules: + {} + +Before running immediate callbacks and checking length (1) + +PolledWatches:: +/user/username/projects/myproject/packages/a/node_modules: + {"pollingInterval":500} +/user/username/projects/myproject/packages/node_modules: + {"pollingInterval":500} +/user/username/projects/myproject/packages/a/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/myproject/packages/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/myproject/node_modules/@types: + {"pollingInterval":500} + +FsWatches:: +/user/username/projects/myproject/packages/a/tsconfig.json: + {} +/user/username/projects/myproject/packages/b/tsconfig.json: + {} +/user/username/projects/myproject/packages/b/src/index.ts: + {} +/user/username/projects/myproject/packages/b/src/bar.ts: + {} +/a/lib/lib.d.ts: + {} +/user/username/projects/myproject/packages/b/package.json: + {} + +FsWatchesRecursive:: +/user/username/projects/myproject/packages/a/src: + {} +/user/username/projects/myproject/packages/b/src: + {} +/user/username/projects/myproject/node_modules: + {} + Info 47 [16:01:38.000] event: {"seq":0,"type":"event","event":"semanticDiag","body":{"file":"/user/username/projects/myproject/packages/A/src/index.ts","diagnostics":[]}} +Before running immediate callbacks and checking length (1) + +PolledWatches:: +/user/username/projects/myproject/packages/a/node_modules: + {"pollingInterval":500} +/user/username/projects/myproject/packages/node_modules: + {"pollingInterval":500} +/user/username/projects/myproject/packages/a/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/myproject/packages/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/myproject/node_modules/@types: + {"pollingInterval":500} + +FsWatches:: +/user/username/projects/myproject/packages/a/tsconfig.json: + {} +/user/username/projects/myproject/packages/b/tsconfig.json: + {} +/user/username/projects/myproject/packages/b/src/index.ts: + {} +/user/username/projects/myproject/packages/b/src/bar.ts: + {} +/a/lib/lib.d.ts: + {} +/user/username/projects/myproject/packages/b/package.json: + {} + +FsWatchesRecursive:: +/user/username/projects/myproject/packages/a/src: + {} +/user/username/projects/myproject/packages/b/src: + {} +/user/username/projects/myproject/node_modules: + {} + +Before running immediate callbacks and checking length (1) + +PolledWatches:: +/user/username/projects/myproject/packages/a/node_modules: + {"pollingInterval":500} +/user/username/projects/myproject/packages/node_modules: + {"pollingInterval":500} +/user/username/projects/myproject/packages/a/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/myproject/packages/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/myproject/node_modules/@types: + {"pollingInterval":500} + +FsWatches:: +/user/username/projects/myproject/packages/a/tsconfig.json: + {} +/user/username/projects/myproject/packages/b/tsconfig.json: + {} +/user/username/projects/myproject/packages/b/src/index.ts: + {} +/user/username/projects/myproject/packages/b/src/bar.ts: + {} +/a/lib/lib.d.ts: + {} +/user/username/projects/myproject/packages/b/package.json: + {} + +FsWatchesRecursive:: +/user/username/projects/myproject/packages/a/src: + {} +/user/username/projects/myproject/packages/b/src: + {} +/user/username/projects/myproject/node_modules: + {} + Info 48 [16:01:39.000] event: {"seq":0,"type":"event","event":"suggestionDiag","body":{"file":"/user/username/projects/myproject/packages/A/src/index.ts","diagnostics":[]}} Info 49 [16:01:40.000] event: {"seq":0,"type":"event","event":"requestCompleted","body":{"request_seq":1}} +Before running immediate callbacks and checking length (1) + +PolledWatches:: +/user/username/projects/myproject/packages/a/node_modules: + {"pollingInterval":500} +/user/username/projects/myproject/packages/node_modules: + {"pollingInterval":500} +/user/username/projects/myproject/packages/a/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/myproject/packages/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/myproject/node_modules/@types: + {"pollingInterval":500} + +FsWatches:: +/user/username/projects/myproject/packages/a/tsconfig.json: + {} +/user/username/projects/myproject/packages/b/tsconfig.json: + {} +/user/username/projects/myproject/packages/b/src/index.ts: + {} +/user/username/projects/myproject/packages/b/src/bar.ts: + {} +/a/lib/lib.d.ts: + {} +/user/username/projects/myproject/packages/b/package.json: + {} + +FsWatchesRecursive:: +/user/username/projects/myproject/packages/a/src: + {} +/user/username/projects/myproject/packages/b/src: + {} +/user/username/projects/myproject/node_modules: + {} + Info 50 [16:01:41.000] request: { "command": "updateOpen", @@ -304,6 +524,7 @@ Info 50 [16:01:41.000] request: "seq": 2, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/packages/a/node_modules: @@ -339,6 +560,7 @@ FsWatchesRecursive:: /user/username/projects/myproject/node_modules: {} +After request PolledWatches:: /user/username/projects/myproject/packages/a/node_modules: @@ -391,6 +613,7 @@ Info 52 [16:01:43.000] request: "seq": 3, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/packages/a/node_modules: @@ -426,6 +649,7 @@ FsWatchesRecursive:: /user/username/projects/myproject/node_modules: {} +After request PolledWatches:: /user/username/projects/myproject/packages/a/node_modules: @@ -465,14 +689,229 @@ Info 53 [16:01:44.000] response: { "responseRequired": false } +Before checking timeout queue length (1) and running + +PolledWatches:: +/user/username/projects/myproject/packages/a/node_modules: + {"pollingInterval":500} +/user/username/projects/myproject/packages/node_modules: + {"pollingInterval":500} +/user/username/projects/myproject/packages/a/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/myproject/packages/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/myproject/node_modules/@types: + {"pollingInterval":500} + +FsWatches:: +/user/username/projects/myproject/packages/a/tsconfig.json: + {} +/user/username/projects/myproject/packages/b/tsconfig.json: + {} +/user/username/projects/myproject/packages/b/src/index.ts: + {} +/user/username/projects/myproject/packages/b/src/bar.ts: + {} +/a/lib/lib.d.ts: + {} +/user/username/projects/myproject/packages/b/package.json: + {} + +FsWatchesRecursive:: +/user/username/projects/myproject/packages/a/src: + {} +/user/username/projects/myproject/packages/b/src: + {} +/user/username/projects/myproject/node_modules: + {} + Info 54 [16:01:45.000] Starting updateGraphWorker: Project: /user/username/projects/myproject/packages/A/tsconfig.json Info 55 [16:01:46.000] Finishing updateGraphWorker: Project: /user/username/projects/myproject/packages/A/tsconfig.json Version: 2 structureChanged: false structureIsReused:: Completely Elapsed:: *ms Info 56 [16:01:47.000] Different program with same set of files Info 57 [16:01:48.000] event: {"seq":0,"type":"event","event":"syntaxDiag","body":{"file":"/user/username/projects/myproject/packages/A/src/index.ts","diagnostics":[]}} +After checking timeout queue length (1) and running + +PolledWatches:: +/user/username/projects/myproject/packages/a/node_modules: + {"pollingInterval":500} +/user/username/projects/myproject/packages/node_modules: + {"pollingInterval":500} +/user/username/projects/myproject/packages/a/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/myproject/packages/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/myproject/node_modules/@types: + {"pollingInterval":500} + +FsWatches:: +/user/username/projects/myproject/packages/a/tsconfig.json: + {} +/user/username/projects/myproject/packages/b/tsconfig.json: + {} +/user/username/projects/myproject/packages/b/src/index.ts: + {} +/user/username/projects/myproject/packages/b/src/bar.ts: + {} +/a/lib/lib.d.ts: + {} +/user/username/projects/myproject/packages/b/package.json: + {} + +FsWatchesRecursive:: +/user/username/projects/myproject/packages/a/src: + {} +/user/username/projects/myproject/packages/b/src: + {} +/user/username/projects/myproject/node_modules: + {} + +Before running immediate callbacks and checking length (1) + +PolledWatches:: +/user/username/projects/myproject/packages/a/node_modules: + {"pollingInterval":500} +/user/username/projects/myproject/packages/node_modules: + {"pollingInterval":500} +/user/username/projects/myproject/packages/a/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/myproject/packages/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/myproject/node_modules/@types: + {"pollingInterval":500} + +FsWatches:: +/user/username/projects/myproject/packages/a/tsconfig.json: + {} +/user/username/projects/myproject/packages/b/tsconfig.json: + {} +/user/username/projects/myproject/packages/b/src/index.ts: + {} +/user/username/projects/myproject/packages/b/src/bar.ts: + {} +/a/lib/lib.d.ts: + {} +/user/username/projects/myproject/packages/b/package.json: + {} + +FsWatchesRecursive:: +/user/username/projects/myproject/packages/a/src: + {} +/user/username/projects/myproject/packages/b/src: + {} +/user/username/projects/myproject/node_modules: + {} + Info 58 [16:01:49.000] event: {"seq":0,"type":"event","event":"semanticDiag","body":{"file":"/user/username/projects/myproject/packages/A/src/index.ts","diagnostics":[]}} +Before running immediate callbacks and checking length (1) + +PolledWatches:: +/user/username/projects/myproject/packages/a/node_modules: + {"pollingInterval":500} +/user/username/projects/myproject/packages/node_modules: + {"pollingInterval":500} +/user/username/projects/myproject/packages/a/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/myproject/packages/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/myproject/node_modules/@types: + {"pollingInterval":500} + +FsWatches:: +/user/username/projects/myproject/packages/a/tsconfig.json: + {} +/user/username/projects/myproject/packages/b/tsconfig.json: + {} +/user/username/projects/myproject/packages/b/src/index.ts: + {} +/user/username/projects/myproject/packages/b/src/bar.ts: + {} +/a/lib/lib.d.ts: + {} +/user/username/projects/myproject/packages/b/package.json: + {} + +FsWatchesRecursive:: +/user/username/projects/myproject/packages/a/src: + {} +/user/username/projects/myproject/packages/b/src: + {} +/user/username/projects/myproject/node_modules: + {} + +Before running immediate callbacks and checking length (1) + +PolledWatches:: +/user/username/projects/myproject/packages/a/node_modules: + {"pollingInterval":500} +/user/username/projects/myproject/packages/node_modules: + {"pollingInterval":500} +/user/username/projects/myproject/packages/a/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/myproject/packages/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/myproject/node_modules/@types: + {"pollingInterval":500} + +FsWatches:: +/user/username/projects/myproject/packages/a/tsconfig.json: + {} +/user/username/projects/myproject/packages/b/tsconfig.json: + {} +/user/username/projects/myproject/packages/b/src/index.ts: + {} +/user/username/projects/myproject/packages/b/src/bar.ts: + {} +/a/lib/lib.d.ts: + {} +/user/username/projects/myproject/packages/b/package.json: + {} + +FsWatchesRecursive:: +/user/username/projects/myproject/packages/a/src: + {} +/user/username/projects/myproject/packages/b/src: + {} +/user/username/projects/myproject/node_modules: + {} + Info 59 [16:01:50.000] event: {"seq":0,"type":"event","event":"suggestionDiag","body":{"file":"/user/username/projects/myproject/packages/A/src/index.ts","diagnostics":[]}} Info 60 [16:01:51.000] event: - {"seq":0,"type":"event","event":"requestCompleted","body":{"request_seq":3}} \ No newline at end of file + {"seq":0,"type":"event","event":"requestCompleted","body":{"request_seq":3}} +Before running immediate callbacks and checking length (1) + +PolledWatches:: +/user/username/projects/myproject/packages/a/node_modules: + {"pollingInterval":500} +/user/username/projects/myproject/packages/node_modules: + {"pollingInterval":500} +/user/username/projects/myproject/packages/a/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/myproject/packages/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/myproject/node_modules/@types: + {"pollingInterval":500} + +FsWatches:: +/user/username/projects/myproject/packages/a/tsconfig.json: + {} +/user/username/projects/myproject/packages/b/tsconfig.json: + {} +/user/username/projects/myproject/packages/b/src/index.ts: + {} +/user/username/projects/myproject/packages/b/src/bar.ts: + {} +/a/lib/lib.d.ts: + {} +/user/username/projects/myproject/packages/b/package.json: + {} + +FsWatchesRecursive:: +/user/username/projects/myproject/packages/a/src: + {} +/user/username/projects/myproject/packages/b/src: + {} +/user/username/projects/myproject/node_modules: + {} diff --git a/tests/baselines/reference/tsserver/projectReferences/monorepo-like-with-symlinks-when-referencing-file-from-subFolder-and-solution-is-built-with-preserveSymlinks.js b/tests/baselines/reference/tsserver/projectReferences/monorepo-like-with-symlinks-when-referencing-file-from-subFolder-and-solution-is-built-with-preserveSymlinks.js index 3bf7fb6b82620..f5b59ac0916cb 100644 --- a/tests/baselines/reference/tsserver/projectReferences/monorepo-like-with-symlinks-when-referencing-file-from-subFolder-and-solution-is-built-with-preserveSymlinks.js +++ b/tests/baselines/reference/tsserver/projectReferences/monorepo-like-with-symlinks-when-referencing-file-from-subFolder-and-solution-is-built-with-preserveSymlinks.js @@ -8,6 +8,7 @@ Info 1 [16:01:17.000] request: "file": "/user/username/projects/myproject/packages/A/src/test.ts" } } +Before request //// [/a/lib/lib.d.ts] /// interface Boolean {} @@ -289,6 +290,7 @@ Info 43 [16:02:01.000] ----------------------------------------------- Info 43 [16:02:02.000] Open files: Info 43 [16:02:03.000] FileName: /user/username/projects/myproject/packages/A/src/test.ts ProjectRootPath: undefined Info 43 [16:02:04.000] Projects: /user/username/projects/myproject/packages/A/tsconfig.json +After request PolledWatches:: /user/username/projects/myproject/packages/a/node_modules: @@ -340,6 +342,7 @@ Info 44 [16:02:06.000] request: "seq": 1, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/packages/a/node_modules: @@ -375,6 +378,7 @@ FsWatchesRecursive:: /user/username/projects/myproject/node_modules: {} +After request PolledWatches:: /user/username/projects/myproject/packages/a/node_modules: @@ -414,14 +418,230 @@ Info 45 [16:02:07.000] response: { "responseRequired": false } +Before checking timeout queue length (1) and running + +PolledWatches:: +/user/username/projects/myproject/packages/a/node_modules: + {"pollingInterval":500} +/user/username/projects/myproject/packages/node_modules: + {"pollingInterval":500} +/user/username/projects/myproject/packages/a/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/myproject/packages/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/myproject/node_modules/@types: + {"pollingInterval":500} + +FsWatches:: +/user/username/projects/myproject/packages/a/tsconfig.json: + {} +/user/username/projects/myproject/packages/b/tsconfig.json: + {} +/user/username/projects/myproject/packages/b/src/foo.ts: + {} +/user/username/projects/myproject/packages/b/src/bar/foo.ts: + {} +/a/lib/lib.d.ts: + {} +/user/username/projects/myproject/packages/b/package.json: + {} + +FsWatchesRecursive:: +/user/username/projects/myproject/packages/a/src: + {} +/user/username/projects/myproject/packages/b/src: + {} +/user/username/projects/myproject/node_modules: + {} + Info 46 [16:02:08.000] event: {"seq":0,"type":"event","event":"syntaxDiag","body":{"file":"/user/username/projects/myproject/packages/A/src/test.ts","diagnostics":[]}} +After checking timeout queue length (1) and running + +PolledWatches:: +/user/username/projects/myproject/packages/a/node_modules: + {"pollingInterval":500} +/user/username/projects/myproject/packages/node_modules: + {"pollingInterval":500} +/user/username/projects/myproject/packages/a/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/myproject/packages/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/myproject/node_modules/@types: + {"pollingInterval":500} + +FsWatches:: +/user/username/projects/myproject/packages/a/tsconfig.json: + {} +/user/username/projects/myproject/packages/b/tsconfig.json: + {} +/user/username/projects/myproject/packages/b/src/foo.ts: + {} +/user/username/projects/myproject/packages/b/src/bar/foo.ts: + {} +/a/lib/lib.d.ts: + {} +/user/username/projects/myproject/packages/b/package.json: + {} + +FsWatchesRecursive:: +/user/username/projects/myproject/packages/a/src: + {} +/user/username/projects/myproject/packages/b/src: + {} +/user/username/projects/myproject/node_modules: + {} + +Before running immediate callbacks and checking length (1) + +PolledWatches:: +/user/username/projects/myproject/packages/a/node_modules: + {"pollingInterval":500} +/user/username/projects/myproject/packages/node_modules: + {"pollingInterval":500} +/user/username/projects/myproject/packages/a/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/myproject/packages/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/myproject/node_modules/@types: + {"pollingInterval":500} + +FsWatches:: +/user/username/projects/myproject/packages/a/tsconfig.json: + {} +/user/username/projects/myproject/packages/b/tsconfig.json: + {} +/user/username/projects/myproject/packages/b/src/foo.ts: + {} +/user/username/projects/myproject/packages/b/src/bar/foo.ts: + {} +/a/lib/lib.d.ts: + {} +/user/username/projects/myproject/packages/b/package.json: + {} + +FsWatchesRecursive:: +/user/username/projects/myproject/packages/a/src: + {} +/user/username/projects/myproject/packages/b/src: + {} +/user/username/projects/myproject/node_modules: + {} + Info 47 [16:02:09.000] event: {"seq":0,"type":"event","event":"semanticDiag","body":{"file":"/user/username/projects/myproject/packages/A/src/test.ts","diagnostics":[]}} +Before running immediate callbacks and checking length (1) + +PolledWatches:: +/user/username/projects/myproject/packages/a/node_modules: + {"pollingInterval":500} +/user/username/projects/myproject/packages/node_modules: + {"pollingInterval":500} +/user/username/projects/myproject/packages/a/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/myproject/packages/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/myproject/node_modules/@types: + {"pollingInterval":500} + +FsWatches:: +/user/username/projects/myproject/packages/a/tsconfig.json: + {} +/user/username/projects/myproject/packages/b/tsconfig.json: + {} +/user/username/projects/myproject/packages/b/src/foo.ts: + {} +/user/username/projects/myproject/packages/b/src/bar/foo.ts: + {} +/a/lib/lib.d.ts: + {} +/user/username/projects/myproject/packages/b/package.json: + {} + +FsWatchesRecursive:: +/user/username/projects/myproject/packages/a/src: + {} +/user/username/projects/myproject/packages/b/src: + {} +/user/username/projects/myproject/node_modules: + {} + +Before running immediate callbacks and checking length (1) + +PolledWatches:: +/user/username/projects/myproject/packages/a/node_modules: + {"pollingInterval":500} +/user/username/projects/myproject/packages/node_modules: + {"pollingInterval":500} +/user/username/projects/myproject/packages/a/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/myproject/packages/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/myproject/node_modules/@types: + {"pollingInterval":500} + +FsWatches:: +/user/username/projects/myproject/packages/a/tsconfig.json: + {} +/user/username/projects/myproject/packages/b/tsconfig.json: + {} +/user/username/projects/myproject/packages/b/src/foo.ts: + {} +/user/username/projects/myproject/packages/b/src/bar/foo.ts: + {} +/a/lib/lib.d.ts: + {} +/user/username/projects/myproject/packages/b/package.json: + {} + +FsWatchesRecursive:: +/user/username/projects/myproject/packages/a/src: + {} +/user/username/projects/myproject/packages/b/src: + {} +/user/username/projects/myproject/node_modules: + {} + Info 48 [16:02:10.000] event: {"seq":0,"type":"event","event":"suggestionDiag","body":{"file":"/user/username/projects/myproject/packages/A/src/test.ts","diagnostics":[]}} Info 49 [16:02:11.000] event: {"seq":0,"type":"event","event":"requestCompleted","body":{"request_seq":1}} +Before running immediate callbacks and checking length (1) + +PolledWatches:: +/user/username/projects/myproject/packages/a/node_modules: + {"pollingInterval":500} +/user/username/projects/myproject/packages/node_modules: + {"pollingInterval":500} +/user/username/projects/myproject/packages/a/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/myproject/packages/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/myproject/node_modules/@types: + {"pollingInterval":500} + +FsWatches:: +/user/username/projects/myproject/packages/a/tsconfig.json: + {} +/user/username/projects/myproject/packages/b/tsconfig.json: + {} +/user/username/projects/myproject/packages/b/src/foo.ts: + {} +/user/username/projects/myproject/packages/b/src/bar/foo.ts: + {} +/a/lib/lib.d.ts: + {} +/user/username/projects/myproject/packages/b/package.json: + {} + +FsWatchesRecursive:: +/user/username/projects/myproject/packages/a/src: + {} +/user/username/projects/myproject/packages/b/src: + {} +/user/username/projects/myproject/node_modules: + {} + Info 50 [16:02:12.000] request: { "command": "updateOpen", @@ -448,6 +668,7 @@ Info 50 [16:02:12.000] request: "seq": 2, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/packages/a/node_modules: @@ -483,6 +704,7 @@ FsWatchesRecursive:: /user/username/projects/myproject/node_modules: {} +After request PolledWatches:: /user/username/projects/myproject/packages/a/node_modules: @@ -535,6 +757,7 @@ Info 52 [16:02:14.000] request: "seq": 3, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/packages/a/node_modules: @@ -570,6 +793,7 @@ FsWatchesRecursive:: /user/username/projects/myproject/node_modules: {} +After request PolledWatches:: /user/username/projects/myproject/packages/a/node_modules: @@ -609,14 +833,229 @@ Info 53 [16:02:15.000] response: { "responseRequired": false } +Before checking timeout queue length (1) and running + +PolledWatches:: +/user/username/projects/myproject/packages/a/node_modules: + {"pollingInterval":500} +/user/username/projects/myproject/packages/node_modules: + {"pollingInterval":500} +/user/username/projects/myproject/packages/a/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/myproject/packages/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/myproject/node_modules/@types: + {"pollingInterval":500} + +FsWatches:: +/user/username/projects/myproject/packages/a/tsconfig.json: + {} +/user/username/projects/myproject/packages/b/tsconfig.json: + {} +/user/username/projects/myproject/packages/b/src/foo.ts: + {} +/user/username/projects/myproject/packages/b/src/bar/foo.ts: + {} +/a/lib/lib.d.ts: + {} +/user/username/projects/myproject/packages/b/package.json: + {} + +FsWatchesRecursive:: +/user/username/projects/myproject/packages/a/src: + {} +/user/username/projects/myproject/packages/b/src: + {} +/user/username/projects/myproject/node_modules: + {} + Info 54 [16:02:16.000] Starting updateGraphWorker: Project: /user/username/projects/myproject/packages/A/tsconfig.json Info 55 [16:02:17.000] Finishing updateGraphWorker: Project: /user/username/projects/myproject/packages/A/tsconfig.json Version: 2 structureChanged: false structureIsReused:: Completely Elapsed:: *ms Info 56 [16:02:18.000] Different program with same set of files Info 57 [16:02:19.000] event: {"seq":0,"type":"event","event":"syntaxDiag","body":{"file":"/user/username/projects/myproject/packages/A/src/test.ts","diagnostics":[]}} +After checking timeout queue length (1) and running + +PolledWatches:: +/user/username/projects/myproject/packages/a/node_modules: + {"pollingInterval":500} +/user/username/projects/myproject/packages/node_modules: + {"pollingInterval":500} +/user/username/projects/myproject/packages/a/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/myproject/packages/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/myproject/node_modules/@types: + {"pollingInterval":500} + +FsWatches:: +/user/username/projects/myproject/packages/a/tsconfig.json: + {} +/user/username/projects/myproject/packages/b/tsconfig.json: + {} +/user/username/projects/myproject/packages/b/src/foo.ts: + {} +/user/username/projects/myproject/packages/b/src/bar/foo.ts: + {} +/a/lib/lib.d.ts: + {} +/user/username/projects/myproject/packages/b/package.json: + {} + +FsWatchesRecursive:: +/user/username/projects/myproject/packages/a/src: + {} +/user/username/projects/myproject/packages/b/src: + {} +/user/username/projects/myproject/node_modules: + {} + +Before running immediate callbacks and checking length (1) + +PolledWatches:: +/user/username/projects/myproject/packages/a/node_modules: + {"pollingInterval":500} +/user/username/projects/myproject/packages/node_modules: + {"pollingInterval":500} +/user/username/projects/myproject/packages/a/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/myproject/packages/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/myproject/node_modules/@types: + {"pollingInterval":500} + +FsWatches:: +/user/username/projects/myproject/packages/a/tsconfig.json: + {} +/user/username/projects/myproject/packages/b/tsconfig.json: + {} +/user/username/projects/myproject/packages/b/src/foo.ts: + {} +/user/username/projects/myproject/packages/b/src/bar/foo.ts: + {} +/a/lib/lib.d.ts: + {} +/user/username/projects/myproject/packages/b/package.json: + {} + +FsWatchesRecursive:: +/user/username/projects/myproject/packages/a/src: + {} +/user/username/projects/myproject/packages/b/src: + {} +/user/username/projects/myproject/node_modules: + {} + Info 58 [16:02:20.000] event: {"seq":0,"type":"event","event":"semanticDiag","body":{"file":"/user/username/projects/myproject/packages/A/src/test.ts","diagnostics":[]}} +Before running immediate callbacks and checking length (1) + +PolledWatches:: +/user/username/projects/myproject/packages/a/node_modules: + {"pollingInterval":500} +/user/username/projects/myproject/packages/node_modules: + {"pollingInterval":500} +/user/username/projects/myproject/packages/a/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/myproject/packages/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/myproject/node_modules/@types: + {"pollingInterval":500} + +FsWatches:: +/user/username/projects/myproject/packages/a/tsconfig.json: + {} +/user/username/projects/myproject/packages/b/tsconfig.json: + {} +/user/username/projects/myproject/packages/b/src/foo.ts: + {} +/user/username/projects/myproject/packages/b/src/bar/foo.ts: + {} +/a/lib/lib.d.ts: + {} +/user/username/projects/myproject/packages/b/package.json: + {} + +FsWatchesRecursive:: +/user/username/projects/myproject/packages/a/src: + {} +/user/username/projects/myproject/packages/b/src: + {} +/user/username/projects/myproject/node_modules: + {} + +Before running immediate callbacks and checking length (1) + +PolledWatches:: +/user/username/projects/myproject/packages/a/node_modules: + {"pollingInterval":500} +/user/username/projects/myproject/packages/node_modules: + {"pollingInterval":500} +/user/username/projects/myproject/packages/a/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/myproject/packages/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/myproject/node_modules/@types: + {"pollingInterval":500} + +FsWatches:: +/user/username/projects/myproject/packages/a/tsconfig.json: + {} +/user/username/projects/myproject/packages/b/tsconfig.json: + {} +/user/username/projects/myproject/packages/b/src/foo.ts: + {} +/user/username/projects/myproject/packages/b/src/bar/foo.ts: + {} +/a/lib/lib.d.ts: + {} +/user/username/projects/myproject/packages/b/package.json: + {} + +FsWatchesRecursive:: +/user/username/projects/myproject/packages/a/src: + {} +/user/username/projects/myproject/packages/b/src: + {} +/user/username/projects/myproject/node_modules: + {} + Info 59 [16:02:21.000] event: {"seq":0,"type":"event","event":"suggestionDiag","body":{"file":"/user/username/projects/myproject/packages/A/src/test.ts","diagnostics":[]}} Info 60 [16:02:22.000] event: - {"seq":0,"type":"event","event":"requestCompleted","body":{"request_seq":3}} \ No newline at end of file + {"seq":0,"type":"event","event":"requestCompleted","body":{"request_seq":3}} +Before running immediate callbacks and checking length (1) + +PolledWatches:: +/user/username/projects/myproject/packages/a/node_modules: + {"pollingInterval":500} +/user/username/projects/myproject/packages/node_modules: + {"pollingInterval":500} +/user/username/projects/myproject/packages/a/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/myproject/packages/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/myproject/node_modules/@types: + {"pollingInterval":500} + +FsWatches:: +/user/username/projects/myproject/packages/a/tsconfig.json: + {} +/user/username/projects/myproject/packages/b/tsconfig.json: + {} +/user/username/projects/myproject/packages/b/src/foo.ts: + {} +/user/username/projects/myproject/packages/b/src/bar/foo.ts: + {} +/a/lib/lib.d.ts: + {} +/user/username/projects/myproject/packages/b/package.json: + {} + +FsWatchesRecursive:: +/user/username/projects/myproject/packages/a/src: + {} +/user/username/projects/myproject/packages/b/src: + {} +/user/username/projects/myproject/node_modules: + {} diff --git a/tests/baselines/reference/tsserver/projectReferences/monorepo-like-with-symlinks-when-referencing-file-from-subFolder-and-solution-is-built.js b/tests/baselines/reference/tsserver/projectReferences/monorepo-like-with-symlinks-when-referencing-file-from-subFolder-and-solution-is-built.js index 4c33ba294e21e..9226a7f9e4a19 100644 --- a/tests/baselines/reference/tsserver/projectReferences/monorepo-like-with-symlinks-when-referencing-file-from-subFolder-and-solution-is-built.js +++ b/tests/baselines/reference/tsserver/projectReferences/monorepo-like-with-symlinks-when-referencing-file-from-subFolder-and-solution-is-built.js @@ -8,6 +8,7 @@ Info 1 [16:01:17.000] request: "file": "/user/username/projects/myproject/packages/A/src/test.ts" } } +Before request //// [/a/lib/lib.d.ts] /// interface Boolean {} @@ -287,6 +288,7 @@ Info 43 [16:02:01.000] ----------------------------------------------- Info 43 [16:02:02.000] Open files: Info 43 [16:02:03.000] FileName: /user/username/projects/myproject/packages/A/src/test.ts ProjectRootPath: undefined Info 43 [16:02:04.000] Projects: /user/username/projects/myproject/packages/A/tsconfig.json +After request PolledWatches:: /user/username/projects/myproject/packages/a/node_modules: @@ -338,6 +340,7 @@ Info 44 [16:02:06.000] request: "seq": 1, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/packages/a/node_modules: @@ -373,6 +376,7 @@ FsWatchesRecursive:: /user/username/projects/myproject/node_modules: {} +After request PolledWatches:: /user/username/projects/myproject/packages/a/node_modules: @@ -412,14 +416,230 @@ Info 45 [16:02:07.000] response: { "responseRequired": false } +Before checking timeout queue length (1) and running + +PolledWatches:: +/user/username/projects/myproject/packages/a/node_modules: + {"pollingInterval":500} +/user/username/projects/myproject/packages/node_modules: + {"pollingInterval":500} +/user/username/projects/myproject/packages/a/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/myproject/packages/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/myproject/node_modules/@types: + {"pollingInterval":500} + +FsWatches:: +/user/username/projects/myproject/packages/a/tsconfig.json: + {} +/user/username/projects/myproject/packages/b/tsconfig.json: + {} +/user/username/projects/myproject/packages/b/src/foo.ts: + {} +/user/username/projects/myproject/packages/b/src/bar/foo.ts: + {} +/a/lib/lib.d.ts: + {} +/user/username/projects/myproject/packages/b/package.json: + {} + +FsWatchesRecursive:: +/user/username/projects/myproject/packages/a/src: + {} +/user/username/projects/myproject/packages/b/src: + {} +/user/username/projects/myproject/node_modules: + {} + Info 46 [16:02:08.000] event: {"seq":0,"type":"event","event":"syntaxDiag","body":{"file":"/user/username/projects/myproject/packages/A/src/test.ts","diagnostics":[]}} +After checking timeout queue length (1) and running + +PolledWatches:: +/user/username/projects/myproject/packages/a/node_modules: + {"pollingInterval":500} +/user/username/projects/myproject/packages/node_modules: + {"pollingInterval":500} +/user/username/projects/myproject/packages/a/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/myproject/packages/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/myproject/node_modules/@types: + {"pollingInterval":500} + +FsWatches:: +/user/username/projects/myproject/packages/a/tsconfig.json: + {} +/user/username/projects/myproject/packages/b/tsconfig.json: + {} +/user/username/projects/myproject/packages/b/src/foo.ts: + {} +/user/username/projects/myproject/packages/b/src/bar/foo.ts: + {} +/a/lib/lib.d.ts: + {} +/user/username/projects/myproject/packages/b/package.json: + {} + +FsWatchesRecursive:: +/user/username/projects/myproject/packages/a/src: + {} +/user/username/projects/myproject/packages/b/src: + {} +/user/username/projects/myproject/node_modules: + {} + +Before running immediate callbacks and checking length (1) + +PolledWatches:: +/user/username/projects/myproject/packages/a/node_modules: + {"pollingInterval":500} +/user/username/projects/myproject/packages/node_modules: + {"pollingInterval":500} +/user/username/projects/myproject/packages/a/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/myproject/packages/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/myproject/node_modules/@types: + {"pollingInterval":500} + +FsWatches:: +/user/username/projects/myproject/packages/a/tsconfig.json: + {} +/user/username/projects/myproject/packages/b/tsconfig.json: + {} +/user/username/projects/myproject/packages/b/src/foo.ts: + {} +/user/username/projects/myproject/packages/b/src/bar/foo.ts: + {} +/a/lib/lib.d.ts: + {} +/user/username/projects/myproject/packages/b/package.json: + {} + +FsWatchesRecursive:: +/user/username/projects/myproject/packages/a/src: + {} +/user/username/projects/myproject/packages/b/src: + {} +/user/username/projects/myproject/node_modules: + {} + Info 47 [16:02:09.000] event: {"seq":0,"type":"event","event":"semanticDiag","body":{"file":"/user/username/projects/myproject/packages/A/src/test.ts","diagnostics":[]}} +Before running immediate callbacks and checking length (1) + +PolledWatches:: +/user/username/projects/myproject/packages/a/node_modules: + {"pollingInterval":500} +/user/username/projects/myproject/packages/node_modules: + {"pollingInterval":500} +/user/username/projects/myproject/packages/a/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/myproject/packages/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/myproject/node_modules/@types: + {"pollingInterval":500} + +FsWatches:: +/user/username/projects/myproject/packages/a/tsconfig.json: + {} +/user/username/projects/myproject/packages/b/tsconfig.json: + {} +/user/username/projects/myproject/packages/b/src/foo.ts: + {} +/user/username/projects/myproject/packages/b/src/bar/foo.ts: + {} +/a/lib/lib.d.ts: + {} +/user/username/projects/myproject/packages/b/package.json: + {} + +FsWatchesRecursive:: +/user/username/projects/myproject/packages/a/src: + {} +/user/username/projects/myproject/packages/b/src: + {} +/user/username/projects/myproject/node_modules: + {} + +Before running immediate callbacks and checking length (1) + +PolledWatches:: +/user/username/projects/myproject/packages/a/node_modules: + {"pollingInterval":500} +/user/username/projects/myproject/packages/node_modules: + {"pollingInterval":500} +/user/username/projects/myproject/packages/a/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/myproject/packages/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/myproject/node_modules/@types: + {"pollingInterval":500} + +FsWatches:: +/user/username/projects/myproject/packages/a/tsconfig.json: + {} +/user/username/projects/myproject/packages/b/tsconfig.json: + {} +/user/username/projects/myproject/packages/b/src/foo.ts: + {} +/user/username/projects/myproject/packages/b/src/bar/foo.ts: + {} +/a/lib/lib.d.ts: + {} +/user/username/projects/myproject/packages/b/package.json: + {} + +FsWatchesRecursive:: +/user/username/projects/myproject/packages/a/src: + {} +/user/username/projects/myproject/packages/b/src: + {} +/user/username/projects/myproject/node_modules: + {} + Info 48 [16:02:10.000] event: {"seq":0,"type":"event","event":"suggestionDiag","body":{"file":"/user/username/projects/myproject/packages/A/src/test.ts","diagnostics":[]}} Info 49 [16:02:11.000] event: {"seq":0,"type":"event","event":"requestCompleted","body":{"request_seq":1}} +Before running immediate callbacks and checking length (1) + +PolledWatches:: +/user/username/projects/myproject/packages/a/node_modules: + {"pollingInterval":500} +/user/username/projects/myproject/packages/node_modules: + {"pollingInterval":500} +/user/username/projects/myproject/packages/a/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/myproject/packages/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/myproject/node_modules/@types: + {"pollingInterval":500} + +FsWatches:: +/user/username/projects/myproject/packages/a/tsconfig.json: + {} +/user/username/projects/myproject/packages/b/tsconfig.json: + {} +/user/username/projects/myproject/packages/b/src/foo.ts: + {} +/user/username/projects/myproject/packages/b/src/bar/foo.ts: + {} +/a/lib/lib.d.ts: + {} +/user/username/projects/myproject/packages/b/package.json: + {} + +FsWatchesRecursive:: +/user/username/projects/myproject/packages/a/src: + {} +/user/username/projects/myproject/packages/b/src: + {} +/user/username/projects/myproject/node_modules: + {} + Info 50 [16:02:12.000] request: { "command": "updateOpen", @@ -446,6 +666,7 @@ Info 50 [16:02:12.000] request: "seq": 2, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/packages/a/node_modules: @@ -481,6 +702,7 @@ FsWatchesRecursive:: /user/username/projects/myproject/node_modules: {} +After request PolledWatches:: /user/username/projects/myproject/packages/a/node_modules: @@ -533,6 +755,7 @@ Info 52 [16:02:14.000] request: "seq": 3, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/packages/a/node_modules: @@ -568,6 +791,7 @@ FsWatchesRecursive:: /user/username/projects/myproject/node_modules: {} +After request PolledWatches:: /user/username/projects/myproject/packages/a/node_modules: @@ -607,14 +831,229 @@ Info 53 [16:02:15.000] response: { "responseRequired": false } +Before checking timeout queue length (1) and running + +PolledWatches:: +/user/username/projects/myproject/packages/a/node_modules: + {"pollingInterval":500} +/user/username/projects/myproject/packages/node_modules: + {"pollingInterval":500} +/user/username/projects/myproject/packages/a/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/myproject/packages/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/myproject/node_modules/@types: + {"pollingInterval":500} + +FsWatches:: +/user/username/projects/myproject/packages/a/tsconfig.json: + {} +/user/username/projects/myproject/packages/b/tsconfig.json: + {} +/user/username/projects/myproject/packages/b/src/foo.ts: + {} +/user/username/projects/myproject/packages/b/src/bar/foo.ts: + {} +/a/lib/lib.d.ts: + {} +/user/username/projects/myproject/packages/b/package.json: + {} + +FsWatchesRecursive:: +/user/username/projects/myproject/packages/a/src: + {} +/user/username/projects/myproject/packages/b/src: + {} +/user/username/projects/myproject/node_modules: + {} + Info 54 [16:02:16.000] Starting updateGraphWorker: Project: /user/username/projects/myproject/packages/A/tsconfig.json Info 55 [16:02:17.000] Finishing updateGraphWorker: Project: /user/username/projects/myproject/packages/A/tsconfig.json Version: 2 structureChanged: false structureIsReused:: Completely Elapsed:: *ms Info 56 [16:02:18.000] Different program with same set of files Info 57 [16:02:19.000] event: {"seq":0,"type":"event","event":"syntaxDiag","body":{"file":"/user/username/projects/myproject/packages/A/src/test.ts","diagnostics":[]}} +After checking timeout queue length (1) and running + +PolledWatches:: +/user/username/projects/myproject/packages/a/node_modules: + {"pollingInterval":500} +/user/username/projects/myproject/packages/node_modules: + {"pollingInterval":500} +/user/username/projects/myproject/packages/a/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/myproject/packages/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/myproject/node_modules/@types: + {"pollingInterval":500} + +FsWatches:: +/user/username/projects/myproject/packages/a/tsconfig.json: + {} +/user/username/projects/myproject/packages/b/tsconfig.json: + {} +/user/username/projects/myproject/packages/b/src/foo.ts: + {} +/user/username/projects/myproject/packages/b/src/bar/foo.ts: + {} +/a/lib/lib.d.ts: + {} +/user/username/projects/myproject/packages/b/package.json: + {} + +FsWatchesRecursive:: +/user/username/projects/myproject/packages/a/src: + {} +/user/username/projects/myproject/packages/b/src: + {} +/user/username/projects/myproject/node_modules: + {} + +Before running immediate callbacks and checking length (1) + +PolledWatches:: +/user/username/projects/myproject/packages/a/node_modules: + {"pollingInterval":500} +/user/username/projects/myproject/packages/node_modules: + {"pollingInterval":500} +/user/username/projects/myproject/packages/a/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/myproject/packages/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/myproject/node_modules/@types: + {"pollingInterval":500} + +FsWatches:: +/user/username/projects/myproject/packages/a/tsconfig.json: + {} +/user/username/projects/myproject/packages/b/tsconfig.json: + {} +/user/username/projects/myproject/packages/b/src/foo.ts: + {} +/user/username/projects/myproject/packages/b/src/bar/foo.ts: + {} +/a/lib/lib.d.ts: + {} +/user/username/projects/myproject/packages/b/package.json: + {} + +FsWatchesRecursive:: +/user/username/projects/myproject/packages/a/src: + {} +/user/username/projects/myproject/packages/b/src: + {} +/user/username/projects/myproject/node_modules: + {} + Info 58 [16:02:20.000] event: {"seq":0,"type":"event","event":"semanticDiag","body":{"file":"/user/username/projects/myproject/packages/A/src/test.ts","diagnostics":[]}} +Before running immediate callbacks and checking length (1) + +PolledWatches:: +/user/username/projects/myproject/packages/a/node_modules: + {"pollingInterval":500} +/user/username/projects/myproject/packages/node_modules: + {"pollingInterval":500} +/user/username/projects/myproject/packages/a/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/myproject/packages/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/myproject/node_modules/@types: + {"pollingInterval":500} + +FsWatches:: +/user/username/projects/myproject/packages/a/tsconfig.json: + {} +/user/username/projects/myproject/packages/b/tsconfig.json: + {} +/user/username/projects/myproject/packages/b/src/foo.ts: + {} +/user/username/projects/myproject/packages/b/src/bar/foo.ts: + {} +/a/lib/lib.d.ts: + {} +/user/username/projects/myproject/packages/b/package.json: + {} + +FsWatchesRecursive:: +/user/username/projects/myproject/packages/a/src: + {} +/user/username/projects/myproject/packages/b/src: + {} +/user/username/projects/myproject/node_modules: + {} + +Before running immediate callbacks and checking length (1) + +PolledWatches:: +/user/username/projects/myproject/packages/a/node_modules: + {"pollingInterval":500} +/user/username/projects/myproject/packages/node_modules: + {"pollingInterval":500} +/user/username/projects/myproject/packages/a/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/myproject/packages/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/myproject/node_modules/@types: + {"pollingInterval":500} + +FsWatches:: +/user/username/projects/myproject/packages/a/tsconfig.json: + {} +/user/username/projects/myproject/packages/b/tsconfig.json: + {} +/user/username/projects/myproject/packages/b/src/foo.ts: + {} +/user/username/projects/myproject/packages/b/src/bar/foo.ts: + {} +/a/lib/lib.d.ts: + {} +/user/username/projects/myproject/packages/b/package.json: + {} + +FsWatchesRecursive:: +/user/username/projects/myproject/packages/a/src: + {} +/user/username/projects/myproject/packages/b/src: + {} +/user/username/projects/myproject/node_modules: + {} + Info 59 [16:02:21.000] event: {"seq":0,"type":"event","event":"suggestionDiag","body":{"file":"/user/username/projects/myproject/packages/A/src/test.ts","diagnostics":[]}} Info 60 [16:02:22.000] event: - {"seq":0,"type":"event","event":"requestCompleted","body":{"request_seq":3}} \ No newline at end of file + {"seq":0,"type":"event","event":"requestCompleted","body":{"request_seq":3}} +Before running immediate callbacks and checking length (1) + +PolledWatches:: +/user/username/projects/myproject/packages/a/node_modules: + {"pollingInterval":500} +/user/username/projects/myproject/packages/node_modules: + {"pollingInterval":500} +/user/username/projects/myproject/packages/a/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/myproject/packages/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/myproject/node_modules/@types: + {"pollingInterval":500} + +FsWatches:: +/user/username/projects/myproject/packages/a/tsconfig.json: + {} +/user/username/projects/myproject/packages/b/tsconfig.json: + {} +/user/username/projects/myproject/packages/b/src/foo.ts: + {} +/user/username/projects/myproject/packages/b/src/bar/foo.ts: + {} +/a/lib/lib.d.ts: + {} +/user/username/projects/myproject/packages/b/package.json: + {} + +FsWatchesRecursive:: +/user/username/projects/myproject/packages/a/src: + {} +/user/username/projects/myproject/packages/b/src: + {} +/user/username/projects/myproject/node_modules: + {} diff --git a/tests/baselines/reference/tsserver/projectReferences/monorepo-like-with-symlinks-when-referencing-file-from-subFolder-and-solution-is-not-built-with-preserveSymlinks.js b/tests/baselines/reference/tsserver/projectReferences/monorepo-like-with-symlinks-when-referencing-file-from-subFolder-and-solution-is-not-built-with-preserveSymlinks.js index dc65deacb7cf6..dde50027ad82c 100644 --- a/tests/baselines/reference/tsserver/projectReferences/monorepo-like-with-symlinks-when-referencing-file-from-subFolder-and-solution-is-not-built-with-preserveSymlinks.js +++ b/tests/baselines/reference/tsserver/projectReferences/monorepo-like-with-symlinks-when-referencing-file-from-subFolder-and-solution-is-not-built-with-preserveSymlinks.js @@ -8,6 +8,7 @@ Info 1 [16:00:46.000] request: "file": "/user/username/projects/myproject/packages/A/src/test.ts" } } +Before request //// [/a/lib/lib.d.ts] /// interface Boolean {} @@ -147,6 +148,7 @@ Info 43 [16:01:30.000] ----------------------------------------------- Info 43 [16:01:31.000] Open files: Info 43 [16:01:32.000] FileName: /user/username/projects/myproject/packages/A/src/test.ts ProjectRootPath: undefined Info 43 [16:01:33.000] Projects: /user/username/projects/myproject/packages/A/tsconfig.json +After request PolledWatches:: /user/username/projects/myproject/packages/a/node_modules: @@ -198,6 +200,7 @@ Info 44 [16:01:35.000] request: "seq": 1, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/packages/a/node_modules: @@ -233,6 +236,7 @@ FsWatchesRecursive:: /user/username/projects/myproject/node_modules: {} +After request PolledWatches:: /user/username/projects/myproject/packages/a/node_modules: @@ -272,14 +276,230 @@ Info 45 [16:01:36.000] response: { "responseRequired": false } +Before checking timeout queue length (1) and running + +PolledWatches:: +/user/username/projects/myproject/packages/a/node_modules: + {"pollingInterval":500} +/user/username/projects/myproject/packages/node_modules: + {"pollingInterval":500} +/user/username/projects/myproject/packages/a/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/myproject/packages/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/myproject/node_modules/@types: + {"pollingInterval":500} + +FsWatches:: +/user/username/projects/myproject/packages/a/tsconfig.json: + {} +/user/username/projects/myproject/packages/b/tsconfig.json: + {} +/user/username/projects/myproject/packages/b/src/foo.ts: + {} +/user/username/projects/myproject/packages/b/src/bar/foo.ts: + {} +/a/lib/lib.d.ts: + {} +/user/username/projects/myproject/packages/b/package.json: + {} + +FsWatchesRecursive:: +/user/username/projects/myproject/packages/a/src: + {} +/user/username/projects/myproject/packages/b/src: + {} +/user/username/projects/myproject/node_modules: + {} + Info 46 [16:01:37.000] event: {"seq":0,"type":"event","event":"syntaxDiag","body":{"file":"/user/username/projects/myproject/packages/A/src/test.ts","diagnostics":[]}} +After checking timeout queue length (1) and running + +PolledWatches:: +/user/username/projects/myproject/packages/a/node_modules: + {"pollingInterval":500} +/user/username/projects/myproject/packages/node_modules: + {"pollingInterval":500} +/user/username/projects/myproject/packages/a/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/myproject/packages/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/myproject/node_modules/@types: + {"pollingInterval":500} + +FsWatches:: +/user/username/projects/myproject/packages/a/tsconfig.json: + {} +/user/username/projects/myproject/packages/b/tsconfig.json: + {} +/user/username/projects/myproject/packages/b/src/foo.ts: + {} +/user/username/projects/myproject/packages/b/src/bar/foo.ts: + {} +/a/lib/lib.d.ts: + {} +/user/username/projects/myproject/packages/b/package.json: + {} + +FsWatchesRecursive:: +/user/username/projects/myproject/packages/a/src: + {} +/user/username/projects/myproject/packages/b/src: + {} +/user/username/projects/myproject/node_modules: + {} + +Before running immediate callbacks and checking length (1) + +PolledWatches:: +/user/username/projects/myproject/packages/a/node_modules: + {"pollingInterval":500} +/user/username/projects/myproject/packages/node_modules: + {"pollingInterval":500} +/user/username/projects/myproject/packages/a/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/myproject/packages/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/myproject/node_modules/@types: + {"pollingInterval":500} + +FsWatches:: +/user/username/projects/myproject/packages/a/tsconfig.json: + {} +/user/username/projects/myproject/packages/b/tsconfig.json: + {} +/user/username/projects/myproject/packages/b/src/foo.ts: + {} +/user/username/projects/myproject/packages/b/src/bar/foo.ts: + {} +/a/lib/lib.d.ts: + {} +/user/username/projects/myproject/packages/b/package.json: + {} + +FsWatchesRecursive:: +/user/username/projects/myproject/packages/a/src: + {} +/user/username/projects/myproject/packages/b/src: + {} +/user/username/projects/myproject/node_modules: + {} + Info 47 [16:01:38.000] event: {"seq":0,"type":"event","event":"semanticDiag","body":{"file":"/user/username/projects/myproject/packages/A/src/test.ts","diagnostics":[]}} +Before running immediate callbacks and checking length (1) + +PolledWatches:: +/user/username/projects/myproject/packages/a/node_modules: + {"pollingInterval":500} +/user/username/projects/myproject/packages/node_modules: + {"pollingInterval":500} +/user/username/projects/myproject/packages/a/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/myproject/packages/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/myproject/node_modules/@types: + {"pollingInterval":500} + +FsWatches:: +/user/username/projects/myproject/packages/a/tsconfig.json: + {} +/user/username/projects/myproject/packages/b/tsconfig.json: + {} +/user/username/projects/myproject/packages/b/src/foo.ts: + {} +/user/username/projects/myproject/packages/b/src/bar/foo.ts: + {} +/a/lib/lib.d.ts: + {} +/user/username/projects/myproject/packages/b/package.json: + {} + +FsWatchesRecursive:: +/user/username/projects/myproject/packages/a/src: + {} +/user/username/projects/myproject/packages/b/src: + {} +/user/username/projects/myproject/node_modules: + {} + +Before running immediate callbacks and checking length (1) + +PolledWatches:: +/user/username/projects/myproject/packages/a/node_modules: + {"pollingInterval":500} +/user/username/projects/myproject/packages/node_modules: + {"pollingInterval":500} +/user/username/projects/myproject/packages/a/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/myproject/packages/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/myproject/node_modules/@types: + {"pollingInterval":500} + +FsWatches:: +/user/username/projects/myproject/packages/a/tsconfig.json: + {} +/user/username/projects/myproject/packages/b/tsconfig.json: + {} +/user/username/projects/myproject/packages/b/src/foo.ts: + {} +/user/username/projects/myproject/packages/b/src/bar/foo.ts: + {} +/a/lib/lib.d.ts: + {} +/user/username/projects/myproject/packages/b/package.json: + {} + +FsWatchesRecursive:: +/user/username/projects/myproject/packages/a/src: + {} +/user/username/projects/myproject/packages/b/src: + {} +/user/username/projects/myproject/node_modules: + {} + Info 48 [16:01:39.000] event: {"seq":0,"type":"event","event":"suggestionDiag","body":{"file":"/user/username/projects/myproject/packages/A/src/test.ts","diagnostics":[]}} Info 49 [16:01:40.000] event: {"seq":0,"type":"event","event":"requestCompleted","body":{"request_seq":1}} +Before running immediate callbacks and checking length (1) + +PolledWatches:: +/user/username/projects/myproject/packages/a/node_modules: + {"pollingInterval":500} +/user/username/projects/myproject/packages/node_modules: + {"pollingInterval":500} +/user/username/projects/myproject/packages/a/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/myproject/packages/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/myproject/node_modules/@types: + {"pollingInterval":500} + +FsWatches:: +/user/username/projects/myproject/packages/a/tsconfig.json: + {} +/user/username/projects/myproject/packages/b/tsconfig.json: + {} +/user/username/projects/myproject/packages/b/src/foo.ts: + {} +/user/username/projects/myproject/packages/b/src/bar/foo.ts: + {} +/a/lib/lib.d.ts: + {} +/user/username/projects/myproject/packages/b/package.json: + {} + +FsWatchesRecursive:: +/user/username/projects/myproject/packages/a/src: + {} +/user/username/projects/myproject/packages/b/src: + {} +/user/username/projects/myproject/node_modules: + {} + Info 50 [16:01:41.000] request: { "command": "updateOpen", @@ -306,6 +526,7 @@ Info 50 [16:01:41.000] request: "seq": 2, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/packages/a/node_modules: @@ -341,6 +562,7 @@ FsWatchesRecursive:: /user/username/projects/myproject/node_modules: {} +After request PolledWatches:: /user/username/projects/myproject/packages/a/node_modules: @@ -393,6 +615,7 @@ Info 52 [16:01:43.000] request: "seq": 3, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/packages/a/node_modules: @@ -428,6 +651,7 @@ FsWatchesRecursive:: /user/username/projects/myproject/node_modules: {} +After request PolledWatches:: /user/username/projects/myproject/packages/a/node_modules: @@ -467,14 +691,229 @@ Info 53 [16:01:44.000] response: { "responseRequired": false } +Before checking timeout queue length (1) and running + +PolledWatches:: +/user/username/projects/myproject/packages/a/node_modules: + {"pollingInterval":500} +/user/username/projects/myproject/packages/node_modules: + {"pollingInterval":500} +/user/username/projects/myproject/packages/a/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/myproject/packages/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/myproject/node_modules/@types: + {"pollingInterval":500} + +FsWatches:: +/user/username/projects/myproject/packages/a/tsconfig.json: + {} +/user/username/projects/myproject/packages/b/tsconfig.json: + {} +/user/username/projects/myproject/packages/b/src/foo.ts: + {} +/user/username/projects/myproject/packages/b/src/bar/foo.ts: + {} +/a/lib/lib.d.ts: + {} +/user/username/projects/myproject/packages/b/package.json: + {} + +FsWatchesRecursive:: +/user/username/projects/myproject/packages/a/src: + {} +/user/username/projects/myproject/packages/b/src: + {} +/user/username/projects/myproject/node_modules: + {} + Info 54 [16:01:45.000] Starting updateGraphWorker: Project: /user/username/projects/myproject/packages/A/tsconfig.json Info 55 [16:01:46.000] Finishing updateGraphWorker: Project: /user/username/projects/myproject/packages/A/tsconfig.json Version: 2 structureChanged: false structureIsReused:: Completely Elapsed:: *ms Info 56 [16:01:47.000] Different program with same set of files Info 57 [16:01:48.000] event: {"seq":0,"type":"event","event":"syntaxDiag","body":{"file":"/user/username/projects/myproject/packages/A/src/test.ts","diagnostics":[]}} +After checking timeout queue length (1) and running + +PolledWatches:: +/user/username/projects/myproject/packages/a/node_modules: + {"pollingInterval":500} +/user/username/projects/myproject/packages/node_modules: + {"pollingInterval":500} +/user/username/projects/myproject/packages/a/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/myproject/packages/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/myproject/node_modules/@types: + {"pollingInterval":500} + +FsWatches:: +/user/username/projects/myproject/packages/a/tsconfig.json: + {} +/user/username/projects/myproject/packages/b/tsconfig.json: + {} +/user/username/projects/myproject/packages/b/src/foo.ts: + {} +/user/username/projects/myproject/packages/b/src/bar/foo.ts: + {} +/a/lib/lib.d.ts: + {} +/user/username/projects/myproject/packages/b/package.json: + {} + +FsWatchesRecursive:: +/user/username/projects/myproject/packages/a/src: + {} +/user/username/projects/myproject/packages/b/src: + {} +/user/username/projects/myproject/node_modules: + {} + +Before running immediate callbacks and checking length (1) + +PolledWatches:: +/user/username/projects/myproject/packages/a/node_modules: + {"pollingInterval":500} +/user/username/projects/myproject/packages/node_modules: + {"pollingInterval":500} +/user/username/projects/myproject/packages/a/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/myproject/packages/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/myproject/node_modules/@types: + {"pollingInterval":500} + +FsWatches:: +/user/username/projects/myproject/packages/a/tsconfig.json: + {} +/user/username/projects/myproject/packages/b/tsconfig.json: + {} +/user/username/projects/myproject/packages/b/src/foo.ts: + {} +/user/username/projects/myproject/packages/b/src/bar/foo.ts: + {} +/a/lib/lib.d.ts: + {} +/user/username/projects/myproject/packages/b/package.json: + {} + +FsWatchesRecursive:: +/user/username/projects/myproject/packages/a/src: + {} +/user/username/projects/myproject/packages/b/src: + {} +/user/username/projects/myproject/node_modules: + {} + Info 58 [16:01:49.000] event: {"seq":0,"type":"event","event":"semanticDiag","body":{"file":"/user/username/projects/myproject/packages/A/src/test.ts","diagnostics":[]}} +Before running immediate callbacks and checking length (1) + +PolledWatches:: +/user/username/projects/myproject/packages/a/node_modules: + {"pollingInterval":500} +/user/username/projects/myproject/packages/node_modules: + {"pollingInterval":500} +/user/username/projects/myproject/packages/a/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/myproject/packages/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/myproject/node_modules/@types: + {"pollingInterval":500} + +FsWatches:: +/user/username/projects/myproject/packages/a/tsconfig.json: + {} +/user/username/projects/myproject/packages/b/tsconfig.json: + {} +/user/username/projects/myproject/packages/b/src/foo.ts: + {} +/user/username/projects/myproject/packages/b/src/bar/foo.ts: + {} +/a/lib/lib.d.ts: + {} +/user/username/projects/myproject/packages/b/package.json: + {} + +FsWatchesRecursive:: +/user/username/projects/myproject/packages/a/src: + {} +/user/username/projects/myproject/packages/b/src: + {} +/user/username/projects/myproject/node_modules: + {} + +Before running immediate callbacks and checking length (1) + +PolledWatches:: +/user/username/projects/myproject/packages/a/node_modules: + {"pollingInterval":500} +/user/username/projects/myproject/packages/node_modules: + {"pollingInterval":500} +/user/username/projects/myproject/packages/a/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/myproject/packages/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/myproject/node_modules/@types: + {"pollingInterval":500} + +FsWatches:: +/user/username/projects/myproject/packages/a/tsconfig.json: + {} +/user/username/projects/myproject/packages/b/tsconfig.json: + {} +/user/username/projects/myproject/packages/b/src/foo.ts: + {} +/user/username/projects/myproject/packages/b/src/bar/foo.ts: + {} +/a/lib/lib.d.ts: + {} +/user/username/projects/myproject/packages/b/package.json: + {} + +FsWatchesRecursive:: +/user/username/projects/myproject/packages/a/src: + {} +/user/username/projects/myproject/packages/b/src: + {} +/user/username/projects/myproject/node_modules: + {} + Info 59 [16:01:50.000] event: {"seq":0,"type":"event","event":"suggestionDiag","body":{"file":"/user/username/projects/myproject/packages/A/src/test.ts","diagnostics":[]}} Info 60 [16:01:51.000] event: - {"seq":0,"type":"event","event":"requestCompleted","body":{"request_seq":3}} \ No newline at end of file + {"seq":0,"type":"event","event":"requestCompleted","body":{"request_seq":3}} +Before running immediate callbacks and checking length (1) + +PolledWatches:: +/user/username/projects/myproject/packages/a/node_modules: + {"pollingInterval":500} +/user/username/projects/myproject/packages/node_modules: + {"pollingInterval":500} +/user/username/projects/myproject/packages/a/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/myproject/packages/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/myproject/node_modules/@types: + {"pollingInterval":500} + +FsWatches:: +/user/username/projects/myproject/packages/a/tsconfig.json: + {} +/user/username/projects/myproject/packages/b/tsconfig.json: + {} +/user/username/projects/myproject/packages/b/src/foo.ts: + {} +/user/username/projects/myproject/packages/b/src/bar/foo.ts: + {} +/a/lib/lib.d.ts: + {} +/user/username/projects/myproject/packages/b/package.json: + {} + +FsWatchesRecursive:: +/user/username/projects/myproject/packages/a/src: + {} +/user/username/projects/myproject/packages/b/src: + {} +/user/username/projects/myproject/node_modules: + {} diff --git a/tests/baselines/reference/tsserver/projectReferences/monorepo-like-with-symlinks-when-referencing-file-from-subFolder-and-solution-is-not-built.js b/tests/baselines/reference/tsserver/projectReferences/monorepo-like-with-symlinks-when-referencing-file-from-subFolder-and-solution-is-not-built.js index 6c6f6ac09382c..f2a033152da29 100644 --- a/tests/baselines/reference/tsserver/projectReferences/monorepo-like-with-symlinks-when-referencing-file-from-subFolder-and-solution-is-not-built.js +++ b/tests/baselines/reference/tsserver/projectReferences/monorepo-like-with-symlinks-when-referencing-file-from-subFolder-and-solution-is-not-built.js @@ -8,6 +8,7 @@ Info 1 [16:00:46.000] request: "file": "/user/username/projects/myproject/packages/A/src/test.ts" } } +Before request //// [/a/lib/lib.d.ts] /// interface Boolean {} @@ -145,6 +146,7 @@ Info 43 [16:01:30.000] ----------------------------------------------- Info 43 [16:01:31.000] Open files: Info 43 [16:01:32.000] FileName: /user/username/projects/myproject/packages/A/src/test.ts ProjectRootPath: undefined Info 43 [16:01:33.000] Projects: /user/username/projects/myproject/packages/A/tsconfig.json +After request PolledWatches:: /user/username/projects/myproject/packages/a/node_modules: @@ -196,6 +198,7 @@ Info 44 [16:01:35.000] request: "seq": 1, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/packages/a/node_modules: @@ -231,6 +234,7 @@ FsWatchesRecursive:: /user/username/projects/myproject/node_modules: {} +After request PolledWatches:: /user/username/projects/myproject/packages/a/node_modules: @@ -270,14 +274,230 @@ Info 45 [16:01:36.000] response: { "responseRequired": false } +Before checking timeout queue length (1) and running + +PolledWatches:: +/user/username/projects/myproject/packages/a/node_modules: + {"pollingInterval":500} +/user/username/projects/myproject/packages/node_modules: + {"pollingInterval":500} +/user/username/projects/myproject/packages/a/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/myproject/packages/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/myproject/node_modules/@types: + {"pollingInterval":500} + +FsWatches:: +/user/username/projects/myproject/packages/a/tsconfig.json: + {} +/user/username/projects/myproject/packages/b/tsconfig.json: + {} +/user/username/projects/myproject/packages/b/src/foo.ts: + {} +/user/username/projects/myproject/packages/b/src/bar/foo.ts: + {} +/a/lib/lib.d.ts: + {} +/user/username/projects/myproject/packages/b/package.json: + {} + +FsWatchesRecursive:: +/user/username/projects/myproject/packages/a/src: + {} +/user/username/projects/myproject/packages/b/src: + {} +/user/username/projects/myproject/node_modules: + {} + Info 46 [16:01:37.000] event: {"seq":0,"type":"event","event":"syntaxDiag","body":{"file":"/user/username/projects/myproject/packages/A/src/test.ts","diagnostics":[]}} +After checking timeout queue length (1) and running + +PolledWatches:: +/user/username/projects/myproject/packages/a/node_modules: + {"pollingInterval":500} +/user/username/projects/myproject/packages/node_modules: + {"pollingInterval":500} +/user/username/projects/myproject/packages/a/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/myproject/packages/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/myproject/node_modules/@types: + {"pollingInterval":500} + +FsWatches:: +/user/username/projects/myproject/packages/a/tsconfig.json: + {} +/user/username/projects/myproject/packages/b/tsconfig.json: + {} +/user/username/projects/myproject/packages/b/src/foo.ts: + {} +/user/username/projects/myproject/packages/b/src/bar/foo.ts: + {} +/a/lib/lib.d.ts: + {} +/user/username/projects/myproject/packages/b/package.json: + {} + +FsWatchesRecursive:: +/user/username/projects/myproject/packages/a/src: + {} +/user/username/projects/myproject/packages/b/src: + {} +/user/username/projects/myproject/node_modules: + {} + +Before running immediate callbacks and checking length (1) + +PolledWatches:: +/user/username/projects/myproject/packages/a/node_modules: + {"pollingInterval":500} +/user/username/projects/myproject/packages/node_modules: + {"pollingInterval":500} +/user/username/projects/myproject/packages/a/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/myproject/packages/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/myproject/node_modules/@types: + {"pollingInterval":500} + +FsWatches:: +/user/username/projects/myproject/packages/a/tsconfig.json: + {} +/user/username/projects/myproject/packages/b/tsconfig.json: + {} +/user/username/projects/myproject/packages/b/src/foo.ts: + {} +/user/username/projects/myproject/packages/b/src/bar/foo.ts: + {} +/a/lib/lib.d.ts: + {} +/user/username/projects/myproject/packages/b/package.json: + {} + +FsWatchesRecursive:: +/user/username/projects/myproject/packages/a/src: + {} +/user/username/projects/myproject/packages/b/src: + {} +/user/username/projects/myproject/node_modules: + {} + Info 47 [16:01:38.000] event: {"seq":0,"type":"event","event":"semanticDiag","body":{"file":"/user/username/projects/myproject/packages/A/src/test.ts","diagnostics":[]}} +Before running immediate callbacks and checking length (1) + +PolledWatches:: +/user/username/projects/myproject/packages/a/node_modules: + {"pollingInterval":500} +/user/username/projects/myproject/packages/node_modules: + {"pollingInterval":500} +/user/username/projects/myproject/packages/a/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/myproject/packages/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/myproject/node_modules/@types: + {"pollingInterval":500} + +FsWatches:: +/user/username/projects/myproject/packages/a/tsconfig.json: + {} +/user/username/projects/myproject/packages/b/tsconfig.json: + {} +/user/username/projects/myproject/packages/b/src/foo.ts: + {} +/user/username/projects/myproject/packages/b/src/bar/foo.ts: + {} +/a/lib/lib.d.ts: + {} +/user/username/projects/myproject/packages/b/package.json: + {} + +FsWatchesRecursive:: +/user/username/projects/myproject/packages/a/src: + {} +/user/username/projects/myproject/packages/b/src: + {} +/user/username/projects/myproject/node_modules: + {} + +Before running immediate callbacks and checking length (1) + +PolledWatches:: +/user/username/projects/myproject/packages/a/node_modules: + {"pollingInterval":500} +/user/username/projects/myproject/packages/node_modules: + {"pollingInterval":500} +/user/username/projects/myproject/packages/a/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/myproject/packages/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/myproject/node_modules/@types: + {"pollingInterval":500} + +FsWatches:: +/user/username/projects/myproject/packages/a/tsconfig.json: + {} +/user/username/projects/myproject/packages/b/tsconfig.json: + {} +/user/username/projects/myproject/packages/b/src/foo.ts: + {} +/user/username/projects/myproject/packages/b/src/bar/foo.ts: + {} +/a/lib/lib.d.ts: + {} +/user/username/projects/myproject/packages/b/package.json: + {} + +FsWatchesRecursive:: +/user/username/projects/myproject/packages/a/src: + {} +/user/username/projects/myproject/packages/b/src: + {} +/user/username/projects/myproject/node_modules: + {} + Info 48 [16:01:39.000] event: {"seq":0,"type":"event","event":"suggestionDiag","body":{"file":"/user/username/projects/myproject/packages/A/src/test.ts","diagnostics":[]}} Info 49 [16:01:40.000] event: {"seq":0,"type":"event","event":"requestCompleted","body":{"request_seq":1}} +Before running immediate callbacks and checking length (1) + +PolledWatches:: +/user/username/projects/myproject/packages/a/node_modules: + {"pollingInterval":500} +/user/username/projects/myproject/packages/node_modules: + {"pollingInterval":500} +/user/username/projects/myproject/packages/a/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/myproject/packages/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/myproject/node_modules/@types: + {"pollingInterval":500} + +FsWatches:: +/user/username/projects/myproject/packages/a/tsconfig.json: + {} +/user/username/projects/myproject/packages/b/tsconfig.json: + {} +/user/username/projects/myproject/packages/b/src/foo.ts: + {} +/user/username/projects/myproject/packages/b/src/bar/foo.ts: + {} +/a/lib/lib.d.ts: + {} +/user/username/projects/myproject/packages/b/package.json: + {} + +FsWatchesRecursive:: +/user/username/projects/myproject/packages/a/src: + {} +/user/username/projects/myproject/packages/b/src: + {} +/user/username/projects/myproject/node_modules: + {} + Info 50 [16:01:41.000] request: { "command": "updateOpen", @@ -304,6 +524,7 @@ Info 50 [16:01:41.000] request: "seq": 2, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/packages/a/node_modules: @@ -339,6 +560,7 @@ FsWatchesRecursive:: /user/username/projects/myproject/node_modules: {} +After request PolledWatches:: /user/username/projects/myproject/packages/a/node_modules: @@ -391,6 +613,7 @@ Info 52 [16:01:43.000] request: "seq": 3, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/packages/a/node_modules: @@ -426,6 +649,7 @@ FsWatchesRecursive:: /user/username/projects/myproject/node_modules: {} +After request PolledWatches:: /user/username/projects/myproject/packages/a/node_modules: @@ -465,14 +689,229 @@ Info 53 [16:01:44.000] response: { "responseRequired": false } +Before checking timeout queue length (1) and running + +PolledWatches:: +/user/username/projects/myproject/packages/a/node_modules: + {"pollingInterval":500} +/user/username/projects/myproject/packages/node_modules: + {"pollingInterval":500} +/user/username/projects/myproject/packages/a/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/myproject/packages/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/myproject/node_modules/@types: + {"pollingInterval":500} + +FsWatches:: +/user/username/projects/myproject/packages/a/tsconfig.json: + {} +/user/username/projects/myproject/packages/b/tsconfig.json: + {} +/user/username/projects/myproject/packages/b/src/foo.ts: + {} +/user/username/projects/myproject/packages/b/src/bar/foo.ts: + {} +/a/lib/lib.d.ts: + {} +/user/username/projects/myproject/packages/b/package.json: + {} + +FsWatchesRecursive:: +/user/username/projects/myproject/packages/a/src: + {} +/user/username/projects/myproject/packages/b/src: + {} +/user/username/projects/myproject/node_modules: + {} + Info 54 [16:01:45.000] Starting updateGraphWorker: Project: /user/username/projects/myproject/packages/A/tsconfig.json Info 55 [16:01:46.000] Finishing updateGraphWorker: Project: /user/username/projects/myproject/packages/A/tsconfig.json Version: 2 structureChanged: false structureIsReused:: Completely Elapsed:: *ms Info 56 [16:01:47.000] Different program with same set of files Info 57 [16:01:48.000] event: {"seq":0,"type":"event","event":"syntaxDiag","body":{"file":"/user/username/projects/myproject/packages/A/src/test.ts","diagnostics":[]}} +After checking timeout queue length (1) and running + +PolledWatches:: +/user/username/projects/myproject/packages/a/node_modules: + {"pollingInterval":500} +/user/username/projects/myproject/packages/node_modules: + {"pollingInterval":500} +/user/username/projects/myproject/packages/a/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/myproject/packages/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/myproject/node_modules/@types: + {"pollingInterval":500} + +FsWatches:: +/user/username/projects/myproject/packages/a/tsconfig.json: + {} +/user/username/projects/myproject/packages/b/tsconfig.json: + {} +/user/username/projects/myproject/packages/b/src/foo.ts: + {} +/user/username/projects/myproject/packages/b/src/bar/foo.ts: + {} +/a/lib/lib.d.ts: + {} +/user/username/projects/myproject/packages/b/package.json: + {} + +FsWatchesRecursive:: +/user/username/projects/myproject/packages/a/src: + {} +/user/username/projects/myproject/packages/b/src: + {} +/user/username/projects/myproject/node_modules: + {} + +Before running immediate callbacks and checking length (1) + +PolledWatches:: +/user/username/projects/myproject/packages/a/node_modules: + {"pollingInterval":500} +/user/username/projects/myproject/packages/node_modules: + {"pollingInterval":500} +/user/username/projects/myproject/packages/a/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/myproject/packages/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/myproject/node_modules/@types: + {"pollingInterval":500} + +FsWatches:: +/user/username/projects/myproject/packages/a/tsconfig.json: + {} +/user/username/projects/myproject/packages/b/tsconfig.json: + {} +/user/username/projects/myproject/packages/b/src/foo.ts: + {} +/user/username/projects/myproject/packages/b/src/bar/foo.ts: + {} +/a/lib/lib.d.ts: + {} +/user/username/projects/myproject/packages/b/package.json: + {} + +FsWatchesRecursive:: +/user/username/projects/myproject/packages/a/src: + {} +/user/username/projects/myproject/packages/b/src: + {} +/user/username/projects/myproject/node_modules: + {} + Info 58 [16:01:49.000] event: {"seq":0,"type":"event","event":"semanticDiag","body":{"file":"/user/username/projects/myproject/packages/A/src/test.ts","diagnostics":[]}} +Before running immediate callbacks and checking length (1) + +PolledWatches:: +/user/username/projects/myproject/packages/a/node_modules: + {"pollingInterval":500} +/user/username/projects/myproject/packages/node_modules: + {"pollingInterval":500} +/user/username/projects/myproject/packages/a/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/myproject/packages/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/myproject/node_modules/@types: + {"pollingInterval":500} + +FsWatches:: +/user/username/projects/myproject/packages/a/tsconfig.json: + {} +/user/username/projects/myproject/packages/b/tsconfig.json: + {} +/user/username/projects/myproject/packages/b/src/foo.ts: + {} +/user/username/projects/myproject/packages/b/src/bar/foo.ts: + {} +/a/lib/lib.d.ts: + {} +/user/username/projects/myproject/packages/b/package.json: + {} + +FsWatchesRecursive:: +/user/username/projects/myproject/packages/a/src: + {} +/user/username/projects/myproject/packages/b/src: + {} +/user/username/projects/myproject/node_modules: + {} + +Before running immediate callbacks and checking length (1) + +PolledWatches:: +/user/username/projects/myproject/packages/a/node_modules: + {"pollingInterval":500} +/user/username/projects/myproject/packages/node_modules: + {"pollingInterval":500} +/user/username/projects/myproject/packages/a/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/myproject/packages/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/myproject/node_modules/@types: + {"pollingInterval":500} + +FsWatches:: +/user/username/projects/myproject/packages/a/tsconfig.json: + {} +/user/username/projects/myproject/packages/b/tsconfig.json: + {} +/user/username/projects/myproject/packages/b/src/foo.ts: + {} +/user/username/projects/myproject/packages/b/src/bar/foo.ts: + {} +/a/lib/lib.d.ts: + {} +/user/username/projects/myproject/packages/b/package.json: + {} + +FsWatchesRecursive:: +/user/username/projects/myproject/packages/a/src: + {} +/user/username/projects/myproject/packages/b/src: + {} +/user/username/projects/myproject/node_modules: + {} + Info 59 [16:01:50.000] event: {"seq":0,"type":"event","event":"suggestionDiag","body":{"file":"/user/username/projects/myproject/packages/A/src/test.ts","diagnostics":[]}} Info 60 [16:01:51.000] event: - {"seq":0,"type":"event","event":"requestCompleted","body":{"request_seq":3}} \ No newline at end of file + {"seq":0,"type":"event","event":"requestCompleted","body":{"request_seq":3}} +Before running immediate callbacks and checking length (1) + +PolledWatches:: +/user/username/projects/myproject/packages/a/node_modules: + {"pollingInterval":500} +/user/username/projects/myproject/packages/node_modules: + {"pollingInterval":500} +/user/username/projects/myproject/packages/a/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/myproject/packages/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/myproject/node_modules/@types: + {"pollingInterval":500} + +FsWatches:: +/user/username/projects/myproject/packages/a/tsconfig.json: + {} +/user/username/projects/myproject/packages/b/tsconfig.json: + {} +/user/username/projects/myproject/packages/b/src/foo.ts: + {} +/user/username/projects/myproject/packages/b/src/bar/foo.ts: + {} +/a/lib/lib.d.ts: + {} +/user/username/projects/myproject/packages/b/package.json: + {} + +FsWatchesRecursive:: +/user/username/projects/myproject/packages/a/src: + {} +/user/username/projects/myproject/packages/b/src: + {} +/user/username/projects/myproject/node_modules: + {} diff --git a/tests/baselines/reference/tsserver/projectReferences/monorepo-like-with-symlinks-when-referencing-file-from-subFolder-with-scoped-package-and-solution-is-built-with-preserveSymlinks.js b/tests/baselines/reference/tsserver/projectReferences/monorepo-like-with-symlinks-when-referencing-file-from-subFolder-with-scoped-package-and-solution-is-built-with-preserveSymlinks.js index d98776e0715bd..6274e4afd647e 100644 --- a/tests/baselines/reference/tsserver/projectReferences/monorepo-like-with-symlinks-when-referencing-file-from-subFolder-with-scoped-package-and-solution-is-built-with-preserveSymlinks.js +++ b/tests/baselines/reference/tsserver/projectReferences/monorepo-like-with-symlinks-when-referencing-file-from-subFolder-with-scoped-package-and-solution-is-built-with-preserveSymlinks.js @@ -8,6 +8,7 @@ Info 1 [16:01:19.000] request: "file": "/user/username/projects/myproject/packages/A/src/test.ts" } } +Before request //// [/a/lib/lib.d.ts] /// interface Boolean {} @@ -289,6 +290,7 @@ Info 43 [16:02:03.000] ----------------------------------------------- Info 43 [16:02:04.000] Open files: Info 43 [16:02:05.000] FileName: /user/username/projects/myproject/packages/A/src/test.ts ProjectRootPath: undefined Info 43 [16:02:06.000] Projects: /user/username/projects/myproject/packages/A/tsconfig.json +After request PolledWatches:: /user/username/projects/myproject/packages/a/node_modules: @@ -340,6 +342,7 @@ Info 44 [16:02:08.000] request: "seq": 1, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/packages/a/node_modules: @@ -375,6 +378,7 @@ FsWatchesRecursive:: /user/username/projects/myproject/node_modules: {} +After request PolledWatches:: /user/username/projects/myproject/packages/a/node_modules: @@ -414,14 +418,230 @@ Info 45 [16:02:09.000] response: { "responseRequired": false } +Before checking timeout queue length (1) and running + +PolledWatches:: +/user/username/projects/myproject/packages/a/node_modules: + {"pollingInterval":500} +/user/username/projects/myproject/packages/node_modules: + {"pollingInterval":500} +/user/username/projects/myproject/packages/a/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/myproject/packages/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/myproject/node_modules/@types: + {"pollingInterval":500} + +FsWatches:: +/user/username/projects/myproject/packages/a/tsconfig.json: + {} +/user/username/projects/myproject/packages/b/tsconfig.json: + {} +/user/username/projects/myproject/packages/b/src/foo.ts: + {} +/user/username/projects/myproject/packages/b/src/bar/foo.ts: + {} +/a/lib/lib.d.ts: + {} +/user/username/projects/myproject/packages/b/package.json: + {} + +FsWatchesRecursive:: +/user/username/projects/myproject/packages/a/src: + {} +/user/username/projects/myproject/packages/b/src: + {} +/user/username/projects/myproject/node_modules: + {} + Info 46 [16:02:10.000] event: {"seq":0,"type":"event","event":"syntaxDiag","body":{"file":"/user/username/projects/myproject/packages/A/src/test.ts","diagnostics":[]}} +After checking timeout queue length (1) and running + +PolledWatches:: +/user/username/projects/myproject/packages/a/node_modules: + {"pollingInterval":500} +/user/username/projects/myproject/packages/node_modules: + {"pollingInterval":500} +/user/username/projects/myproject/packages/a/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/myproject/packages/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/myproject/node_modules/@types: + {"pollingInterval":500} + +FsWatches:: +/user/username/projects/myproject/packages/a/tsconfig.json: + {} +/user/username/projects/myproject/packages/b/tsconfig.json: + {} +/user/username/projects/myproject/packages/b/src/foo.ts: + {} +/user/username/projects/myproject/packages/b/src/bar/foo.ts: + {} +/a/lib/lib.d.ts: + {} +/user/username/projects/myproject/packages/b/package.json: + {} + +FsWatchesRecursive:: +/user/username/projects/myproject/packages/a/src: + {} +/user/username/projects/myproject/packages/b/src: + {} +/user/username/projects/myproject/node_modules: + {} + +Before running immediate callbacks and checking length (1) + +PolledWatches:: +/user/username/projects/myproject/packages/a/node_modules: + {"pollingInterval":500} +/user/username/projects/myproject/packages/node_modules: + {"pollingInterval":500} +/user/username/projects/myproject/packages/a/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/myproject/packages/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/myproject/node_modules/@types: + {"pollingInterval":500} + +FsWatches:: +/user/username/projects/myproject/packages/a/tsconfig.json: + {} +/user/username/projects/myproject/packages/b/tsconfig.json: + {} +/user/username/projects/myproject/packages/b/src/foo.ts: + {} +/user/username/projects/myproject/packages/b/src/bar/foo.ts: + {} +/a/lib/lib.d.ts: + {} +/user/username/projects/myproject/packages/b/package.json: + {} + +FsWatchesRecursive:: +/user/username/projects/myproject/packages/a/src: + {} +/user/username/projects/myproject/packages/b/src: + {} +/user/username/projects/myproject/node_modules: + {} + Info 47 [16:02:11.000] event: {"seq":0,"type":"event","event":"semanticDiag","body":{"file":"/user/username/projects/myproject/packages/A/src/test.ts","diagnostics":[]}} +Before running immediate callbacks and checking length (1) + +PolledWatches:: +/user/username/projects/myproject/packages/a/node_modules: + {"pollingInterval":500} +/user/username/projects/myproject/packages/node_modules: + {"pollingInterval":500} +/user/username/projects/myproject/packages/a/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/myproject/packages/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/myproject/node_modules/@types: + {"pollingInterval":500} + +FsWatches:: +/user/username/projects/myproject/packages/a/tsconfig.json: + {} +/user/username/projects/myproject/packages/b/tsconfig.json: + {} +/user/username/projects/myproject/packages/b/src/foo.ts: + {} +/user/username/projects/myproject/packages/b/src/bar/foo.ts: + {} +/a/lib/lib.d.ts: + {} +/user/username/projects/myproject/packages/b/package.json: + {} + +FsWatchesRecursive:: +/user/username/projects/myproject/packages/a/src: + {} +/user/username/projects/myproject/packages/b/src: + {} +/user/username/projects/myproject/node_modules: + {} + +Before running immediate callbacks and checking length (1) + +PolledWatches:: +/user/username/projects/myproject/packages/a/node_modules: + {"pollingInterval":500} +/user/username/projects/myproject/packages/node_modules: + {"pollingInterval":500} +/user/username/projects/myproject/packages/a/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/myproject/packages/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/myproject/node_modules/@types: + {"pollingInterval":500} + +FsWatches:: +/user/username/projects/myproject/packages/a/tsconfig.json: + {} +/user/username/projects/myproject/packages/b/tsconfig.json: + {} +/user/username/projects/myproject/packages/b/src/foo.ts: + {} +/user/username/projects/myproject/packages/b/src/bar/foo.ts: + {} +/a/lib/lib.d.ts: + {} +/user/username/projects/myproject/packages/b/package.json: + {} + +FsWatchesRecursive:: +/user/username/projects/myproject/packages/a/src: + {} +/user/username/projects/myproject/packages/b/src: + {} +/user/username/projects/myproject/node_modules: + {} + Info 48 [16:02:12.000] event: {"seq":0,"type":"event","event":"suggestionDiag","body":{"file":"/user/username/projects/myproject/packages/A/src/test.ts","diagnostics":[]}} Info 49 [16:02:13.000] event: {"seq":0,"type":"event","event":"requestCompleted","body":{"request_seq":1}} +Before running immediate callbacks and checking length (1) + +PolledWatches:: +/user/username/projects/myproject/packages/a/node_modules: + {"pollingInterval":500} +/user/username/projects/myproject/packages/node_modules: + {"pollingInterval":500} +/user/username/projects/myproject/packages/a/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/myproject/packages/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/myproject/node_modules/@types: + {"pollingInterval":500} + +FsWatches:: +/user/username/projects/myproject/packages/a/tsconfig.json: + {} +/user/username/projects/myproject/packages/b/tsconfig.json: + {} +/user/username/projects/myproject/packages/b/src/foo.ts: + {} +/user/username/projects/myproject/packages/b/src/bar/foo.ts: + {} +/a/lib/lib.d.ts: + {} +/user/username/projects/myproject/packages/b/package.json: + {} + +FsWatchesRecursive:: +/user/username/projects/myproject/packages/a/src: + {} +/user/username/projects/myproject/packages/b/src: + {} +/user/username/projects/myproject/node_modules: + {} + Info 50 [16:02:14.000] request: { "command": "updateOpen", @@ -448,6 +668,7 @@ Info 50 [16:02:14.000] request: "seq": 2, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/packages/a/node_modules: @@ -483,6 +704,7 @@ FsWatchesRecursive:: /user/username/projects/myproject/node_modules: {} +After request PolledWatches:: /user/username/projects/myproject/packages/a/node_modules: @@ -535,6 +757,7 @@ Info 52 [16:02:16.000] request: "seq": 3, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/packages/a/node_modules: @@ -570,6 +793,7 @@ FsWatchesRecursive:: /user/username/projects/myproject/node_modules: {} +After request PolledWatches:: /user/username/projects/myproject/packages/a/node_modules: @@ -609,14 +833,229 @@ Info 53 [16:02:17.000] response: { "responseRequired": false } +Before checking timeout queue length (1) and running + +PolledWatches:: +/user/username/projects/myproject/packages/a/node_modules: + {"pollingInterval":500} +/user/username/projects/myproject/packages/node_modules: + {"pollingInterval":500} +/user/username/projects/myproject/packages/a/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/myproject/packages/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/myproject/node_modules/@types: + {"pollingInterval":500} + +FsWatches:: +/user/username/projects/myproject/packages/a/tsconfig.json: + {} +/user/username/projects/myproject/packages/b/tsconfig.json: + {} +/user/username/projects/myproject/packages/b/src/foo.ts: + {} +/user/username/projects/myproject/packages/b/src/bar/foo.ts: + {} +/a/lib/lib.d.ts: + {} +/user/username/projects/myproject/packages/b/package.json: + {} + +FsWatchesRecursive:: +/user/username/projects/myproject/packages/a/src: + {} +/user/username/projects/myproject/packages/b/src: + {} +/user/username/projects/myproject/node_modules: + {} + Info 54 [16:02:18.000] Starting updateGraphWorker: Project: /user/username/projects/myproject/packages/A/tsconfig.json Info 55 [16:02:19.000] Finishing updateGraphWorker: Project: /user/username/projects/myproject/packages/A/tsconfig.json Version: 2 structureChanged: false structureIsReused:: Completely Elapsed:: *ms Info 56 [16:02:20.000] Different program with same set of files Info 57 [16:02:21.000] event: {"seq":0,"type":"event","event":"syntaxDiag","body":{"file":"/user/username/projects/myproject/packages/A/src/test.ts","diagnostics":[]}} +After checking timeout queue length (1) and running + +PolledWatches:: +/user/username/projects/myproject/packages/a/node_modules: + {"pollingInterval":500} +/user/username/projects/myproject/packages/node_modules: + {"pollingInterval":500} +/user/username/projects/myproject/packages/a/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/myproject/packages/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/myproject/node_modules/@types: + {"pollingInterval":500} + +FsWatches:: +/user/username/projects/myproject/packages/a/tsconfig.json: + {} +/user/username/projects/myproject/packages/b/tsconfig.json: + {} +/user/username/projects/myproject/packages/b/src/foo.ts: + {} +/user/username/projects/myproject/packages/b/src/bar/foo.ts: + {} +/a/lib/lib.d.ts: + {} +/user/username/projects/myproject/packages/b/package.json: + {} + +FsWatchesRecursive:: +/user/username/projects/myproject/packages/a/src: + {} +/user/username/projects/myproject/packages/b/src: + {} +/user/username/projects/myproject/node_modules: + {} + +Before running immediate callbacks and checking length (1) + +PolledWatches:: +/user/username/projects/myproject/packages/a/node_modules: + {"pollingInterval":500} +/user/username/projects/myproject/packages/node_modules: + {"pollingInterval":500} +/user/username/projects/myproject/packages/a/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/myproject/packages/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/myproject/node_modules/@types: + {"pollingInterval":500} + +FsWatches:: +/user/username/projects/myproject/packages/a/tsconfig.json: + {} +/user/username/projects/myproject/packages/b/tsconfig.json: + {} +/user/username/projects/myproject/packages/b/src/foo.ts: + {} +/user/username/projects/myproject/packages/b/src/bar/foo.ts: + {} +/a/lib/lib.d.ts: + {} +/user/username/projects/myproject/packages/b/package.json: + {} + +FsWatchesRecursive:: +/user/username/projects/myproject/packages/a/src: + {} +/user/username/projects/myproject/packages/b/src: + {} +/user/username/projects/myproject/node_modules: + {} + Info 58 [16:02:22.000] event: {"seq":0,"type":"event","event":"semanticDiag","body":{"file":"/user/username/projects/myproject/packages/A/src/test.ts","diagnostics":[]}} +Before running immediate callbacks and checking length (1) + +PolledWatches:: +/user/username/projects/myproject/packages/a/node_modules: + {"pollingInterval":500} +/user/username/projects/myproject/packages/node_modules: + {"pollingInterval":500} +/user/username/projects/myproject/packages/a/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/myproject/packages/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/myproject/node_modules/@types: + {"pollingInterval":500} + +FsWatches:: +/user/username/projects/myproject/packages/a/tsconfig.json: + {} +/user/username/projects/myproject/packages/b/tsconfig.json: + {} +/user/username/projects/myproject/packages/b/src/foo.ts: + {} +/user/username/projects/myproject/packages/b/src/bar/foo.ts: + {} +/a/lib/lib.d.ts: + {} +/user/username/projects/myproject/packages/b/package.json: + {} + +FsWatchesRecursive:: +/user/username/projects/myproject/packages/a/src: + {} +/user/username/projects/myproject/packages/b/src: + {} +/user/username/projects/myproject/node_modules: + {} + +Before running immediate callbacks and checking length (1) + +PolledWatches:: +/user/username/projects/myproject/packages/a/node_modules: + {"pollingInterval":500} +/user/username/projects/myproject/packages/node_modules: + {"pollingInterval":500} +/user/username/projects/myproject/packages/a/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/myproject/packages/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/myproject/node_modules/@types: + {"pollingInterval":500} + +FsWatches:: +/user/username/projects/myproject/packages/a/tsconfig.json: + {} +/user/username/projects/myproject/packages/b/tsconfig.json: + {} +/user/username/projects/myproject/packages/b/src/foo.ts: + {} +/user/username/projects/myproject/packages/b/src/bar/foo.ts: + {} +/a/lib/lib.d.ts: + {} +/user/username/projects/myproject/packages/b/package.json: + {} + +FsWatchesRecursive:: +/user/username/projects/myproject/packages/a/src: + {} +/user/username/projects/myproject/packages/b/src: + {} +/user/username/projects/myproject/node_modules: + {} + Info 59 [16:02:23.000] event: {"seq":0,"type":"event","event":"suggestionDiag","body":{"file":"/user/username/projects/myproject/packages/A/src/test.ts","diagnostics":[]}} Info 60 [16:02:24.000] event: - {"seq":0,"type":"event","event":"requestCompleted","body":{"request_seq":3}} \ No newline at end of file + {"seq":0,"type":"event","event":"requestCompleted","body":{"request_seq":3}} +Before running immediate callbacks and checking length (1) + +PolledWatches:: +/user/username/projects/myproject/packages/a/node_modules: + {"pollingInterval":500} +/user/username/projects/myproject/packages/node_modules: + {"pollingInterval":500} +/user/username/projects/myproject/packages/a/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/myproject/packages/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/myproject/node_modules/@types: + {"pollingInterval":500} + +FsWatches:: +/user/username/projects/myproject/packages/a/tsconfig.json: + {} +/user/username/projects/myproject/packages/b/tsconfig.json: + {} +/user/username/projects/myproject/packages/b/src/foo.ts: + {} +/user/username/projects/myproject/packages/b/src/bar/foo.ts: + {} +/a/lib/lib.d.ts: + {} +/user/username/projects/myproject/packages/b/package.json: + {} + +FsWatchesRecursive:: +/user/username/projects/myproject/packages/a/src: + {} +/user/username/projects/myproject/packages/b/src: + {} +/user/username/projects/myproject/node_modules: + {} diff --git a/tests/baselines/reference/tsserver/projectReferences/monorepo-like-with-symlinks-when-referencing-file-from-subFolder-with-scoped-package-and-solution-is-built.js b/tests/baselines/reference/tsserver/projectReferences/monorepo-like-with-symlinks-when-referencing-file-from-subFolder-with-scoped-package-and-solution-is-built.js index 0cd3171a9f151..4417484130d49 100644 --- a/tests/baselines/reference/tsserver/projectReferences/monorepo-like-with-symlinks-when-referencing-file-from-subFolder-with-scoped-package-and-solution-is-built.js +++ b/tests/baselines/reference/tsserver/projectReferences/monorepo-like-with-symlinks-when-referencing-file-from-subFolder-with-scoped-package-and-solution-is-built.js @@ -8,6 +8,7 @@ Info 1 [16:01:19.000] request: "file": "/user/username/projects/myproject/packages/A/src/test.ts" } } +Before request //// [/a/lib/lib.d.ts] /// interface Boolean {} @@ -287,6 +288,7 @@ Info 43 [16:02:03.000] ----------------------------------------------- Info 43 [16:02:04.000] Open files: Info 43 [16:02:05.000] FileName: /user/username/projects/myproject/packages/A/src/test.ts ProjectRootPath: undefined Info 43 [16:02:06.000] Projects: /user/username/projects/myproject/packages/A/tsconfig.json +After request PolledWatches:: /user/username/projects/myproject/packages/a/node_modules: @@ -338,6 +340,7 @@ Info 44 [16:02:08.000] request: "seq": 1, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/packages/a/node_modules: @@ -373,6 +376,7 @@ FsWatchesRecursive:: /user/username/projects/myproject/node_modules: {} +After request PolledWatches:: /user/username/projects/myproject/packages/a/node_modules: @@ -412,14 +416,230 @@ Info 45 [16:02:09.000] response: { "responseRequired": false } +Before checking timeout queue length (1) and running + +PolledWatches:: +/user/username/projects/myproject/packages/a/node_modules: + {"pollingInterval":500} +/user/username/projects/myproject/packages/node_modules: + {"pollingInterval":500} +/user/username/projects/myproject/packages/a/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/myproject/packages/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/myproject/node_modules/@types: + {"pollingInterval":500} + +FsWatches:: +/user/username/projects/myproject/packages/a/tsconfig.json: + {} +/user/username/projects/myproject/packages/b/tsconfig.json: + {} +/user/username/projects/myproject/packages/b/src/foo.ts: + {} +/user/username/projects/myproject/packages/b/src/bar/foo.ts: + {} +/a/lib/lib.d.ts: + {} +/user/username/projects/myproject/packages/b/package.json: + {} + +FsWatchesRecursive:: +/user/username/projects/myproject/packages/a/src: + {} +/user/username/projects/myproject/packages/b/src: + {} +/user/username/projects/myproject/node_modules: + {} + Info 46 [16:02:10.000] event: {"seq":0,"type":"event","event":"syntaxDiag","body":{"file":"/user/username/projects/myproject/packages/A/src/test.ts","diagnostics":[]}} +After checking timeout queue length (1) and running + +PolledWatches:: +/user/username/projects/myproject/packages/a/node_modules: + {"pollingInterval":500} +/user/username/projects/myproject/packages/node_modules: + {"pollingInterval":500} +/user/username/projects/myproject/packages/a/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/myproject/packages/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/myproject/node_modules/@types: + {"pollingInterval":500} + +FsWatches:: +/user/username/projects/myproject/packages/a/tsconfig.json: + {} +/user/username/projects/myproject/packages/b/tsconfig.json: + {} +/user/username/projects/myproject/packages/b/src/foo.ts: + {} +/user/username/projects/myproject/packages/b/src/bar/foo.ts: + {} +/a/lib/lib.d.ts: + {} +/user/username/projects/myproject/packages/b/package.json: + {} + +FsWatchesRecursive:: +/user/username/projects/myproject/packages/a/src: + {} +/user/username/projects/myproject/packages/b/src: + {} +/user/username/projects/myproject/node_modules: + {} + +Before running immediate callbacks and checking length (1) + +PolledWatches:: +/user/username/projects/myproject/packages/a/node_modules: + {"pollingInterval":500} +/user/username/projects/myproject/packages/node_modules: + {"pollingInterval":500} +/user/username/projects/myproject/packages/a/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/myproject/packages/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/myproject/node_modules/@types: + {"pollingInterval":500} + +FsWatches:: +/user/username/projects/myproject/packages/a/tsconfig.json: + {} +/user/username/projects/myproject/packages/b/tsconfig.json: + {} +/user/username/projects/myproject/packages/b/src/foo.ts: + {} +/user/username/projects/myproject/packages/b/src/bar/foo.ts: + {} +/a/lib/lib.d.ts: + {} +/user/username/projects/myproject/packages/b/package.json: + {} + +FsWatchesRecursive:: +/user/username/projects/myproject/packages/a/src: + {} +/user/username/projects/myproject/packages/b/src: + {} +/user/username/projects/myproject/node_modules: + {} + Info 47 [16:02:11.000] event: {"seq":0,"type":"event","event":"semanticDiag","body":{"file":"/user/username/projects/myproject/packages/A/src/test.ts","diagnostics":[]}} +Before running immediate callbacks and checking length (1) + +PolledWatches:: +/user/username/projects/myproject/packages/a/node_modules: + {"pollingInterval":500} +/user/username/projects/myproject/packages/node_modules: + {"pollingInterval":500} +/user/username/projects/myproject/packages/a/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/myproject/packages/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/myproject/node_modules/@types: + {"pollingInterval":500} + +FsWatches:: +/user/username/projects/myproject/packages/a/tsconfig.json: + {} +/user/username/projects/myproject/packages/b/tsconfig.json: + {} +/user/username/projects/myproject/packages/b/src/foo.ts: + {} +/user/username/projects/myproject/packages/b/src/bar/foo.ts: + {} +/a/lib/lib.d.ts: + {} +/user/username/projects/myproject/packages/b/package.json: + {} + +FsWatchesRecursive:: +/user/username/projects/myproject/packages/a/src: + {} +/user/username/projects/myproject/packages/b/src: + {} +/user/username/projects/myproject/node_modules: + {} + +Before running immediate callbacks and checking length (1) + +PolledWatches:: +/user/username/projects/myproject/packages/a/node_modules: + {"pollingInterval":500} +/user/username/projects/myproject/packages/node_modules: + {"pollingInterval":500} +/user/username/projects/myproject/packages/a/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/myproject/packages/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/myproject/node_modules/@types: + {"pollingInterval":500} + +FsWatches:: +/user/username/projects/myproject/packages/a/tsconfig.json: + {} +/user/username/projects/myproject/packages/b/tsconfig.json: + {} +/user/username/projects/myproject/packages/b/src/foo.ts: + {} +/user/username/projects/myproject/packages/b/src/bar/foo.ts: + {} +/a/lib/lib.d.ts: + {} +/user/username/projects/myproject/packages/b/package.json: + {} + +FsWatchesRecursive:: +/user/username/projects/myproject/packages/a/src: + {} +/user/username/projects/myproject/packages/b/src: + {} +/user/username/projects/myproject/node_modules: + {} + Info 48 [16:02:12.000] event: {"seq":0,"type":"event","event":"suggestionDiag","body":{"file":"/user/username/projects/myproject/packages/A/src/test.ts","diagnostics":[]}} Info 49 [16:02:13.000] event: {"seq":0,"type":"event","event":"requestCompleted","body":{"request_seq":1}} +Before running immediate callbacks and checking length (1) + +PolledWatches:: +/user/username/projects/myproject/packages/a/node_modules: + {"pollingInterval":500} +/user/username/projects/myproject/packages/node_modules: + {"pollingInterval":500} +/user/username/projects/myproject/packages/a/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/myproject/packages/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/myproject/node_modules/@types: + {"pollingInterval":500} + +FsWatches:: +/user/username/projects/myproject/packages/a/tsconfig.json: + {} +/user/username/projects/myproject/packages/b/tsconfig.json: + {} +/user/username/projects/myproject/packages/b/src/foo.ts: + {} +/user/username/projects/myproject/packages/b/src/bar/foo.ts: + {} +/a/lib/lib.d.ts: + {} +/user/username/projects/myproject/packages/b/package.json: + {} + +FsWatchesRecursive:: +/user/username/projects/myproject/packages/a/src: + {} +/user/username/projects/myproject/packages/b/src: + {} +/user/username/projects/myproject/node_modules: + {} + Info 50 [16:02:14.000] request: { "command": "updateOpen", @@ -446,6 +666,7 @@ Info 50 [16:02:14.000] request: "seq": 2, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/packages/a/node_modules: @@ -481,6 +702,7 @@ FsWatchesRecursive:: /user/username/projects/myproject/node_modules: {} +After request PolledWatches:: /user/username/projects/myproject/packages/a/node_modules: @@ -533,6 +755,7 @@ Info 52 [16:02:16.000] request: "seq": 3, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/packages/a/node_modules: @@ -568,6 +791,7 @@ FsWatchesRecursive:: /user/username/projects/myproject/node_modules: {} +After request PolledWatches:: /user/username/projects/myproject/packages/a/node_modules: @@ -607,14 +831,229 @@ Info 53 [16:02:17.000] response: { "responseRequired": false } +Before checking timeout queue length (1) and running + +PolledWatches:: +/user/username/projects/myproject/packages/a/node_modules: + {"pollingInterval":500} +/user/username/projects/myproject/packages/node_modules: + {"pollingInterval":500} +/user/username/projects/myproject/packages/a/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/myproject/packages/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/myproject/node_modules/@types: + {"pollingInterval":500} + +FsWatches:: +/user/username/projects/myproject/packages/a/tsconfig.json: + {} +/user/username/projects/myproject/packages/b/tsconfig.json: + {} +/user/username/projects/myproject/packages/b/src/foo.ts: + {} +/user/username/projects/myproject/packages/b/src/bar/foo.ts: + {} +/a/lib/lib.d.ts: + {} +/user/username/projects/myproject/packages/b/package.json: + {} + +FsWatchesRecursive:: +/user/username/projects/myproject/packages/a/src: + {} +/user/username/projects/myproject/packages/b/src: + {} +/user/username/projects/myproject/node_modules: + {} + Info 54 [16:02:18.000] Starting updateGraphWorker: Project: /user/username/projects/myproject/packages/A/tsconfig.json Info 55 [16:02:19.000] Finishing updateGraphWorker: Project: /user/username/projects/myproject/packages/A/tsconfig.json Version: 2 structureChanged: false structureIsReused:: Completely Elapsed:: *ms Info 56 [16:02:20.000] Different program with same set of files Info 57 [16:02:21.000] event: {"seq":0,"type":"event","event":"syntaxDiag","body":{"file":"/user/username/projects/myproject/packages/A/src/test.ts","diagnostics":[]}} +After checking timeout queue length (1) and running + +PolledWatches:: +/user/username/projects/myproject/packages/a/node_modules: + {"pollingInterval":500} +/user/username/projects/myproject/packages/node_modules: + {"pollingInterval":500} +/user/username/projects/myproject/packages/a/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/myproject/packages/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/myproject/node_modules/@types: + {"pollingInterval":500} + +FsWatches:: +/user/username/projects/myproject/packages/a/tsconfig.json: + {} +/user/username/projects/myproject/packages/b/tsconfig.json: + {} +/user/username/projects/myproject/packages/b/src/foo.ts: + {} +/user/username/projects/myproject/packages/b/src/bar/foo.ts: + {} +/a/lib/lib.d.ts: + {} +/user/username/projects/myproject/packages/b/package.json: + {} + +FsWatchesRecursive:: +/user/username/projects/myproject/packages/a/src: + {} +/user/username/projects/myproject/packages/b/src: + {} +/user/username/projects/myproject/node_modules: + {} + +Before running immediate callbacks and checking length (1) + +PolledWatches:: +/user/username/projects/myproject/packages/a/node_modules: + {"pollingInterval":500} +/user/username/projects/myproject/packages/node_modules: + {"pollingInterval":500} +/user/username/projects/myproject/packages/a/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/myproject/packages/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/myproject/node_modules/@types: + {"pollingInterval":500} + +FsWatches:: +/user/username/projects/myproject/packages/a/tsconfig.json: + {} +/user/username/projects/myproject/packages/b/tsconfig.json: + {} +/user/username/projects/myproject/packages/b/src/foo.ts: + {} +/user/username/projects/myproject/packages/b/src/bar/foo.ts: + {} +/a/lib/lib.d.ts: + {} +/user/username/projects/myproject/packages/b/package.json: + {} + +FsWatchesRecursive:: +/user/username/projects/myproject/packages/a/src: + {} +/user/username/projects/myproject/packages/b/src: + {} +/user/username/projects/myproject/node_modules: + {} + Info 58 [16:02:22.000] event: {"seq":0,"type":"event","event":"semanticDiag","body":{"file":"/user/username/projects/myproject/packages/A/src/test.ts","diagnostics":[]}} +Before running immediate callbacks and checking length (1) + +PolledWatches:: +/user/username/projects/myproject/packages/a/node_modules: + {"pollingInterval":500} +/user/username/projects/myproject/packages/node_modules: + {"pollingInterval":500} +/user/username/projects/myproject/packages/a/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/myproject/packages/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/myproject/node_modules/@types: + {"pollingInterval":500} + +FsWatches:: +/user/username/projects/myproject/packages/a/tsconfig.json: + {} +/user/username/projects/myproject/packages/b/tsconfig.json: + {} +/user/username/projects/myproject/packages/b/src/foo.ts: + {} +/user/username/projects/myproject/packages/b/src/bar/foo.ts: + {} +/a/lib/lib.d.ts: + {} +/user/username/projects/myproject/packages/b/package.json: + {} + +FsWatchesRecursive:: +/user/username/projects/myproject/packages/a/src: + {} +/user/username/projects/myproject/packages/b/src: + {} +/user/username/projects/myproject/node_modules: + {} + +Before running immediate callbacks and checking length (1) + +PolledWatches:: +/user/username/projects/myproject/packages/a/node_modules: + {"pollingInterval":500} +/user/username/projects/myproject/packages/node_modules: + {"pollingInterval":500} +/user/username/projects/myproject/packages/a/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/myproject/packages/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/myproject/node_modules/@types: + {"pollingInterval":500} + +FsWatches:: +/user/username/projects/myproject/packages/a/tsconfig.json: + {} +/user/username/projects/myproject/packages/b/tsconfig.json: + {} +/user/username/projects/myproject/packages/b/src/foo.ts: + {} +/user/username/projects/myproject/packages/b/src/bar/foo.ts: + {} +/a/lib/lib.d.ts: + {} +/user/username/projects/myproject/packages/b/package.json: + {} + +FsWatchesRecursive:: +/user/username/projects/myproject/packages/a/src: + {} +/user/username/projects/myproject/packages/b/src: + {} +/user/username/projects/myproject/node_modules: + {} + Info 59 [16:02:23.000] event: {"seq":0,"type":"event","event":"suggestionDiag","body":{"file":"/user/username/projects/myproject/packages/A/src/test.ts","diagnostics":[]}} Info 60 [16:02:24.000] event: - {"seq":0,"type":"event","event":"requestCompleted","body":{"request_seq":3}} \ No newline at end of file + {"seq":0,"type":"event","event":"requestCompleted","body":{"request_seq":3}} +Before running immediate callbacks and checking length (1) + +PolledWatches:: +/user/username/projects/myproject/packages/a/node_modules: + {"pollingInterval":500} +/user/username/projects/myproject/packages/node_modules: + {"pollingInterval":500} +/user/username/projects/myproject/packages/a/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/myproject/packages/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/myproject/node_modules/@types: + {"pollingInterval":500} + +FsWatches:: +/user/username/projects/myproject/packages/a/tsconfig.json: + {} +/user/username/projects/myproject/packages/b/tsconfig.json: + {} +/user/username/projects/myproject/packages/b/src/foo.ts: + {} +/user/username/projects/myproject/packages/b/src/bar/foo.ts: + {} +/a/lib/lib.d.ts: + {} +/user/username/projects/myproject/packages/b/package.json: + {} + +FsWatchesRecursive:: +/user/username/projects/myproject/packages/a/src: + {} +/user/username/projects/myproject/packages/b/src: + {} +/user/username/projects/myproject/node_modules: + {} diff --git a/tests/baselines/reference/tsserver/projectReferences/monorepo-like-with-symlinks-when-referencing-file-from-subFolder-with-scoped-package-and-solution-is-not-built-with-preserveSymlinks.js b/tests/baselines/reference/tsserver/projectReferences/monorepo-like-with-symlinks-when-referencing-file-from-subFolder-with-scoped-package-and-solution-is-not-built-with-preserveSymlinks.js index d400762c243d5..532f55d9ddb45 100644 --- a/tests/baselines/reference/tsserver/projectReferences/monorepo-like-with-symlinks-when-referencing-file-from-subFolder-with-scoped-package-and-solution-is-not-built-with-preserveSymlinks.js +++ b/tests/baselines/reference/tsserver/projectReferences/monorepo-like-with-symlinks-when-referencing-file-from-subFolder-with-scoped-package-and-solution-is-not-built-with-preserveSymlinks.js @@ -8,6 +8,7 @@ Info 1 [16:00:48.000] request: "file": "/user/username/projects/myproject/packages/A/src/test.ts" } } +Before request //// [/a/lib/lib.d.ts] /// interface Boolean {} @@ -147,6 +148,7 @@ Info 43 [16:01:32.000] ----------------------------------------------- Info 43 [16:01:33.000] Open files: Info 43 [16:01:34.000] FileName: /user/username/projects/myproject/packages/A/src/test.ts ProjectRootPath: undefined Info 43 [16:01:35.000] Projects: /user/username/projects/myproject/packages/A/tsconfig.json +After request PolledWatches:: /user/username/projects/myproject/packages/a/node_modules: @@ -198,6 +200,7 @@ Info 44 [16:01:37.000] request: "seq": 1, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/packages/a/node_modules: @@ -233,6 +236,7 @@ FsWatchesRecursive:: /user/username/projects/myproject/node_modules: {} +After request PolledWatches:: /user/username/projects/myproject/packages/a/node_modules: @@ -272,14 +276,230 @@ Info 45 [16:01:38.000] response: { "responseRequired": false } +Before checking timeout queue length (1) and running + +PolledWatches:: +/user/username/projects/myproject/packages/a/node_modules: + {"pollingInterval":500} +/user/username/projects/myproject/packages/node_modules: + {"pollingInterval":500} +/user/username/projects/myproject/packages/a/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/myproject/packages/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/myproject/node_modules/@types: + {"pollingInterval":500} + +FsWatches:: +/user/username/projects/myproject/packages/a/tsconfig.json: + {} +/user/username/projects/myproject/packages/b/tsconfig.json: + {} +/user/username/projects/myproject/packages/b/src/foo.ts: + {} +/user/username/projects/myproject/packages/b/src/bar/foo.ts: + {} +/a/lib/lib.d.ts: + {} +/user/username/projects/myproject/packages/b/package.json: + {} + +FsWatchesRecursive:: +/user/username/projects/myproject/packages/a/src: + {} +/user/username/projects/myproject/packages/b/src: + {} +/user/username/projects/myproject/node_modules: + {} + Info 46 [16:01:39.000] event: {"seq":0,"type":"event","event":"syntaxDiag","body":{"file":"/user/username/projects/myproject/packages/A/src/test.ts","diagnostics":[]}} +After checking timeout queue length (1) and running + +PolledWatches:: +/user/username/projects/myproject/packages/a/node_modules: + {"pollingInterval":500} +/user/username/projects/myproject/packages/node_modules: + {"pollingInterval":500} +/user/username/projects/myproject/packages/a/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/myproject/packages/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/myproject/node_modules/@types: + {"pollingInterval":500} + +FsWatches:: +/user/username/projects/myproject/packages/a/tsconfig.json: + {} +/user/username/projects/myproject/packages/b/tsconfig.json: + {} +/user/username/projects/myproject/packages/b/src/foo.ts: + {} +/user/username/projects/myproject/packages/b/src/bar/foo.ts: + {} +/a/lib/lib.d.ts: + {} +/user/username/projects/myproject/packages/b/package.json: + {} + +FsWatchesRecursive:: +/user/username/projects/myproject/packages/a/src: + {} +/user/username/projects/myproject/packages/b/src: + {} +/user/username/projects/myproject/node_modules: + {} + +Before running immediate callbacks and checking length (1) + +PolledWatches:: +/user/username/projects/myproject/packages/a/node_modules: + {"pollingInterval":500} +/user/username/projects/myproject/packages/node_modules: + {"pollingInterval":500} +/user/username/projects/myproject/packages/a/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/myproject/packages/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/myproject/node_modules/@types: + {"pollingInterval":500} + +FsWatches:: +/user/username/projects/myproject/packages/a/tsconfig.json: + {} +/user/username/projects/myproject/packages/b/tsconfig.json: + {} +/user/username/projects/myproject/packages/b/src/foo.ts: + {} +/user/username/projects/myproject/packages/b/src/bar/foo.ts: + {} +/a/lib/lib.d.ts: + {} +/user/username/projects/myproject/packages/b/package.json: + {} + +FsWatchesRecursive:: +/user/username/projects/myproject/packages/a/src: + {} +/user/username/projects/myproject/packages/b/src: + {} +/user/username/projects/myproject/node_modules: + {} + Info 47 [16:01:40.000] event: {"seq":0,"type":"event","event":"semanticDiag","body":{"file":"/user/username/projects/myproject/packages/A/src/test.ts","diagnostics":[]}} +Before running immediate callbacks and checking length (1) + +PolledWatches:: +/user/username/projects/myproject/packages/a/node_modules: + {"pollingInterval":500} +/user/username/projects/myproject/packages/node_modules: + {"pollingInterval":500} +/user/username/projects/myproject/packages/a/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/myproject/packages/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/myproject/node_modules/@types: + {"pollingInterval":500} + +FsWatches:: +/user/username/projects/myproject/packages/a/tsconfig.json: + {} +/user/username/projects/myproject/packages/b/tsconfig.json: + {} +/user/username/projects/myproject/packages/b/src/foo.ts: + {} +/user/username/projects/myproject/packages/b/src/bar/foo.ts: + {} +/a/lib/lib.d.ts: + {} +/user/username/projects/myproject/packages/b/package.json: + {} + +FsWatchesRecursive:: +/user/username/projects/myproject/packages/a/src: + {} +/user/username/projects/myproject/packages/b/src: + {} +/user/username/projects/myproject/node_modules: + {} + +Before running immediate callbacks and checking length (1) + +PolledWatches:: +/user/username/projects/myproject/packages/a/node_modules: + {"pollingInterval":500} +/user/username/projects/myproject/packages/node_modules: + {"pollingInterval":500} +/user/username/projects/myproject/packages/a/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/myproject/packages/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/myproject/node_modules/@types: + {"pollingInterval":500} + +FsWatches:: +/user/username/projects/myproject/packages/a/tsconfig.json: + {} +/user/username/projects/myproject/packages/b/tsconfig.json: + {} +/user/username/projects/myproject/packages/b/src/foo.ts: + {} +/user/username/projects/myproject/packages/b/src/bar/foo.ts: + {} +/a/lib/lib.d.ts: + {} +/user/username/projects/myproject/packages/b/package.json: + {} + +FsWatchesRecursive:: +/user/username/projects/myproject/packages/a/src: + {} +/user/username/projects/myproject/packages/b/src: + {} +/user/username/projects/myproject/node_modules: + {} + Info 48 [16:01:41.000] event: {"seq":0,"type":"event","event":"suggestionDiag","body":{"file":"/user/username/projects/myproject/packages/A/src/test.ts","diagnostics":[]}} Info 49 [16:01:42.000] event: {"seq":0,"type":"event","event":"requestCompleted","body":{"request_seq":1}} +Before running immediate callbacks and checking length (1) + +PolledWatches:: +/user/username/projects/myproject/packages/a/node_modules: + {"pollingInterval":500} +/user/username/projects/myproject/packages/node_modules: + {"pollingInterval":500} +/user/username/projects/myproject/packages/a/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/myproject/packages/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/myproject/node_modules/@types: + {"pollingInterval":500} + +FsWatches:: +/user/username/projects/myproject/packages/a/tsconfig.json: + {} +/user/username/projects/myproject/packages/b/tsconfig.json: + {} +/user/username/projects/myproject/packages/b/src/foo.ts: + {} +/user/username/projects/myproject/packages/b/src/bar/foo.ts: + {} +/a/lib/lib.d.ts: + {} +/user/username/projects/myproject/packages/b/package.json: + {} + +FsWatchesRecursive:: +/user/username/projects/myproject/packages/a/src: + {} +/user/username/projects/myproject/packages/b/src: + {} +/user/username/projects/myproject/node_modules: + {} + Info 50 [16:01:43.000] request: { "command": "updateOpen", @@ -306,6 +526,7 @@ Info 50 [16:01:43.000] request: "seq": 2, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/packages/a/node_modules: @@ -341,6 +562,7 @@ FsWatchesRecursive:: /user/username/projects/myproject/node_modules: {} +After request PolledWatches:: /user/username/projects/myproject/packages/a/node_modules: @@ -393,6 +615,7 @@ Info 52 [16:01:45.000] request: "seq": 3, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/packages/a/node_modules: @@ -428,6 +651,7 @@ FsWatchesRecursive:: /user/username/projects/myproject/node_modules: {} +After request PolledWatches:: /user/username/projects/myproject/packages/a/node_modules: @@ -467,14 +691,229 @@ Info 53 [16:01:46.000] response: { "responseRequired": false } +Before checking timeout queue length (1) and running + +PolledWatches:: +/user/username/projects/myproject/packages/a/node_modules: + {"pollingInterval":500} +/user/username/projects/myproject/packages/node_modules: + {"pollingInterval":500} +/user/username/projects/myproject/packages/a/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/myproject/packages/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/myproject/node_modules/@types: + {"pollingInterval":500} + +FsWatches:: +/user/username/projects/myproject/packages/a/tsconfig.json: + {} +/user/username/projects/myproject/packages/b/tsconfig.json: + {} +/user/username/projects/myproject/packages/b/src/foo.ts: + {} +/user/username/projects/myproject/packages/b/src/bar/foo.ts: + {} +/a/lib/lib.d.ts: + {} +/user/username/projects/myproject/packages/b/package.json: + {} + +FsWatchesRecursive:: +/user/username/projects/myproject/packages/a/src: + {} +/user/username/projects/myproject/packages/b/src: + {} +/user/username/projects/myproject/node_modules: + {} + Info 54 [16:01:47.000] Starting updateGraphWorker: Project: /user/username/projects/myproject/packages/A/tsconfig.json Info 55 [16:01:48.000] Finishing updateGraphWorker: Project: /user/username/projects/myproject/packages/A/tsconfig.json Version: 2 structureChanged: false structureIsReused:: Completely Elapsed:: *ms Info 56 [16:01:49.000] Different program with same set of files Info 57 [16:01:50.000] event: {"seq":0,"type":"event","event":"syntaxDiag","body":{"file":"/user/username/projects/myproject/packages/A/src/test.ts","diagnostics":[]}} +After checking timeout queue length (1) and running + +PolledWatches:: +/user/username/projects/myproject/packages/a/node_modules: + {"pollingInterval":500} +/user/username/projects/myproject/packages/node_modules: + {"pollingInterval":500} +/user/username/projects/myproject/packages/a/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/myproject/packages/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/myproject/node_modules/@types: + {"pollingInterval":500} + +FsWatches:: +/user/username/projects/myproject/packages/a/tsconfig.json: + {} +/user/username/projects/myproject/packages/b/tsconfig.json: + {} +/user/username/projects/myproject/packages/b/src/foo.ts: + {} +/user/username/projects/myproject/packages/b/src/bar/foo.ts: + {} +/a/lib/lib.d.ts: + {} +/user/username/projects/myproject/packages/b/package.json: + {} + +FsWatchesRecursive:: +/user/username/projects/myproject/packages/a/src: + {} +/user/username/projects/myproject/packages/b/src: + {} +/user/username/projects/myproject/node_modules: + {} + +Before running immediate callbacks and checking length (1) + +PolledWatches:: +/user/username/projects/myproject/packages/a/node_modules: + {"pollingInterval":500} +/user/username/projects/myproject/packages/node_modules: + {"pollingInterval":500} +/user/username/projects/myproject/packages/a/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/myproject/packages/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/myproject/node_modules/@types: + {"pollingInterval":500} + +FsWatches:: +/user/username/projects/myproject/packages/a/tsconfig.json: + {} +/user/username/projects/myproject/packages/b/tsconfig.json: + {} +/user/username/projects/myproject/packages/b/src/foo.ts: + {} +/user/username/projects/myproject/packages/b/src/bar/foo.ts: + {} +/a/lib/lib.d.ts: + {} +/user/username/projects/myproject/packages/b/package.json: + {} + +FsWatchesRecursive:: +/user/username/projects/myproject/packages/a/src: + {} +/user/username/projects/myproject/packages/b/src: + {} +/user/username/projects/myproject/node_modules: + {} + Info 58 [16:01:51.000] event: {"seq":0,"type":"event","event":"semanticDiag","body":{"file":"/user/username/projects/myproject/packages/A/src/test.ts","diagnostics":[]}} +Before running immediate callbacks and checking length (1) + +PolledWatches:: +/user/username/projects/myproject/packages/a/node_modules: + {"pollingInterval":500} +/user/username/projects/myproject/packages/node_modules: + {"pollingInterval":500} +/user/username/projects/myproject/packages/a/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/myproject/packages/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/myproject/node_modules/@types: + {"pollingInterval":500} + +FsWatches:: +/user/username/projects/myproject/packages/a/tsconfig.json: + {} +/user/username/projects/myproject/packages/b/tsconfig.json: + {} +/user/username/projects/myproject/packages/b/src/foo.ts: + {} +/user/username/projects/myproject/packages/b/src/bar/foo.ts: + {} +/a/lib/lib.d.ts: + {} +/user/username/projects/myproject/packages/b/package.json: + {} + +FsWatchesRecursive:: +/user/username/projects/myproject/packages/a/src: + {} +/user/username/projects/myproject/packages/b/src: + {} +/user/username/projects/myproject/node_modules: + {} + +Before running immediate callbacks and checking length (1) + +PolledWatches:: +/user/username/projects/myproject/packages/a/node_modules: + {"pollingInterval":500} +/user/username/projects/myproject/packages/node_modules: + {"pollingInterval":500} +/user/username/projects/myproject/packages/a/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/myproject/packages/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/myproject/node_modules/@types: + {"pollingInterval":500} + +FsWatches:: +/user/username/projects/myproject/packages/a/tsconfig.json: + {} +/user/username/projects/myproject/packages/b/tsconfig.json: + {} +/user/username/projects/myproject/packages/b/src/foo.ts: + {} +/user/username/projects/myproject/packages/b/src/bar/foo.ts: + {} +/a/lib/lib.d.ts: + {} +/user/username/projects/myproject/packages/b/package.json: + {} + +FsWatchesRecursive:: +/user/username/projects/myproject/packages/a/src: + {} +/user/username/projects/myproject/packages/b/src: + {} +/user/username/projects/myproject/node_modules: + {} + Info 59 [16:01:52.000] event: {"seq":0,"type":"event","event":"suggestionDiag","body":{"file":"/user/username/projects/myproject/packages/A/src/test.ts","diagnostics":[]}} Info 60 [16:01:53.000] event: - {"seq":0,"type":"event","event":"requestCompleted","body":{"request_seq":3}} \ No newline at end of file + {"seq":0,"type":"event","event":"requestCompleted","body":{"request_seq":3}} +Before running immediate callbacks and checking length (1) + +PolledWatches:: +/user/username/projects/myproject/packages/a/node_modules: + {"pollingInterval":500} +/user/username/projects/myproject/packages/node_modules: + {"pollingInterval":500} +/user/username/projects/myproject/packages/a/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/myproject/packages/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/myproject/node_modules/@types: + {"pollingInterval":500} + +FsWatches:: +/user/username/projects/myproject/packages/a/tsconfig.json: + {} +/user/username/projects/myproject/packages/b/tsconfig.json: + {} +/user/username/projects/myproject/packages/b/src/foo.ts: + {} +/user/username/projects/myproject/packages/b/src/bar/foo.ts: + {} +/a/lib/lib.d.ts: + {} +/user/username/projects/myproject/packages/b/package.json: + {} + +FsWatchesRecursive:: +/user/username/projects/myproject/packages/a/src: + {} +/user/username/projects/myproject/packages/b/src: + {} +/user/username/projects/myproject/node_modules: + {} diff --git a/tests/baselines/reference/tsserver/projectReferences/monorepo-like-with-symlinks-when-referencing-file-from-subFolder-with-scoped-package-and-solution-is-not-built.js b/tests/baselines/reference/tsserver/projectReferences/monorepo-like-with-symlinks-when-referencing-file-from-subFolder-with-scoped-package-and-solution-is-not-built.js index 8429fadf66795..b7751823b94ba 100644 --- a/tests/baselines/reference/tsserver/projectReferences/monorepo-like-with-symlinks-when-referencing-file-from-subFolder-with-scoped-package-and-solution-is-not-built.js +++ b/tests/baselines/reference/tsserver/projectReferences/monorepo-like-with-symlinks-when-referencing-file-from-subFolder-with-scoped-package-and-solution-is-not-built.js @@ -8,6 +8,7 @@ Info 1 [16:00:48.000] request: "file": "/user/username/projects/myproject/packages/A/src/test.ts" } } +Before request //// [/a/lib/lib.d.ts] /// interface Boolean {} @@ -145,6 +146,7 @@ Info 43 [16:01:32.000] ----------------------------------------------- Info 43 [16:01:33.000] Open files: Info 43 [16:01:34.000] FileName: /user/username/projects/myproject/packages/A/src/test.ts ProjectRootPath: undefined Info 43 [16:01:35.000] Projects: /user/username/projects/myproject/packages/A/tsconfig.json +After request PolledWatches:: /user/username/projects/myproject/packages/a/node_modules: @@ -196,6 +198,7 @@ Info 44 [16:01:37.000] request: "seq": 1, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/packages/a/node_modules: @@ -231,6 +234,7 @@ FsWatchesRecursive:: /user/username/projects/myproject/node_modules: {} +After request PolledWatches:: /user/username/projects/myproject/packages/a/node_modules: @@ -270,14 +274,230 @@ Info 45 [16:01:38.000] response: { "responseRequired": false } +Before checking timeout queue length (1) and running + +PolledWatches:: +/user/username/projects/myproject/packages/a/node_modules: + {"pollingInterval":500} +/user/username/projects/myproject/packages/node_modules: + {"pollingInterval":500} +/user/username/projects/myproject/packages/a/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/myproject/packages/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/myproject/node_modules/@types: + {"pollingInterval":500} + +FsWatches:: +/user/username/projects/myproject/packages/a/tsconfig.json: + {} +/user/username/projects/myproject/packages/b/tsconfig.json: + {} +/user/username/projects/myproject/packages/b/src/foo.ts: + {} +/user/username/projects/myproject/packages/b/src/bar/foo.ts: + {} +/a/lib/lib.d.ts: + {} +/user/username/projects/myproject/packages/b/package.json: + {} + +FsWatchesRecursive:: +/user/username/projects/myproject/packages/a/src: + {} +/user/username/projects/myproject/packages/b/src: + {} +/user/username/projects/myproject/node_modules: + {} + Info 46 [16:01:39.000] event: {"seq":0,"type":"event","event":"syntaxDiag","body":{"file":"/user/username/projects/myproject/packages/A/src/test.ts","diagnostics":[]}} +After checking timeout queue length (1) and running + +PolledWatches:: +/user/username/projects/myproject/packages/a/node_modules: + {"pollingInterval":500} +/user/username/projects/myproject/packages/node_modules: + {"pollingInterval":500} +/user/username/projects/myproject/packages/a/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/myproject/packages/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/myproject/node_modules/@types: + {"pollingInterval":500} + +FsWatches:: +/user/username/projects/myproject/packages/a/tsconfig.json: + {} +/user/username/projects/myproject/packages/b/tsconfig.json: + {} +/user/username/projects/myproject/packages/b/src/foo.ts: + {} +/user/username/projects/myproject/packages/b/src/bar/foo.ts: + {} +/a/lib/lib.d.ts: + {} +/user/username/projects/myproject/packages/b/package.json: + {} + +FsWatchesRecursive:: +/user/username/projects/myproject/packages/a/src: + {} +/user/username/projects/myproject/packages/b/src: + {} +/user/username/projects/myproject/node_modules: + {} + +Before running immediate callbacks and checking length (1) + +PolledWatches:: +/user/username/projects/myproject/packages/a/node_modules: + {"pollingInterval":500} +/user/username/projects/myproject/packages/node_modules: + {"pollingInterval":500} +/user/username/projects/myproject/packages/a/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/myproject/packages/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/myproject/node_modules/@types: + {"pollingInterval":500} + +FsWatches:: +/user/username/projects/myproject/packages/a/tsconfig.json: + {} +/user/username/projects/myproject/packages/b/tsconfig.json: + {} +/user/username/projects/myproject/packages/b/src/foo.ts: + {} +/user/username/projects/myproject/packages/b/src/bar/foo.ts: + {} +/a/lib/lib.d.ts: + {} +/user/username/projects/myproject/packages/b/package.json: + {} + +FsWatchesRecursive:: +/user/username/projects/myproject/packages/a/src: + {} +/user/username/projects/myproject/packages/b/src: + {} +/user/username/projects/myproject/node_modules: + {} + Info 47 [16:01:40.000] event: {"seq":0,"type":"event","event":"semanticDiag","body":{"file":"/user/username/projects/myproject/packages/A/src/test.ts","diagnostics":[]}} +Before running immediate callbacks and checking length (1) + +PolledWatches:: +/user/username/projects/myproject/packages/a/node_modules: + {"pollingInterval":500} +/user/username/projects/myproject/packages/node_modules: + {"pollingInterval":500} +/user/username/projects/myproject/packages/a/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/myproject/packages/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/myproject/node_modules/@types: + {"pollingInterval":500} + +FsWatches:: +/user/username/projects/myproject/packages/a/tsconfig.json: + {} +/user/username/projects/myproject/packages/b/tsconfig.json: + {} +/user/username/projects/myproject/packages/b/src/foo.ts: + {} +/user/username/projects/myproject/packages/b/src/bar/foo.ts: + {} +/a/lib/lib.d.ts: + {} +/user/username/projects/myproject/packages/b/package.json: + {} + +FsWatchesRecursive:: +/user/username/projects/myproject/packages/a/src: + {} +/user/username/projects/myproject/packages/b/src: + {} +/user/username/projects/myproject/node_modules: + {} + +Before running immediate callbacks and checking length (1) + +PolledWatches:: +/user/username/projects/myproject/packages/a/node_modules: + {"pollingInterval":500} +/user/username/projects/myproject/packages/node_modules: + {"pollingInterval":500} +/user/username/projects/myproject/packages/a/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/myproject/packages/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/myproject/node_modules/@types: + {"pollingInterval":500} + +FsWatches:: +/user/username/projects/myproject/packages/a/tsconfig.json: + {} +/user/username/projects/myproject/packages/b/tsconfig.json: + {} +/user/username/projects/myproject/packages/b/src/foo.ts: + {} +/user/username/projects/myproject/packages/b/src/bar/foo.ts: + {} +/a/lib/lib.d.ts: + {} +/user/username/projects/myproject/packages/b/package.json: + {} + +FsWatchesRecursive:: +/user/username/projects/myproject/packages/a/src: + {} +/user/username/projects/myproject/packages/b/src: + {} +/user/username/projects/myproject/node_modules: + {} + Info 48 [16:01:41.000] event: {"seq":0,"type":"event","event":"suggestionDiag","body":{"file":"/user/username/projects/myproject/packages/A/src/test.ts","diagnostics":[]}} Info 49 [16:01:42.000] event: {"seq":0,"type":"event","event":"requestCompleted","body":{"request_seq":1}} +Before running immediate callbacks and checking length (1) + +PolledWatches:: +/user/username/projects/myproject/packages/a/node_modules: + {"pollingInterval":500} +/user/username/projects/myproject/packages/node_modules: + {"pollingInterval":500} +/user/username/projects/myproject/packages/a/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/myproject/packages/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/myproject/node_modules/@types: + {"pollingInterval":500} + +FsWatches:: +/user/username/projects/myproject/packages/a/tsconfig.json: + {} +/user/username/projects/myproject/packages/b/tsconfig.json: + {} +/user/username/projects/myproject/packages/b/src/foo.ts: + {} +/user/username/projects/myproject/packages/b/src/bar/foo.ts: + {} +/a/lib/lib.d.ts: + {} +/user/username/projects/myproject/packages/b/package.json: + {} + +FsWatchesRecursive:: +/user/username/projects/myproject/packages/a/src: + {} +/user/username/projects/myproject/packages/b/src: + {} +/user/username/projects/myproject/node_modules: + {} + Info 50 [16:01:43.000] request: { "command": "updateOpen", @@ -304,6 +524,7 @@ Info 50 [16:01:43.000] request: "seq": 2, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/packages/a/node_modules: @@ -339,6 +560,7 @@ FsWatchesRecursive:: /user/username/projects/myproject/node_modules: {} +After request PolledWatches:: /user/username/projects/myproject/packages/a/node_modules: @@ -391,6 +613,7 @@ Info 52 [16:01:45.000] request: "seq": 3, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/packages/a/node_modules: @@ -426,6 +649,7 @@ FsWatchesRecursive:: /user/username/projects/myproject/node_modules: {} +After request PolledWatches:: /user/username/projects/myproject/packages/a/node_modules: @@ -465,14 +689,229 @@ Info 53 [16:01:46.000] response: { "responseRequired": false } +Before checking timeout queue length (1) and running + +PolledWatches:: +/user/username/projects/myproject/packages/a/node_modules: + {"pollingInterval":500} +/user/username/projects/myproject/packages/node_modules: + {"pollingInterval":500} +/user/username/projects/myproject/packages/a/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/myproject/packages/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/myproject/node_modules/@types: + {"pollingInterval":500} + +FsWatches:: +/user/username/projects/myproject/packages/a/tsconfig.json: + {} +/user/username/projects/myproject/packages/b/tsconfig.json: + {} +/user/username/projects/myproject/packages/b/src/foo.ts: + {} +/user/username/projects/myproject/packages/b/src/bar/foo.ts: + {} +/a/lib/lib.d.ts: + {} +/user/username/projects/myproject/packages/b/package.json: + {} + +FsWatchesRecursive:: +/user/username/projects/myproject/packages/a/src: + {} +/user/username/projects/myproject/packages/b/src: + {} +/user/username/projects/myproject/node_modules: + {} + Info 54 [16:01:47.000] Starting updateGraphWorker: Project: /user/username/projects/myproject/packages/A/tsconfig.json Info 55 [16:01:48.000] Finishing updateGraphWorker: Project: /user/username/projects/myproject/packages/A/tsconfig.json Version: 2 structureChanged: false structureIsReused:: Completely Elapsed:: *ms Info 56 [16:01:49.000] Different program with same set of files Info 57 [16:01:50.000] event: {"seq":0,"type":"event","event":"syntaxDiag","body":{"file":"/user/username/projects/myproject/packages/A/src/test.ts","diagnostics":[]}} +After checking timeout queue length (1) and running + +PolledWatches:: +/user/username/projects/myproject/packages/a/node_modules: + {"pollingInterval":500} +/user/username/projects/myproject/packages/node_modules: + {"pollingInterval":500} +/user/username/projects/myproject/packages/a/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/myproject/packages/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/myproject/node_modules/@types: + {"pollingInterval":500} + +FsWatches:: +/user/username/projects/myproject/packages/a/tsconfig.json: + {} +/user/username/projects/myproject/packages/b/tsconfig.json: + {} +/user/username/projects/myproject/packages/b/src/foo.ts: + {} +/user/username/projects/myproject/packages/b/src/bar/foo.ts: + {} +/a/lib/lib.d.ts: + {} +/user/username/projects/myproject/packages/b/package.json: + {} + +FsWatchesRecursive:: +/user/username/projects/myproject/packages/a/src: + {} +/user/username/projects/myproject/packages/b/src: + {} +/user/username/projects/myproject/node_modules: + {} + +Before running immediate callbacks and checking length (1) + +PolledWatches:: +/user/username/projects/myproject/packages/a/node_modules: + {"pollingInterval":500} +/user/username/projects/myproject/packages/node_modules: + {"pollingInterval":500} +/user/username/projects/myproject/packages/a/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/myproject/packages/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/myproject/node_modules/@types: + {"pollingInterval":500} + +FsWatches:: +/user/username/projects/myproject/packages/a/tsconfig.json: + {} +/user/username/projects/myproject/packages/b/tsconfig.json: + {} +/user/username/projects/myproject/packages/b/src/foo.ts: + {} +/user/username/projects/myproject/packages/b/src/bar/foo.ts: + {} +/a/lib/lib.d.ts: + {} +/user/username/projects/myproject/packages/b/package.json: + {} + +FsWatchesRecursive:: +/user/username/projects/myproject/packages/a/src: + {} +/user/username/projects/myproject/packages/b/src: + {} +/user/username/projects/myproject/node_modules: + {} + Info 58 [16:01:51.000] event: {"seq":0,"type":"event","event":"semanticDiag","body":{"file":"/user/username/projects/myproject/packages/A/src/test.ts","diagnostics":[]}} +Before running immediate callbacks and checking length (1) + +PolledWatches:: +/user/username/projects/myproject/packages/a/node_modules: + {"pollingInterval":500} +/user/username/projects/myproject/packages/node_modules: + {"pollingInterval":500} +/user/username/projects/myproject/packages/a/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/myproject/packages/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/myproject/node_modules/@types: + {"pollingInterval":500} + +FsWatches:: +/user/username/projects/myproject/packages/a/tsconfig.json: + {} +/user/username/projects/myproject/packages/b/tsconfig.json: + {} +/user/username/projects/myproject/packages/b/src/foo.ts: + {} +/user/username/projects/myproject/packages/b/src/bar/foo.ts: + {} +/a/lib/lib.d.ts: + {} +/user/username/projects/myproject/packages/b/package.json: + {} + +FsWatchesRecursive:: +/user/username/projects/myproject/packages/a/src: + {} +/user/username/projects/myproject/packages/b/src: + {} +/user/username/projects/myproject/node_modules: + {} + +Before running immediate callbacks and checking length (1) + +PolledWatches:: +/user/username/projects/myproject/packages/a/node_modules: + {"pollingInterval":500} +/user/username/projects/myproject/packages/node_modules: + {"pollingInterval":500} +/user/username/projects/myproject/packages/a/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/myproject/packages/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/myproject/node_modules/@types: + {"pollingInterval":500} + +FsWatches:: +/user/username/projects/myproject/packages/a/tsconfig.json: + {} +/user/username/projects/myproject/packages/b/tsconfig.json: + {} +/user/username/projects/myproject/packages/b/src/foo.ts: + {} +/user/username/projects/myproject/packages/b/src/bar/foo.ts: + {} +/a/lib/lib.d.ts: + {} +/user/username/projects/myproject/packages/b/package.json: + {} + +FsWatchesRecursive:: +/user/username/projects/myproject/packages/a/src: + {} +/user/username/projects/myproject/packages/b/src: + {} +/user/username/projects/myproject/node_modules: + {} + Info 59 [16:01:52.000] event: {"seq":0,"type":"event","event":"suggestionDiag","body":{"file":"/user/username/projects/myproject/packages/A/src/test.ts","diagnostics":[]}} Info 60 [16:01:53.000] event: - {"seq":0,"type":"event","event":"requestCompleted","body":{"request_seq":3}} \ No newline at end of file + {"seq":0,"type":"event","event":"requestCompleted","body":{"request_seq":3}} +Before running immediate callbacks and checking length (1) + +PolledWatches:: +/user/username/projects/myproject/packages/a/node_modules: + {"pollingInterval":500} +/user/username/projects/myproject/packages/node_modules: + {"pollingInterval":500} +/user/username/projects/myproject/packages/a/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/myproject/packages/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/myproject/node_modules/@types: + {"pollingInterval":500} + +FsWatches:: +/user/username/projects/myproject/packages/a/tsconfig.json: + {} +/user/username/projects/myproject/packages/b/tsconfig.json: + {} +/user/username/projects/myproject/packages/b/src/foo.ts: + {} +/user/username/projects/myproject/packages/b/src/bar/foo.ts: + {} +/a/lib/lib.d.ts: + {} +/user/username/projects/myproject/packages/b/package.json: + {} + +FsWatchesRecursive:: +/user/username/projects/myproject/packages/a/src: + {} +/user/username/projects/myproject/packages/b/src: + {} +/user/username/projects/myproject/node_modules: + {} diff --git a/tests/baselines/reference/tsserver/projectReferences/new-file-is-added-to-the-referenced-project-when-referenced-project-is-not-open-with-disableSourceOfProjectReferenceRedirect.js b/tests/baselines/reference/tsserver/projectReferences/new-file-is-added-to-the-referenced-project-when-referenced-project-is-not-open-with-disableSourceOfProjectReferenceRedirect.js index 49d3a59342946..f1c82eae84f71 100644 --- a/tests/baselines/reference/tsserver/projectReferences/new-file-is-added-to-the-referenced-project-when-referenced-project-is-not-open-with-disableSourceOfProjectReferenceRedirect.js +++ b/tests/baselines/reference/tsserver/projectReferences/new-file-is-added-to-the-referenced-project-when-referenced-project-is-not-open-with-disableSourceOfProjectReferenceRedirect.js @@ -8,6 +8,7 @@ Info 1 [16:00:34.000] request: "file": "/user/username/projects/myproject/projects/project2/class2.ts" } } +Before request //// [/user/username/projects/myproject/projects/project1/tsconfig.json] {"compilerOptions":{"module":"none","composite":true},"exclude":["temp"]} @@ -114,6 +115,7 @@ Info 29 [16:01:04.000] ----------------------------------------------- Info 29 [16:01:05.000] Open files: Info 29 [16:01:06.000] FileName: /user/username/projects/myproject/projects/project2/class2.ts ProjectRootPath: undefined Info 29 [16:01:07.000] Projects: /user/username/projects/myproject/projects/project2/tsconfig.json +After request PolledWatches:: /user/username/projects/myproject/projects/project2/node_modules/@types: @@ -147,6 +149,35 @@ Info 30 [16:01:11.000] DirectoryWatcher:: Triggered with /user/username/projec Info 31 [16:01:12.000] Scheduled: /user/username/projects/myproject/projects/project2/tsconfig.json Info 32 [16:01:13.000] Scheduled: *ensureProjectForOpenFiles* Info 33 [16:01:14.000] Elapsed:: *ms DirectoryWatcher:: Triggered with /user/username/projects/myproject/projects/project1/class3.ts :: WatchInfo: /user/username/projects/myproject/projects/project1 1 undefined Config: /user/username/projects/myproject/projects/project1/tsconfig.json WatchType: Wild card directory +Before checking timeout queue length (2) and running +//// [/user/username/projects/myproject/projects/project1/class3.ts] +class class3 {} + + +PolledWatches:: +/user/username/projects/myproject/projects/project2/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/myproject/projects/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/myproject/node_modules/@types: + {"pollingInterval":500} + +FsWatches:: +/user/username/projects/myproject/projects/project2/tsconfig.json: + {} +/user/username/projects/myproject/projects/project1/tsconfig.json: + {} +/user/username/projects/myproject/projects/project1/class1.d.ts: + {} +/a/lib/lib.d.ts: + {} + +FsWatchesRecursive:: +/user/username/projects/myproject/projects/project2: + {} +/user/username/projects/myproject/projects/project1: + {} + Info 34 [16:01:15.000] Running: /user/username/projects/myproject/projects/project2/tsconfig.json Info 35 [16:01:16.000] Starting updateGraphWorker: Project: /user/username/projects/myproject/projects/project2/tsconfig.json Info 36 [16:01:17.000] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/projects/project1/class3.d.ts 500 undefined Project: /user/username/projects/myproject/projects/project2/tsconfig.json WatchType: Missing file @@ -169,6 +200,34 @@ Info 42 [16:01:31.000] ----------------------------------------------- Info 42 [16:01:32.000] Open files: Info 42 [16:01:33.000] FileName: /user/username/projects/myproject/projects/project2/class2.ts ProjectRootPath: undefined Info 42 [16:01:34.000] Projects: /user/username/projects/myproject/projects/project2/tsconfig.json +After checking timeout queue length (2) and running + +PolledWatches:: +/user/username/projects/myproject/projects/project2/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/myproject/projects/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/myproject/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/myproject/projects/project1/class3.d.ts: + {"pollingInterval":500} + +FsWatches:: +/user/username/projects/myproject/projects/project2/tsconfig.json: + {} +/user/username/projects/myproject/projects/project1/tsconfig.json: + {} +/user/username/projects/myproject/projects/project1/class1.d.ts: + {} +/a/lib/lib.d.ts: + {} + +FsWatchesRecursive:: +/user/username/projects/myproject/projects/project2: + {} +/user/username/projects/myproject/projects/project1: + {} + Info 42 [16:01:37.000] FileWatcher:: Triggered with /user/username/projects/myproject/projects/project1/class3.d.ts 0:: WatchInfo: /user/username/projects/myproject/projects/project1/class3.d.ts 500 undefined Project: /user/username/projects/myproject/projects/project2/tsconfig.json WatchType: Missing file Info 43 [16:01:38.000] FileWatcher:: Close:: WatchInfo: /user/username/projects/myproject/projects/project1/class3.d.ts 500 undefined Project: /user/username/projects/myproject/projects/project2/tsconfig.json WatchType: Missing file Info 44 [16:01:39.000] Scheduled: /user/username/projects/myproject/projects/project2/tsconfig.json @@ -177,6 +236,35 @@ Info 46 [16:01:41.000] Elapsed:: *ms FileWatcher:: Triggered with /user/userna Info 47 [16:01:42.000] DirectoryWatcher:: Triggered with /user/username/projects/myproject/projects/project1/class3.d.ts :: WatchInfo: /user/username/projects/myproject/projects/project1 1 undefined Config: /user/username/projects/myproject/projects/project1/tsconfig.json WatchType: Wild card directory Info 48 [16:01:43.000] Project: /user/username/projects/myproject/projects/project1/tsconfig.json Detected output file: /user/username/projects/myproject/projects/project1/class3.d.ts Info 49 [16:01:44.000] Elapsed:: *ms DirectoryWatcher:: Triggered with /user/username/projects/myproject/projects/project1/class3.d.ts :: WatchInfo: /user/username/projects/myproject/projects/project1 1 undefined Config: /user/username/projects/myproject/projects/project1/tsconfig.json WatchType: Wild card directory +Before checking timeout queue length (2) and running +//// [/user/username/projects/myproject/projects/project1/class3.d.ts] +declare class class3 {} + + +PolledWatches:: +/user/username/projects/myproject/projects/project2/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/myproject/projects/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/myproject/node_modules/@types: + {"pollingInterval":500} + +FsWatches:: +/user/username/projects/myproject/projects/project2/tsconfig.json: + {} +/user/username/projects/myproject/projects/project1/tsconfig.json: + {} +/user/username/projects/myproject/projects/project1/class1.d.ts: + {} +/a/lib/lib.d.ts: + {} + +FsWatchesRecursive:: +/user/username/projects/myproject/projects/project2: + {} +/user/username/projects/myproject/projects/project1: + {} + Info 50 [16:01:45.000] Running: /user/username/projects/myproject/projects/project2/tsconfig.json Info 51 [16:01:46.000] Starting updateGraphWorker: Project: /user/username/projects/myproject/projects/project2/tsconfig.json Info 52 [16:01:47.000] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/projects/project1/class3.d.ts 500 undefined WatchType: Closed Script info @@ -216,12 +304,99 @@ Info 60 [16:02:03.000] ----------------------------------------------- Info 60 [16:02:04.000] Open files: Info 60 [16:02:05.000] FileName: /user/username/projects/myproject/projects/project2/class2.ts ProjectRootPath: undefined Info 60 [16:02:06.000] Projects: /user/username/projects/myproject/projects/project2/tsconfig.json +After checking timeout queue length (2) and running + +PolledWatches:: +/user/username/projects/myproject/projects/project2/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/myproject/projects/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/myproject/node_modules/@types: + {"pollingInterval":500} + +FsWatches:: +/user/username/projects/myproject/projects/project2/tsconfig.json: + {} +/user/username/projects/myproject/projects/project1/tsconfig.json: + {} +/user/username/projects/myproject/projects/project1/class1.d.ts: + {} +/a/lib/lib.d.ts: + {} +/user/username/projects/myproject/projects/project1/class3.d.ts: + {} + +FsWatchesRecursive:: +/user/username/projects/myproject/projects/project2: + {} +/user/username/projects/myproject/projects/project1: + {} + Info 60 [16:02:10.000] DirectoryWatcher:: Triggered with /user/username/projects/myproject/projects/project1/temp :: WatchInfo: /user/username/projects/myproject/projects/project1 1 undefined Config: /user/username/projects/myproject/projects/project1/tsconfig.json WatchType: Wild card directory Info 61 [16:02:11.000] Project: /user/username/projects/myproject/projects/project1/tsconfig.json Detected excluded file: /user/username/projects/myproject/projects/project1/temp Info 62 [16:02:12.000] Elapsed:: *ms DirectoryWatcher:: Triggered with /user/username/projects/myproject/projects/project1/temp :: WatchInfo: /user/username/projects/myproject/projects/project1 1 undefined Config: /user/username/projects/myproject/projects/project1/tsconfig.json WatchType: Wild card directory Info 63 [16:02:14.000] DirectoryWatcher:: Triggered with /user/username/projects/myproject/projects/project1/temp/file.d.ts :: WatchInfo: /user/username/projects/myproject/projects/project1 1 undefined Config: /user/username/projects/myproject/projects/project1/tsconfig.json WatchType: Wild card directory Info 64 [16:02:15.000] Project: /user/username/projects/myproject/projects/project1/tsconfig.json Detected excluded file: /user/username/projects/myproject/projects/project1/temp/file.d.ts Info 65 [16:02:16.000] Elapsed:: *ms DirectoryWatcher:: Triggered with /user/username/projects/myproject/projects/project1/temp/file.d.ts :: WatchInfo: /user/username/projects/myproject/projects/project1 1 undefined Config: /user/username/projects/myproject/projects/project1/tsconfig.json WatchType: Wild card directory +Before checking timeout queue length (0) and running +//// [/user/username/projects/myproject/projects/project1/temp/file.d.ts] +declare class file {} + + +PolledWatches:: +/user/username/projects/myproject/projects/project2/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/myproject/projects/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/myproject/node_modules/@types: + {"pollingInterval":500} + +FsWatches:: +/user/username/projects/myproject/projects/project2/tsconfig.json: + {} +/user/username/projects/myproject/projects/project1/tsconfig.json: + {} +/user/username/projects/myproject/projects/project1/class1.d.ts: + {} +/a/lib/lib.d.ts: + {} +/user/username/projects/myproject/projects/project1/class3.d.ts: + {} + +FsWatchesRecursive:: +/user/username/projects/myproject/projects/project2: + {} +/user/username/projects/myproject/projects/project1: + {} + +After checking timeout queue length (0) and running + +PolledWatches:: +/user/username/projects/myproject/projects/project2/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/myproject/projects/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/myproject/node_modules/@types: + {"pollingInterval":500} + +FsWatches:: +/user/username/projects/myproject/projects/project2/tsconfig.json: + {} +/user/username/projects/myproject/projects/project1/tsconfig.json: + {} +/user/username/projects/myproject/projects/project1/class1.d.ts: + {} +/a/lib/lib.d.ts: + {} +/user/username/projects/myproject/projects/project1/class3.d.ts: + {} + +FsWatchesRecursive:: +/user/username/projects/myproject/projects/project2: + {} +/user/username/projects/myproject/projects/project1: + {} + Info 66 [16:02:18.000] FileWatcher:: Triggered with /user/username/projects/myproject/projects/project1/class3.d.ts 2:: WatchInfo: /user/username/projects/myproject/projects/project1/class3.d.ts 500 undefined WatchType: Closed Script info Info 67 [16:02:19.000] FileWatcher:: Close:: WatchInfo: /user/username/projects/myproject/projects/project1/class3.d.ts 500 undefined WatchType: Closed Script info Info 68 [16:02:20.000] Scheduled: /user/username/projects/myproject/projects/project2/tsconfig.json @@ -230,6 +405,33 @@ Info 70 [16:02:22.000] Elapsed:: *ms FileWatcher:: Triggered with /user/userna Info 71 [16:02:23.000] DirectoryWatcher:: Triggered with /user/username/projects/myproject/projects/project1/class3.d.ts :: WatchInfo: /user/username/projects/myproject/projects/project1 1 undefined Config: /user/username/projects/myproject/projects/project1/tsconfig.json WatchType: Wild card directory Info 72 [16:02:24.000] Project: /user/username/projects/myproject/projects/project1/tsconfig.json Detected output file: /user/username/projects/myproject/projects/project1/class3.d.ts Info 73 [16:02:25.000] Elapsed:: *ms DirectoryWatcher:: Triggered with /user/username/projects/myproject/projects/project1/class3.d.ts :: WatchInfo: /user/username/projects/myproject/projects/project1 1 undefined Config: /user/username/projects/myproject/projects/project1/tsconfig.json WatchType: Wild card directory +Before checking timeout queue length (2) and running +//// [/user/username/projects/myproject/projects/project1/class3.d.ts] deleted + +PolledWatches:: +/user/username/projects/myproject/projects/project2/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/myproject/projects/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/myproject/node_modules/@types: + {"pollingInterval":500} + +FsWatches:: +/user/username/projects/myproject/projects/project2/tsconfig.json: + {} +/user/username/projects/myproject/projects/project1/tsconfig.json: + {} +/user/username/projects/myproject/projects/project1/class1.d.ts: + {} +/a/lib/lib.d.ts: + {} + +FsWatchesRecursive:: +/user/username/projects/myproject/projects/project2: + {} +/user/username/projects/myproject/projects/project1: + {} + Info 74 [16:02:26.000] Running: /user/username/projects/myproject/projects/project2/tsconfig.json Info 75 [16:02:27.000] Starting updateGraphWorker: Project: /user/username/projects/myproject/projects/project2/tsconfig.json Info 76 [16:02:28.000] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/projects/project1/class3.d.ts 500 undefined Project: /user/username/projects/myproject/projects/project2/tsconfig.json WatchType: Missing file @@ -266,6 +468,34 @@ Info 84 [16:02:44.000] ----------------------------------------------- Info 84 [16:02:45.000] Open files: Info 84 [16:02:46.000] FileName: /user/username/projects/myproject/projects/project2/class2.ts ProjectRootPath: undefined Info 84 [16:02:47.000] Projects: /user/username/projects/myproject/projects/project2/tsconfig.json +After checking timeout queue length (2) and running + +PolledWatches:: +/user/username/projects/myproject/projects/project2/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/myproject/projects/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/myproject/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/myproject/projects/project1/class3.d.ts: + {"pollingInterval":500} + +FsWatches:: +/user/username/projects/myproject/projects/project2/tsconfig.json: + {} +/user/username/projects/myproject/projects/project1/tsconfig.json: + {} +/user/username/projects/myproject/projects/project1/class1.d.ts: + {} +/a/lib/lib.d.ts: + {} + +FsWatchesRecursive:: +/user/username/projects/myproject/projects/project2: + {} +/user/username/projects/myproject/projects/project1: + {} + Info 84 [16:02:50.000] FileWatcher:: Triggered with /user/username/projects/myproject/projects/project1/class3.d.ts 0:: WatchInfo: /user/username/projects/myproject/projects/project1/class3.d.ts 500 undefined Project: /user/username/projects/myproject/projects/project2/tsconfig.json WatchType: Missing file Info 85 [16:02:51.000] FileWatcher:: Close:: WatchInfo: /user/username/projects/myproject/projects/project1/class3.d.ts 500 undefined Project: /user/username/projects/myproject/projects/project2/tsconfig.json WatchType: Missing file Info 86 [16:02:52.000] Scheduled: /user/username/projects/myproject/projects/project2/tsconfig.json @@ -274,6 +504,35 @@ Info 88 [16:02:54.000] Elapsed:: *ms FileWatcher:: Triggered with /user/userna Info 89 [16:02:55.000] DirectoryWatcher:: Triggered with /user/username/projects/myproject/projects/project1/class3.d.ts :: WatchInfo: /user/username/projects/myproject/projects/project1 1 undefined Config: /user/username/projects/myproject/projects/project1/tsconfig.json WatchType: Wild card directory Info 90 [16:02:56.000] Project: /user/username/projects/myproject/projects/project1/tsconfig.json Detected output file: /user/username/projects/myproject/projects/project1/class3.d.ts Info 91 [16:02:57.000] Elapsed:: *ms DirectoryWatcher:: Triggered with /user/username/projects/myproject/projects/project1/class3.d.ts :: WatchInfo: /user/username/projects/myproject/projects/project1 1 undefined Config: /user/username/projects/myproject/projects/project1/tsconfig.json WatchType: Wild card directory +Before checking timeout queue length (2) and running +//// [/user/username/projects/myproject/projects/project1/class3.d.ts] +declare class class3 {} + + +PolledWatches:: +/user/username/projects/myproject/projects/project2/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/myproject/projects/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/myproject/node_modules/@types: + {"pollingInterval":500} + +FsWatches:: +/user/username/projects/myproject/projects/project2/tsconfig.json: + {} +/user/username/projects/myproject/projects/project1/tsconfig.json: + {} +/user/username/projects/myproject/projects/project1/class1.d.ts: + {} +/a/lib/lib.d.ts: + {} + +FsWatchesRecursive:: +/user/username/projects/myproject/projects/project2: + {} +/user/username/projects/myproject/projects/project1: + {} + Info 92 [16:02:58.000] Running: /user/username/projects/myproject/projects/project2/tsconfig.json Info 93 [16:02:59.000] Starting updateGraphWorker: Project: /user/username/projects/myproject/projects/project2/tsconfig.json Info 94 [16:03:00.000] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/projects/project1/class3.d.ts 500 undefined WatchType: Closed Script info @@ -312,4 +571,31 @@ Info 102 [16:03:15.000] Files (4) Info 102 [16:03:16.000] ----------------------------------------------- Info 102 [16:03:17.000] Open files: Info 102 [16:03:18.000] FileName: /user/username/projects/myproject/projects/project2/class2.ts ProjectRootPath: undefined -Info 102 [16:03:19.000] Projects: /user/username/projects/myproject/projects/project2/tsconfig.json \ No newline at end of file +Info 102 [16:03:19.000] Projects: /user/username/projects/myproject/projects/project2/tsconfig.json +After checking timeout queue length (2) and running + +PolledWatches:: +/user/username/projects/myproject/projects/project2/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/myproject/projects/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/myproject/node_modules/@types: + {"pollingInterval":500} + +FsWatches:: +/user/username/projects/myproject/projects/project2/tsconfig.json: + {} +/user/username/projects/myproject/projects/project1/tsconfig.json: + {} +/user/username/projects/myproject/projects/project1/class1.d.ts: + {} +/a/lib/lib.d.ts: + {} +/user/username/projects/myproject/projects/project1/class3.d.ts: + {} + +FsWatchesRecursive:: +/user/username/projects/myproject/projects/project2: + {} +/user/username/projects/myproject/projects/project1: + {} diff --git a/tests/baselines/reference/tsserver/projectReferences/new-file-is-added-to-the-referenced-project-when-referenced-project-is-not-open.js b/tests/baselines/reference/tsserver/projectReferences/new-file-is-added-to-the-referenced-project-when-referenced-project-is-not-open.js index a66642657e978..72a4d35244349 100644 --- a/tests/baselines/reference/tsserver/projectReferences/new-file-is-added-to-the-referenced-project-when-referenced-project-is-not-open.js +++ b/tests/baselines/reference/tsserver/projectReferences/new-file-is-added-to-the-referenced-project-when-referenced-project-is-not-open.js @@ -8,6 +8,7 @@ Info 1 [16:00:34.000] request: "file": "/user/username/projects/myproject/projects/project2/class2.ts" } } +Before request //// [/user/username/projects/myproject/projects/project1/tsconfig.json] {"compilerOptions":{"module":"none","composite":true},"exclude":["temp"]} @@ -113,6 +114,7 @@ Info 29 [16:01:04.000] ----------------------------------------------- Info 29 [16:01:05.000] Open files: Info 29 [16:01:06.000] FileName: /user/username/projects/myproject/projects/project2/class2.ts ProjectRootPath: undefined Info 29 [16:01:07.000] Projects: /user/username/projects/myproject/projects/project2/tsconfig.json +After request PolledWatches:: /user/username/projects/myproject/projects/project2/node_modules/@types: @@ -146,6 +148,35 @@ Info 30 [16:01:11.000] DirectoryWatcher:: Triggered with /user/username/projec Info 31 [16:01:12.000] Scheduled: /user/username/projects/myproject/projects/project2/tsconfig.json Info 32 [16:01:13.000] Scheduled: *ensureProjectForOpenFiles* Info 33 [16:01:14.000] Elapsed:: *ms DirectoryWatcher:: Triggered with /user/username/projects/myproject/projects/project1/class3.ts :: WatchInfo: /user/username/projects/myproject/projects/project1 1 undefined Config: /user/username/projects/myproject/projects/project1/tsconfig.json WatchType: Wild card directory +Before checking timeout queue length (2) and running +//// [/user/username/projects/myproject/projects/project1/class3.ts] +class class3 {} + + +PolledWatches:: +/user/username/projects/myproject/projects/project2/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/myproject/projects/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/myproject/node_modules/@types: + {"pollingInterval":500} + +FsWatches:: +/user/username/projects/myproject/projects/project2/tsconfig.json: + {} +/user/username/projects/myproject/projects/project1/tsconfig.json: + {} +/user/username/projects/myproject/projects/project1/class1.ts: + {} +/a/lib/lib.d.ts: + {} + +FsWatchesRecursive:: +/user/username/projects/myproject/projects/project2: + {} +/user/username/projects/myproject/projects/project1: + {} + Info 34 [16:01:15.000] Running: /user/username/projects/myproject/projects/project2/tsconfig.json Info 35 [16:01:16.000] Starting updateGraphWorker: Project: /user/username/projects/myproject/projects/project2/tsconfig.json Info 36 [16:01:17.000] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/projects/project1/class3.ts 500 undefined WatchType: Closed Script info @@ -185,12 +216,157 @@ Info 44 [16:01:33.000] ----------------------------------------------- Info 44 [16:01:34.000] Open files: Info 44 [16:01:35.000] FileName: /user/username/projects/myproject/projects/project2/class2.ts ProjectRootPath: undefined Info 44 [16:01:36.000] Projects: /user/username/projects/myproject/projects/project2/tsconfig.json +After checking timeout queue length (2) and running + +PolledWatches:: +/user/username/projects/myproject/projects/project2/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/myproject/projects/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/myproject/node_modules/@types: + {"pollingInterval":500} + +FsWatches:: +/user/username/projects/myproject/projects/project2/tsconfig.json: + {} +/user/username/projects/myproject/projects/project1/tsconfig.json: + {} +/user/username/projects/myproject/projects/project1/class1.ts: + {} +/a/lib/lib.d.ts: + {} +/user/username/projects/myproject/projects/project1/class3.ts: + {} + +FsWatchesRecursive:: +/user/username/projects/myproject/projects/project2: + {} +/user/username/projects/myproject/projects/project1: + {} + Info 44 [16:01:40.000] DirectoryWatcher:: Triggered with /user/username/projects/myproject/projects/project1/temp :: WatchInfo: /user/username/projects/myproject/projects/project1 1 undefined Config: /user/username/projects/myproject/projects/project1/tsconfig.json WatchType: Wild card directory Info 45 [16:01:41.000] Project: /user/username/projects/myproject/projects/project1/tsconfig.json Detected excluded file: /user/username/projects/myproject/projects/project1/temp Info 46 [16:01:42.000] Elapsed:: *ms DirectoryWatcher:: Triggered with /user/username/projects/myproject/projects/project1/temp :: WatchInfo: /user/username/projects/myproject/projects/project1 1 undefined Config: /user/username/projects/myproject/projects/project1/tsconfig.json WatchType: Wild card directory Info 47 [16:01:44.000] DirectoryWatcher:: Triggered with /user/username/projects/myproject/projects/project1/temp/file.d.ts :: WatchInfo: /user/username/projects/myproject/projects/project1 1 undefined Config: /user/username/projects/myproject/projects/project1/tsconfig.json WatchType: Wild card directory Info 48 [16:01:45.000] Project: /user/username/projects/myproject/projects/project1/tsconfig.json Detected excluded file: /user/username/projects/myproject/projects/project1/temp/file.d.ts Info 49 [16:01:46.000] Elapsed:: *ms DirectoryWatcher:: Triggered with /user/username/projects/myproject/projects/project1/temp/file.d.ts :: WatchInfo: /user/username/projects/myproject/projects/project1 1 undefined Config: /user/username/projects/myproject/projects/project1/tsconfig.json WatchType: Wild card directory +Before checking timeout queue length (0) and running +//// [/user/username/projects/myproject/projects/project1/temp/file.d.ts] +declare class file {} + + +PolledWatches:: +/user/username/projects/myproject/projects/project2/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/myproject/projects/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/myproject/node_modules/@types: + {"pollingInterval":500} + +FsWatches:: +/user/username/projects/myproject/projects/project2/tsconfig.json: + {} +/user/username/projects/myproject/projects/project1/tsconfig.json: + {} +/user/username/projects/myproject/projects/project1/class1.ts: + {} +/a/lib/lib.d.ts: + {} +/user/username/projects/myproject/projects/project1/class3.ts: + {} + +FsWatchesRecursive:: +/user/username/projects/myproject/projects/project2: + {} +/user/username/projects/myproject/projects/project1: + {} + +After checking timeout queue length (0) and running + +PolledWatches:: +/user/username/projects/myproject/projects/project2/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/myproject/projects/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/myproject/node_modules/@types: + {"pollingInterval":500} + +FsWatches:: +/user/username/projects/myproject/projects/project2/tsconfig.json: + {} +/user/username/projects/myproject/projects/project1/tsconfig.json: + {} +/user/username/projects/myproject/projects/project1/class1.ts: + {} +/a/lib/lib.d.ts: + {} +/user/username/projects/myproject/projects/project1/class3.ts: + {} + +FsWatchesRecursive:: +/user/username/projects/myproject/projects/project2: + {} +/user/username/projects/myproject/projects/project1: + {} + Info 50 [16:01:49.000] DirectoryWatcher:: Triggered with /user/username/projects/myproject/projects/project1/class3.d.ts :: WatchInfo: /user/username/projects/myproject/projects/project1 1 undefined Config: /user/username/projects/myproject/projects/project1/tsconfig.json WatchType: Wild card directory Info 51 [16:01:50.000] Project: /user/username/projects/myproject/projects/project1/tsconfig.json Detected output file: /user/username/projects/myproject/projects/project1/class3.d.ts -Info 52 [16:01:51.000] Elapsed:: *ms DirectoryWatcher:: Triggered with /user/username/projects/myproject/projects/project1/class3.d.ts :: WatchInfo: /user/username/projects/myproject/projects/project1 1 undefined Config: /user/username/projects/myproject/projects/project1/tsconfig.json WatchType: Wild card directory \ No newline at end of file +Info 52 [16:01:51.000] Elapsed:: *ms DirectoryWatcher:: Triggered with /user/username/projects/myproject/projects/project1/class3.d.ts :: WatchInfo: /user/username/projects/myproject/projects/project1 1 undefined Config: /user/username/projects/myproject/projects/project1/tsconfig.json WatchType: Wild card directory +Before checking timeout queue length (0) and running +//// [/user/username/projects/myproject/projects/project1/class3.d.ts] +declare class class3 {} + + +PolledWatches:: +/user/username/projects/myproject/projects/project2/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/myproject/projects/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/myproject/node_modules/@types: + {"pollingInterval":500} + +FsWatches:: +/user/username/projects/myproject/projects/project2/tsconfig.json: + {} +/user/username/projects/myproject/projects/project1/tsconfig.json: + {} +/user/username/projects/myproject/projects/project1/class1.ts: + {} +/a/lib/lib.d.ts: + {} +/user/username/projects/myproject/projects/project1/class3.ts: + {} + +FsWatchesRecursive:: +/user/username/projects/myproject/projects/project2: + {} +/user/username/projects/myproject/projects/project1: + {} + +After checking timeout queue length (0) and running + +PolledWatches:: +/user/username/projects/myproject/projects/project2/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/myproject/projects/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/myproject/node_modules/@types: + {"pollingInterval":500} + +FsWatches:: +/user/username/projects/myproject/projects/project2/tsconfig.json: + {} +/user/username/projects/myproject/projects/project1/tsconfig.json: + {} +/user/username/projects/myproject/projects/project1/class1.ts: + {} +/a/lib/lib.d.ts: + {} +/user/username/projects/myproject/projects/project1/class3.ts: + {} + +FsWatchesRecursive:: +/user/username/projects/myproject/projects/project2: + {} +/user/username/projects/myproject/projects/project1: + {} diff --git a/tests/baselines/reference/tsserver/projectReferences/new-file-is-added-to-the-referenced-project-when-referenced-project-is-open-with-disableSourceOfProjectReferenceRedirect.js b/tests/baselines/reference/tsserver/projectReferences/new-file-is-added-to-the-referenced-project-when-referenced-project-is-open-with-disableSourceOfProjectReferenceRedirect.js index 603ff83fe2327..811d061085d56 100644 --- a/tests/baselines/reference/tsserver/projectReferences/new-file-is-added-to-the-referenced-project-when-referenced-project-is-open-with-disableSourceOfProjectReferenceRedirect.js +++ b/tests/baselines/reference/tsserver/projectReferences/new-file-is-added-to-the-referenced-project-when-referenced-project-is-open-with-disableSourceOfProjectReferenceRedirect.js @@ -8,6 +8,7 @@ Info 1 [16:00:34.000] request: "file": "/user/username/projects/myproject/projects/project2/class2.ts" } } +Before request //// [/user/username/projects/myproject/projects/project1/tsconfig.json] {"compilerOptions":{"module":"none","composite":true},"exclude":["temp"]} @@ -114,6 +115,7 @@ Info 29 [16:01:04.000] ----------------------------------------------- Info 29 [16:01:05.000] Open files: Info 29 [16:01:06.000] FileName: /user/username/projects/myproject/projects/project2/class2.ts ProjectRootPath: undefined Info 29 [16:01:07.000] Projects: /user/username/projects/myproject/projects/project2/tsconfig.json +After request PolledWatches:: /user/username/projects/myproject/projects/project2/node_modules/@types: @@ -152,6 +154,7 @@ Info 30 [16:01:09.000] request: "file": "/user/username/projects/myproject/projects/project1/class1.ts" } } +Before request PolledWatches:: /user/username/projects/myproject/projects/project2/node_modules/@types: @@ -216,6 +219,7 @@ Info 48 [16:01:34.000] FileName: /user/username/projects/myproject/projects/p Info 48 [16:01:35.000] Projects: /user/username/projects/myproject/projects/project2/tsconfig.json Info 48 [16:01:36.000] FileName: /user/username/projects/myproject/projects/project1/class1.ts ProjectRootPath: undefined Info 48 [16:01:37.000] Projects: /user/username/projects/myproject/projects/project1/tsconfig.json +After request PolledWatches:: /user/username/projects/myproject/projects/project2/node_modules/@types: @@ -253,6 +257,37 @@ Info 51 [16:01:43.000] Scheduled: *ensureProjectForOpenFiles* Info 52 [16:01:44.000] Scheduled: /user/username/projects/myproject/projects/project1/tsconfig.json Info 53 [16:01:45.000] Scheduled: *ensureProjectForOpenFiles*, Cancelled earlier one Info 54 [16:01:46.000] Elapsed:: *ms DirectoryWatcher:: Triggered with /user/username/projects/myproject/projects/project1/class3.ts :: WatchInfo: /user/username/projects/myproject/projects/project1 1 undefined Config: /user/username/projects/myproject/projects/project1/tsconfig.json WatchType: Wild card directory +Before checking timeout queue length (3) and running +//// [/user/username/projects/myproject/projects/project1/class3.ts] +class class3 {} + + +PolledWatches:: +/user/username/projects/myproject/projects/project2/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/myproject/projects/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/myproject/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/myproject/projects/project1/node_modules/@types: + {"pollingInterval":500} + +FsWatches:: +/user/username/projects/myproject/projects/project2/tsconfig.json: + {} +/user/username/projects/myproject/projects/project1/tsconfig.json: + {} +/user/username/projects/myproject/projects/project1/class1.d.ts: + {} +/a/lib/lib.d.ts: + {} + +FsWatchesRecursive:: +/user/username/projects/myproject/projects/project2: + {} +/user/username/projects/myproject/projects/project1: + {} + Info 55 [16:01:47.000] Running: /user/username/projects/myproject/projects/project2/tsconfig.json Info 56 [16:01:48.000] Starting updateGraphWorker: Project: /user/username/projects/myproject/projects/project2/tsconfig.json Info 57 [16:01:49.000] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/projects/project1/class3.d.ts 500 undefined Project: /user/username/projects/myproject/projects/project2/tsconfig.json WatchType: Missing file @@ -306,6 +341,38 @@ Info 70 [16:02:20.000] FileName: /user/username/projects/myproject/projects/p Info 70 [16:02:21.000] Projects: /user/username/projects/myproject/projects/project2/tsconfig.json Info 70 [16:02:22.000] FileName: /user/username/projects/myproject/projects/project1/class1.ts ProjectRootPath: undefined Info 70 [16:02:23.000] Projects: /user/username/projects/myproject/projects/project1/tsconfig.json +After checking timeout queue length (3) and running + +PolledWatches:: +/user/username/projects/myproject/projects/project2/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/myproject/projects/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/myproject/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/myproject/projects/project1/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/myproject/projects/project1/class3.d.ts: + {"pollingInterval":500} + +FsWatches:: +/user/username/projects/myproject/projects/project2/tsconfig.json: + {} +/user/username/projects/myproject/projects/project1/tsconfig.json: + {} +/user/username/projects/myproject/projects/project1/class1.d.ts: + {} +/a/lib/lib.d.ts: + {} +/user/username/projects/myproject/projects/project1/class3.ts: + {} + +FsWatchesRecursive:: +/user/username/projects/myproject/projects/project2: + {} +/user/username/projects/myproject/projects/project1: + {} + Info 70 [16:02:26.000] FileWatcher:: Triggered with /user/username/projects/myproject/projects/project1/class3.d.ts 0:: WatchInfo: /user/username/projects/myproject/projects/project1/class3.d.ts 500 undefined Project: /user/username/projects/myproject/projects/project2/tsconfig.json WatchType: Missing file Info 71 [16:02:27.000] FileWatcher:: Close:: WatchInfo: /user/username/projects/myproject/projects/project1/class3.d.ts 500 undefined Project: /user/username/projects/myproject/projects/project2/tsconfig.json WatchType: Missing file Info 72 [16:02:28.000] Scheduled: /user/username/projects/myproject/projects/project2/tsconfig.json @@ -314,6 +381,39 @@ Info 74 [16:02:30.000] Elapsed:: *ms FileWatcher:: Triggered with /user/userna Info 75 [16:02:31.000] DirectoryWatcher:: Triggered with /user/username/projects/myproject/projects/project1/class3.d.ts :: WatchInfo: /user/username/projects/myproject/projects/project1 1 undefined Config: /user/username/projects/myproject/projects/project1/tsconfig.json WatchType: Wild card directory Info 76 [16:02:32.000] Project: /user/username/projects/myproject/projects/project1/tsconfig.json Detected output file: /user/username/projects/myproject/projects/project1/class3.d.ts Info 77 [16:02:33.000] Elapsed:: *ms DirectoryWatcher:: Triggered with /user/username/projects/myproject/projects/project1/class3.d.ts :: WatchInfo: /user/username/projects/myproject/projects/project1 1 undefined Config: /user/username/projects/myproject/projects/project1/tsconfig.json WatchType: Wild card directory +Before checking timeout queue length (2) and running +//// [/user/username/projects/myproject/projects/project1/class3.d.ts] +declare class class3 {} + + +PolledWatches:: +/user/username/projects/myproject/projects/project2/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/myproject/projects/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/myproject/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/myproject/projects/project1/node_modules/@types: + {"pollingInterval":500} + +FsWatches:: +/user/username/projects/myproject/projects/project2/tsconfig.json: + {} +/user/username/projects/myproject/projects/project1/tsconfig.json: + {} +/user/username/projects/myproject/projects/project1/class1.d.ts: + {} +/a/lib/lib.d.ts: + {} +/user/username/projects/myproject/projects/project1/class3.ts: + {} + +FsWatchesRecursive:: +/user/username/projects/myproject/projects/project2: + {} +/user/username/projects/myproject/projects/project1: + {} + Info 78 [16:02:34.000] Running: /user/username/projects/myproject/projects/project2/tsconfig.json Info 79 [16:02:35.000] Starting updateGraphWorker: Project: /user/username/projects/myproject/projects/project2/tsconfig.json Info 80 [16:02:36.000] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/projects/project1/class3.d.ts 500 undefined WatchType: Closed Script info @@ -365,12 +465,111 @@ Info 88 [16:03:02.000] FileName: /user/username/projects/myproject/projects/p Info 88 [16:03:03.000] Projects: /user/username/projects/myproject/projects/project2/tsconfig.json Info 88 [16:03:04.000] FileName: /user/username/projects/myproject/projects/project1/class1.ts ProjectRootPath: undefined Info 88 [16:03:05.000] Projects: /user/username/projects/myproject/projects/project1/tsconfig.json +After checking timeout queue length (2) and running + +PolledWatches:: +/user/username/projects/myproject/projects/project2/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/myproject/projects/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/myproject/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/myproject/projects/project1/node_modules/@types: + {"pollingInterval":500} + +FsWatches:: +/user/username/projects/myproject/projects/project2/tsconfig.json: + {} +/user/username/projects/myproject/projects/project1/tsconfig.json: + {} +/user/username/projects/myproject/projects/project1/class1.d.ts: + {} +/a/lib/lib.d.ts: + {} +/user/username/projects/myproject/projects/project1/class3.ts: + {} +/user/username/projects/myproject/projects/project1/class3.d.ts: + {} + +FsWatchesRecursive:: +/user/username/projects/myproject/projects/project2: + {} +/user/username/projects/myproject/projects/project1: + {} + Info 88 [16:03:09.000] DirectoryWatcher:: Triggered with /user/username/projects/myproject/projects/project1/temp :: WatchInfo: /user/username/projects/myproject/projects/project1 1 undefined Config: /user/username/projects/myproject/projects/project1/tsconfig.json WatchType: Wild card directory Info 89 [16:03:10.000] Project: /user/username/projects/myproject/projects/project1/tsconfig.json Detected excluded file: /user/username/projects/myproject/projects/project1/temp Info 90 [16:03:11.000] Elapsed:: *ms DirectoryWatcher:: Triggered with /user/username/projects/myproject/projects/project1/temp :: WatchInfo: /user/username/projects/myproject/projects/project1 1 undefined Config: /user/username/projects/myproject/projects/project1/tsconfig.json WatchType: Wild card directory Info 91 [16:03:13.000] DirectoryWatcher:: Triggered with /user/username/projects/myproject/projects/project1/temp/file.d.ts :: WatchInfo: /user/username/projects/myproject/projects/project1 1 undefined Config: /user/username/projects/myproject/projects/project1/tsconfig.json WatchType: Wild card directory Info 92 [16:03:14.000] Project: /user/username/projects/myproject/projects/project1/tsconfig.json Detected excluded file: /user/username/projects/myproject/projects/project1/temp/file.d.ts Info 93 [16:03:15.000] Elapsed:: *ms DirectoryWatcher:: Triggered with /user/username/projects/myproject/projects/project1/temp/file.d.ts :: WatchInfo: /user/username/projects/myproject/projects/project1 1 undefined Config: /user/username/projects/myproject/projects/project1/tsconfig.json WatchType: Wild card directory +Before checking timeout queue length (0) and running +//// [/user/username/projects/myproject/projects/project1/temp/file.d.ts] +declare class file {} + + +PolledWatches:: +/user/username/projects/myproject/projects/project2/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/myproject/projects/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/myproject/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/myproject/projects/project1/node_modules/@types: + {"pollingInterval":500} + +FsWatches:: +/user/username/projects/myproject/projects/project2/tsconfig.json: + {} +/user/username/projects/myproject/projects/project1/tsconfig.json: + {} +/user/username/projects/myproject/projects/project1/class1.d.ts: + {} +/a/lib/lib.d.ts: + {} +/user/username/projects/myproject/projects/project1/class3.ts: + {} +/user/username/projects/myproject/projects/project1/class3.d.ts: + {} + +FsWatchesRecursive:: +/user/username/projects/myproject/projects/project2: + {} +/user/username/projects/myproject/projects/project1: + {} + +After checking timeout queue length (0) and running + +PolledWatches:: +/user/username/projects/myproject/projects/project2/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/myproject/projects/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/myproject/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/myproject/projects/project1/node_modules/@types: + {"pollingInterval":500} + +FsWatches:: +/user/username/projects/myproject/projects/project2/tsconfig.json: + {} +/user/username/projects/myproject/projects/project1/tsconfig.json: + {} +/user/username/projects/myproject/projects/project1/class1.d.ts: + {} +/a/lib/lib.d.ts: + {} +/user/username/projects/myproject/projects/project1/class3.ts: + {} +/user/username/projects/myproject/projects/project1/class3.d.ts: + {} + +FsWatchesRecursive:: +/user/username/projects/myproject/projects/project2: + {} +/user/username/projects/myproject/projects/project1: + {} + Info 94 [16:03:17.000] FileWatcher:: Triggered with /user/username/projects/myproject/projects/project1/class3.d.ts 2:: WatchInfo: /user/username/projects/myproject/projects/project1/class3.d.ts 500 undefined WatchType: Closed Script info Info 95 [16:03:18.000] FileWatcher:: Close:: WatchInfo: /user/username/projects/myproject/projects/project1/class3.d.ts 500 undefined WatchType: Closed Script info Info 96 [16:03:19.000] Scheduled: /user/username/projects/myproject/projects/project2/tsconfig.json @@ -379,6 +578,37 @@ Info 98 [16:03:21.000] Elapsed:: *ms FileWatcher:: Triggered with /user/userna Info 99 [16:03:22.000] DirectoryWatcher:: Triggered with /user/username/projects/myproject/projects/project1/class3.d.ts :: WatchInfo: /user/username/projects/myproject/projects/project1 1 undefined Config: /user/username/projects/myproject/projects/project1/tsconfig.json WatchType: Wild card directory Info 100 [16:03:23.000] Project: /user/username/projects/myproject/projects/project1/tsconfig.json Detected output file: /user/username/projects/myproject/projects/project1/class3.d.ts Info 101 [16:03:24.000] Elapsed:: *ms DirectoryWatcher:: Triggered with /user/username/projects/myproject/projects/project1/class3.d.ts :: WatchInfo: /user/username/projects/myproject/projects/project1 1 undefined Config: /user/username/projects/myproject/projects/project1/tsconfig.json WatchType: Wild card directory +Before checking timeout queue length (2) and running +//// [/user/username/projects/myproject/projects/project1/class3.d.ts] deleted + +PolledWatches:: +/user/username/projects/myproject/projects/project2/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/myproject/projects/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/myproject/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/myproject/projects/project1/node_modules/@types: + {"pollingInterval":500} + +FsWatches:: +/user/username/projects/myproject/projects/project2/tsconfig.json: + {} +/user/username/projects/myproject/projects/project1/tsconfig.json: + {} +/user/username/projects/myproject/projects/project1/class1.d.ts: + {} +/a/lib/lib.d.ts: + {} +/user/username/projects/myproject/projects/project1/class3.ts: + {} + +FsWatchesRecursive:: +/user/username/projects/myproject/projects/project2: + {} +/user/username/projects/myproject/projects/project1: + {} + Info 102 [16:03:25.000] Running: /user/username/projects/myproject/projects/project2/tsconfig.json Info 103 [16:03:26.000] Starting updateGraphWorker: Project: /user/username/projects/myproject/projects/project2/tsconfig.json Info 104 [16:03:27.000] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/projects/project1/class3.d.ts 500 undefined Project: /user/username/projects/myproject/projects/project2/tsconfig.json WatchType: Missing file @@ -427,6 +657,38 @@ Info 112 [16:03:53.000] FileName: /user/username/projects/myproject/projects/p Info 112 [16:03:54.000] Projects: /user/username/projects/myproject/projects/project2/tsconfig.json Info 112 [16:03:55.000] FileName: /user/username/projects/myproject/projects/project1/class1.ts ProjectRootPath: undefined Info 112 [16:03:56.000] Projects: /user/username/projects/myproject/projects/project1/tsconfig.json +After checking timeout queue length (2) and running + +PolledWatches:: +/user/username/projects/myproject/projects/project2/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/myproject/projects/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/myproject/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/myproject/projects/project1/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/myproject/projects/project1/class3.d.ts: + {"pollingInterval":500} + +FsWatches:: +/user/username/projects/myproject/projects/project2/tsconfig.json: + {} +/user/username/projects/myproject/projects/project1/tsconfig.json: + {} +/user/username/projects/myproject/projects/project1/class1.d.ts: + {} +/a/lib/lib.d.ts: + {} +/user/username/projects/myproject/projects/project1/class3.ts: + {} + +FsWatchesRecursive:: +/user/username/projects/myproject/projects/project2: + {} +/user/username/projects/myproject/projects/project1: + {} + Info 112 [16:03:59.000] FileWatcher:: Triggered with /user/username/projects/myproject/projects/project1/class3.d.ts 0:: WatchInfo: /user/username/projects/myproject/projects/project1/class3.d.ts 500 undefined Project: /user/username/projects/myproject/projects/project2/tsconfig.json WatchType: Missing file Info 113 [16:04:00.000] FileWatcher:: Close:: WatchInfo: /user/username/projects/myproject/projects/project1/class3.d.ts 500 undefined Project: /user/username/projects/myproject/projects/project2/tsconfig.json WatchType: Missing file Info 114 [16:04:01.000] Scheduled: /user/username/projects/myproject/projects/project2/tsconfig.json @@ -435,6 +697,39 @@ Info 116 [16:04:03.000] Elapsed:: *ms FileWatcher:: Triggered with /user/userna Info 117 [16:04:04.000] DirectoryWatcher:: Triggered with /user/username/projects/myproject/projects/project1/class3.d.ts :: WatchInfo: /user/username/projects/myproject/projects/project1 1 undefined Config: /user/username/projects/myproject/projects/project1/tsconfig.json WatchType: Wild card directory Info 118 [16:04:05.000] Project: /user/username/projects/myproject/projects/project1/tsconfig.json Detected output file: /user/username/projects/myproject/projects/project1/class3.d.ts Info 119 [16:04:06.000] Elapsed:: *ms DirectoryWatcher:: Triggered with /user/username/projects/myproject/projects/project1/class3.d.ts :: WatchInfo: /user/username/projects/myproject/projects/project1 1 undefined Config: /user/username/projects/myproject/projects/project1/tsconfig.json WatchType: Wild card directory +Before checking timeout queue length (2) and running +//// [/user/username/projects/myproject/projects/project1/class3.d.ts] +declare class class3 {} + + +PolledWatches:: +/user/username/projects/myproject/projects/project2/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/myproject/projects/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/myproject/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/myproject/projects/project1/node_modules/@types: + {"pollingInterval":500} + +FsWatches:: +/user/username/projects/myproject/projects/project2/tsconfig.json: + {} +/user/username/projects/myproject/projects/project1/tsconfig.json: + {} +/user/username/projects/myproject/projects/project1/class1.d.ts: + {} +/a/lib/lib.d.ts: + {} +/user/username/projects/myproject/projects/project1/class3.ts: + {} + +FsWatchesRecursive:: +/user/username/projects/myproject/projects/project2: + {} +/user/username/projects/myproject/projects/project1: + {} + Info 120 [16:04:07.000] Running: /user/username/projects/myproject/projects/project2/tsconfig.json Info 121 [16:04:08.000] Starting updateGraphWorker: Project: /user/username/projects/myproject/projects/project2/tsconfig.json Info 122 [16:04:09.000] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/projects/project1/class3.d.ts 500 undefined WatchType: Closed Script info @@ -485,4 +780,35 @@ Info 130 [16:04:34.000] Open files: Info 130 [16:04:35.000] FileName: /user/username/projects/myproject/projects/project2/class2.ts ProjectRootPath: undefined Info 130 [16:04:36.000] Projects: /user/username/projects/myproject/projects/project2/tsconfig.json Info 130 [16:04:37.000] FileName: /user/username/projects/myproject/projects/project1/class1.ts ProjectRootPath: undefined -Info 130 [16:04:38.000] Projects: /user/username/projects/myproject/projects/project1/tsconfig.json \ No newline at end of file +Info 130 [16:04:38.000] Projects: /user/username/projects/myproject/projects/project1/tsconfig.json +After checking timeout queue length (2) and running + +PolledWatches:: +/user/username/projects/myproject/projects/project2/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/myproject/projects/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/myproject/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/myproject/projects/project1/node_modules/@types: + {"pollingInterval":500} + +FsWatches:: +/user/username/projects/myproject/projects/project2/tsconfig.json: + {} +/user/username/projects/myproject/projects/project1/tsconfig.json: + {} +/user/username/projects/myproject/projects/project1/class1.d.ts: + {} +/a/lib/lib.d.ts: + {} +/user/username/projects/myproject/projects/project1/class3.ts: + {} +/user/username/projects/myproject/projects/project1/class3.d.ts: + {} + +FsWatchesRecursive:: +/user/username/projects/myproject/projects/project2: + {} +/user/username/projects/myproject/projects/project1: + {} diff --git a/tests/baselines/reference/tsserver/projectReferences/new-file-is-added-to-the-referenced-project-when-referenced-project-is-open.js b/tests/baselines/reference/tsserver/projectReferences/new-file-is-added-to-the-referenced-project-when-referenced-project-is-open.js index fadc3f5b5e796..e36bc19cd2573 100644 --- a/tests/baselines/reference/tsserver/projectReferences/new-file-is-added-to-the-referenced-project-when-referenced-project-is-open.js +++ b/tests/baselines/reference/tsserver/projectReferences/new-file-is-added-to-the-referenced-project-when-referenced-project-is-open.js @@ -8,6 +8,7 @@ Info 1 [16:00:34.000] request: "file": "/user/username/projects/myproject/projects/project2/class2.ts" } } +Before request //// [/user/username/projects/myproject/projects/project1/tsconfig.json] {"compilerOptions":{"module":"none","composite":true},"exclude":["temp"]} @@ -113,6 +114,7 @@ Info 29 [16:01:04.000] ----------------------------------------------- Info 29 [16:01:05.000] Open files: Info 29 [16:01:06.000] FileName: /user/username/projects/myproject/projects/project2/class2.ts ProjectRootPath: undefined Info 29 [16:01:07.000] Projects: /user/username/projects/myproject/projects/project2/tsconfig.json +After request PolledWatches:: /user/username/projects/myproject/projects/project2/node_modules/@types: @@ -151,6 +153,7 @@ Info 30 [16:01:09.000] request: "file": "/user/username/projects/myproject/projects/project1/class1.ts" } } +Before request PolledWatches:: /user/username/projects/myproject/projects/project2/node_modules/@types: @@ -216,6 +219,7 @@ Info 49 [16:01:35.000] FileName: /user/username/projects/myproject/projects/p Info 49 [16:01:36.000] Projects: /user/username/projects/myproject/projects/project2/tsconfig.json Info 49 [16:01:37.000] FileName: /user/username/projects/myproject/projects/project1/class1.ts ProjectRootPath: undefined Info 49 [16:01:38.000] Projects: /user/username/projects/myproject/projects/project2/tsconfig.json,/user/username/projects/myproject/projects/project1/tsconfig.json +After request PolledWatches:: /user/username/projects/myproject/projects/project2/node_modules/@types: @@ -251,6 +255,35 @@ Info 52 [16:01:44.000] Scheduled: *ensureProjectForOpenFiles* Info 53 [16:01:45.000] Scheduled: /user/username/projects/myproject/projects/project1/tsconfig.json Info 54 [16:01:46.000] Scheduled: *ensureProjectForOpenFiles*, Cancelled earlier one Info 55 [16:01:47.000] Elapsed:: *ms DirectoryWatcher:: Triggered with /user/username/projects/myproject/projects/project1/class3.ts :: WatchInfo: /user/username/projects/myproject/projects/project1 1 undefined Config: /user/username/projects/myproject/projects/project1/tsconfig.json WatchType: Wild card directory +Before checking timeout queue length (3) and running +//// [/user/username/projects/myproject/projects/project1/class3.ts] +class class3 {} + + +PolledWatches:: +/user/username/projects/myproject/projects/project2/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/myproject/projects/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/myproject/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/myproject/projects/project1/node_modules/@types: + {"pollingInterval":500} + +FsWatches:: +/user/username/projects/myproject/projects/project2/tsconfig.json: + {} +/user/username/projects/myproject/projects/project1/tsconfig.json: + {} +/a/lib/lib.d.ts: + {} + +FsWatchesRecursive:: +/user/username/projects/myproject/projects/project2: + {} +/user/username/projects/myproject/projects/project1: + {} + Info 56 [16:01:48.000] Running: /user/username/projects/myproject/projects/project2/tsconfig.json Info 57 [16:01:49.000] Starting updateGraphWorker: Project: /user/username/projects/myproject/projects/project2/tsconfig.json Info 58 [16:01:50.000] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/projects/project1/class3.ts 500 undefined WatchType: Closed Script info @@ -320,12 +353,157 @@ Info 72 [16:02:22.000] FileName: /user/username/projects/myproject/projects/p Info 72 [16:02:23.000] Projects: /user/username/projects/myproject/projects/project2/tsconfig.json Info 72 [16:02:24.000] FileName: /user/username/projects/myproject/projects/project1/class1.ts ProjectRootPath: undefined Info 72 [16:02:25.000] Projects: /user/username/projects/myproject/projects/project2/tsconfig.json,/user/username/projects/myproject/projects/project1/tsconfig.json +After checking timeout queue length (3) and running + +PolledWatches:: +/user/username/projects/myproject/projects/project2/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/myproject/projects/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/myproject/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/myproject/projects/project1/node_modules/@types: + {"pollingInterval":500} + +FsWatches:: +/user/username/projects/myproject/projects/project2/tsconfig.json: + {} +/user/username/projects/myproject/projects/project1/tsconfig.json: + {} +/a/lib/lib.d.ts: + {} +/user/username/projects/myproject/projects/project1/class3.ts: + {} + +FsWatchesRecursive:: +/user/username/projects/myproject/projects/project2: + {} +/user/username/projects/myproject/projects/project1: + {} + Info 72 [16:02:29.000] DirectoryWatcher:: Triggered with /user/username/projects/myproject/projects/project1/temp :: WatchInfo: /user/username/projects/myproject/projects/project1 1 undefined Config: /user/username/projects/myproject/projects/project1/tsconfig.json WatchType: Wild card directory Info 73 [16:02:30.000] Project: /user/username/projects/myproject/projects/project1/tsconfig.json Detected excluded file: /user/username/projects/myproject/projects/project1/temp Info 74 [16:02:31.000] Elapsed:: *ms DirectoryWatcher:: Triggered with /user/username/projects/myproject/projects/project1/temp :: WatchInfo: /user/username/projects/myproject/projects/project1 1 undefined Config: /user/username/projects/myproject/projects/project1/tsconfig.json WatchType: Wild card directory Info 75 [16:02:33.000] DirectoryWatcher:: Triggered with /user/username/projects/myproject/projects/project1/temp/file.d.ts :: WatchInfo: /user/username/projects/myproject/projects/project1 1 undefined Config: /user/username/projects/myproject/projects/project1/tsconfig.json WatchType: Wild card directory Info 76 [16:02:34.000] Project: /user/username/projects/myproject/projects/project1/tsconfig.json Detected excluded file: /user/username/projects/myproject/projects/project1/temp/file.d.ts Info 77 [16:02:35.000] Elapsed:: *ms DirectoryWatcher:: Triggered with /user/username/projects/myproject/projects/project1/temp/file.d.ts :: WatchInfo: /user/username/projects/myproject/projects/project1 1 undefined Config: /user/username/projects/myproject/projects/project1/tsconfig.json WatchType: Wild card directory +Before checking timeout queue length (0) and running +//// [/user/username/projects/myproject/projects/project1/temp/file.d.ts] +declare class file {} + + +PolledWatches:: +/user/username/projects/myproject/projects/project2/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/myproject/projects/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/myproject/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/myproject/projects/project1/node_modules/@types: + {"pollingInterval":500} + +FsWatches:: +/user/username/projects/myproject/projects/project2/tsconfig.json: + {} +/user/username/projects/myproject/projects/project1/tsconfig.json: + {} +/a/lib/lib.d.ts: + {} +/user/username/projects/myproject/projects/project1/class3.ts: + {} + +FsWatchesRecursive:: +/user/username/projects/myproject/projects/project2: + {} +/user/username/projects/myproject/projects/project1: + {} + +After checking timeout queue length (0) and running + +PolledWatches:: +/user/username/projects/myproject/projects/project2/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/myproject/projects/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/myproject/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/myproject/projects/project1/node_modules/@types: + {"pollingInterval":500} + +FsWatches:: +/user/username/projects/myproject/projects/project2/tsconfig.json: + {} +/user/username/projects/myproject/projects/project1/tsconfig.json: + {} +/a/lib/lib.d.ts: + {} +/user/username/projects/myproject/projects/project1/class3.ts: + {} + +FsWatchesRecursive:: +/user/username/projects/myproject/projects/project2: + {} +/user/username/projects/myproject/projects/project1: + {} + Info 78 [16:02:38.000] DirectoryWatcher:: Triggered with /user/username/projects/myproject/projects/project1/class3.d.ts :: WatchInfo: /user/username/projects/myproject/projects/project1 1 undefined Config: /user/username/projects/myproject/projects/project1/tsconfig.json WatchType: Wild card directory Info 79 [16:02:39.000] Project: /user/username/projects/myproject/projects/project1/tsconfig.json Detected output file: /user/username/projects/myproject/projects/project1/class3.d.ts -Info 80 [16:02:40.000] Elapsed:: *ms DirectoryWatcher:: Triggered with /user/username/projects/myproject/projects/project1/class3.d.ts :: WatchInfo: /user/username/projects/myproject/projects/project1 1 undefined Config: /user/username/projects/myproject/projects/project1/tsconfig.json WatchType: Wild card directory \ No newline at end of file +Info 80 [16:02:40.000] Elapsed:: *ms DirectoryWatcher:: Triggered with /user/username/projects/myproject/projects/project1/class3.d.ts :: WatchInfo: /user/username/projects/myproject/projects/project1 1 undefined Config: /user/username/projects/myproject/projects/project1/tsconfig.json WatchType: Wild card directory +Before checking timeout queue length (0) and running +//// [/user/username/projects/myproject/projects/project1/class3.d.ts] +declare class class3 {} + + +PolledWatches:: +/user/username/projects/myproject/projects/project2/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/myproject/projects/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/myproject/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/myproject/projects/project1/node_modules/@types: + {"pollingInterval":500} + +FsWatches:: +/user/username/projects/myproject/projects/project2/tsconfig.json: + {} +/user/username/projects/myproject/projects/project1/tsconfig.json: + {} +/a/lib/lib.d.ts: + {} +/user/username/projects/myproject/projects/project1/class3.ts: + {} + +FsWatchesRecursive:: +/user/username/projects/myproject/projects/project2: + {} +/user/username/projects/myproject/projects/project1: + {} + +After checking timeout queue length (0) and running + +PolledWatches:: +/user/username/projects/myproject/projects/project2/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/myproject/projects/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/myproject/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/myproject/projects/project1/node_modules/@types: + {"pollingInterval":500} + +FsWatches:: +/user/username/projects/myproject/projects/project2/tsconfig.json: + {} +/user/username/projects/myproject/projects/project1/tsconfig.json: + {} +/a/lib/lib.d.ts: + {} +/user/username/projects/myproject/projects/project1/class3.ts: + {} + +FsWatchesRecursive:: +/user/username/projects/myproject/projects/project2: + {} +/user/username/projects/myproject/projects/project1: + {} diff --git a/tests/baselines/reference/tsserver/projectReferences/project-is-directly-referenced-by-solution.js b/tests/baselines/reference/tsserver/projectReferences/project-is-directly-referenced-by-solution.js index 1c50e42cbc26f..8aa8dbe9f976d 100644 --- a/tests/baselines/reference/tsserver/projectReferences/project-is-directly-referenced-by-solution.js +++ b/tests/baselines/reference/tsserver/projectReferences/project-is-directly-referenced-by-solution.js @@ -99,6 +99,7 @@ Info 34 [16:01:38.000] request: "seq": 1, "type": "request" } +Before request //// [/user/username/projects/myproject/tsconfig-src.json] {"compilerOptions":{"composite":true,"outDir":"./target/","baseUrl":"./src/"},"include":["./src/**/*"]} @@ -170,6 +171,7 @@ FsWatchesRecursive:: /user/username/projects/myproject/src: {} +After request PolledWatches:: /user/username/projects/myproject/node_modules/@types: @@ -193,14 +195,134 @@ Info 35 [16:01:39.000] response: { "responseRequired": false } +Before checking timeout queue length (1) and running + +PolledWatches:: +/user/username/projects/myproject/node_modules/@types: + {"pollingInterval":500} + +FsWatches:: +/user/username/projects/myproject/tsconfig.json: + {} +/user/username/projects/myproject/tsconfig-src.json: + {} +/user/username/projects/myproject/src/helpers/functions.ts: + {} +/a/lib/lib.d.ts: + {} + +FsWatchesRecursive:: +/user/username/projects/myproject/src: + {} + Info 36 [16:01:40.000] event: {"seq":0,"type":"event","event":"syntaxDiag","body":{"file":"/user/username/projects/myproject/src/main.ts","diagnostics":[]}} +After checking timeout queue length (1) and running + +PolledWatches:: +/user/username/projects/myproject/node_modules/@types: + {"pollingInterval":500} + +FsWatches:: +/user/username/projects/myproject/tsconfig.json: + {} +/user/username/projects/myproject/tsconfig-src.json: + {} +/user/username/projects/myproject/src/helpers/functions.ts: + {} +/a/lib/lib.d.ts: + {} + +FsWatchesRecursive:: +/user/username/projects/myproject/src: + {} + +Before running immediate callbacks and checking length (1) + +PolledWatches:: +/user/username/projects/myproject/node_modules/@types: + {"pollingInterval":500} + +FsWatches:: +/user/username/projects/myproject/tsconfig.json: + {} +/user/username/projects/myproject/tsconfig-src.json: + {} +/user/username/projects/myproject/src/helpers/functions.ts: + {} +/a/lib/lib.d.ts: + {} + +FsWatchesRecursive:: +/user/username/projects/myproject/src: + {} + Info 37 [16:01:41.000] event: {"seq":0,"type":"event","event":"semanticDiag","body":{"file":"/user/username/projects/myproject/src/main.ts","diagnostics":[]}} +Before running immediate callbacks and checking length (1) + +PolledWatches:: +/user/username/projects/myproject/node_modules/@types: + {"pollingInterval":500} + +FsWatches:: +/user/username/projects/myproject/tsconfig.json: + {} +/user/username/projects/myproject/tsconfig-src.json: + {} +/user/username/projects/myproject/src/helpers/functions.ts: + {} +/a/lib/lib.d.ts: + {} + +FsWatchesRecursive:: +/user/username/projects/myproject/src: + {} + +Before running immediate callbacks and checking length (1) + +PolledWatches:: +/user/username/projects/myproject/node_modules/@types: + {"pollingInterval":500} + +FsWatches:: +/user/username/projects/myproject/tsconfig.json: + {} +/user/username/projects/myproject/tsconfig-src.json: + {} +/user/username/projects/myproject/src/helpers/functions.ts: + {} +/a/lib/lib.d.ts: + {} + +FsWatchesRecursive:: +/user/username/projects/myproject/src: + {} + Info 38 [16:01:42.000] event: {"seq":0,"type":"event","event":"suggestionDiag","body":{"file":"/user/username/projects/myproject/src/main.ts","diagnostics":[]}} Info 39 [16:01:43.000] event: {"seq":0,"type":"event","event":"requestCompleted","body":{"request_seq":1}} +Before running immediate callbacks and checking length (1) + +PolledWatches:: +/user/username/projects/myproject/node_modules/@types: + {"pollingInterval":500} + +FsWatches:: +/user/username/projects/myproject/tsconfig.json: + {} +/user/username/projects/myproject/tsconfig-src.json: + {} +/user/username/projects/myproject/src/helpers/functions.ts: + {} +/a/lib/lib.d.ts: + {} + +FsWatchesRecursive:: +/user/username/projects/myproject/src: + {} + Info 40 [16:01:44.000] Search path: /dummy Info 41 [16:01:45.000] For info: /dummy/dummy.ts :: No config files found. Info 42 [16:01:46.000] Plugins were requested but not running in environment that supports 'require'. Nothing will be loaded @@ -580,6 +702,7 @@ Info 162 [16:05:36.000] request: "seq": 2, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/node_modules/@types: @@ -604,6 +727,7 @@ FsWatchesRecursive:: Info 163 [16:05:37.000] Finding references to /user/username/projects/myproject/src/main.ts position 50 in project /user/username/projects/myproject/tsconfig-src.json Info 164 [16:05:38.000] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/target/src/helpers/functions.d.ts 500 undefined WatchType: Closed Script info Info 165 [16:05:39.000] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/target/src/helpers/functions.d.ts.map 500 undefined WatchType: Closed Script info +After request PolledWatches:: /user/username/projects/myproject/node_modules/@types: @@ -854,6 +978,7 @@ Info 217 [16:06:59.000] request: "seq": 3, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/node_modules/@types: @@ -960,6 +1085,7 @@ Info 254 [16:07:36.000] For info: /user/username/projects/myproject/src/helpers Info 255 [16:07:37.000] Search path: /user/username/projects/myproject/src/helpers Info 256 [16:07:38.000] For info: /user/username/projects/myproject/src/helpers/functions.ts :: Config file name: /user/username/projects/myproject/tsconfig.json Info 257 [16:07:39.000] Finding references to /user/username/projects/myproject/src/main.ts position 9 in project /user/username/projects/myproject/tsconfig-src.json +After request PolledWatches:: /user/username/projects/myproject/node_modules/@types: diff --git a/tests/baselines/reference/tsserver/projectReferences/project-is-indirectly-referenced-by-solution.js b/tests/baselines/reference/tsserver/projectReferences/project-is-indirectly-referenced-by-solution.js index 42c2428c7daa1..c69dfd15bd11a 100644 --- a/tests/baselines/reference/tsserver/projectReferences/project-is-indirectly-referenced-by-solution.js +++ b/tests/baselines/reference/tsserver/projectReferences/project-is-indirectly-referenced-by-solution.js @@ -139,6 +139,7 @@ Info 38 [16:01:54.000] request: "seq": 1, "type": "request" } +Before request //// [/user/username/projects/myproject/tsconfig-src.json] {"compilerOptions":{"composite":true,"outDir":"./target/","baseUrl":"./src/"},"include":["./src/**/*"]} @@ -230,6 +231,7 @@ FsWatchesRecursive:: /user/username/projects/myproject/src: {} +After request PolledWatches:: /user/username/projects/myproject/node_modules/@types: @@ -257,14 +259,158 @@ Info 39 [16:01:55.000] response: { "responseRequired": false } +Before checking timeout queue length (1) and running + +PolledWatches:: +/user/username/projects/myproject/node_modules/@types: + {"pollingInterval":500} + +FsWatches:: +/user/username/projects/myproject/tsconfig.json: + {} +/user/username/projects/myproject/tsconfig-indirect1.json: + {} +/user/username/projects/myproject/tsconfig-src.json: + {} +/user/username/projects/myproject/tsconfig-indirect2.json: + {} +/user/username/projects/myproject/src/helpers/functions.ts: + {} +/a/lib/lib.d.ts: + {} + +FsWatchesRecursive:: +/user/username/projects/myproject/src: + {} + Info 40 [16:01:56.000] event: {"seq":0,"type":"event","event":"syntaxDiag","body":{"file":"/user/username/projects/myproject/src/main.ts","diagnostics":[]}} +After checking timeout queue length (1) and running + +PolledWatches:: +/user/username/projects/myproject/node_modules/@types: + {"pollingInterval":500} + +FsWatches:: +/user/username/projects/myproject/tsconfig.json: + {} +/user/username/projects/myproject/tsconfig-indirect1.json: + {} +/user/username/projects/myproject/tsconfig-src.json: + {} +/user/username/projects/myproject/tsconfig-indirect2.json: + {} +/user/username/projects/myproject/src/helpers/functions.ts: + {} +/a/lib/lib.d.ts: + {} + +FsWatchesRecursive:: +/user/username/projects/myproject/src: + {} + +Before running immediate callbacks and checking length (1) + +PolledWatches:: +/user/username/projects/myproject/node_modules/@types: + {"pollingInterval":500} + +FsWatches:: +/user/username/projects/myproject/tsconfig.json: + {} +/user/username/projects/myproject/tsconfig-indirect1.json: + {} +/user/username/projects/myproject/tsconfig-src.json: + {} +/user/username/projects/myproject/tsconfig-indirect2.json: + {} +/user/username/projects/myproject/src/helpers/functions.ts: + {} +/a/lib/lib.d.ts: + {} + +FsWatchesRecursive:: +/user/username/projects/myproject/src: + {} + Info 41 [16:01:57.000] event: {"seq":0,"type":"event","event":"semanticDiag","body":{"file":"/user/username/projects/myproject/src/main.ts","diagnostics":[]}} +Before running immediate callbacks and checking length (1) + +PolledWatches:: +/user/username/projects/myproject/node_modules/@types: + {"pollingInterval":500} + +FsWatches:: +/user/username/projects/myproject/tsconfig.json: + {} +/user/username/projects/myproject/tsconfig-indirect1.json: + {} +/user/username/projects/myproject/tsconfig-src.json: + {} +/user/username/projects/myproject/tsconfig-indirect2.json: + {} +/user/username/projects/myproject/src/helpers/functions.ts: + {} +/a/lib/lib.d.ts: + {} + +FsWatchesRecursive:: +/user/username/projects/myproject/src: + {} + +Before running immediate callbacks and checking length (1) + +PolledWatches:: +/user/username/projects/myproject/node_modules/@types: + {"pollingInterval":500} + +FsWatches:: +/user/username/projects/myproject/tsconfig.json: + {} +/user/username/projects/myproject/tsconfig-indirect1.json: + {} +/user/username/projects/myproject/tsconfig-src.json: + {} +/user/username/projects/myproject/tsconfig-indirect2.json: + {} +/user/username/projects/myproject/src/helpers/functions.ts: + {} +/a/lib/lib.d.ts: + {} + +FsWatchesRecursive:: +/user/username/projects/myproject/src: + {} + Info 42 [16:01:58.000] event: {"seq":0,"type":"event","event":"suggestionDiag","body":{"file":"/user/username/projects/myproject/src/main.ts","diagnostics":[]}} Info 43 [16:01:59.000] event: {"seq":0,"type":"event","event":"requestCompleted","body":{"request_seq":1}} +Before running immediate callbacks and checking length (1) + +PolledWatches:: +/user/username/projects/myproject/node_modules/@types: + {"pollingInterval":500} + +FsWatches:: +/user/username/projects/myproject/tsconfig.json: + {} +/user/username/projects/myproject/tsconfig-indirect1.json: + {} +/user/username/projects/myproject/tsconfig-src.json: + {} +/user/username/projects/myproject/tsconfig-indirect2.json: + {} +/user/username/projects/myproject/src/helpers/functions.ts: + {} +/a/lib/lib.d.ts: + {} + +FsWatchesRecursive:: +/user/username/projects/myproject/src: + {} + Info 44 [16:02:00.000] Search path: /dummy Info 45 [16:02:01.000] For info: /dummy/dummy.ts :: No config files found. Info 46 [16:02:02.000] Plugins were requested but not running in environment that supports 'require'. Nothing will be loaded @@ -724,6 +870,7 @@ Info 174 [16:06:00.000] request: "seq": 2, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/node_modules/@types: @@ -836,6 +983,7 @@ Info 222 [16:06:48.000] Search path: /user/username/projects/myproject/src Info 223 [16:06:49.000] For info: /user/username/projects/myproject/src/main.ts :: Config file name: /user/username/projects/myproject/tsconfig.json Info 224 [16:06:50.000] Search path: /user/username/projects/myproject/src Info 225 [16:06:51.000] For info: /user/username/projects/myproject/src/main.ts :: Config file name: /user/username/projects/myproject/tsconfig.json +After request PolledWatches:: /user/username/projects/myproject/node_modules/@types: @@ -1228,6 +1376,7 @@ Info 293 [16:08:39.000] request: "seq": 3, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/node_modules/@types: @@ -1454,6 +1603,7 @@ Info 380 [16:10:06.000] Search path: /user/username/projects/myproject/src Info 381 [16:10:07.000] For info: /user/username/projects/myproject/src/main.ts :: Config file name: /user/username/projects/myproject/tsconfig.json Info 382 [16:10:08.000] Search path: /user/username/projects/myproject/src Info 383 [16:10:09.000] For info: /user/username/projects/myproject/src/main.ts :: Config file name: /user/username/projects/myproject/tsconfig.json +After request PolledWatches:: /user/username/projects/myproject/node_modules/@types: diff --git a/tests/baselines/reference/tsserver/projectReferences/root-file-is-file-from-referenced-project-and-using-declaration-maps.js b/tests/baselines/reference/tsserver/projectReferences/root-file-is-file-from-referenced-project-and-using-declaration-maps.js index 50d4305f40000..ce244d5c59a74 100644 --- a/tests/baselines/reference/tsserver/projectReferences/root-file-is-file-from-referenced-project-and-using-declaration-maps.js +++ b/tests/baselines/reference/tsserver/projectReferences/root-file-is-file-from-referenced-project-and-using-declaration-maps.js @@ -8,6 +8,7 @@ Info 1 [16:01:18.000] request: "file": "/user/username/projects/project/src/common/input/keyboard.ts" } } +Before request //// [/user/username/projects/project/src/common/tsconfig.json] {"compilerOptions":{"composite":true,"declarationMap":true,"outDir":"../../out","baseUrl":"..","disableSourceOfProjectReferenceRedirect":true},"include":["./**/*"]} @@ -296,6 +297,7 @@ Info 29 [16:01:51.000] ----------------------------------------------- Info 29 [16:01:52.000] Open files: Info 29 [16:01:53.000] FileName: /user/username/projects/project/src/common/input/keyboard.ts ProjectRootPath: undefined Info 29 [16:01:54.000] Projects: /user/username/projects/project/src/common/tsconfig.json +After request PolledWatches:: /user/username/projects/project/src/common/node_modules/@types: @@ -332,6 +334,7 @@ Info 30 [16:01:56.000] request: "file": "/user/username/projects/project/src/terminal.ts" } } +Before request PolledWatches:: /user/username/projects/project/src/common/node_modules/@types: @@ -432,6 +435,7 @@ Info 50 [16:02:23.000] FileName: /user/username/projects/project/src/common/i Info 50 [16:02:24.000] Projects: /user/username/projects/project/src/common/tsconfig.json,/user/username/projects/project/src/tsconfig.json Info 50 [16:02:25.000] FileName: /user/username/projects/project/src/terminal.ts ProjectRootPath: undefined Info 50 [16:02:26.000] Projects: /user/username/projects/project/src/tsconfig.json +After request PolledWatches:: /user/username/projects/project/src/common/node_modules/@types: @@ -474,6 +478,7 @@ Info 51 [16:02:28.000] request: "seq": 1, "type": "request" } +Before request PolledWatches:: /user/username/projects/project/src/common/node_modules/@types: @@ -508,6 +513,7 @@ Info 55 [16:02:32.000] Search path: /user/username/projects/project/src/common Info 56 [16:02:33.000] For info: /user/username/projects/project/src/common/input/keyboard.ts :: Config file name: /user/username/projects/project/src/common/tsconfig.json Info 57 [16:02:34.000] Search path: /user/username/projects/project/src/common/input Info 58 [16:02:35.000] For info: /user/username/projects/project/src/common/input/keyboard.ts :: Config file name: /user/username/projects/project/src/common/tsconfig.json +After request PolledWatches:: /user/username/projects/project/src/common/node_modules/@types: diff --git a/tests/baselines/reference/tsserver/projectReferences/root-file-is-file-from-referenced-project.js b/tests/baselines/reference/tsserver/projectReferences/root-file-is-file-from-referenced-project.js index 74949251b8adb..a23bfcc255536 100644 --- a/tests/baselines/reference/tsserver/projectReferences/root-file-is-file-from-referenced-project.js +++ b/tests/baselines/reference/tsserver/projectReferences/root-file-is-file-from-referenced-project.js @@ -8,6 +8,7 @@ Info 1 [16:01:18.000] request: "file": "/user/username/projects/project/src/common/input/keyboard.ts" } } +Before request //// [/user/username/projects/project/src/common/tsconfig.json] {"compilerOptions":{"composite":true,"declarationMap":true,"outDir":"../../out","baseUrl":"..","disableSourceOfProjectReferenceRedirect":false},"include":["./**/*"]} @@ -296,6 +297,7 @@ Info 29 [16:01:51.000] ----------------------------------------------- Info 29 [16:01:52.000] Open files: Info 29 [16:01:53.000] FileName: /user/username/projects/project/src/common/input/keyboard.ts ProjectRootPath: undefined Info 29 [16:01:54.000] Projects: /user/username/projects/project/src/common/tsconfig.json +After request PolledWatches:: /user/username/projects/project/src/common/node_modules/@types: @@ -332,6 +334,7 @@ Info 30 [16:01:56.000] request: "file": "/user/username/projects/project/src/terminal.ts" } } +Before request PolledWatches:: /user/username/projects/project/src/common/node_modules/@types: @@ -430,6 +433,7 @@ Info 49 [16:02:22.000] FileName: /user/username/projects/project/src/common/i Info 49 [16:02:23.000] Projects: /user/username/projects/project/src/common/tsconfig.json,/user/username/projects/project/src/tsconfig.json Info 49 [16:02:24.000] FileName: /user/username/projects/project/src/terminal.ts ProjectRootPath: undefined Info 49 [16:02:25.000] Projects: /user/username/projects/project/src/tsconfig.json +After request PolledWatches:: /user/username/projects/project/src/common/node_modules/@types: @@ -470,6 +474,7 @@ Info 50 [16:02:27.000] request: "seq": 1, "type": "request" } +Before request PolledWatches:: /user/username/projects/project/src/common/node_modules/@types: @@ -507,6 +512,7 @@ Info 59 [16:02:36.000] Search path: /user/username/projects/project/src/common Info 60 [16:02:37.000] For info: /user/username/projects/project/src/common/input/keyboard.test.ts :: Config file name: /user/username/projects/project/src/common/tsconfig.json Info 61 [16:02:38.000] Search path: /user/username/projects/project/src/common/input Info 62 [16:02:39.000] For info: /user/username/projects/project/src/common/input/keyboard.test.ts :: Config file name: /user/username/projects/project/src/common/tsconfig.json +After request PolledWatches:: /user/username/projects/project/src/common/node_modules/@types: diff --git a/tests/baselines/reference/tsserver/projectReferences/solution-with-its-own-files-and-project-found-is-not-solution-but-references-open-file-through-project-reference.js b/tests/baselines/reference/tsserver/projectReferences/solution-with-its-own-files-and-project-found-is-not-solution-but-references-open-file-through-project-reference.js index 67609da318eeb..584ccfaa6a31f 100644 --- a/tests/baselines/reference/tsserver/projectReferences/solution-with-its-own-files-and-project-found-is-not-solution-but-references-open-file-through-project-reference.js +++ b/tests/baselines/reference/tsserver/projectReferences/solution-with-its-own-files-and-project-found-is-not-solution-but-references-open-file-through-project-reference.js @@ -121,6 +121,7 @@ Info 37 [16:01:45.000] request: "seq": 1, "type": "request" } +Before request //// [/user/username/projects/myproject/tsconfig-src.json] {"compilerOptions":{"composite":true,"outDir":"./target/","baseUrl":"./src/"},"include":["./src/**/*"]} @@ -199,6 +200,7 @@ FsWatchesRecursive:: /user/username/projects/myproject/src: {} +After request PolledWatches:: /user/username/projects/myproject/node_modules/@types: @@ -224,14 +226,146 @@ Info 38 [16:01:46.000] response: { "responseRequired": false } +Before checking timeout queue length (1) and running + +PolledWatches:: +/user/username/projects/myproject/node_modules/@types: + {"pollingInterval":500} + +FsWatches:: +/user/username/projects/myproject/tsconfig.json: + {} +/user/username/projects/myproject/own/main.ts: + {} +/user/username/projects/myproject/tsconfig-src.json: + {} +/user/username/projects/myproject/src/helpers/functions.ts: + {} +/a/lib/lib.d.ts: + {} + +FsWatchesRecursive:: +/user/username/projects/myproject/src: + {} + Info 39 [16:01:47.000] event: {"seq":0,"type":"event","event":"syntaxDiag","body":{"file":"/user/username/projects/myproject/src/main.ts","diagnostics":[]}} +After checking timeout queue length (1) and running + +PolledWatches:: +/user/username/projects/myproject/node_modules/@types: + {"pollingInterval":500} + +FsWatches:: +/user/username/projects/myproject/tsconfig.json: + {} +/user/username/projects/myproject/own/main.ts: + {} +/user/username/projects/myproject/tsconfig-src.json: + {} +/user/username/projects/myproject/src/helpers/functions.ts: + {} +/a/lib/lib.d.ts: + {} + +FsWatchesRecursive:: +/user/username/projects/myproject/src: + {} + +Before running immediate callbacks and checking length (1) + +PolledWatches:: +/user/username/projects/myproject/node_modules/@types: + {"pollingInterval":500} + +FsWatches:: +/user/username/projects/myproject/tsconfig.json: + {} +/user/username/projects/myproject/own/main.ts: + {} +/user/username/projects/myproject/tsconfig-src.json: + {} +/user/username/projects/myproject/src/helpers/functions.ts: + {} +/a/lib/lib.d.ts: + {} + +FsWatchesRecursive:: +/user/username/projects/myproject/src: + {} + Info 40 [16:01:48.000] event: {"seq":0,"type":"event","event":"semanticDiag","body":{"file":"/user/username/projects/myproject/src/main.ts","diagnostics":[]}} +Before running immediate callbacks and checking length (1) + +PolledWatches:: +/user/username/projects/myproject/node_modules/@types: + {"pollingInterval":500} + +FsWatches:: +/user/username/projects/myproject/tsconfig.json: + {} +/user/username/projects/myproject/own/main.ts: + {} +/user/username/projects/myproject/tsconfig-src.json: + {} +/user/username/projects/myproject/src/helpers/functions.ts: + {} +/a/lib/lib.d.ts: + {} + +FsWatchesRecursive:: +/user/username/projects/myproject/src: + {} + +Before running immediate callbacks and checking length (1) + +PolledWatches:: +/user/username/projects/myproject/node_modules/@types: + {"pollingInterval":500} + +FsWatches:: +/user/username/projects/myproject/tsconfig.json: + {} +/user/username/projects/myproject/own/main.ts: + {} +/user/username/projects/myproject/tsconfig-src.json: + {} +/user/username/projects/myproject/src/helpers/functions.ts: + {} +/a/lib/lib.d.ts: + {} + +FsWatchesRecursive:: +/user/username/projects/myproject/src: + {} + Info 41 [16:01:49.000] event: {"seq":0,"type":"event","event":"suggestionDiag","body":{"file":"/user/username/projects/myproject/src/main.ts","diagnostics":[]}} Info 42 [16:01:50.000] event: {"seq":0,"type":"event","event":"requestCompleted","body":{"request_seq":1}} +Before running immediate callbacks and checking length (1) + +PolledWatches:: +/user/username/projects/myproject/node_modules/@types: + {"pollingInterval":500} + +FsWatches:: +/user/username/projects/myproject/tsconfig.json: + {} +/user/username/projects/myproject/own/main.ts: + {} +/user/username/projects/myproject/tsconfig-src.json: + {} +/user/username/projects/myproject/src/helpers/functions.ts: + {} +/a/lib/lib.d.ts: + {} + +FsWatchesRecursive:: +/user/username/projects/myproject/src: + {} + Info 43 [16:01:51.000] Search path: /dummy Info 44 [16:01:52.000] For info: /dummy/dummy.ts :: No config files found. Info 45 [16:01:53.000] Plugins were requested but not running in environment that supports 'require'. Nothing will be loaded @@ -654,6 +788,7 @@ Info 173 [16:05:51.000] request: "seq": 2, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/node_modules/@types: @@ -691,6 +826,7 @@ Info 184 [16:06:02.000] Search path: /user/username/projects/myproject/src/help Info 185 [16:06:03.000] For info: /user/username/projects/myproject/src/helpers/functions.ts :: Config file name: /user/username/projects/myproject/tsconfig.json Info 186 [16:06:04.000] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/target/src/helpers/functions.d.ts 500 undefined WatchType: Closed Script info Info 187 [16:06:05.000] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/target/src/helpers/functions.d.ts.map 500 undefined WatchType: Closed Script info +After request PolledWatches:: /user/username/projects/myproject/node_modules/@types: @@ -992,6 +1128,7 @@ Info 240 [16:07:26.000] request: "seq": 3, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/node_modules/@types: @@ -1131,6 +1268,7 @@ Info 291 [16:08:17.000] For info: /user/username/projects/myproject/src/helpers Info 292 [16:08:18.000] Search path: /user/username/projects/myproject/src/helpers Info 293 [16:08:19.000] For info: /user/username/projects/myproject/src/helpers/functions.ts :: Config file name: /user/username/projects/myproject/tsconfig.json Info 294 [16:08:20.000] Finding references to /user/username/projects/myproject/src/main.ts position 9 in project /user/username/projects/myproject/tsconfig-src.json +After request PolledWatches:: /user/username/projects/myproject/node_modules/@types: diff --git a/tests/baselines/reference/tsserver/projectReferences/solution-with-its-own-files-and-project-is-indirectly-referenced-by-solution.js b/tests/baselines/reference/tsserver/projectReferences/solution-with-its-own-files-and-project-is-indirectly-referenced-by-solution.js index 5d6282af0cf2b..ee5f61ff02f46 100644 --- a/tests/baselines/reference/tsserver/projectReferences/solution-with-its-own-files-and-project-is-indirectly-referenced-by-solution.js +++ b/tests/baselines/reference/tsserver/projectReferences/solution-with-its-own-files-and-project-is-indirectly-referenced-by-solution.js @@ -165,6 +165,7 @@ Info 42 [16:02:02.000] request: "seq": 1, "type": "request" } +Before request //// [/user/username/projects/myproject/tsconfig-src.json] {"compilerOptions":{"composite":true,"outDir":"./target/","baseUrl":"./src/"},"include":["./src/**/*"]} @@ -264,6 +265,7 @@ FsWatchesRecursive:: /user/username/projects/myproject/src: {} +After request PolledWatches:: /user/username/projects/myproject/node_modules/@types: @@ -295,14 +297,182 @@ Info 43 [16:02:03.000] response: { "responseRequired": false } +Before checking timeout queue length (1) and running + +PolledWatches:: +/user/username/projects/myproject/node_modules/@types: + {"pollingInterval":500} + +FsWatches:: +/user/username/projects/myproject/tsconfig.json: + {} +/user/username/projects/myproject/own/main.ts: + {} +/user/username/projects/myproject/tsconfig-indirect1.json: + {} +/user/username/projects/myproject/tsconfig-src.json: + {} +/user/username/projects/myproject/tsconfig-indirect2.json: + {} +/user/username/projects/myproject/indirect1/main.ts: + {} +/user/username/projects/myproject/src/helpers/functions.ts: + {} +/a/lib/lib.d.ts: + {} + +FsWatchesRecursive:: +/user/username/projects/myproject/src: + {} + Info 44 [16:02:04.000] event: {"seq":0,"type":"event","event":"syntaxDiag","body":{"file":"/user/username/projects/myproject/src/main.ts","diagnostics":[]}} +After checking timeout queue length (1) and running + +PolledWatches:: +/user/username/projects/myproject/node_modules/@types: + {"pollingInterval":500} + +FsWatches:: +/user/username/projects/myproject/tsconfig.json: + {} +/user/username/projects/myproject/own/main.ts: + {} +/user/username/projects/myproject/tsconfig-indirect1.json: + {} +/user/username/projects/myproject/tsconfig-src.json: + {} +/user/username/projects/myproject/tsconfig-indirect2.json: + {} +/user/username/projects/myproject/indirect1/main.ts: + {} +/user/username/projects/myproject/src/helpers/functions.ts: + {} +/a/lib/lib.d.ts: + {} + +FsWatchesRecursive:: +/user/username/projects/myproject/src: + {} + +Before running immediate callbacks and checking length (1) + +PolledWatches:: +/user/username/projects/myproject/node_modules/@types: + {"pollingInterval":500} + +FsWatches:: +/user/username/projects/myproject/tsconfig.json: + {} +/user/username/projects/myproject/own/main.ts: + {} +/user/username/projects/myproject/tsconfig-indirect1.json: + {} +/user/username/projects/myproject/tsconfig-src.json: + {} +/user/username/projects/myproject/tsconfig-indirect2.json: + {} +/user/username/projects/myproject/indirect1/main.ts: + {} +/user/username/projects/myproject/src/helpers/functions.ts: + {} +/a/lib/lib.d.ts: + {} + +FsWatchesRecursive:: +/user/username/projects/myproject/src: + {} + Info 45 [16:02:05.000] event: {"seq":0,"type":"event","event":"semanticDiag","body":{"file":"/user/username/projects/myproject/src/main.ts","diagnostics":[]}} +Before running immediate callbacks and checking length (1) + +PolledWatches:: +/user/username/projects/myproject/node_modules/@types: + {"pollingInterval":500} + +FsWatches:: +/user/username/projects/myproject/tsconfig.json: + {} +/user/username/projects/myproject/own/main.ts: + {} +/user/username/projects/myproject/tsconfig-indirect1.json: + {} +/user/username/projects/myproject/tsconfig-src.json: + {} +/user/username/projects/myproject/tsconfig-indirect2.json: + {} +/user/username/projects/myproject/indirect1/main.ts: + {} +/user/username/projects/myproject/src/helpers/functions.ts: + {} +/a/lib/lib.d.ts: + {} + +FsWatchesRecursive:: +/user/username/projects/myproject/src: + {} + +Before running immediate callbacks and checking length (1) + +PolledWatches:: +/user/username/projects/myproject/node_modules/@types: + {"pollingInterval":500} + +FsWatches:: +/user/username/projects/myproject/tsconfig.json: + {} +/user/username/projects/myproject/own/main.ts: + {} +/user/username/projects/myproject/tsconfig-indirect1.json: + {} +/user/username/projects/myproject/tsconfig-src.json: + {} +/user/username/projects/myproject/tsconfig-indirect2.json: + {} +/user/username/projects/myproject/indirect1/main.ts: + {} +/user/username/projects/myproject/src/helpers/functions.ts: + {} +/a/lib/lib.d.ts: + {} + +FsWatchesRecursive:: +/user/username/projects/myproject/src: + {} + Info 46 [16:02:06.000] event: {"seq":0,"type":"event","event":"suggestionDiag","body":{"file":"/user/username/projects/myproject/src/main.ts","diagnostics":[]}} Info 47 [16:02:07.000] event: {"seq":0,"type":"event","event":"requestCompleted","body":{"request_seq":1}} +Before running immediate callbacks and checking length (1) + +PolledWatches:: +/user/username/projects/myproject/node_modules/@types: + {"pollingInterval":500} + +FsWatches:: +/user/username/projects/myproject/tsconfig.json: + {} +/user/username/projects/myproject/own/main.ts: + {} +/user/username/projects/myproject/tsconfig-indirect1.json: + {} +/user/username/projects/myproject/tsconfig-src.json: + {} +/user/username/projects/myproject/tsconfig-indirect2.json: + {} +/user/username/projects/myproject/indirect1/main.ts: + {} +/user/username/projects/myproject/src/helpers/functions.ts: + {} +/a/lib/lib.d.ts: + {} + +FsWatchesRecursive:: +/user/username/projects/myproject/src: + {} + Info 48 [16:02:08.000] Search path: /dummy Info 49 [16:02:09.000] For info: /dummy/dummy.ts :: No config files found. Info 50 [16:02:10.000] Plugins were requested but not running in environment that supports 'require'. Nothing will be loaded @@ -815,6 +985,7 @@ Info 190 [16:06:20.000] request: "seq": 2, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/node_modules/@types: @@ -947,6 +1118,7 @@ Info 254 [16:07:24.000] Search path: /user/username/projects/myproject/src Info 255 [16:07:25.000] For info: /user/username/projects/myproject/src/main.ts :: Config file name: /user/username/projects/myproject/tsconfig.json Info 256 [16:07:26.000] Search path: /user/username/projects/myproject/src Info 257 [16:07:27.000] For info: /user/username/projects/myproject/src/main.ts :: Config file name: /user/username/projects/myproject/tsconfig.json +After request PolledWatches:: /user/username/projects/myproject/node_modules/@types: @@ -1357,6 +1529,7 @@ Info 326 [16:09:16.000] request: "seq": 3, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/node_modules/@types: @@ -1625,6 +1798,7 @@ Info 433 [16:11:03.000] Search path: /user/username/projects/myproject/src Info 434 [16:11:04.000] For info: /user/username/projects/myproject/src/main.ts :: Config file name: /user/username/projects/myproject/tsconfig.json Info 435 [16:11:05.000] Search path: /user/username/projects/myproject/src Info 436 [16:11:06.000] For info: /user/username/projects/myproject/src/main.ts :: Config file name: /user/username/projects/myproject/tsconfig.json +After request PolledWatches:: /user/username/projects/myproject/node_modules/@types: diff --git a/tests/baselines/reference/tsserver/projectReferences/special-handling-of-localness-when-using-arrow-function-as-object-literal-property-types.js b/tests/baselines/reference/tsserver/projectReferences/special-handling-of-localness-when-using-arrow-function-as-object-literal-property-types.js index d2d4533d011ec..4073ef301887d 100644 --- a/tests/baselines/reference/tsserver/projectReferences/special-handling-of-localness-when-using-arrow-function-as-object-literal-property-types.js +++ b/tests/baselines/reference/tsserver/projectReferences/special-handling-of-localness-when-using-arrow-function-as-object-literal-property-types.js @@ -8,6 +8,7 @@ Info 1 [16:00:45.000] request: "file": "/user/username/projects/solution/api/src/server.ts" } } +Before request //// [/a/lib/lib.d.ts] /// interface Boolean {} @@ -131,6 +132,7 @@ Info 33 [16:01:22.000] ----------------------------------------------- Info 33 [16:01:23.000] Open files: Info 33 [16:01:24.000] FileName: /user/username/projects/solution/api/src/server.ts ProjectRootPath: undefined Info 33 [16:01:25.000] Projects: /user/username/projects/solution/api/tsconfig.json +After request PolledWatches:: /user/username/projects/solution/api/node_modules/@types: @@ -173,6 +175,7 @@ Info 34 [16:01:27.000] request: "seq": 1, "type": "request" } +Before request PolledWatches:: /user/username/projects/solution/api/node_modules/@types: @@ -300,6 +303,7 @@ Info 79 [16:02:12.000] Search path: /user/username/projects/solution/shared/sr Info 80 [16:02:13.000] For info: /user/username/projects/solution/shared/src/index.ts :: Config file name: /user/username/projects/solution/shared/tsconfig.json Info 81 [16:02:14.000] Search path: /user/username/projects/solution/shared/src Info 82 [16:02:15.000] For info: /user/username/projects/solution/shared/src/index.ts :: Config file name: /user/username/projects/solution/shared/tsconfig.json +After request PolledWatches:: /user/username/projects/solution/api/node_modules/@types: diff --git a/tests/baselines/reference/tsserver/projectReferences/special-handling-of-localness-when-using-arrow-function-as-object-literal-property.js b/tests/baselines/reference/tsserver/projectReferences/special-handling-of-localness-when-using-arrow-function-as-object-literal-property.js index afb7bb782f43b..041429fadce74 100644 --- a/tests/baselines/reference/tsserver/projectReferences/special-handling-of-localness-when-using-arrow-function-as-object-literal-property.js +++ b/tests/baselines/reference/tsserver/projectReferences/special-handling-of-localness-when-using-arrow-function-as-object-literal-property.js @@ -8,6 +8,7 @@ Info 1 [16:00:45.000] request: "file": "/user/username/projects/solution/api/src/server.ts" } } +Before request //// [/a/lib/lib.d.ts] /// interface Boolean {} @@ -132,6 +133,7 @@ Info 33 [16:01:22.000] ----------------------------------------------- Info 33 [16:01:23.000] Open files: Info 33 [16:01:24.000] FileName: /user/username/projects/solution/api/src/server.ts ProjectRootPath: undefined Info 33 [16:01:25.000] Projects: /user/username/projects/solution/api/tsconfig.json +After request PolledWatches:: /user/username/projects/solution/api/node_modules/@types: @@ -174,6 +176,7 @@ Info 34 [16:01:27.000] request: "seq": 1, "type": "request" } +Before request PolledWatches:: /user/username/projects/solution/api/node_modules/@types: @@ -227,6 +230,7 @@ Info 48 [16:01:41.000] ----------------------------------------------- Info 49 [16:01:42.000] Search path: /user/username/projects/solution/shared/src Info 50 [16:01:43.000] For info: /user/username/projects/solution/shared/src/index.ts :: Config file name: /user/username/projects/solution/shared/tsconfig.json Info 51 [16:01:44.000] Finding references to /user/username/projects/solution/shared/src/index.ts position 16 in project /user/username/projects/solution/shared/tsconfig.json +After request PolledWatches:: /user/username/projects/solution/api/node_modules/@types: diff --git a/tests/baselines/reference/tsserver/projectReferences/special-handling-of-localness-when-using-arrow-function-assignment.js b/tests/baselines/reference/tsserver/projectReferences/special-handling-of-localness-when-using-arrow-function-assignment.js index 44bc9d0968aec..e4f85a8a19bbb 100644 --- a/tests/baselines/reference/tsserver/projectReferences/special-handling-of-localness-when-using-arrow-function-assignment.js +++ b/tests/baselines/reference/tsserver/projectReferences/special-handling-of-localness-when-using-arrow-function-assignment.js @@ -8,6 +8,7 @@ Info 1 [16:00:45.000] request: "file": "/user/username/projects/solution/api/src/server.ts" } } +Before request //// [/a/lib/lib.d.ts] /// interface Boolean {} @@ -131,6 +132,7 @@ Info 33 [16:01:22.000] ----------------------------------------------- Info 33 [16:01:23.000] Open files: Info 33 [16:01:24.000] FileName: /user/username/projects/solution/api/src/server.ts ProjectRootPath: undefined Info 33 [16:01:25.000] Projects: /user/username/projects/solution/api/tsconfig.json +After request PolledWatches:: /user/username/projects/solution/api/node_modules/@types: @@ -173,6 +175,7 @@ Info 34 [16:01:27.000] request: "seq": 1, "type": "request" } +Before request PolledWatches:: /user/username/projects/solution/api/node_modules/@types: @@ -300,6 +303,7 @@ Info 79 [16:02:12.000] Search path: /user/username/projects/solution/shared/sr Info 80 [16:02:13.000] For info: /user/username/projects/solution/shared/src/index.ts :: Config file name: /user/username/projects/solution/shared/tsconfig.json Info 81 [16:02:14.000] Search path: /user/username/projects/solution/shared/src Info 82 [16:02:15.000] For info: /user/username/projects/solution/shared/src/index.ts :: Config file name: /user/username/projects/solution/shared/tsconfig.json +After request PolledWatches:: /user/username/projects/solution/api/node_modules/@types: diff --git a/tests/baselines/reference/tsserver/projectReferences/special-handling-of-localness-when-using-method-of-class-expression.js b/tests/baselines/reference/tsserver/projectReferences/special-handling-of-localness-when-using-method-of-class-expression.js index 5e7bf85710399..f1755b12f5027 100644 --- a/tests/baselines/reference/tsserver/projectReferences/special-handling-of-localness-when-using-method-of-class-expression.js +++ b/tests/baselines/reference/tsserver/projectReferences/special-handling-of-localness-when-using-method-of-class-expression.js @@ -8,6 +8,7 @@ Info 1 [16:00:45.000] request: "file": "/user/username/projects/solution/api/src/server.ts" } } +Before request //// [/a/lib/lib.d.ts] /// interface Boolean {} @@ -133,6 +134,7 @@ Info 33 [16:01:22.000] ----------------------------------------------- Info 33 [16:01:23.000] Open files: Info 33 [16:01:24.000] FileName: /user/username/projects/solution/api/src/server.ts ProjectRootPath: undefined Info 33 [16:01:25.000] Projects: /user/username/projects/solution/api/tsconfig.json +After request PolledWatches:: /user/username/projects/solution/api/node_modules/@types: @@ -175,6 +177,7 @@ Info 34 [16:01:27.000] request: "seq": 1, "type": "request" } +Before request PolledWatches:: /user/username/projects/solution/api/node_modules/@types: @@ -302,6 +305,7 @@ Info 79 [16:02:12.000] Search path: /user/username/projects/solution/shared/sr Info 80 [16:02:13.000] For info: /user/username/projects/solution/shared/src/index.ts :: Config file name: /user/username/projects/solution/shared/tsconfig.json Info 81 [16:02:14.000] Search path: /user/username/projects/solution/shared/src Info 82 [16:02:15.000] For info: /user/username/projects/solution/shared/src/index.ts :: Config file name: /user/username/projects/solution/shared/tsconfig.json +After request PolledWatches:: /user/username/projects/solution/api/node_modules/@types: diff --git a/tests/baselines/reference/tsserver/projectReferences/special-handling-of-localness-when-using-object-literal-property.js b/tests/baselines/reference/tsserver/projectReferences/special-handling-of-localness-when-using-object-literal-property.js index aa026b5c6aab1..111c5fc457b0d 100644 --- a/tests/baselines/reference/tsserver/projectReferences/special-handling-of-localness-when-using-object-literal-property.js +++ b/tests/baselines/reference/tsserver/projectReferences/special-handling-of-localness-when-using-object-literal-property.js @@ -8,6 +8,7 @@ Info 1 [16:00:45.000] request: "file": "/user/username/projects/solution/api/src/server.ts" } } +Before request //// [/a/lib/lib.d.ts] /// interface Boolean {} @@ -131,6 +132,7 @@ Info 33 [16:01:22.000] ----------------------------------------------- Info 33 [16:01:23.000] Open files: Info 33 [16:01:24.000] FileName: /user/username/projects/solution/api/src/server.ts ProjectRootPath: undefined Info 33 [16:01:25.000] Projects: /user/username/projects/solution/api/tsconfig.json +After request PolledWatches:: /user/username/projects/solution/api/node_modules/@types: @@ -173,6 +175,7 @@ Info 34 [16:01:27.000] request: "seq": 1, "type": "request" } +Before request PolledWatches:: /user/username/projects/solution/api/node_modules/@types: @@ -300,6 +303,7 @@ Info 79 [16:02:12.000] Search path: /user/username/projects/solution/shared/sr Info 80 [16:02:13.000] For info: /user/username/projects/solution/shared/src/index.ts :: Config file name: /user/username/projects/solution/shared/tsconfig.json Info 81 [16:02:14.000] Search path: /user/username/projects/solution/shared/src Info 82 [16:02:15.000] For info: /user/username/projects/solution/shared/src/index.ts :: Config file name: /user/username/projects/solution/shared/tsconfig.json +After request PolledWatches:: /user/username/projects/solution/api/node_modules/@types: diff --git a/tests/baselines/reference/tsserver/projectReferences/when-files-from-two-projects-are-open-and-one-project-references.js b/tests/baselines/reference/tsserver/projectReferences/when-files-from-two-projects-are-open-and-one-project-references.js index a5ade1791629d..a12d6877e02da 100644 --- a/tests/baselines/reference/tsserver/projectReferences/when-files-from-two-projects-are-open-and-one-project-references.js +++ b/tests/baselines/reference/tsserver/projectReferences/when-files-from-two-projects-are-open-and-one-project-references.js @@ -8,6 +8,7 @@ Info 1 [16:01:54.000] request: "file": "/user/username/projects/myproject/main/src/file1.ts" } } +Before request //// [/a/lib/lib.d.ts] /// interface Boolean {} @@ -356,6 +357,7 @@ Info 66 [16:03:01.000] ----------------------------------------------- Info 66 [16:03:02.000] Open files: Info 66 [16:03:03.000] FileName: /user/username/projects/myproject/main/src/file1.ts ProjectRootPath: undefined Info 66 [16:03:04.000] Projects: /user/username/projects/myproject/main/tsconfig.json +After request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -430,6 +432,7 @@ Info 67 [16:03:06.000] request: "file": "/user/username/projects/myproject/core/src/file1.ts" } } +Before request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -528,6 +531,7 @@ Info 83 [16:03:29.000] FileName: /user/username/projects/myproject/main/src/f Info 83 [16:03:30.000] Projects: /user/username/projects/myproject/main/tsconfig.json Info 83 [16:03:31.000] FileName: /user/username/projects/myproject/core/src/file1.ts ProjectRootPath: undefined Info 83 [16:03:32.000] Projects: /user/username/projects/myproject/core/tsconfig.json +After request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -606,6 +610,7 @@ Info 84 [16:03:34.000] request: "seq": 1, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -797,6 +802,7 @@ Info 156 [16:04:46.000] Files (2) Info 157 [16:04:47.000] ----------------------------------------------- Info 158 [16:04:48.000] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/core/src/file1.d.ts 2000 undefined Project: /user/username/projects/myproject/core/tsconfig.json WatchType: Missing generated file +After request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: diff --git a/tests/baselines/reference/tsserver/projectReferences/when-the-referenced-projects-have-allowJs-and-emitDeclarationOnly.js b/tests/baselines/reference/tsserver/projectReferences/when-the-referenced-projects-have-allowJs-and-emitDeclarationOnly.js index 53b114fce0db5..830bf1dae7759 100644 --- a/tests/baselines/reference/tsserver/projectReferences/when-the-referenced-projects-have-allowJs-and-emitDeclarationOnly.js +++ b/tests/baselines/reference/tsserver/projectReferences/when-the-referenced-projects-have-allowJs-and-emitDeclarationOnly.js @@ -8,6 +8,7 @@ Info 1 [16:00:44.000] request: "file": "/user/username/projects/myproject/packages/consumer/src/index.ts" } } +Before request //// [/a/lib/lib.d.ts] /// interface Boolean {} @@ -152,6 +153,7 @@ Info 43 [16:01:28.000] ----------------------------------------------- Info 43 [16:01:29.000] Open files: Info 43 [16:01:30.000] FileName: /user/username/projects/myproject/packages/consumer/src/index.ts ProjectRootPath: undefined Info 43 [16:01:31.000] Projects: /user/username/projects/myproject/packages/consumer/tsconfig.json +After request PolledWatches:: /user/username/projects/myproject/packages/consumer/node_modules: @@ -205,6 +207,7 @@ Info 44 [16:01:33.000] request: "seq": 1, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/packages/consumer/node_modules: @@ -242,6 +245,7 @@ FsWatchesRecursive:: /user/username/projects/myproject/node_modules: {} +After request PolledWatches:: /user/username/projects/myproject/packages/consumer/node_modules: @@ -283,11 +287,238 @@ Info 45 [16:01:34.000] response: { "responseRequired": false } +Before checking timeout queue length (1) and running + +PolledWatches:: +/user/username/projects/myproject/packages/consumer/node_modules: + {"pollingInterval":500} +/user/username/projects/myproject/packages/node_modules: + {"pollingInterval":500} +/user/username/projects/myproject/packages/consumer/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/myproject/packages/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/myproject/node_modules/@types: + {"pollingInterval":500} + +FsWatches:: +/user/username/projects/myproject/packages/consumer/tsconfig.json: + {} +/user/username/projects/myproject/packages/emit-composite/tsconfig.json: + {} +/user/username/projects/myproject/packages/emit-composite/src/index.js: + {} +/user/username/projects/myproject/packages/emit-composite/src/testModule.js: + {} +/a/lib/lib.d.ts: + {} +/user/username/projects/myproject/packages/emit-composite/package.json: + {} + +FsWatchesRecursive:: +/user/username/projects/myproject/packages/consumer/src: + {} +/user/username/projects/myproject/packages/emit-composite/src: + {} +/user/username/projects/myproject/packages/emit-composite: + {} +/user/username/projects/myproject/node_modules: + {} + Info 46 [16:01:35.000] event: {"seq":0,"type":"event","event":"syntaxDiag","body":{"file":"/user/username/projects/myproject/packages/consumer/src/index.ts","diagnostics":[]}} +After checking timeout queue length (1) and running + +PolledWatches:: +/user/username/projects/myproject/packages/consumer/node_modules: + {"pollingInterval":500} +/user/username/projects/myproject/packages/node_modules: + {"pollingInterval":500} +/user/username/projects/myproject/packages/consumer/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/myproject/packages/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/myproject/node_modules/@types: + {"pollingInterval":500} + +FsWatches:: +/user/username/projects/myproject/packages/consumer/tsconfig.json: + {} +/user/username/projects/myproject/packages/emit-composite/tsconfig.json: + {} +/user/username/projects/myproject/packages/emit-composite/src/index.js: + {} +/user/username/projects/myproject/packages/emit-composite/src/testModule.js: + {} +/a/lib/lib.d.ts: + {} +/user/username/projects/myproject/packages/emit-composite/package.json: + {} + +FsWatchesRecursive:: +/user/username/projects/myproject/packages/consumer/src: + {} +/user/username/projects/myproject/packages/emit-composite/src: + {} +/user/username/projects/myproject/packages/emit-composite: + {} +/user/username/projects/myproject/node_modules: + {} + +Before running immediate callbacks and checking length (1) + +PolledWatches:: +/user/username/projects/myproject/packages/consumer/node_modules: + {"pollingInterval":500} +/user/username/projects/myproject/packages/node_modules: + {"pollingInterval":500} +/user/username/projects/myproject/packages/consumer/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/myproject/packages/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/myproject/node_modules/@types: + {"pollingInterval":500} + +FsWatches:: +/user/username/projects/myproject/packages/consumer/tsconfig.json: + {} +/user/username/projects/myproject/packages/emit-composite/tsconfig.json: + {} +/user/username/projects/myproject/packages/emit-composite/src/index.js: + {} +/user/username/projects/myproject/packages/emit-composite/src/testModule.js: + {} +/a/lib/lib.d.ts: + {} +/user/username/projects/myproject/packages/emit-composite/package.json: + {} + +FsWatchesRecursive:: +/user/username/projects/myproject/packages/consumer/src: + {} +/user/username/projects/myproject/packages/emit-composite/src: + {} +/user/username/projects/myproject/packages/emit-composite: + {} +/user/username/projects/myproject/node_modules: + {} + Info 47 [16:01:36.000] event: {"seq":0,"type":"event","event":"semanticDiag","body":{"file":"/user/username/projects/myproject/packages/consumer/src/index.ts","diagnostics":[{"start":{"line":3,"offset":42},"end":{"line":3,"offset":44},"text":"Expected 1 arguments, but got 2.","code":2554,"category":"error"}]}} +Before running immediate callbacks and checking length (1) + +PolledWatches:: +/user/username/projects/myproject/packages/consumer/node_modules: + {"pollingInterval":500} +/user/username/projects/myproject/packages/node_modules: + {"pollingInterval":500} +/user/username/projects/myproject/packages/consumer/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/myproject/packages/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/myproject/node_modules/@types: + {"pollingInterval":500} + +FsWatches:: +/user/username/projects/myproject/packages/consumer/tsconfig.json: + {} +/user/username/projects/myproject/packages/emit-composite/tsconfig.json: + {} +/user/username/projects/myproject/packages/emit-composite/src/index.js: + {} +/user/username/projects/myproject/packages/emit-composite/src/testModule.js: + {} +/a/lib/lib.d.ts: + {} +/user/username/projects/myproject/packages/emit-composite/package.json: + {} + +FsWatchesRecursive:: +/user/username/projects/myproject/packages/consumer/src: + {} +/user/username/projects/myproject/packages/emit-composite/src: + {} +/user/username/projects/myproject/packages/emit-composite: + {} +/user/username/projects/myproject/node_modules: + {} + +Before running immediate callbacks and checking length (1) + +PolledWatches:: +/user/username/projects/myproject/packages/consumer/node_modules: + {"pollingInterval":500} +/user/username/projects/myproject/packages/node_modules: + {"pollingInterval":500} +/user/username/projects/myproject/packages/consumer/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/myproject/packages/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/myproject/node_modules/@types: + {"pollingInterval":500} + +FsWatches:: +/user/username/projects/myproject/packages/consumer/tsconfig.json: + {} +/user/username/projects/myproject/packages/emit-composite/tsconfig.json: + {} +/user/username/projects/myproject/packages/emit-composite/src/index.js: + {} +/user/username/projects/myproject/packages/emit-composite/src/testModule.js: + {} +/a/lib/lib.d.ts: + {} +/user/username/projects/myproject/packages/emit-composite/package.json: + {} + +FsWatchesRecursive:: +/user/username/projects/myproject/packages/consumer/src: + {} +/user/username/projects/myproject/packages/emit-composite/src: + {} +/user/username/projects/myproject/packages/emit-composite: + {} +/user/username/projects/myproject/node_modules: + {} + Info 48 [16:01:37.000] event: {"seq":0,"type":"event","event":"suggestionDiag","body":{"file":"/user/username/projects/myproject/packages/consumer/src/index.ts","diagnostics":[]}} Info 49 [16:01:38.000] event: - {"seq":0,"type":"event","event":"requestCompleted","body":{"request_seq":1}} \ No newline at end of file + {"seq":0,"type":"event","event":"requestCompleted","body":{"request_seq":1}} +Before running immediate callbacks and checking length (1) + +PolledWatches:: +/user/username/projects/myproject/packages/consumer/node_modules: + {"pollingInterval":500} +/user/username/projects/myproject/packages/node_modules: + {"pollingInterval":500} +/user/username/projects/myproject/packages/consumer/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/myproject/packages/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/myproject/node_modules/@types: + {"pollingInterval":500} + +FsWatches:: +/user/username/projects/myproject/packages/consumer/tsconfig.json: + {} +/user/username/projects/myproject/packages/emit-composite/tsconfig.json: + {} +/user/username/projects/myproject/packages/emit-composite/src/index.js: + {} +/user/username/projects/myproject/packages/emit-composite/src/testModule.js: + {} +/a/lib/lib.d.ts: + {} +/user/username/projects/myproject/packages/emit-composite/package.json: + {} + +FsWatchesRecursive:: +/user/username/projects/myproject/packages/consumer/src: + {} +/user/username/projects/myproject/packages/emit-composite/src: + {} +/user/username/projects/myproject/packages/emit-composite: + {} +/user/username/projects/myproject/node_modules: + {} diff --git a/tests/baselines/reference/tsserver/projectReferences/with-disableSolutionSearching-solution-and-siblings-are-not-loaded.js b/tests/baselines/reference/tsserver/projectReferences/with-disableSolutionSearching-solution-and-siblings-are-not-loaded.js index 8d457249aaf83..edbdcab572d76 100644 --- a/tests/baselines/reference/tsserver/projectReferences/with-disableSolutionSearching-solution-and-siblings-are-not-loaded.js +++ b/tests/baselines/reference/tsserver/projectReferences/with-disableSolutionSearching-solution-and-siblings-are-not-loaded.js @@ -8,6 +8,7 @@ Info 1 [16:00:35.000] request: "file": "/user/username/projects/solution/compiler/program.ts" } } +Before request //// [/a/lib/lib.d.ts] /// interface Boolean {} @@ -107,6 +108,7 @@ Info 19 [16:00:55.000] ----------------------------------------------- Info 19 [16:00:56.000] Open files: Info 19 [16:00:57.000] FileName: /user/username/projects/solution/compiler/program.ts ProjectRootPath: undefined Info 19 [16:00:58.000] Projects: /user/username/projects/solution/compiler/tsconfig.json +After request PolledWatches:: /user/username/projects/solution/compiler/node_modules/@types: @@ -139,6 +141,7 @@ Info 20 [16:01:00.000] request: "seq": 1, "type": "request" } +Before request PolledWatches:: /user/username/projects/solution/compiler/node_modules/@types: @@ -157,6 +160,7 @@ FsWatches:: FsWatchesRecursive:: Info 21 [16:01:01.000] Finding references to /user/username/projects/solution/compiler/program.ts position 110 in project /user/username/projects/solution/compiler/tsconfig.json +After request PolledWatches:: /user/username/projects/solution/compiler/node_modules/@types: diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configHasNoReference/dependency-dts-changes-with-timeout-before-request.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configHasNoReference/dependency-dts-changes-with-timeout-before-request.js index 706c37c5d5d3a..5230c924cf249 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configHasNoReference/dependency-dts-changes-with-timeout-before-request.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configHasNoReference/dependency-dts-changes-with-timeout-before-request.js @@ -8,6 +8,7 @@ Info 1 [16:01:04.000] request: "file": "/user/username/projects/myproject/dependency/FnS.ts" } } +Before request //// [/user/username/projects/myproject/dependency/FnS.ts] export function fn1() { } export function fn2() { } @@ -245,6 +246,7 @@ Info 22 [16:01:27.000] ----------------------------------------------- Info 22 [16:01:28.000] Open files: Info 22 [16:01:29.000] FileName: /user/username/projects/myproject/dependency/FnS.ts ProjectRootPath: undefined Info 22 [16:01:30.000] Projects: /user/username/projects/myproject/dependency/tsconfig.json +After request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: @@ -275,6 +277,7 @@ Info 23 [16:01:32.000] request: "file": "/user/username/projects/myproject/random/random.ts" } } +Before request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: @@ -338,6 +341,7 @@ Info 41 [16:01:57.000] FileName: /user/username/projects/myproject/dependency Info 41 [16:01:58.000] Projects: /user/username/projects/myproject/dependency/tsconfig.json Info 41 [16:01:59.000] FileName: /user/username/projects/myproject/random/random.ts ProjectRootPath: undefined Info 41 [16:02:00.000] Projects: /user/username/projects/myproject/random/tsconfig.json +After request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: @@ -376,6 +380,7 @@ Info 42 [16:02:02.000] request: "seq": 1, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: @@ -401,6 +406,7 @@ FsWatchesRecursive:: Info 43 [16:02:03.000] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls/FnS.d.ts 500 undefined WatchType: Closed Script info Info 44 [16:02:04.000] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls/FnS.d.ts.map 500 undefined WatchType: Closed Script info +After request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: @@ -480,6 +486,43 @@ Info 46 [16:02:09.000] FileWatcher:: Triggered with /user/username/projects/my Info 47 [16:02:10.000] Scheduled: /user/username/projects/myproject/dependency/tsconfig.json Info 48 [16:02:11.000] Scheduled: *ensureProjectForOpenFiles* Info 49 [16:02:12.000] Elapsed:: *ms FileWatcher:: Triggered with /user/username/projects/myproject/decls/FnS.d.ts 1:: WatchInfo: /user/username/projects/myproject/decls/FnS.d.ts 500 undefined WatchType: Closed Script info +Before running timeout callbacks +//// [/user/username/projects/myproject/decls/FnS.d.ts] +export declare function fn1(): void; +export declare function fn2(): void; +export declare function fn3(): void; +export declare function fn4(): void; +export declare function fn5(): void; +export declare function fn6(): void; +//# sourceMappingURL=FnS.d.ts.map + + +PolledWatches:: +/user/username/projects/myproject/dependency/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/myproject/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/myproject/random/node_modules/@types: + {"pollingInterval":500} + +FsWatches:: +/user/username/projects/myproject/dependency/tsconfig.json: + {} +/a/lib/lib.d.ts: + {} +/user/username/projects/myproject/random/tsconfig.json: + {} +/user/username/projects/myproject/decls/fns.d.ts: + {} +/user/username/projects/myproject/decls/fns.d.ts.map: + {} + +FsWatchesRecursive:: +/user/username/projects/myproject/dependency: + {} +/user/username/projects/myproject/random: + {} + Info 50 [16:02:13.000] Running: /user/username/projects/myproject/dependency/tsconfig.json Info 51 [16:02:14.000] Starting updateGraphWorker: Project: /user/username/projects/myproject/dependency/tsconfig.json Info 52 [16:02:15.000] Finishing updateGraphWorker: Project: /user/username/projects/myproject/dependency/tsconfig.json Version: 2 structureChanged: false structureIsReused:: Not Elapsed:: *ms @@ -512,6 +555,34 @@ Info 56 [16:02:37.000] FileName: /user/username/projects/myproject/dependency Info 56 [16:02:38.000] Projects: /user/username/projects/myproject/dependency/tsconfig.json Info 56 [16:02:39.000] FileName: /user/username/projects/myproject/random/random.ts ProjectRootPath: undefined Info 56 [16:02:40.000] Projects: /user/username/projects/myproject/random/tsconfig.json +After running timeout callbacks + +PolledWatches:: +/user/username/projects/myproject/dependency/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/myproject/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/myproject/random/node_modules/@types: + {"pollingInterval":500} + +FsWatches:: +/user/username/projects/myproject/dependency/tsconfig.json: + {} +/a/lib/lib.d.ts: + {} +/user/username/projects/myproject/random/tsconfig.json: + {} +/user/username/projects/myproject/decls/fns.d.ts: + {} +/user/username/projects/myproject/decls/fns.d.ts.map: + {} + +FsWatchesRecursive:: +/user/username/projects/myproject/dependency: + {} +/user/username/projects/myproject/random: + {} + Info 56 [16:02:41.000] request: { "command": "rename", @@ -523,15 +594,7 @@ Info 56 [16:02:41.000] request: "seq": 2, "type": "request" } -//// [/user/username/projects/myproject/decls/FnS.d.ts] -export declare function fn1(): void; -export declare function fn2(): void; -export declare function fn3(): void; -export declare function fn4(): void; -export declare function fn5(): void; -export declare function fn6(): void; -//# sourceMappingURL=FnS.d.ts.map - +Before request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: @@ -559,6 +622,7 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +After request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: @@ -645,6 +709,7 @@ Info 58 [16:02:43.000] request: "seq": 3, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: @@ -672,6 +737,7 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +After request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: @@ -758,6 +824,7 @@ Info 60 [16:02:45.000] request: "seq": 4, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: @@ -785,6 +852,7 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +After request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: @@ -871,6 +939,7 @@ Info 62 [16:02:47.000] request: "seq": 5, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: @@ -898,6 +967,7 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +After request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: @@ -984,6 +1054,7 @@ Info 64 [16:02:49.000] request: "seq": 6, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: @@ -1011,6 +1082,7 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +After request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configHasNoReference/dependency-dts-changes.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configHasNoReference/dependency-dts-changes.js index 29e9742075a99..ef804743f4e5b 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configHasNoReference/dependency-dts-changes.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configHasNoReference/dependency-dts-changes.js @@ -8,6 +8,7 @@ Info 1 [16:01:04.000] request: "file": "/user/username/projects/myproject/dependency/FnS.ts" } } +Before request //// [/user/username/projects/myproject/dependency/FnS.ts] export function fn1() { } export function fn2() { } @@ -245,6 +246,7 @@ Info 22 [16:01:27.000] ----------------------------------------------- Info 22 [16:01:28.000] Open files: Info 22 [16:01:29.000] FileName: /user/username/projects/myproject/dependency/FnS.ts ProjectRootPath: undefined Info 22 [16:01:30.000] Projects: /user/username/projects/myproject/dependency/tsconfig.json +After request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: @@ -275,6 +277,7 @@ Info 23 [16:01:32.000] request: "file": "/user/username/projects/myproject/random/random.ts" } } +Before request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: @@ -338,6 +341,7 @@ Info 41 [16:01:57.000] FileName: /user/username/projects/myproject/dependency Info 41 [16:01:58.000] Projects: /user/username/projects/myproject/dependency/tsconfig.json Info 41 [16:01:59.000] FileName: /user/username/projects/myproject/random/random.ts ProjectRootPath: undefined Info 41 [16:02:00.000] Projects: /user/username/projects/myproject/random/tsconfig.json +After request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: @@ -376,6 +380,7 @@ Info 42 [16:02:02.000] request: "seq": 1, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: @@ -401,6 +406,7 @@ FsWatchesRecursive:: Info 43 [16:02:03.000] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls/FnS.d.ts 500 undefined WatchType: Closed Script info Info 44 [16:02:04.000] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls/FnS.d.ts.map 500 undefined WatchType: Closed Script info +After request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: @@ -491,6 +497,7 @@ Info 50 [16:02:13.000] request: "seq": 2, "type": "request" } +Before request //// [/user/username/projects/myproject/decls/FnS.d.ts] export declare function fn1(): void; export declare function fn2(): void; @@ -529,6 +536,7 @@ FsWatchesRecursive:: Info 51 [16:02:14.000] Starting updateGraphWorker: Project: /user/username/projects/myproject/dependency/tsconfig.json Info 52 [16:02:15.000] Finishing updateGraphWorker: Project: /user/username/projects/myproject/dependency/tsconfig.json Version: 2 structureChanged: false structureIsReused:: Not Elapsed:: *ms +After request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: @@ -615,6 +623,7 @@ Info 54 [16:02:17.000] request: "seq": 3, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: @@ -642,6 +651,7 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +After request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: @@ -728,6 +738,7 @@ Info 56 [16:02:19.000] request: "seq": 4, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: @@ -755,6 +766,7 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +After request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: @@ -841,6 +853,7 @@ Info 58 [16:02:21.000] request: "seq": 5, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: @@ -868,6 +881,7 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +After request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: @@ -954,6 +968,7 @@ Info 60 [16:02:23.000] request: "seq": 6, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: @@ -981,6 +996,7 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +After request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configHasNoReference/dependency-dts-created.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configHasNoReference/dependency-dts-created.js index 3291f6b1306d4..9042ef1f82eff 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configHasNoReference/dependency-dts-created.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configHasNoReference/dependency-dts-created.js @@ -8,6 +8,7 @@ Info 1 [16:01:05.000] request: "file": "/user/username/projects/myproject/dependency/FnS.ts" } } +Before request //// [/user/username/projects/myproject/dependency/FnS.ts] export function fn1() { } export function fn2() { } @@ -237,6 +238,7 @@ Info 22 [16:01:28.000] ----------------------------------------------- Info 22 [16:01:29.000] Open files: Info 22 [16:01:30.000] FileName: /user/username/projects/myproject/dependency/FnS.ts ProjectRootPath: undefined Info 22 [16:01:31.000] Projects: /user/username/projects/myproject/dependency/tsconfig.json +After request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: @@ -267,6 +269,7 @@ Info 23 [16:01:33.000] request: "file": "/user/username/projects/myproject/random/random.ts" } } +Before request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: @@ -330,6 +333,7 @@ Info 41 [16:01:58.000] FileName: /user/username/projects/myproject/dependency Info 41 [16:01:59.000] Projects: /user/username/projects/myproject/dependency/tsconfig.json Info 41 [16:02:00.000] FileName: /user/username/projects/myproject/random/random.ts ProjectRootPath: undefined Info 41 [16:02:01.000] Projects: /user/username/projects/myproject/random/tsconfig.json +After request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: @@ -368,6 +372,7 @@ Info 42 [16:02:03.000] request: "seq": 1, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: @@ -392,6 +397,7 @@ FsWatchesRecursive:: {} Info 43 [16:02:04.000] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls/FnS.d.ts 2000 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Missing generated file +After request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: @@ -484,6 +490,7 @@ Info 53 [16:02:16.000] request: "seq": 2, "type": "request" } +Before request //// [/user/username/projects/myproject/decls/FnS.d.ts] export declare function fn1(): void; export declare function fn2(): void; @@ -521,6 +528,7 @@ Info 54 [16:02:17.000] Starting updateGraphWorker: Project: /user/username/pro Info 55 [16:02:18.000] Finishing updateGraphWorker: Project: /user/username/projects/myproject/dependency/tsconfig.json Version: 2 structureChanged: false structureIsReused:: Not Elapsed:: *ms Info 56 [16:02:19.000] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls/FnS.d.ts 500 undefined WatchType: Closed Script info Info 57 [16:02:20.000] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls/FnS.d.ts.map 500 undefined WatchType: Closed Script info +After request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: @@ -607,6 +615,7 @@ Info 59 [16:02:22.000] request: "seq": 3, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: @@ -634,6 +643,7 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +After request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: @@ -720,6 +730,7 @@ Info 61 [16:02:24.000] request: "seq": 4, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: @@ -747,6 +758,7 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +After request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: @@ -833,6 +845,7 @@ Info 63 [16:02:26.000] request: "seq": 5, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: @@ -860,6 +873,7 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +After request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: @@ -946,6 +960,7 @@ Info 65 [16:02:28.000] request: "seq": 6, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: @@ -973,6 +988,7 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +After request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: @@ -1057,6 +1073,7 @@ Info 67 [16:02:30.000] request: "file": "/user/username/projects/myproject/random/random.ts" } } +Before request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: @@ -1096,6 +1113,7 @@ Info 69 [16:02:37.000] ----------------------------------------------- Info 69 [16:02:38.000] Open files: Info 69 [16:02:39.000] FileName: /user/username/projects/myproject/dependency/FnS.ts ProjectRootPath: undefined Info 69 [16:02:40.000] Projects: /user/username/projects/myproject/dependency/tsconfig.json +After request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: @@ -1138,6 +1156,7 @@ Info 70 [16:02:42.000] request: "file": "/user/username/projects/myproject/random/random.ts" } } +Before request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: @@ -1183,6 +1202,7 @@ Info 74 [16:02:53.000] FileName: /user/username/projects/myproject/dependency Info 74 [16:02:54.000] Projects: /user/username/projects/myproject/dependency/tsconfig.json Info 74 [16:02:55.000] FileName: /user/username/projects/myproject/random/random.ts ProjectRootPath: undefined Info 74 [16:02:56.000] Projects: /user/username/projects/myproject/random/tsconfig.json +After request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: @@ -1223,6 +1243,7 @@ Info 75 [16:02:58.000] request: "file": "/user/username/projects/myproject/dependency/FnS.ts" } } +Before request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: @@ -1262,6 +1283,7 @@ Info 77 [16:03:05.000] ----------------------------------------------- Info 77 [16:03:06.000] Open files: Info 77 [16:03:07.000] FileName: /user/username/projects/myproject/random/random.ts ProjectRootPath: undefined Info 77 [16:03:08.000] Projects: /user/username/projects/myproject/random/tsconfig.json +After request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: @@ -1304,6 +1326,7 @@ Info 78 [16:03:10.000] request: "file": "/user/username/projects/myproject/random/random.ts" } } +Before request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: @@ -1343,6 +1366,7 @@ Info 80 [16:03:16.000] Files (2) Info 80 [16:03:17.000] ----------------------------------------------- Info 80 [16:03:18.000] Open files: +After request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: @@ -1387,6 +1411,7 @@ Info 81 [16:03:20.000] request: "file": "/user/username/projects/myproject/random/random.ts" } } +Before request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: @@ -1452,6 +1477,7 @@ Info 100 [16:03:41.000] ----------------------------------------------- Info 100 [16:03:42.000] Open files: Info 100 [16:03:43.000] FileName: /user/username/projects/myproject/random/random.ts ProjectRootPath: undefined Info 100 [16:03:44.000] Projects: /user/username/projects/myproject/random/tsconfig.json +After request PolledWatches:: /user/username/projects/myproject/node_modules/@types: diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configHasNoReference/dependency-dts-deleted.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configHasNoReference/dependency-dts-deleted.js index cf22cb6e6a594..b989e3a045c3d 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configHasNoReference/dependency-dts-deleted.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configHasNoReference/dependency-dts-deleted.js @@ -8,6 +8,7 @@ Info 1 [16:01:04.000] request: "file": "/user/username/projects/myproject/dependency/FnS.ts" } } +Before request //// [/user/username/projects/myproject/dependency/FnS.ts] export function fn1() { } export function fn2() { } @@ -245,6 +246,7 @@ Info 22 [16:01:27.000] ----------------------------------------------- Info 22 [16:01:28.000] Open files: Info 22 [16:01:29.000] FileName: /user/username/projects/myproject/dependency/FnS.ts ProjectRootPath: undefined Info 22 [16:01:30.000] Projects: /user/username/projects/myproject/dependency/tsconfig.json +After request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: @@ -275,6 +277,7 @@ Info 23 [16:01:32.000] request: "file": "/user/username/projects/myproject/random/random.ts" } } +Before request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: @@ -338,6 +341,7 @@ Info 41 [16:01:57.000] FileName: /user/username/projects/myproject/dependency Info 41 [16:01:58.000] Projects: /user/username/projects/myproject/dependency/tsconfig.json Info 41 [16:01:59.000] FileName: /user/username/projects/myproject/random/random.ts ProjectRootPath: undefined Info 41 [16:02:00.000] Projects: /user/username/projects/myproject/random/tsconfig.json +After request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: @@ -376,6 +380,7 @@ Info 42 [16:02:02.000] request: "seq": 1, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: @@ -401,6 +406,7 @@ FsWatchesRecursive:: Info 43 [16:02:03.000] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls/FnS.d.ts 500 undefined WatchType: Closed Script info Info 44 [16:02:04.000] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls/FnS.d.ts.map 500 undefined WatchType: Closed Script info +After request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: @@ -492,6 +498,7 @@ Info 51 [16:02:12.000] request: "seq": 2, "type": "request" } +Before request //// [/user/username/projects/myproject/decls/FnS.d.ts] deleted PolledWatches:: @@ -521,6 +528,7 @@ FsWatchesRecursive:: Info 52 [16:02:13.000] Starting updateGraphWorker: Project: /user/username/projects/myproject/dependency/tsconfig.json Info 53 [16:02:14.000] Finishing updateGraphWorker: Project: /user/username/projects/myproject/dependency/tsconfig.json Version: 2 structureChanged: false structureIsReused:: Not Elapsed:: *ms Info 54 [16:02:15.000] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls/FnS.d.ts 2000 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Missing generated file +After request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: @@ -607,6 +615,7 @@ Info 56 [16:02:17.000] request: "seq": 3, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: @@ -634,6 +643,7 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +After request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: @@ -720,6 +730,7 @@ Info 58 [16:02:19.000] request: "seq": 4, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: @@ -747,6 +758,7 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +After request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: @@ -833,6 +845,7 @@ Info 60 [16:02:21.000] request: "seq": 5, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: @@ -860,6 +873,7 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +After request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: @@ -946,6 +960,7 @@ Info 62 [16:02:23.000] request: "seq": 6, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: @@ -973,6 +988,7 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +After request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: @@ -1057,6 +1073,7 @@ Info 64 [16:02:25.000] request: "file": "/user/username/projects/myproject/random/random.ts" } } +Before request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: @@ -1096,6 +1113,7 @@ Info 66 [16:02:32.000] ----------------------------------------------- Info 66 [16:02:33.000] Open files: Info 66 [16:02:34.000] FileName: /user/username/projects/myproject/dependency/FnS.ts ProjectRootPath: undefined Info 66 [16:02:35.000] Projects: /user/username/projects/myproject/dependency/tsconfig.json +After request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: @@ -1138,6 +1156,7 @@ Info 67 [16:02:37.000] request: "file": "/user/username/projects/myproject/random/random.ts" } } +Before request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: @@ -1184,6 +1203,7 @@ Info 72 [16:02:49.000] FileName: /user/username/projects/myproject/dependency Info 72 [16:02:50.000] Projects: /user/username/projects/myproject/dependency/tsconfig.json Info 72 [16:02:51.000] FileName: /user/username/projects/myproject/random/random.ts ProjectRootPath: undefined Info 72 [16:02:52.000] Projects: /user/username/projects/myproject/random/tsconfig.json +After request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: @@ -1222,6 +1242,7 @@ Info 73 [16:02:54.000] request: "file": "/user/username/projects/myproject/dependency/FnS.ts" } } +Before request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: @@ -1259,6 +1280,7 @@ Info 75 [16:03:01.000] ----------------------------------------------- Info 75 [16:03:02.000] Open files: Info 75 [16:03:03.000] FileName: /user/username/projects/myproject/random/random.ts ProjectRootPath: undefined Info 75 [16:03:04.000] Projects: /user/username/projects/myproject/random/tsconfig.json +After request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: @@ -1299,6 +1321,7 @@ Info 76 [16:03:06.000] request: "file": "/user/username/projects/myproject/random/random.ts" } } +Before request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: @@ -1336,6 +1359,7 @@ Info 78 [16:03:12.000] Files (2) Info 78 [16:03:13.000] ----------------------------------------------- Info 78 [16:03:14.000] Open files: +After request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: @@ -1378,6 +1402,7 @@ Info 79 [16:03:16.000] request: "file": "/user/username/projects/myproject/random/random.ts" } } +Before request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: @@ -1439,6 +1464,7 @@ Info 96 [16:03:35.000] ----------------------------------------------- Info 96 [16:03:36.000] Open files: Info 96 [16:03:37.000] FileName: /user/username/projects/myproject/random/random.ts ProjectRootPath: undefined Info 96 [16:03:38.000] Projects: /user/username/projects/myproject/random/tsconfig.json +After request PolledWatches:: /user/username/projects/myproject/node_modules/@types: diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configHasNoReference/dependency-dts-not-present.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configHasNoReference/dependency-dts-not-present.js index f16ed35de7808..e0a0de5a8f60a 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configHasNoReference/dependency-dts-not-present.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configHasNoReference/dependency-dts-not-present.js @@ -8,6 +8,7 @@ Info 1 [16:01:05.000] request: "file": "/user/username/projects/myproject/dependency/FnS.ts" } } +Before request //// [/user/username/projects/myproject/dependency/FnS.ts] export function fn1() { } export function fn2() { } @@ -237,6 +238,7 @@ Info 22 [16:01:28.000] ----------------------------------------------- Info 22 [16:01:29.000] Open files: Info 22 [16:01:30.000] FileName: /user/username/projects/myproject/dependency/FnS.ts ProjectRootPath: undefined Info 22 [16:01:31.000] Projects: /user/username/projects/myproject/dependency/tsconfig.json +After request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: @@ -267,6 +269,7 @@ Info 23 [16:01:33.000] request: "file": "/user/username/projects/myproject/random/random.ts" } } +Before request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: @@ -330,6 +333,7 @@ Info 41 [16:01:58.000] FileName: /user/username/projects/myproject/dependency Info 41 [16:01:59.000] Projects: /user/username/projects/myproject/dependency/tsconfig.json Info 41 [16:02:00.000] FileName: /user/username/projects/myproject/random/random.ts ProjectRootPath: undefined Info 41 [16:02:01.000] Projects: /user/username/projects/myproject/random/tsconfig.json +After request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: @@ -368,6 +372,7 @@ Info 42 [16:02:03.000] request: "seq": 1, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: @@ -392,6 +397,7 @@ FsWatchesRecursive:: {} Info 43 [16:02:04.000] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls/FnS.d.ts 2000 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Missing generated file +After request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: @@ -476,6 +482,7 @@ Info 45 [16:02:06.000] request: "seq": 2, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: @@ -501,6 +508,7 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +After request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: @@ -585,6 +593,7 @@ Info 47 [16:02:08.000] request: "seq": 3, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: @@ -610,6 +619,7 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +After request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: @@ -694,6 +704,7 @@ Info 49 [16:02:10.000] request: "seq": 4, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: @@ -719,6 +730,7 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +After request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: @@ -803,6 +815,7 @@ Info 51 [16:02:12.000] request: "seq": 5, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: @@ -828,6 +841,7 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +After request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: @@ -910,6 +924,7 @@ Info 53 [16:02:14.000] request: "file": "/user/username/projects/myproject/random/random.ts" } } +Before request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: @@ -947,6 +962,7 @@ Info 55 [16:02:21.000] ----------------------------------------------- Info 55 [16:02:22.000] Open files: Info 55 [16:02:23.000] FileName: /user/username/projects/myproject/dependency/FnS.ts ProjectRootPath: undefined Info 55 [16:02:24.000] Projects: /user/username/projects/myproject/dependency/tsconfig.json +After request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: @@ -987,6 +1003,7 @@ Info 56 [16:02:26.000] request: "file": "/user/username/projects/myproject/random/random.ts" } } +Before request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: @@ -1030,6 +1047,7 @@ Info 60 [16:02:37.000] FileName: /user/username/projects/myproject/dependency Info 60 [16:02:38.000] Projects: /user/username/projects/myproject/dependency/tsconfig.json Info 60 [16:02:39.000] FileName: /user/username/projects/myproject/random/random.ts ProjectRootPath: undefined Info 60 [16:02:40.000] Projects: /user/username/projects/myproject/random/tsconfig.json +After request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: @@ -1068,6 +1086,7 @@ Info 61 [16:02:42.000] request: "file": "/user/username/projects/myproject/dependency/FnS.ts" } } +Before request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: @@ -1105,6 +1124,7 @@ Info 63 [16:02:49.000] ----------------------------------------------- Info 63 [16:02:50.000] Open files: Info 63 [16:02:51.000] FileName: /user/username/projects/myproject/random/random.ts ProjectRootPath: undefined Info 63 [16:02:52.000] Projects: /user/username/projects/myproject/random/tsconfig.json +After request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: @@ -1145,6 +1165,7 @@ Info 64 [16:02:54.000] request: "file": "/user/username/projects/myproject/random/random.ts" } } +Before request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: @@ -1182,6 +1203,7 @@ Info 66 [16:03:00.000] Files (2) Info 66 [16:03:01.000] ----------------------------------------------- Info 66 [16:03:02.000] Open files: +After request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: @@ -1224,6 +1246,7 @@ Info 67 [16:03:04.000] request: "file": "/user/username/projects/myproject/random/random.ts" } } +Before request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: @@ -1285,6 +1308,7 @@ Info 84 [16:03:23.000] ----------------------------------------------- Info 84 [16:03:24.000] Open files: Info 84 [16:03:25.000] FileName: /user/username/projects/myproject/random/random.ts ProjectRootPath: undefined Info 84 [16:03:26.000] Projects: /user/username/projects/myproject/random/tsconfig.json +After request PolledWatches:: /user/username/projects/myproject/node_modules/@types: diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configHasNoReference/dependency-dtsMap-changes-with-timeout-before-request.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configHasNoReference/dependency-dtsMap-changes-with-timeout-before-request.js index 0098bad4b88e6..32022d04c45ef 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configHasNoReference/dependency-dtsMap-changes-with-timeout-before-request.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configHasNoReference/dependency-dtsMap-changes-with-timeout-before-request.js @@ -8,6 +8,7 @@ Info 1 [16:01:04.000] request: "file": "/user/username/projects/myproject/dependency/FnS.ts" } } +Before request //// [/user/username/projects/myproject/dependency/FnS.ts] export function fn1() { } export function fn2() { } @@ -245,6 +246,7 @@ Info 22 [16:01:27.000] ----------------------------------------------- Info 22 [16:01:28.000] Open files: Info 22 [16:01:29.000] FileName: /user/username/projects/myproject/dependency/FnS.ts ProjectRootPath: undefined Info 22 [16:01:30.000] Projects: /user/username/projects/myproject/dependency/tsconfig.json +After request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: @@ -275,6 +277,7 @@ Info 23 [16:01:32.000] request: "file": "/user/username/projects/myproject/random/random.ts" } } +Before request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: @@ -338,6 +341,7 @@ Info 41 [16:01:57.000] FileName: /user/username/projects/myproject/dependency Info 41 [16:01:58.000] Projects: /user/username/projects/myproject/dependency/tsconfig.json Info 41 [16:01:59.000] FileName: /user/username/projects/myproject/random/random.ts ProjectRootPath: undefined Info 41 [16:02:00.000] Projects: /user/username/projects/myproject/random/tsconfig.json +After request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: @@ -376,6 +380,7 @@ Info 42 [16:02:02.000] request: "seq": 1, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: @@ -401,6 +406,7 @@ FsWatchesRecursive:: Info 43 [16:02:03.000] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls/FnS.d.ts 500 undefined WatchType: Closed Script info Info 44 [16:02:04.000] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls/FnS.d.ts.map 500 undefined WatchType: Closed Script info +After request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: @@ -480,6 +486,37 @@ Info 46 [16:02:09.000] FileWatcher:: Triggered with /user/username/projects/my Info 47 [16:02:10.000] Scheduled: /user/username/projects/myproject/dependency/tsconfig.json Info 48 [16:02:11.000] Scheduled: *ensureProjectForOpenFiles* Info 49 [16:02:12.000] Elapsed:: *ms FileWatcher:: Triggered with /user/username/projects/myproject/decls/FnS.d.ts.map 1:: WatchInfo: /user/username/projects/myproject/decls/FnS.d.ts.map 500 undefined WatchType: Closed Script info +Before running timeout callbacks +//// [/user/username/projects/myproject/decls/FnS.d.ts.map] +{"version":3,"file":"FnS.d.ts","sourceRoot":"","sources":["../dependency/FnS.ts"],"names":[],"mappings":"AAAA,wBAAgB,GAAG,SAAM;AACzB,wBAAgB,GAAG,SAAM;AACzB,wBAAgB,GAAG,SAAM;AACzB,wBAAgB,GAAG,SAAM;AACzB,wBAAgB,GAAG,SAAM;AACzB,eAAO,MAAM,CAAC,KAAK,CAAC"} + + +PolledWatches:: +/user/username/projects/myproject/dependency/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/myproject/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/myproject/random/node_modules/@types: + {"pollingInterval":500} + +FsWatches:: +/user/username/projects/myproject/dependency/tsconfig.json: + {} +/a/lib/lib.d.ts: + {} +/user/username/projects/myproject/random/tsconfig.json: + {} +/user/username/projects/myproject/decls/fns.d.ts: + {} +/user/username/projects/myproject/decls/fns.d.ts.map: + {} + +FsWatchesRecursive:: +/user/username/projects/myproject/dependency: + {} +/user/username/projects/myproject/random: + {} + Info 50 [16:02:13.000] Running: /user/username/projects/myproject/dependency/tsconfig.json Info 51 [16:02:14.000] Starting updateGraphWorker: Project: /user/username/projects/myproject/dependency/tsconfig.json Info 52 [16:02:15.000] Finishing updateGraphWorker: Project: /user/username/projects/myproject/dependency/tsconfig.json Version: 2 structureChanged: false structureIsReused:: Not Elapsed:: *ms @@ -512,6 +549,34 @@ Info 56 [16:02:37.000] FileName: /user/username/projects/myproject/dependency Info 56 [16:02:38.000] Projects: /user/username/projects/myproject/dependency/tsconfig.json Info 56 [16:02:39.000] FileName: /user/username/projects/myproject/random/random.ts ProjectRootPath: undefined Info 56 [16:02:40.000] Projects: /user/username/projects/myproject/random/tsconfig.json +After running timeout callbacks + +PolledWatches:: +/user/username/projects/myproject/dependency/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/myproject/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/myproject/random/node_modules/@types: + {"pollingInterval":500} + +FsWatches:: +/user/username/projects/myproject/dependency/tsconfig.json: + {} +/a/lib/lib.d.ts: + {} +/user/username/projects/myproject/random/tsconfig.json: + {} +/user/username/projects/myproject/decls/fns.d.ts: + {} +/user/username/projects/myproject/decls/fns.d.ts.map: + {} + +FsWatchesRecursive:: +/user/username/projects/myproject/dependency: + {} +/user/username/projects/myproject/random: + {} + Info 56 [16:02:41.000] request: { "command": "rename", @@ -523,9 +588,7 @@ Info 56 [16:02:41.000] request: "seq": 2, "type": "request" } -//// [/user/username/projects/myproject/decls/FnS.d.ts.map] -{"version":3,"file":"FnS.d.ts","sourceRoot":"","sources":["../dependency/FnS.ts"],"names":[],"mappings":"AAAA,wBAAgB,GAAG,SAAM;AACzB,wBAAgB,GAAG,SAAM;AACzB,wBAAgB,GAAG,SAAM;AACzB,wBAAgB,GAAG,SAAM;AACzB,wBAAgB,GAAG,SAAM;AACzB,eAAO,MAAM,CAAC,KAAK,CAAC"} - +Before request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: @@ -553,6 +616,7 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +After request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: @@ -639,6 +703,7 @@ Info 58 [16:02:43.000] request: "seq": 3, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: @@ -666,6 +731,7 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +After request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: @@ -752,6 +818,7 @@ Info 60 [16:02:45.000] request: "seq": 4, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: @@ -779,6 +846,7 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +After request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: @@ -865,6 +933,7 @@ Info 62 [16:02:47.000] request: "seq": 5, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: @@ -892,6 +961,7 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +After request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: @@ -978,6 +1048,7 @@ Info 64 [16:02:49.000] request: "seq": 6, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: @@ -1005,6 +1076,7 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +After request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configHasNoReference/dependency-dtsMap-changes.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configHasNoReference/dependency-dtsMap-changes.js index b748e0d7b378d..3b326eb382f3b 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configHasNoReference/dependency-dtsMap-changes.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configHasNoReference/dependency-dtsMap-changes.js @@ -8,6 +8,7 @@ Info 1 [16:01:04.000] request: "file": "/user/username/projects/myproject/dependency/FnS.ts" } } +Before request //// [/user/username/projects/myproject/dependency/FnS.ts] export function fn1() { } export function fn2() { } @@ -245,6 +246,7 @@ Info 22 [16:01:27.000] ----------------------------------------------- Info 22 [16:01:28.000] Open files: Info 22 [16:01:29.000] FileName: /user/username/projects/myproject/dependency/FnS.ts ProjectRootPath: undefined Info 22 [16:01:30.000] Projects: /user/username/projects/myproject/dependency/tsconfig.json +After request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: @@ -275,6 +277,7 @@ Info 23 [16:01:32.000] request: "file": "/user/username/projects/myproject/random/random.ts" } } +Before request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: @@ -338,6 +341,7 @@ Info 41 [16:01:57.000] FileName: /user/username/projects/myproject/dependency Info 41 [16:01:58.000] Projects: /user/username/projects/myproject/dependency/tsconfig.json Info 41 [16:01:59.000] FileName: /user/username/projects/myproject/random/random.ts ProjectRootPath: undefined Info 41 [16:02:00.000] Projects: /user/username/projects/myproject/random/tsconfig.json +After request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: @@ -376,6 +380,7 @@ Info 42 [16:02:02.000] request: "seq": 1, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: @@ -401,6 +406,7 @@ FsWatchesRecursive:: Info 43 [16:02:03.000] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls/FnS.d.ts 500 undefined WatchType: Closed Script info Info 44 [16:02:04.000] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls/FnS.d.ts.map 500 undefined WatchType: Closed Script info +After request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: @@ -491,6 +497,7 @@ Info 50 [16:02:13.000] request: "seq": 2, "type": "request" } +Before request //// [/user/username/projects/myproject/decls/FnS.d.ts.map] {"version":3,"file":"FnS.d.ts","sourceRoot":"","sources":["../dependency/FnS.ts"],"names":[],"mappings":"AAAA,wBAAgB,GAAG,SAAM;AACzB,wBAAgB,GAAG,SAAM;AACzB,wBAAgB,GAAG,SAAM;AACzB,wBAAgB,GAAG,SAAM;AACzB,wBAAgB,GAAG,SAAM;AACzB,eAAO,MAAM,CAAC,KAAK,CAAC"} @@ -523,6 +530,7 @@ FsWatchesRecursive:: Info 51 [16:02:14.000] Starting updateGraphWorker: Project: /user/username/projects/myproject/dependency/tsconfig.json Info 52 [16:02:15.000] Finishing updateGraphWorker: Project: /user/username/projects/myproject/dependency/tsconfig.json Version: 2 structureChanged: false structureIsReused:: Not Elapsed:: *ms +After request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: @@ -609,6 +617,7 @@ Info 54 [16:02:17.000] request: "seq": 3, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: @@ -636,6 +645,7 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +After request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: @@ -722,6 +732,7 @@ Info 56 [16:02:19.000] request: "seq": 4, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: @@ -749,6 +760,7 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +After request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: @@ -835,6 +847,7 @@ Info 58 [16:02:21.000] request: "seq": 5, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: @@ -862,6 +875,7 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +After request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: @@ -948,6 +962,7 @@ Info 60 [16:02:23.000] request: "seq": 6, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: @@ -975,6 +990,7 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +After request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configHasNoReference/dependency-dtsMap-created.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configHasNoReference/dependency-dtsMap-created.js index 510bb067fdc9f..1b67716d35267 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configHasNoReference/dependency-dtsMap-created.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configHasNoReference/dependency-dtsMap-created.js @@ -8,6 +8,7 @@ Info 1 [16:01:05.000] request: "file": "/user/username/projects/myproject/dependency/FnS.ts" } } +Before request //// [/user/username/projects/myproject/dependency/FnS.ts] export function fn1() { } export function fn2() { } @@ -242,6 +243,7 @@ Info 22 [16:01:28.000] ----------------------------------------------- Info 22 [16:01:29.000] Open files: Info 22 [16:01:30.000] FileName: /user/username/projects/myproject/dependency/FnS.ts ProjectRootPath: undefined Info 22 [16:01:31.000] Projects: /user/username/projects/myproject/dependency/tsconfig.json +After request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: @@ -272,6 +274,7 @@ Info 23 [16:01:33.000] request: "file": "/user/username/projects/myproject/random/random.ts" } } +Before request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: @@ -335,6 +338,7 @@ Info 41 [16:01:58.000] FileName: /user/username/projects/myproject/dependency Info 41 [16:01:59.000] Projects: /user/username/projects/myproject/dependency/tsconfig.json Info 41 [16:02:00.000] FileName: /user/username/projects/myproject/random/random.ts ProjectRootPath: undefined Info 41 [16:02:01.000] Projects: /user/username/projects/myproject/random/tsconfig.json +After request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: @@ -373,6 +377,7 @@ Info 42 [16:02:03.000] request: "seq": 1, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: @@ -398,6 +403,7 @@ FsWatchesRecursive:: Info 43 [16:02:04.000] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls/FnS.d.ts 500 undefined WatchType: Closed Script info Info 44 [16:02:05.000] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls/FnS.d.ts.map 2000 undefined WatchType: Missing source map file +After request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: @@ -489,6 +495,7 @@ Info 51 [16:02:14.000] request: "seq": 2, "type": "request" } +Before request //// [/user/username/projects/myproject/decls/FnS.d.ts.map] {"version":3,"file":"FnS.d.ts","sourceRoot":"","sources":["../dependency/FnS.ts"],"names":[],"mappings":"AAAA,wBAAgB,GAAG,SAAM;AACzB,wBAAgB,GAAG,SAAM;AACzB,wBAAgB,GAAG,SAAM;AACzB,wBAAgB,GAAG,SAAM;AACzB,wBAAgB,GAAG,SAAM"} @@ -520,6 +527,7 @@ FsWatchesRecursive:: Info 52 [16:02:15.000] Starting updateGraphWorker: Project: /user/username/projects/myproject/dependency/tsconfig.json Info 53 [16:02:16.000] Finishing updateGraphWorker: Project: /user/username/projects/myproject/dependency/tsconfig.json Version: 2 structureChanged: false structureIsReused:: Not Elapsed:: *ms Info 54 [16:02:17.000] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls/FnS.d.ts.map 500 undefined WatchType: Closed Script info +After request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: @@ -606,6 +614,7 @@ Info 56 [16:02:19.000] request: "seq": 3, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: @@ -633,6 +642,7 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +After request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: @@ -719,6 +729,7 @@ Info 58 [16:02:21.000] request: "seq": 4, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: @@ -746,6 +757,7 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +After request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: @@ -832,6 +844,7 @@ Info 60 [16:02:23.000] request: "seq": 5, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: @@ -859,6 +872,7 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +After request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: @@ -945,6 +959,7 @@ Info 62 [16:02:25.000] request: "seq": 6, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: @@ -972,6 +987,7 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +After request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: @@ -1056,6 +1072,7 @@ Info 64 [16:02:27.000] request: "file": "/user/username/projects/myproject/random/random.ts" } } +Before request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: @@ -1095,6 +1112,7 @@ Info 66 [16:02:34.000] ----------------------------------------------- Info 66 [16:02:35.000] Open files: Info 66 [16:02:36.000] FileName: /user/username/projects/myproject/dependency/FnS.ts ProjectRootPath: undefined Info 66 [16:02:37.000] Projects: /user/username/projects/myproject/dependency/tsconfig.json +After request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: @@ -1137,6 +1155,7 @@ Info 67 [16:02:39.000] request: "file": "/user/username/projects/myproject/random/random.ts" } } +Before request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: @@ -1182,6 +1201,7 @@ Info 71 [16:02:50.000] FileName: /user/username/projects/myproject/dependency Info 71 [16:02:51.000] Projects: /user/username/projects/myproject/dependency/tsconfig.json Info 71 [16:02:52.000] FileName: /user/username/projects/myproject/random/random.ts ProjectRootPath: undefined Info 71 [16:02:53.000] Projects: /user/username/projects/myproject/random/tsconfig.json +After request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: @@ -1222,6 +1242,7 @@ Info 72 [16:02:55.000] request: "file": "/user/username/projects/myproject/dependency/FnS.ts" } } +Before request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: @@ -1261,6 +1282,7 @@ Info 74 [16:03:02.000] ----------------------------------------------- Info 74 [16:03:03.000] Open files: Info 74 [16:03:04.000] FileName: /user/username/projects/myproject/random/random.ts ProjectRootPath: undefined Info 74 [16:03:05.000] Projects: /user/username/projects/myproject/random/tsconfig.json +After request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: @@ -1303,6 +1325,7 @@ Info 75 [16:03:07.000] request: "file": "/user/username/projects/myproject/random/random.ts" } } +Before request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: @@ -1342,6 +1365,7 @@ Info 77 [16:03:13.000] Files (2) Info 77 [16:03:14.000] ----------------------------------------------- Info 77 [16:03:15.000] Open files: +After request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: @@ -1386,6 +1410,7 @@ Info 78 [16:03:17.000] request: "file": "/user/username/projects/myproject/random/random.ts" } } +Before request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: @@ -1450,6 +1475,7 @@ Info 96 [16:03:37.000] ----------------------------------------------- Info 96 [16:03:38.000] Open files: Info 96 [16:03:39.000] FileName: /user/username/projects/myproject/random/random.ts ProjectRootPath: undefined Info 96 [16:03:40.000] Projects: /user/username/projects/myproject/random/tsconfig.json +After request PolledWatches:: /user/username/projects/myproject/node_modules/@types: diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configHasNoReference/dependency-dtsMap-deleted.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configHasNoReference/dependency-dtsMap-deleted.js index 6dc8c6435d549..f30cef96439ec 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configHasNoReference/dependency-dtsMap-deleted.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configHasNoReference/dependency-dtsMap-deleted.js @@ -8,6 +8,7 @@ Info 1 [16:01:04.000] request: "file": "/user/username/projects/myproject/dependency/FnS.ts" } } +Before request //// [/user/username/projects/myproject/dependency/FnS.ts] export function fn1() { } export function fn2() { } @@ -245,6 +246,7 @@ Info 22 [16:01:27.000] ----------------------------------------------- Info 22 [16:01:28.000] Open files: Info 22 [16:01:29.000] FileName: /user/username/projects/myproject/dependency/FnS.ts ProjectRootPath: undefined Info 22 [16:01:30.000] Projects: /user/username/projects/myproject/dependency/tsconfig.json +After request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: @@ -275,6 +277,7 @@ Info 23 [16:01:32.000] request: "file": "/user/username/projects/myproject/random/random.ts" } } +Before request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: @@ -338,6 +341,7 @@ Info 41 [16:01:57.000] FileName: /user/username/projects/myproject/dependency Info 41 [16:01:58.000] Projects: /user/username/projects/myproject/dependency/tsconfig.json Info 41 [16:01:59.000] FileName: /user/username/projects/myproject/random/random.ts ProjectRootPath: undefined Info 41 [16:02:00.000] Projects: /user/username/projects/myproject/random/tsconfig.json +After request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: @@ -376,6 +380,7 @@ Info 42 [16:02:02.000] request: "seq": 1, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: @@ -401,6 +406,7 @@ FsWatchesRecursive:: Info 43 [16:02:03.000] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls/FnS.d.ts 500 undefined WatchType: Closed Script info Info 44 [16:02:04.000] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls/FnS.d.ts.map 500 undefined WatchType: Closed Script info +After request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: @@ -492,6 +498,7 @@ Info 51 [16:02:12.000] request: "seq": 2, "type": "request" } +Before request //// [/user/username/projects/myproject/decls/FnS.d.ts.map] deleted PolledWatches:: @@ -521,6 +528,7 @@ FsWatchesRecursive:: Info 52 [16:02:13.000] Starting updateGraphWorker: Project: /user/username/projects/myproject/dependency/tsconfig.json Info 53 [16:02:14.000] Finishing updateGraphWorker: Project: /user/username/projects/myproject/dependency/tsconfig.json Version: 2 structureChanged: false structureIsReused:: Not Elapsed:: *ms Info 54 [16:02:15.000] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls/FnS.d.ts.map 2000 undefined WatchType: Missing source map file +After request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: @@ -607,6 +615,7 @@ Info 56 [16:02:17.000] request: "seq": 3, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: @@ -634,6 +643,7 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +After request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: @@ -720,6 +730,7 @@ Info 58 [16:02:19.000] request: "seq": 4, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: @@ -747,6 +758,7 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +After request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: @@ -833,6 +845,7 @@ Info 60 [16:02:21.000] request: "seq": 5, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: @@ -860,6 +873,7 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +After request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: @@ -946,6 +960,7 @@ Info 62 [16:02:23.000] request: "seq": 6, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: @@ -973,6 +988,7 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +After request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: @@ -1057,6 +1073,7 @@ Info 64 [16:02:25.000] request: "file": "/user/username/projects/myproject/random/random.ts" } } +Before request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: @@ -1096,6 +1113,7 @@ Info 66 [16:02:32.000] ----------------------------------------------- Info 66 [16:02:33.000] Open files: Info 66 [16:02:34.000] FileName: /user/username/projects/myproject/dependency/FnS.ts ProjectRootPath: undefined Info 66 [16:02:35.000] Projects: /user/username/projects/myproject/dependency/tsconfig.json +After request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: @@ -1138,6 +1156,7 @@ Info 67 [16:02:37.000] request: "file": "/user/username/projects/myproject/random/random.ts" } } +Before request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: @@ -1183,6 +1202,7 @@ Info 71 [16:02:48.000] FileName: /user/username/projects/myproject/dependency Info 71 [16:02:49.000] Projects: /user/username/projects/myproject/dependency/tsconfig.json Info 71 [16:02:50.000] FileName: /user/username/projects/myproject/random/random.ts ProjectRootPath: undefined Info 71 [16:02:51.000] Projects: /user/username/projects/myproject/random/tsconfig.json +After request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: @@ -1223,6 +1243,7 @@ Info 72 [16:02:53.000] request: "file": "/user/username/projects/myproject/dependency/FnS.ts" } } +Before request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: @@ -1262,6 +1283,7 @@ Info 74 [16:03:00.000] ----------------------------------------------- Info 74 [16:03:01.000] Open files: Info 74 [16:03:02.000] FileName: /user/username/projects/myproject/random/random.ts ProjectRootPath: undefined Info 74 [16:03:03.000] Projects: /user/username/projects/myproject/random/tsconfig.json +After request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: @@ -1304,6 +1326,7 @@ Info 75 [16:03:05.000] request: "file": "/user/username/projects/myproject/random/random.ts" } } +Before request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: @@ -1343,6 +1366,7 @@ Info 77 [16:03:11.000] Files (2) Info 77 [16:03:12.000] ----------------------------------------------- Info 77 [16:03:13.000] Open files: +After request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: @@ -1387,6 +1411,7 @@ Info 78 [16:03:15.000] request: "file": "/user/username/projects/myproject/random/random.ts" } } +Before request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: @@ -1451,6 +1476,7 @@ Info 96 [16:03:35.000] ----------------------------------------------- Info 96 [16:03:36.000] Open files: Info 96 [16:03:37.000] FileName: /user/username/projects/myproject/random/random.ts ProjectRootPath: undefined Info 96 [16:03:38.000] Projects: /user/username/projects/myproject/random/tsconfig.json +After request PolledWatches:: /user/username/projects/myproject/node_modules/@types: diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configHasNoReference/dependency-dtsMap-not-present.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configHasNoReference/dependency-dtsMap-not-present.js index a304f09d416c5..c4eb428790cd0 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configHasNoReference/dependency-dtsMap-not-present.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configHasNoReference/dependency-dtsMap-not-present.js @@ -8,6 +8,7 @@ Info 1 [16:01:05.000] request: "file": "/user/username/projects/myproject/dependency/FnS.ts" } } +Before request //// [/user/username/projects/myproject/dependency/FnS.ts] export function fn1() { } export function fn2() { } @@ -242,6 +243,7 @@ Info 22 [16:01:28.000] ----------------------------------------------- Info 22 [16:01:29.000] Open files: Info 22 [16:01:30.000] FileName: /user/username/projects/myproject/dependency/FnS.ts ProjectRootPath: undefined Info 22 [16:01:31.000] Projects: /user/username/projects/myproject/dependency/tsconfig.json +After request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: @@ -272,6 +274,7 @@ Info 23 [16:01:33.000] request: "file": "/user/username/projects/myproject/random/random.ts" } } +Before request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: @@ -335,6 +338,7 @@ Info 41 [16:01:58.000] FileName: /user/username/projects/myproject/dependency Info 41 [16:01:59.000] Projects: /user/username/projects/myproject/dependency/tsconfig.json Info 41 [16:02:00.000] FileName: /user/username/projects/myproject/random/random.ts ProjectRootPath: undefined Info 41 [16:02:01.000] Projects: /user/username/projects/myproject/random/tsconfig.json +After request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: @@ -373,6 +377,7 @@ Info 42 [16:02:03.000] request: "seq": 1, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: @@ -398,6 +403,7 @@ FsWatchesRecursive:: Info 43 [16:02:04.000] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls/FnS.d.ts 500 undefined WatchType: Closed Script info Info 44 [16:02:05.000] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls/FnS.d.ts.map 2000 undefined WatchType: Missing source map file +After request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: @@ -484,6 +490,7 @@ Info 46 [16:02:07.000] request: "seq": 2, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: @@ -511,6 +518,7 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +After request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: @@ -597,6 +605,7 @@ Info 48 [16:02:09.000] request: "seq": 3, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: @@ -624,6 +633,7 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +After request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: @@ -710,6 +720,7 @@ Info 50 [16:02:11.000] request: "seq": 4, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: @@ -737,6 +748,7 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +After request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: @@ -823,6 +835,7 @@ Info 52 [16:02:13.000] request: "seq": 5, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: @@ -850,6 +863,7 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +After request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: @@ -934,6 +948,7 @@ Info 54 [16:02:15.000] request: "file": "/user/username/projects/myproject/random/random.ts" } } +Before request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: @@ -973,6 +988,7 @@ Info 56 [16:02:22.000] ----------------------------------------------- Info 56 [16:02:23.000] Open files: Info 56 [16:02:24.000] FileName: /user/username/projects/myproject/dependency/FnS.ts ProjectRootPath: undefined Info 56 [16:02:25.000] Projects: /user/username/projects/myproject/dependency/tsconfig.json +After request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: @@ -1015,6 +1031,7 @@ Info 57 [16:02:27.000] request: "file": "/user/username/projects/myproject/random/random.ts" } } +Before request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: @@ -1060,6 +1077,7 @@ Info 61 [16:02:38.000] FileName: /user/username/projects/myproject/dependency Info 61 [16:02:39.000] Projects: /user/username/projects/myproject/dependency/tsconfig.json Info 61 [16:02:40.000] FileName: /user/username/projects/myproject/random/random.ts ProjectRootPath: undefined Info 61 [16:02:41.000] Projects: /user/username/projects/myproject/random/tsconfig.json +After request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: @@ -1100,6 +1118,7 @@ Info 62 [16:02:43.000] request: "file": "/user/username/projects/myproject/dependency/FnS.ts" } } +Before request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: @@ -1139,6 +1158,7 @@ Info 64 [16:02:50.000] ----------------------------------------------- Info 64 [16:02:51.000] Open files: Info 64 [16:02:52.000] FileName: /user/username/projects/myproject/random/random.ts ProjectRootPath: undefined Info 64 [16:02:53.000] Projects: /user/username/projects/myproject/random/tsconfig.json +After request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: @@ -1181,6 +1201,7 @@ Info 65 [16:02:55.000] request: "file": "/user/username/projects/myproject/random/random.ts" } } +Before request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: @@ -1220,6 +1241,7 @@ Info 67 [16:03:01.000] Files (2) Info 67 [16:03:02.000] ----------------------------------------------- Info 67 [16:03:03.000] Open files: +After request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: @@ -1264,6 +1286,7 @@ Info 68 [16:03:05.000] request: "file": "/user/username/projects/myproject/random/random.ts" } } +Before request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: @@ -1328,6 +1351,7 @@ Info 86 [16:03:25.000] ----------------------------------------------- Info 86 [16:03:26.000] Open files: Info 86 [16:03:27.000] FileName: /user/username/projects/myproject/random/random.ts ProjectRootPath: undefined Info 86 [16:03:28.000] Projects: /user/username/projects/myproject/random/tsconfig.json +After request PolledWatches:: /user/username/projects/myproject/node_modules/@types: diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configHasNoReference/rename-locations.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configHasNoReference/rename-locations.js index 28767d8f589ca..be27039acc2af 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configHasNoReference/rename-locations.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configHasNoReference/rename-locations.js @@ -8,6 +8,7 @@ Info 1 [16:01:04.000] request: "file": "/user/username/projects/myproject/dependency/FnS.ts" } } +Before request //// [/user/username/projects/myproject/dependency/FnS.ts] export function fn1() { } export function fn2() { } @@ -245,6 +246,7 @@ Info 22 [16:01:27.000] ----------------------------------------------- Info 22 [16:01:28.000] Open files: Info 22 [16:01:29.000] FileName: /user/username/projects/myproject/dependency/FnS.ts ProjectRootPath: undefined Info 22 [16:01:30.000] Projects: /user/username/projects/myproject/dependency/tsconfig.json +After request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: @@ -275,6 +277,7 @@ Info 23 [16:01:32.000] request: "file": "/user/username/projects/myproject/random/random.ts" } } +Before request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: @@ -338,6 +341,7 @@ Info 41 [16:01:57.000] FileName: /user/username/projects/myproject/dependency Info 41 [16:01:58.000] Projects: /user/username/projects/myproject/dependency/tsconfig.json Info 41 [16:01:59.000] FileName: /user/username/projects/myproject/random/random.ts ProjectRootPath: undefined Info 41 [16:02:00.000] Projects: /user/username/projects/myproject/random/tsconfig.json +After request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: @@ -376,6 +380,7 @@ Info 42 [16:02:02.000] request: "seq": 1, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: @@ -401,6 +406,7 @@ FsWatchesRecursive:: Info 43 [16:02:03.000] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls/FnS.d.ts 500 undefined WatchType: Closed Script info Info 44 [16:02:04.000] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls/FnS.d.ts.map 500 undefined WatchType: Closed Script info +After request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: @@ -487,6 +493,7 @@ Info 46 [16:02:06.000] request: "seq": 2, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: @@ -514,6 +521,7 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +After request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: @@ -600,6 +608,7 @@ Info 48 [16:02:08.000] request: "seq": 3, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: @@ -627,6 +636,7 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +After request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: @@ -713,6 +723,7 @@ Info 50 [16:02:10.000] request: "seq": 4, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: @@ -740,6 +751,7 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +After request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: @@ -826,6 +838,7 @@ Info 52 [16:02:12.000] request: "seq": 5, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: @@ -853,6 +866,7 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +After request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: @@ -937,6 +951,7 @@ Info 54 [16:02:14.000] request: "file": "/user/username/projects/myproject/random/random.ts" } } +Before request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: @@ -976,6 +991,7 @@ Info 56 [16:02:21.000] ----------------------------------------------- Info 56 [16:02:22.000] Open files: Info 56 [16:02:23.000] FileName: /user/username/projects/myproject/dependency/FnS.ts ProjectRootPath: undefined Info 56 [16:02:24.000] Projects: /user/username/projects/myproject/dependency/tsconfig.json +After request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: @@ -1018,6 +1034,7 @@ Info 57 [16:02:26.000] request: "file": "/user/username/projects/myproject/random/random.ts" } } +Before request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: @@ -1063,6 +1080,7 @@ Info 61 [16:02:37.000] FileName: /user/username/projects/myproject/dependency Info 61 [16:02:38.000] Projects: /user/username/projects/myproject/dependency/tsconfig.json Info 61 [16:02:39.000] FileName: /user/username/projects/myproject/random/random.ts ProjectRootPath: undefined Info 61 [16:02:40.000] Projects: /user/username/projects/myproject/random/tsconfig.json +After request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: @@ -1103,6 +1121,7 @@ Info 62 [16:02:42.000] request: "file": "/user/username/projects/myproject/dependency/FnS.ts" } } +Before request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: @@ -1142,6 +1161,7 @@ Info 64 [16:02:49.000] ----------------------------------------------- Info 64 [16:02:50.000] Open files: Info 64 [16:02:51.000] FileName: /user/username/projects/myproject/random/random.ts ProjectRootPath: undefined Info 64 [16:02:52.000] Projects: /user/username/projects/myproject/random/tsconfig.json +After request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: @@ -1184,6 +1204,7 @@ Info 65 [16:02:54.000] request: "file": "/user/username/projects/myproject/random/random.ts" } } +Before request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: @@ -1223,6 +1244,7 @@ Info 67 [16:03:00.000] Files (2) Info 67 [16:03:01.000] ----------------------------------------------- Info 67 [16:03:02.000] Open files: +After request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: @@ -1267,6 +1289,7 @@ Info 68 [16:03:04.000] request: "file": "/user/username/projects/myproject/random/random.ts" } } +Before request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: @@ -1331,6 +1354,7 @@ Info 86 [16:03:24.000] ----------------------------------------------- Info 86 [16:03:25.000] Open files: Info 86 [16:03:26.000] FileName: /user/username/projects/myproject/random/random.ts ProjectRootPath: undefined Info 86 [16:03:27.000] Projects: /user/username/projects/myproject/random/tsconfig.json +After request PolledWatches:: /user/username/projects/myproject/node_modules/@types: diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configHasNoReference/usage-file-changes-with-timeout-before-request.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configHasNoReference/usage-file-changes-with-timeout-before-request.js index 9d035376b1f74..6826710a0cab4 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configHasNoReference/usage-file-changes-with-timeout-before-request.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configHasNoReference/usage-file-changes-with-timeout-before-request.js @@ -8,6 +8,7 @@ Info 1 [16:01:04.000] request: "file": "/user/username/projects/myproject/dependency/FnS.ts" } } +Before request //// [/user/username/projects/myproject/dependency/FnS.ts] export function fn1() { } export function fn2() { } @@ -245,6 +246,7 @@ Info 22 [16:01:27.000] ----------------------------------------------- Info 22 [16:01:28.000] Open files: Info 22 [16:01:29.000] FileName: /user/username/projects/myproject/dependency/FnS.ts ProjectRootPath: undefined Info 22 [16:01:30.000] Projects: /user/username/projects/myproject/dependency/tsconfig.json +After request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: @@ -275,6 +277,7 @@ Info 23 [16:01:32.000] request: "file": "/user/username/projects/myproject/random/random.ts" } } +Before request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: @@ -338,6 +341,7 @@ Info 41 [16:01:57.000] FileName: /user/username/projects/myproject/dependency Info 41 [16:01:58.000] Projects: /user/username/projects/myproject/dependency/tsconfig.json Info 41 [16:01:59.000] FileName: /user/username/projects/myproject/random/random.ts ProjectRootPath: undefined Info 41 [16:02:00.000] Projects: /user/username/projects/myproject/random/tsconfig.json +After request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: @@ -376,6 +380,7 @@ Info 42 [16:02:02.000] request: "seq": 1, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: @@ -401,6 +406,7 @@ FsWatchesRecursive:: Info 43 [16:02:03.000] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls/FnS.d.ts 500 undefined WatchType: Closed Script info Info 44 [16:02:04.000] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls/FnS.d.ts.map 500 undefined WatchType: Closed Script info +After request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: @@ -490,6 +496,7 @@ Info 46 [16:02:06.000] request: "seq": 2, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: @@ -517,6 +524,7 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +After request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: @@ -548,6 +556,62 @@ Info 47 [16:02:07.000] response: { "responseRequired": false } +Before running timeout callbacks + +PolledWatches:: +/user/username/projects/myproject/dependency/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/myproject/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/myproject/random/node_modules/@types: + {"pollingInterval":500} + +FsWatches:: +/user/username/projects/myproject/dependency/tsconfig.json: + {} +/a/lib/lib.d.ts: + {} +/user/username/projects/myproject/random/tsconfig.json: + {} +/user/username/projects/myproject/decls/fns.d.ts: + {} +/user/username/projects/myproject/decls/fns.d.ts.map: + {} + +FsWatchesRecursive:: +/user/username/projects/myproject/dependency: + {} +/user/username/projects/myproject/random: + {} + +After running timeout callbacks + +PolledWatches:: +/user/username/projects/myproject/dependency/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/myproject/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/myproject/random/node_modules/@types: + {"pollingInterval":500} + +FsWatches:: +/user/username/projects/myproject/dependency/tsconfig.json: + {} +/a/lib/lib.d.ts: + {} +/user/username/projects/myproject/random/tsconfig.json: + {} +/user/username/projects/myproject/decls/fns.d.ts: + {} +/user/username/projects/myproject/decls/fns.d.ts.map: + {} + +FsWatchesRecursive:: +/user/username/projects/myproject/dependency: + {} +/user/username/projects/myproject/random: + {} + Info 48 [16:02:08.000] request: { "command": "rename", @@ -559,6 +623,7 @@ Info 48 [16:02:08.000] request: "seq": 3, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: @@ -589,6 +654,7 @@ FsWatchesRecursive:: Info 49 [16:02:09.000] Starting updateGraphWorker: Project: /user/username/projects/myproject/dependency/tsconfig.json Info 50 [16:02:10.000] Finishing updateGraphWorker: Project: /user/username/projects/myproject/dependency/tsconfig.json Version: 2 structureChanged: false structureIsReused:: Completely Elapsed:: *ms Info 51 [16:02:11.000] Different program with same set of files +After request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: @@ -675,6 +741,7 @@ Info 53 [16:02:13.000] request: "seq": 4, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: @@ -702,6 +769,7 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +After request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: @@ -788,6 +856,7 @@ Info 55 [16:02:15.000] request: "seq": 5, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: @@ -815,6 +884,7 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +After request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: @@ -901,6 +971,7 @@ Info 57 [16:02:17.000] request: "seq": 6, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: @@ -928,6 +999,7 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +After request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: @@ -1014,6 +1086,7 @@ Info 59 [16:02:19.000] request: "seq": 7, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: @@ -1041,6 +1114,7 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +After request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configHasNoReference/usage-file-changes.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configHasNoReference/usage-file-changes.js index 9d035376b1f74..a08e9172bb382 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configHasNoReference/usage-file-changes.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configHasNoReference/usage-file-changes.js @@ -8,6 +8,7 @@ Info 1 [16:01:04.000] request: "file": "/user/username/projects/myproject/dependency/FnS.ts" } } +Before request //// [/user/username/projects/myproject/dependency/FnS.ts] export function fn1() { } export function fn2() { } @@ -245,6 +246,7 @@ Info 22 [16:01:27.000] ----------------------------------------------- Info 22 [16:01:28.000] Open files: Info 22 [16:01:29.000] FileName: /user/username/projects/myproject/dependency/FnS.ts ProjectRootPath: undefined Info 22 [16:01:30.000] Projects: /user/username/projects/myproject/dependency/tsconfig.json +After request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: @@ -275,6 +277,7 @@ Info 23 [16:01:32.000] request: "file": "/user/username/projects/myproject/random/random.ts" } } +Before request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: @@ -338,6 +341,7 @@ Info 41 [16:01:57.000] FileName: /user/username/projects/myproject/dependency Info 41 [16:01:58.000] Projects: /user/username/projects/myproject/dependency/tsconfig.json Info 41 [16:01:59.000] FileName: /user/username/projects/myproject/random/random.ts ProjectRootPath: undefined Info 41 [16:02:00.000] Projects: /user/username/projects/myproject/random/tsconfig.json +After request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: @@ -376,6 +380,7 @@ Info 42 [16:02:02.000] request: "seq": 1, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: @@ -401,6 +406,7 @@ FsWatchesRecursive:: Info 43 [16:02:03.000] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls/FnS.d.ts 500 undefined WatchType: Closed Script info Info 44 [16:02:04.000] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls/FnS.d.ts.map 500 undefined WatchType: Closed Script info +After request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: @@ -490,6 +496,7 @@ Info 46 [16:02:06.000] request: "seq": 2, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: @@ -517,6 +524,7 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +After request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: @@ -559,6 +567,7 @@ Info 48 [16:02:08.000] request: "seq": 3, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: @@ -589,6 +598,7 @@ FsWatchesRecursive:: Info 49 [16:02:09.000] Starting updateGraphWorker: Project: /user/username/projects/myproject/dependency/tsconfig.json Info 50 [16:02:10.000] Finishing updateGraphWorker: Project: /user/username/projects/myproject/dependency/tsconfig.json Version: 2 structureChanged: false structureIsReused:: Completely Elapsed:: *ms Info 51 [16:02:11.000] Different program with same set of files +After request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: @@ -675,6 +685,7 @@ Info 53 [16:02:13.000] request: "seq": 4, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: @@ -702,6 +713,7 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +After request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: @@ -788,6 +800,7 @@ Info 55 [16:02:15.000] request: "seq": 5, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: @@ -815,6 +828,7 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +After request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: @@ -901,6 +915,7 @@ Info 57 [16:02:17.000] request: "seq": 6, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: @@ -928,6 +943,7 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +After request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: @@ -1014,6 +1030,7 @@ Info 59 [16:02:19.000] request: "seq": 7, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: @@ -1041,6 +1058,7 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +After request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configWithReference/dependency-dts-changes-with-timeout-before-request.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configWithReference/dependency-dts-changes-with-timeout-before-request.js index a0e322c2ef264..9075e89eb9f25 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configWithReference/dependency-dts-changes-with-timeout-before-request.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configWithReference/dependency-dts-changes-with-timeout-before-request.js @@ -8,6 +8,7 @@ Info 1 [16:01:01.000] request: "file": "/user/username/projects/myproject/dependency/FnS.ts" } } +Before request //// [/user/username/projects/myproject/dependency/FnS.ts] export function fn1() { } export function fn2() { } @@ -245,6 +246,7 @@ Info 22 [16:01:24.000] ----------------------------------------------- Info 22 [16:01:25.000] Open files: Info 22 [16:01:26.000] FileName: /user/username/projects/myproject/dependency/FnS.ts ProjectRootPath: undefined Info 22 [16:01:27.000] Projects: /user/username/projects/myproject/dependency/tsconfig.json +After request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: @@ -275,6 +277,7 @@ Info 23 [16:01:29.000] request: "file": "/user/username/projects/myproject/random/random.ts" } } +Before request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: @@ -338,6 +341,7 @@ Info 41 [16:01:54.000] FileName: /user/username/projects/myproject/dependency Info 41 [16:01:55.000] Projects: /user/username/projects/myproject/dependency/tsconfig.json Info 41 [16:01:56.000] FileName: /user/username/projects/myproject/random/random.ts ProjectRootPath: undefined Info 41 [16:01:57.000] Projects: /user/username/projects/myproject/random/tsconfig.json +After request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: @@ -376,6 +380,7 @@ Info 42 [16:01:59.000] request: "seq": 1, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: @@ -401,6 +406,7 @@ FsWatchesRecursive:: Info 43 [16:02:00.000] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls/FnS.d.ts 500 undefined WatchType: Closed Script info Info 44 [16:02:01.000] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls/FnS.d.ts.map 500 undefined WatchType: Closed Script info +After request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: @@ -480,6 +486,43 @@ Info 46 [16:02:06.000] FileWatcher:: Triggered with /user/username/projects/my Info 47 [16:02:07.000] Scheduled: /user/username/projects/myproject/dependency/tsconfig.json Info 48 [16:02:08.000] Scheduled: *ensureProjectForOpenFiles* Info 49 [16:02:09.000] Elapsed:: *ms FileWatcher:: Triggered with /user/username/projects/myproject/decls/FnS.d.ts 1:: WatchInfo: /user/username/projects/myproject/decls/FnS.d.ts 500 undefined WatchType: Closed Script info +Before running timeout callbacks +//// [/user/username/projects/myproject/decls/FnS.d.ts] +export declare function fn1(): void; +export declare function fn2(): void; +export declare function fn3(): void; +export declare function fn4(): void; +export declare function fn5(): void; +export declare function fn6(): void; +//# sourceMappingURL=FnS.d.ts.map + + +PolledWatches:: +/user/username/projects/myproject/dependency/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/myproject/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/myproject/random/node_modules/@types: + {"pollingInterval":500} + +FsWatches:: +/user/username/projects/myproject/dependency/tsconfig.json: + {} +/a/lib/lib.d.ts: + {} +/user/username/projects/myproject/random/tsconfig.json: + {} +/user/username/projects/myproject/decls/fns.d.ts: + {} +/user/username/projects/myproject/decls/fns.d.ts.map: + {} + +FsWatchesRecursive:: +/user/username/projects/myproject/dependency: + {} +/user/username/projects/myproject/random: + {} + Info 50 [16:02:10.000] Running: /user/username/projects/myproject/dependency/tsconfig.json Info 51 [16:02:11.000] Starting updateGraphWorker: Project: /user/username/projects/myproject/dependency/tsconfig.json Info 52 [16:02:12.000] Finishing updateGraphWorker: Project: /user/username/projects/myproject/dependency/tsconfig.json Version: 2 structureChanged: false structureIsReused:: Not Elapsed:: *ms @@ -512,6 +555,34 @@ Info 56 [16:02:34.000] FileName: /user/username/projects/myproject/dependency Info 56 [16:02:35.000] Projects: /user/username/projects/myproject/dependency/tsconfig.json Info 56 [16:02:36.000] FileName: /user/username/projects/myproject/random/random.ts ProjectRootPath: undefined Info 56 [16:02:37.000] Projects: /user/username/projects/myproject/random/tsconfig.json +After running timeout callbacks + +PolledWatches:: +/user/username/projects/myproject/dependency/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/myproject/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/myproject/random/node_modules/@types: + {"pollingInterval":500} + +FsWatches:: +/user/username/projects/myproject/dependency/tsconfig.json: + {} +/a/lib/lib.d.ts: + {} +/user/username/projects/myproject/random/tsconfig.json: + {} +/user/username/projects/myproject/decls/fns.d.ts: + {} +/user/username/projects/myproject/decls/fns.d.ts.map: + {} + +FsWatchesRecursive:: +/user/username/projects/myproject/dependency: + {} +/user/username/projects/myproject/random: + {} + Info 56 [16:02:38.000] request: { "command": "rename", @@ -523,15 +594,7 @@ Info 56 [16:02:38.000] request: "seq": 2, "type": "request" } -//// [/user/username/projects/myproject/decls/FnS.d.ts] -export declare function fn1(): void; -export declare function fn2(): void; -export declare function fn3(): void; -export declare function fn4(): void; -export declare function fn5(): void; -export declare function fn6(): void; -//# sourceMappingURL=FnS.d.ts.map - +Before request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: @@ -559,6 +622,7 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +After request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: @@ -645,6 +709,7 @@ Info 58 [16:02:40.000] request: "seq": 3, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: @@ -672,6 +737,7 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +After request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: @@ -758,6 +824,7 @@ Info 60 [16:02:42.000] request: "seq": 4, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: @@ -785,6 +852,7 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +After request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: @@ -871,6 +939,7 @@ Info 62 [16:02:44.000] request: "seq": 5, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: @@ -898,6 +967,7 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +After request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: @@ -984,6 +1054,7 @@ Info 64 [16:02:46.000] request: "seq": 6, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: @@ -1011,6 +1082,7 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +After request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configWithReference/dependency-dts-changes.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configWithReference/dependency-dts-changes.js index 432f492c4b3a2..e3b86dc12151a 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configWithReference/dependency-dts-changes.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configWithReference/dependency-dts-changes.js @@ -8,6 +8,7 @@ Info 1 [16:01:01.000] request: "file": "/user/username/projects/myproject/dependency/FnS.ts" } } +Before request //// [/user/username/projects/myproject/dependency/FnS.ts] export function fn1() { } export function fn2() { } @@ -245,6 +246,7 @@ Info 22 [16:01:24.000] ----------------------------------------------- Info 22 [16:01:25.000] Open files: Info 22 [16:01:26.000] FileName: /user/username/projects/myproject/dependency/FnS.ts ProjectRootPath: undefined Info 22 [16:01:27.000] Projects: /user/username/projects/myproject/dependency/tsconfig.json +After request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: @@ -275,6 +277,7 @@ Info 23 [16:01:29.000] request: "file": "/user/username/projects/myproject/random/random.ts" } } +Before request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: @@ -338,6 +341,7 @@ Info 41 [16:01:54.000] FileName: /user/username/projects/myproject/dependency Info 41 [16:01:55.000] Projects: /user/username/projects/myproject/dependency/tsconfig.json Info 41 [16:01:56.000] FileName: /user/username/projects/myproject/random/random.ts ProjectRootPath: undefined Info 41 [16:01:57.000] Projects: /user/username/projects/myproject/random/tsconfig.json +After request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: @@ -376,6 +380,7 @@ Info 42 [16:01:59.000] request: "seq": 1, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: @@ -401,6 +406,7 @@ FsWatchesRecursive:: Info 43 [16:02:00.000] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls/FnS.d.ts 500 undefined WatchType: Closed Script info Info 44 [16:02:01.000] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls/FnS.d.ts.map 500 undefined WatchType: Closed Script info +After request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: @@ -491,6 +497,7 @@ Info 50 [16:02:10.000] request: "seq": 2, "type": "request" } +Before request //// [/user/username/projects/myproject/decls/FnS.d.ts] export declare function fn1(): void; export declare function fn2(): void; @@ -529,6 +536,7 @@ FsWatchesRecursive:: Info 51 [16:02:11.000] Starting updateGraphWorker: Project: /user/username/projects/myproject/dependency/tsconfig.json Info 52 [16:02:12.000] Finishing updateGraphWorker: Project: /user/username/projects/myproject/dependency/tsconfig.json Version: 2 structureChanged: false structureIsReused:: Not Elapsed:: *ms +After request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: @@ -615,6 +623,7 @@ Info 54 [16:02:14.000] request: "seq": 3, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: @@ -642,6 +651,7 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +After request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: @@ -728,6 +738,7 @@ Info 56 [16:02:16.000] request: "seq": 4, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: @@ -755,6 +766,7 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +After request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: @@ -841,6 +853,7 @@ Info 58 [16:02:18.000] request: "seq": 5, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: @@ -868,6 +881,7 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +After request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: @@ -954,6 +968,7 @@ Info 60 [16:02:20.000] request: "seq": 6, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: @@ -981,6 +996,7 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +After request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configWithReference/dependency-dts-created.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configWithReference/dependency-dts-created.js index 61c3a5f0ec531..bf7048414d337 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configWithReference/dependency-dts-created.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configWithReference/dependency-dts-created.js @@ -8,6 +8,7 @@ Info 1 [16:01:02.000] request: "file": "/user/username/projects/myproject/dependency/FnS.ts" } } +Before request //// [/user/username/projects/myproject/dependency/FnS.ts] export function fn1() { } export function fn2() { } @@ -237,6 +238,7 @@ Info 22 [16:01:25.000] ----------------------------------------------- Info 22 [16:01:26.000] Open files: Info 22 [16:01:27.000] FileName: /user/username/projects/myproject/dependency/FnS.ts ProjectRootPath: undefined Info 22 [16:01:28.000] Projects: /user/username/projects/myproject/dependency/tsconfig.json +After request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: @@ -267,6 +269,7 @@ Info 23 [16:01:30.000] request: "file": "/user/username/projects/myproject/random/random.ts" } } +Before request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: @@ -330,6 +333,7 @@ Info 41 [16:01:55.000] FileName: /user/username/projects/myproject/dependency Info 41 [16:01:56.000] Projects: /user/username/projects/myproject/dependency/tsconfig.json Info 41 [16:01:57.000] FileName: /user/username/projects/myproject/random/random.ts ProjectRootPath: undefined Info 41 [16:01:58.000] Projects: /user/username/projects/myproject/random/tsconfig.json +After request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: @@ -368,6 +372,7 @@ Info 42 [16:02:00.000] request: "seq": 1, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: @@ -392,6 +397,7 @@ FsWatchesRecursive:: {} Info 43 [16:02:01.000] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls/FnS.d.ts 2000 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Missing generated file +After request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: @@ -484,6 +490,7 @@ Info 53 [16:02:13.000] request: "seq": 2, "type": "request" } +Before request //// [/user/username/projects/myproject/decls/FnS.d.ts] export declare function fn1(): void; export declare function fn2(): void; @@ -521,6 +528,7 @@ Info 54 [16:02:14.000] Starting updateGraphWorker: Project: /user/username/pro Info 55 [16:02:15.000] Finishing updateGraphWorker: Project: /user/username/projects/myproject/dependency/tsconfig.json Version: 2 structureChanged: false structureIsReused:: Not Elapsed:: *ms Info 56 [16:02:16.000] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls/FnS.d.ts 500 undefined WatchType: Closed Script info Info 57 [16:02:17.000] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls/FnS.d.ts.map 500 undefined WatchType: Closed Script info +After request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: @@ -607,6 +615,7 @@ Info 59 [16:02:19.000] request: "seq": 3, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: @@ -634,6 +643,7 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +After request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: @@ -720,6 +730,7 @@ Info 61 [16:02:21.000] request: "seq": 4, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: @@ -747,6 +758,7 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +After request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: @@ -833,6 +845,7 @@ Info 63 [16:02:23.000] request: "seq": 5, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: @@ -860,6 +873,7 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +After request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: @@ -946,6 +960,7 @@ Info 65 [16:02:25.000] request: "seq": 6, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: @@ -973,6 +988,7 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +After request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: @@ -1057,6 +1073,7 @@ Info 67 [16:02:27.000] request: "file": "/user/username/projects/myproject/random/random.ts" } } +Before request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: @@ -1096,6 +1113,7 @@ Info 69 [16:02:34.000] ----------------------------------------------- Info 69 [16:02:35.000] Open files: Info 69 [16:02:36.000] FileName: /user/username/projects/myproject/dependency/FnS.ts ProjectRootPath: undefined Info 69 [16:02:37.000] Projects: /user/username/projects/myproject/dependency/tsconfig.json +After request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: @@ -1138,6 +1156,7 @@ Info 70 [16:02:39.000] request: "file": "/user/username/projects/myproject/random/random.ts" } } +Before request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: @@ -1183,6 +1202,7 @@ Info 74 [16:02:50.000] FileName: /user/username/projects/myproject/dependency Info 74 [16:02:51.000] Projects: /user/username/projects/myproject/dependency/tsconfig.json Info 74 [16:02:52.000] FileName: /user/username/projects/myproject/random/random.ts ProjectRootPath: undefined Info 74 [16:02:53.000] Projects: /user/username/projects/myproject/random/tsconfig.json +After request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: @@ -1223,6 +1243,7 @@ Info 75 [16:02:55.000] request: "file": "/user/username/projects/myproject/dependency/FnS.ts" } } +Before request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: @@ -1262,6 +1283,7 @@ Info 77 [16:03:02.000] ----------------------------------------------- Info 77 [16:03:03.000] Open files: Info 77 [16:03:04.000] FileName: /user/username/projects/myproject/random/random.ts ProjectRootPath: undefined Info 77 [16:03:05.000] Projects: /user/username/projects/myproject/random/tsconfig.json +After request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: @@ -1304,6 +1326,7 @@ Info 78 [16:03:07.000] request: "file": "/user/username/projects/myproject/random/random.ts" } } +Before request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: @@ -1343,6 +1366,7 @@ Info 80 [16:03:13.000] Files (2) Info 80 [16:03:14.000] ----------------------------------------------- Info 80 [16:03:15.000] Open files: +After request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: @@ -1387,6 +1411,7 @@ Info 81 [16:03:17.000] request: "file": "/user/username/projects/myproject/random/random.ts" } } +Before request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: @@ -1452,6 +1477,7 @@ Info 100 [16:03:38.000] ----------------------------------------------- Info 100 [16:03:39.000] Open files: Info 100 [16:03:40.000] FileName: /user/username/projects/myproject/random/random.ts ProjectRootPath: undefined Info 100 [16:03:41.000] Projects: /user/username/projects/myproject/random/tsconfig.json +After request PolledWatches:: /user/username/projects/myproject/node_modules/@types: diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configWithReference/dependency-dts-deleted.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configWithReference/dependency-dts-deleted.js index d9de20a46df3e..565ad63cabef2 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configWithReference/dependency-dts-deleted.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configWithReference/dependency-dts-deleted.js @@ -8,6 +8,7 @@ Info 1 [16:01:01.000] request: "file": "/user/username/projects/myproject/dependency/FnS.ts" } } +Before request //// [/user/username/projects/myproject/dependency/FnS.ts] export function fn1() { } export function fn2() { } @@ -245,6 +246,7 @@ Info 22 [16:01:24.000] ----------------------------------------------- Info 22 [16:01:25.000] Open files: Info 22 [16:01:26.000] FileName: /user/username/projects/myproject/dependency/FnS.ts ProjectRootPath: undefined Info 22 [16:01:27.000] Projects: /user/username/projects/myproject/dependency/tsconfig.json +After request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: @@ -275,6 +277,7 @@ Info 23 [16:01:29.000] request: "file": "/user/username/projects/myproject/random/random.ts" } } +Before request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: @@ -338,6 +341,7 @@ Info 41 [16:01:54.000] FileName: /user/username/projects/myproject/dependency Info 41 [16:01:55.000] Projects: /user/username/projects/myproject/dependency/tsconfig.json Info 41 [16:01:56.000] FileName: /user/username/projects/myproject/random/random.ts ProjectRootPath: undefined Info 41 [16:01:57.000] Projects: /user/username/projects/myproject/random/tsconfig.json +After request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: @@ -376,6 +380,7 @@ Info 42 [16:01:59.000] request: "seq": 1, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: @@ -401,6 +406,7 @@ FsWatchesRecursive:: Info 43 [16:02:00.000] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls/FnS.d.ts 500 undefined WatchType: Closed Script info Info 44 [16:02:01.000] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls/FnS.d.ts.map 500 undefined WatchType: Closed Script info +After request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: @@ -492,6 +498,7 @@ Info 51 [16:02:09.000] request: "seq": 2, "type": "request" } +Before request //// [/user/username/projects/myproject/decls/FnS.d.ts] deleted PolledWatches:: @@ -521,6 +528,7 @@ FsWatchesRecursive:: Info 52 [16:02:10.000] Starting updateGraphWorker: Project: /user/username/projects/myproject/dependency/tsconfig.json Info 53 [16:02:11.000] Finishing updateGraphWorker: Project: /user/username/projects/myproject/dependency/tsconfig.json Version: 2 structureChanged: false structureIsReused:: Not Elapsed:: *ms Info 54 [16:02:12.000] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls/FnS.d.ts 2000 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Missing generated file +After request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: @@ -607,6 +615,7 @@ Info 56 [16:02:14.000] request: "seq": 3, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: @@ -634,6 +643,7 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +After request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: @@ -720,6 +730,7 @@ Info 58 [16:02:16.000] request: "seq": 4, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: @@ -747,6 +758,7 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +After request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: @@ -833,6 +845,7 @@ Info 60 [16:02:18.000] request: "seq": 5, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: @@ -860,6 +873,7 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +After request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: @@ -946,6 +960,7 @@ Info 62 [16:02:20.000] request: "seq": 6, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: @@ -973,6 +988,7 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +After request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: @@ -1057,6 +1073,7 @@ Info 64 [16:02:22.000] request: "file": "/user/username/projects/myproject/random/random.ts" } } +Before request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: @@ -1096,6 +1113,7 @@ Info 66 [16:02:29.000] ----------------------------------------------- Info 66 [16:02:30.000] Open files: Info 66 [16:02:31.000] FileName: /user/username/projects/myproject/dependency/FnS.ts ProjectRootPath: undefined Info 66 [16:02:32.000] Projects: /user/username/projects/myproject/dependency/tsconfig.json +After request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: @@ -1138,6 +1156,7 @@ Info 67 [16:02:34.000] request: "file": "/user/username/projects/myproject/random/random.ts" } } +Before request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: @@ -1184,6 +1203,7 @@ Info 72 [16:02:46.000] FileName: /user/username/projects/myproject/dependency Info 72 [16:02:47.000] Projects: /user/username/projects/myproject/dependency/tsconfig.json Info 72 [16:02:48.000] FileName: /user/username/projects/myproject/random/random.ts ProjectRootPath: undefined Info 72 [16:02:49.000] Projects: /user/username/projects/myproject/random/tsconfig.json +After request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: @@ -1222,6 +1242,7 @@ Info 73 [16:02:51.000] request: "file": "/user/username/projects/myproject/dependency/FnS.ts" } } +Before request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: @@ -1259,6 +1280,7 @@ Info 75 [16:02:58.000] ----------------------------------------------- Info 75 [16:02:59.000] Open files: Info 75 [16:03:00.000] FileName: /user/username/projects/myproject/random/random.ts ProjectRootPath: undefined Info 75 [16:03:01.000] Projects: /user/username/projects/myproject/random/tsconfig.json +After request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: @@ -1299,6 +1321,7 @@ Info 76 [16:03:03.000] request: "file": "/user/username/projects/myproject/random/random.ts" } } +Before request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: @@ -1336,6 +1359,7 @@ Info 78 [16:03:09.000] Files (2) Info 78 [16:03:10.000] ----------------------------------------------- Info 78 [16:03:11.000] Open files: +After request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: @@ -1378,6 +1402,7 @@ Info 79 [16:03:13.000] request: "file": "/user/username/projects/myproject/random/random.ts" } } +Before request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: @@ -1439,6 +1464,7 @@ Info 96 [16:03:32.000] ----------------------------------------------- Info 96 [16:03:33.000] Open files: Info 96 [16:03:34.000] FileName: /user/username/projects/myproject/random/random.ts ProjectRootPath: undefined Info 96 [16:03:35.000] Projects: /user/username/projects/myproject/random/tsconfig.json +After request PolledWatches:: /user/username/projects/myproject/node_modules/@types: diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configWithReference/dependency-dts-not-present.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configWithReference/dependency-dts-not-present.js index 42c4fe17bef6e..714aaef6da34f 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configWithReference/dependency-dts-not-present.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configWithReference/dependency-dts-not-present.js @@ -8,6 +8,7 @@ Info 1 [16:01:02.000] request: "file": "/user/username/projects/myproject/dependency/FnS.ts" } } +Before request //// [/user/username/projects/myproject/dependency/FnS.ts] export function fn1() { } export function fn2() { } @@ -237,6 +238,7 @@ Info 22 [16:01:25.000] ----------------------------------------------- Info 22 [16:01:26.000] Open files: Info 22 [16:01:27.000] FileName: /user/username/projects/myproject/dependency/FnS.ts ProjectRootPath: undefined Info 22 [16:01:28.000] Projects: /user/username/projects/myproject/dependency/tsconfig.json +After request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: @@ -267,6 +269,7 @@ Info 23 [16:01:30.000] request: "file": "/user/username/projects/myproject/random/random.ts" } } +Before request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: @@ -330,6 +333,7 @@ Info 41 [16:01:55.000] FileName: /user/username/projects/myproject/dependency Info 41 [16:01:56.000] Projects: /user/username/projects/myproject/dependency/tsconfig.json Info 41 [16:01:57.000] FileName: /user/username/projects/myproject/random/random.ts ProjectRootPath: undefined Info 41 [16:01:58.000] Projects: /user/username/projects/myproject/random/tsconfig.json +After request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: @@ -368,6 +372,7 @@ Info 42 [16:02:00.000] request: "seq": 1, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: @@ -392,6 +397,7 @@ FsWatchesRecursive:: {} Info 43 [16:02:01.000] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls/FnS.d.ts 2000 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Missing generated file +After request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: @@ -476,6 +482,7 @@ Info 45 [16:02:03.000] request: "seq": 2, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: @@ -501,6 +508,7 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +After request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: @@ -585,6 +593,7 @@ Info 47 [16:02:05.000] request: "seq": 3, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: @@ -610,6 +619,7 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +After request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: @@ -694,6 +704,7 @@ Info 49 [16:02:07.000] request: "seq": 4, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: @@ -719,6 +730,7 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +After request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: @@ -803,6 +815,7 @@ Info 51 [16:02:09.000] request: "seq": 5, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: @@ -828,6 +841,7 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +After request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: @@ -910,6 +924,7 @@ Info 53 [16:02:11.000] request: "file": "/user/username/projects/myproject/random/random.ts" } } +Before request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: @@ -947,6 +962,7 @@ Info 55 [16:02:18.000] ----------------------------------------------- Info 55 [16:02:19.000] Open files: Info 55 [16:02:20.000] FileName: /user/username/projects/myproject/dependency/FnS.ts ProjectRootPath: undefined Info 55 [16:02:21.000] Projects: /user/username/projects/myproject/dependency/tsconfig.json +After request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: @@ -987,6 +1003,7 @@ Info 56 [16:02:23.000] request: "file": "/user/username/projects/myproject/random/random.ts" } } +Before request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: @@ -1030,6 +1047,7 @@ Info 60 [16:02:34.000] FileName: /user/username/projects/myproject/dependency Info 60 [16:02:35.000] Projects: /user/username/projects/myproject/dependency/tsconfig.json Info 60 [16:02:36.000] FileName: /user/username/projects/myproject/random/random.ts ProjectRootPath: undefined Info 60 [16:02:37.000] Projects: /user/username/projects/myproject/random/tsconfig.json +After request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: @@ -1068,6 +1086,7 @@ Info 61 [16:02:39.000] request: "file": "/user/username/projects/myproject/dependency/FnS.ts" } } +Before request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: @@ -1105,6 +1124,7 @@ Info 63 [16:02:46.000] ----------------------------------------------- Info 63 [16:02:47.000] Open files: Info 63 [16:02:48.000] FileName: /user/username/projects/myproject/random/random.ts ProjectRootPath: undefined Info 63 [16:02:49.000] Projects: /user/username/projects/myproject/random/tsconfig.json +After request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: @@ -1145,6 +1165,7 @@ Info 64 [16:02:51.000] request: "file": "/user/username/projects/myproject/random/random.ts" } } +Before request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: @@ -1182,6 +1203,7 @@ Info 66 [16:02:57.000] Files (2) Info 66 [16:02:58.000] ----------------------------------------------- Info 66 [16:02:59.000] Open files: +After request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: @@ -1224,6 +1246,7 @@ Info 67 [16:03:01.000] request: "file": "/user/username/projects/myproject/random/random.ts" } } +Before request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: @@ -1285,6 +1308,7 @@ Info 84 [16:03:20.000] ----------------------------------------------- Info 84 [16:03:21.000] Open files: Info 84 [16:03:22.000] FileName: /user/username/projects/myproject/random/random.ts ProjectRootPath: undefined Info 84 [16:03:23.000] Projects: /user/username/projects/myproject/random/tsconfig.json +After request PolledWatches:: /user/username/projects/myproject/node_modules/@types: diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configWithReference/dependency-dtsMap-changes-with-timeout-before-request.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configWithReference/dependency-dtsMap-changes-with-timeout-before-request.js index a66a8a92a6e38..bfa99324e274c 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configWithReference/dependency-dtsMap-changes-with-timeout-before-request.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configWithReference/dependency-dtsMap-changes-with-timeout-before-request.js @@ -8,6 +8,7 @@ Info 1 [16:01:01.000] request: "file": "/user/username/projects/myproject/dependency/FnS.ts" } } +Before request //// [/user/username/projects/myproject/dependency/FnS.ts] export function fn1() { } export function fn2() { } @@ -245,6 +246,7 @@ Info 22 [16:01:24.000] ----------------------------------------------- Info 22 [16:01:25.000] Open files: Info 22 [16:01:26.000] FileName: /user/username/projects/myproject/dependency/FnS.ts ProjectRootPath: undefined Info 22 [16:01:27.000] Projects: /user/username/projects/myproject/dependency/tsconfig.json +After request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: @@ -275,6 +277,7 @@ Info 23 [16:01:29.000] request: "file": "/user/username/projects/myproject/random/random.ts" } } +Before request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: @@ -338,6 +341,7 @@ Info 41 [16:01:54.000] FileName: /user/username/projects/myproject/dependency Info 41 [16:01:55.000] Projects: /user/username/projects/myproject/dependency/tsconfig.json Info 41 [16:01:56.000] FileName: /user/username/projects/myproject/random/random.ts ProjectRootPath: undefined Info 41 [16:01:57.000] Projects: /user/username/projects/myproject/random/tsconfig.json +After request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: @@ -376,6 +380,7 @@ Info 42 [16:01:59.000] request: "seq": 1, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: @@ -401,6 +406,7 @@ FsWatchesRecursive:: Info 43 [16:02:00.000] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls/FnS.d.ts 500 undefined WatchType: Closed Script info Info 44 [16:02:01.000] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls/FnS.d.ts.map 500 undefined WatchType: Closed Script info +After request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: @@ -480,6 +486,37 @@ Info 46 [16:02:06.000] FileWatcher:: Triggered with /user/username/projects/my Info 47 [16:02:07.000] Scheduled: /user/username/projects/myproject/dependency/tsconfig.json Info 48 [16:02:08.000] Scheduled: *ensureProjectForOpenFiles* Info 49 [16:02:09.000] Elapsed:: *ms FileWatcher:: Triggered with /user/username/projects/myproject/decls/FnS.d.ts.map 1:: WatchInfo: /user/username/projects/myproject/decls/FnS.d.ts.map 500 undefined WatchType: Closed Script info +Before running timeout callbacks +//// [/user/username/projects/myproject/decls/FnS.d.ts.map] +{"version":3,"file":"FnS.d.ts","sourceRoot":"","sources":["../dependency/FnS.ts"],"names":[],"mappings":"AAAA,wBAAgB,GAAG,SAAM;AACzB,wBAAgB,GAAG,SAAM;AACzB,wBAAgB,GAAG,SAAM;AACzB,wBAAgB,GAAG,SAAM;AACzB,wBAAgB,GAAG,SAAM;AACzB,eAAO,MAAM,CAAC,KAAK,CAAC"} + + +PolledWatches:: +/user/username/projects/myproject/dependency/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/myproject/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/myproject/random/node_modules/@types: + {"pollingInterval":500} + +FsWatches:: +/user/username/projects/myproject/dependency/tsconfig.json: + {} +/a/lib/lib.d.ts: + {} +/user/username/projects/myproject/random/tsconfig.json: + {} +/user/username/projects/myproject/decls/fns.d.ts: + {} +/user/username/projects/myproject/decls/fns.d.ts.map: + {} + +FsWatchesRecursive:: +/user/username/projects/myproject/dependency: + {} +/user/username/projects/myproject/random: + {} + Info 50 [16:02:10.000] Running: /user/username/projects/myproject/dependency/tsconfig.json Info 51 [16:02:11.000] Starting updateGraphWorker: Project: /user/username/projects/myproject/dependency/tsconfig.json Info 52 [16:02:12.000] Finishing updateGraphWorker: Project: /user/username/projects/myproject/dependency/tsconfig.json Version: 2 structureChanged: false structureIsReused:: Not Elapsed:: *ms @@ -512,6 +549,34 @@ Info 56 [16:02:34.000] FileName: /user/username/projects/myproject/dependency Info 56 [16:02:35.000] Projects: /user/username/projects/myproject/dependency/tsconfig.json Info 56 [16:02:36.000] FileName: /user/username/projects/myproject/random/random.ts ProjectRootPath: undefined Info 56 [16:02:37.000] Projects: /user/username/projects/myproject/random/tsconfig.json +After running timeout callbacks + +PolledWatches:: +/user/username/projects/myproject/dependency/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/myproject/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/myproject/random/node_modules/@types: + {"pollingInterval":500} + +FsWatches:: +/user/username/projects/myproject/dependency/tsconfig.json: + {} +/a/lib/lib.d.ts: + {} +/user/username/projects/myproject/random/tsconfig.json: + {} +/user/username/projects/myproject/decls/fns.d.ts: + {} +/user/username/projects/myproject/decls/fns.d.ts.map: + {} + +FsWatchesRecursive:: +/user/username/projects/myproject/dependency: + {} +/user/username/projects/myproject/random: + {} + Info 56 [16:02:38.000] request: { "command": "rename", @@ -523,9 +588,7 @@ Info 56 [16:02:38.000] request: "seq": 2, "type": "request" } -//// [/user/username/projects/myproject/decls/FnS.d.ts.map] -{"version":3,"file":"FnS.d.ts","sourceRoot":"","sources":["../dependency/FnS.ts"],"names":[],"mappings":"AAAA,wBAAgB,GAAG,SAAM;AACzB,wBAAgB,GAAG,SAAM;AACzB,wBAAgB,GAAG,SAAM;AACzB,wBAAgB,GAAG,SAAM;AACzB,wBAAgB,GAAG,SAAM;AACzB,eAAO,MAAM,CAAC,KAAK,CAAC"} - +Before request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: @@ -553,6 +616,7 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +After request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: @@ -639,6 +703,7 @@ Info 58 [16:02:40.000] request: "seq": 3, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: @@ -666,6 +731,7 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +After request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: @@ -752,6 +818,7 @@ Info 60 [16:02:42.000] request: "seq": 4, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: @@ -779,6 +846,7 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +After request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: @@ -865,6 +933,7 @@ Info 62 [16:02:44.000] request: "seq": 5, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: @@ -892,6 +961,7 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +After request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: @@ -978,6 +1048,7 @@ Info 64 [16:02:46.000] request: "seq": 6, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: @@ -1005,6 +1076,7 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +After request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configWithReference/dependency-dtsMap-changes.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configWithReference/dependency-dtsMap-changes.js index 430e2cf973d39..02e4cd9a55ea4 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configWithReference/dependency-dtsMap-changes.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configWithReference/dependency-dtsMap-changes.js @@ -8,6 +8,7 @@ Info 1 [16:01:01.000] request: "file": "/user/username/projects/myproject/dependency/FnS.ts" } } +Before request //// [/user/username/projects/myproject/dependency/FnS.ts] export function fn1() { } export function fn2() { } @@ -245,6 +246,7 @@ Info 22 [16:01:24.000] ----------------------------------------------- Info 22 [16:01:25.000] Open files: Info 22 [16:01:26.000] FileName: /user/username/projects/myproject/dependency/FnS.ts ProjectRootPath: undefined Info 22 [16:01:27.000] Projects: /user/username/projects/myproject/dependency/tsconfig.json +After request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: @@ -275,6 +277,7 @@ Info 23 [16:01:29.000] request: "file": "/user/username/projects/myproject/random/random.ts" } } +Before request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: @@ -338,6 +341,7 @@ Info 41 [16:01:54.000] FileName: /user/username/projects/myproject/dependency Info 41 [16:01:55.000] Projects: /user/username/projects/myproject/dependency/tsconfig.json Info 41 [16:01:56.000] FileName: /user/username/projects/myproject/random/random.ts ProjectRootPath: undefined Info 41 [16:01:57.000] Projects: /user/username/projects/myproject/random/tsconfig.json +After request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: @@ -376,6 +380,7 @@ Info 42 [16:01:59.000] request: "seq": 1, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: @@ -401,6 +406,7 @@ FsWatchesRecursive:: Info 43 [16:02:00.000] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls/FnS.d.ts 500 undefined WatchType: Closed Script info Info 44 [16:02:01.000] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls/FnS.d.ts.map 500 undefined WatchType: Closed Script info +After request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: @@ -491,6 +497,7 @@ Info 50 [16:02:10.000] request: "seq": 2, "type": "request" } +Before request //// [/user/username/projects/myproject/decls/FnS.d.ts.map] {"version":3,"file":"FnS.d.ts","sourceRoot":"","sources":["../dependency/FnS.ts"],"names":[],"mappings":"AAAA,wBAAgB,GAAG,SAAM;AACzB,wBAAgB,GAAG,SAAM;AACzB,wBAAgB,GAAG,SAAM;AACzB,wBAAgB,GAAG,SAAM;AACzB,wBAAgB,GAAG,SAAM;AACzB,eAAO,MAAM,CAAC,KAAK,CAAC"} @@ -523,6 +530,7 @@ FsWatchesRecursive:: Info 51 [16:02:11.000] Starting updateGraphWorker: Project: /user/username/projects/myproject/dependency/tsconfig.json Info 52 [16:02:12.000] Finishing updateGraphWorker: Project: /user/username/projects/myproject/dependency/tsconfig.json Version: 2 structureChanged: false structureIsReused:: Not Elapsed:: *ms +After request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: @@ -609,6 +617,7 @@ Info 54 [16:02:14.000] request: "seq": 3, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: @@ -636,6 +645,7 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +After request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: @@ -722,6 +732,7 @@ Info 56 [16:02:16.000] request: "seq": 4, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: @@ -749,6 +760,7 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +After request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: @@ -835,6 +847,7 @@ Info 58 [16:02:18.000] request: "seq": 5, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: @@ -862,6 +875,7 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +After request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: @@ -948,6 +962,7 @@ Info 60 [16:02:20.000] request: "seq": 6, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: @@ -975,6 +990,7 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +After request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configWithReference/dependency-dtsMap-created.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configWithReference/dependency-dtsMap-created.js index fbca05eb5a3c6..3c28f09af5eba 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configWithReference/dependency-dtsMap-created.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configWithReference/dependency-dtsMap-created.js @@ -8,6 +8,7 @@ Info 1 [16:01:02.000] request: "file": "/user/username/projects/myproject/dependency/FnS.ts" } } +Before request //// [/user/username/projects/myproject/dependency/FnS.ts] export function fn1() { } export function fn2() { } @@ -242,6 +243,7 @@ Info 22 [16:01:25.000] ----------------------------------------------- Info 22 [16:01:26.000] Open files: Info 22 [16:01:27.000] FileName: /user/username/projects/myproject/dependency/FnS.ts ProjectRootPath: undefined Info 22 [16:01:28.000] Projects: /user/username/projects/myproject/dependency/tsconfig.json +After request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: @@ -272,6 +274,7 @@ Info 23 [16:01:30.000] request: "file": "/user/username/projects/myproject/random/random.ts" } } +Before request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: @@ -335,6 +338,7 @@ Info 41 [16:01:55.000] FileName: /user/username/projects/myproject/dependency Info 41 [16:01:56.000] Projects: /user/username/projects/myproject/dependency/tsconfig.json Info 41 [16:01:57.000] FileName: /user/username/projects/myproject/random/random.ts ProjectRootPath: undefined Info 41 [16:01:58.000] Projects: /user/username/projects/myproject/random/tsconfig.json +After request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: @@ -373,6 +377,7 @@ Info 42 [16:02:00.000] request: "seq": 1, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: @@ -398,6 +403,7 @@ FsWatchesRecursive:: Info 43 [16:02:01.000] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls/FnS.d.ts 500 undefined WatchType: Closed Script info Info 44 [16:02:02.000] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls/FnS.d.ts.map 2000 undefined WatchType: Missing source map file +After request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: @@ -489,6 +495,7 @@ Info 51 [16:02:11.000] request: "seq": 2, "type": "request" } +Before request //// [/user/username/projects/myproject/decls/FnS.d.ts.map] {"version":3,"file":"FnS.d.ts","sourceRoot":"","sources":["../dependency/FnS.ts"],"names":[],"mappings":"AAAA,wBAAgB,GAAG,SAAM;AACzB,wBAAgB,GAAG,SAAM;AACzB,wBAAgB,GAAG,SAAM;AACzB,wBAAgB,GAAG,SAAM;AACzB,wBAAgB,GAAG,SAAM"} @@ -520,6 +527,7 @@ FsWatchesRecursive:: Info 52 [16:02:12.000] Starting updateGraphWorker: Project: /user/username/projects/myproject/dependency/tsconfig.json Info 53 [16:02:13.000] Finishing updateGraphWorker: Project: /user/username/projects/myproject/dependency/tsconfig.json Version: 2 structureChanged: false structureIsReused:: Not Elapsed:: *ms Info 54 [16:02:14.000] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls/FnS.d.ts.map 500 undefined WatchType: Closed Script info +After request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: @@ -606,6 +614,7 @@ Info 56 [16:02:16.000] request: "seq": 3, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: @@ -633,6 +642,7 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +After request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: @@ -719,6 +729,7 @@ Info 58 [16:02:18.000] request: "seq": 4, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: @@ -746,6 +757,7 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +After request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: @@ -832,6 +844,7 @@ Info 60 [16:02:20.000] request: "seq": 5, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: @@ -859,6 +872,7 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +After request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: @@ -945,6 +959,7 @@ Info 62 [16:02:22.000] request: "seq": 6, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: @@ -972,6 +987,7 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +After request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: @@ -1056,6 +1072,7 @@ Info 64 [16:02:24.000] request: "file": "/user/username/projects/myproject/random/random.ts" } } +Before request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: @@ -1095,6 +1112,7 @@ Info 66 [16:02:31.000] ----------------------------------------------- Info 66 [16:02:32.000] Open files: Info 66 [16:02:33.000] FileName: /user/username/projects/myproject/dependency/FnS.ts ProjectRootPath: undefined Info 66 [16:02:34.000] Projects: /user/username/projects/myproject/dependency/tsconfig.json +After request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: @@ -1137,6 +1155,7 @@ Info 67 [16:02:36.000] request: "file": "/user/username/projects/myproject/random/random.ts" } } +Before request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: @@ -1182,6 +1201,7 @@ Info 71 [16:02:47.000] FileName: /user/username/projects/myproject/dependency Info 71 [16:02:48.000] Projects: /user/username/projects/myproject/dependency/tsconfig.json Info 71 [16:02:49.000] FileName: /user/username/projects/myproject/random/random.ts ProjectRootPath: undefined Info 71 [16:02:50.000] Projects: /user/username/projects/myproject/random/tsconfig.json +After request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: @@ -1222,6 +1242,7 @@ Info 72 [16:02:52.000] request: "file": "/user/username/projects/myproject/dependency/FnS.ts" } } +Before request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: @@ -1261,6 +1282,7 @@ Info 74 [16:02:59.000] ----------------------------------------------- Info 74 [16:03:00.000] Open files: Info 74 [16:03:01.000] FileName: /user/username/projects/myproject/random/random.ts ProjectRootPath: undefined Info 74 [16:03:02.000] Projects: /user/username/projects/myproject/random/tsconfig.json +After request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: @@ -1303,6 +1325,7 @@ Info 75 [16:03:04.000] request: "file": "/user/username/projects/myproject/random/random.ts" } } +Before request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: @@ -1342,6 +1365,7 @@ Info 77 [16:03:10.000] Files (2) Info 77 [16:03:11.000] ----------------------------------------------- Info 77 [16:03:12.000] Open files: +After request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: @@ -1386,6 +1410,7 @@ Info 78 [16:03:14.000] request: "file": "/user/username/projects/myproject/random/random.ts" } } +Before request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: @@ -1450,6 +1475,7 @@ Info 96 [16:03:34.000] ----------------------------------------------- Info 96 [16:03:35.000] Open files: Info 96 [16:03:36.000] FileName: /user/username/projects/myproject/random/random.ts ProjectRootPath: undefined Info 96 [16:03:37.000] Projects: /user/username/projects/myproject/random/tsconfig.json +After request PolledWatches:: /user/username/projects/myproject/node_modules/@types: diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configWithReference/dependency-dtsMap-deleted.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configWithReference/dependency-dtsMap-deleted.js index 34dac1d0c3de7..1142d6afd784f 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configWithReference/dependency-dtsMap-deleted.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configWithReference/dependency-dtsMap-deleted.js @@ -8,6 +8,7 @@ Info 1 [16:01:01.000] request: "file": "/user/username/projects/myproject/dependency/FnS.ts" } } +Before request //// [/user/username/projects/myproject/dependency/FnS.ts] export function fn1() { } export function fn2() { } @@ -245,6 +246,7 @@ Info 22 [16:01:24.000] ----------------------------------------------- Info 22 [16:01:25.000] Open files: Info 22 [16:01:26.000] FileName: /user/username/projects/myproject/dependency/FnS.ts ProjectRootPath: undefined Info 22 [16:01:27.000] Projects: /user/username/projects/myproject/dependency/tsconfig.json +After request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: @@ -275,6 +277,7 @@ Info 23 [16:01:29.000] request: "file": "/user/username/projects/myproject/random/random.ts" } } +Before request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: @@ -338,6 +341,7 @@ Info 41 [16:01:54.000] FileName: /user/username/projects/myproject/dependency Info 41 [16:01:55.000] Projects: /user/username/projects/myproject/dependency/tsconfig.json Info 41 [16:01:56.000] FileName: /user/username/projects/myproject/random/random.ts ProjectRootPath: undefined Info 41 [16:01:57.000] Projects: /user/username/projects/myproject/random/tsconfig.json +After request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: @@ -376,6 +380,7 @@ Info 42 [16:01:59.000] request: "seq": 1, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: @@ -401,6 +406,7 @@ FsWatchesRecursive:: Info 43 [16:02:00.000] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls/FnS.d.ts 500 undefined WatchType: Closed Script info Info 44 [16:02:01.000] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls/FnS.d.ts.map 500 undefined WatchType: Closed Script info +After request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: @@ -492,6 +498,7 @@ Info 51 [16:02:09.000] request: "seq": 2, "type": "request" } +Before request //// [/user/username/projects/myproject/decls/FnS.d.ts.map] deleted PolledWatches:: @@ -521,6 +528,7 @@ FsWatchesRecursive:: Info 52 [16:02:10.000] Starting updateGraphWorker: Project: /user/username/projects/myproject/dependency/tsconfig.json Info 53 [16:02:11.000] Finishing updateGraphWorker: Project: /user/username/projects/myproject/dependency/tsconfig.json Version: 2 structureChanged: false structureIsReused:: Not Elapsed:: *ms Info 54 [16:02:12.000] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls/FnS.d.ts.map 2000 undefined WatchType: Missing source map file +After request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: @@ -607,6 +615,7 @@ Info 56 [16:02:14.000] request: "seq": 3, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: @@ -634,6 +643,7 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +After request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: @@ -720,6 +730,7 @@ Info 58 [16:02:16.000] request: "seq": 4, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: @@ -747,6 +758,7 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +After request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: @@ -833,6 +845,7 @@ Info 60 [16:02:18.000] request: "seq": 5, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: @@ -860,6 +873,7 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +After request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: @@ -946,6 +960,7 @@ Info 62 [16:02:20.000] request: "seq": 6, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: @@ -973,6 +988,7 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +After request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: @@ -1057,6 +1073,7 @@ Info 64 [16:02:22.000] request: "file": "/user/username/projects/myproject/random/random.ts" } } +Before request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: @@ -1096,6 +1113,7 @@ Info 66 [16:02:29.000] ----------------------------------------------- Info 66 [16:02:30.000] Open files: Info 66 [16:02:31.000] FileName: /user/username/projects/myproject/dependency/FnS.ts ProjectRootPath: undefined Info 66 [16:02:32.000] Projects: /user/username/projects/myproject/dependency/tsconfig.json +After request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: @@ -1138,6 +1156,7 @@ Info 67 [16:02:34.000] request: "file": "/user/username/projects/myproject/random/random.ts" } } +Before request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: @@ -1183,6 +1202,7 @@ Info 71 [16:02:45.000] FileName: /user/username/projects/myproject/dependency Info 71 [16:02:46.000] Projects: /user/username/projects/myproject/dependency/tsconfig.json Info 71 [16:02:47.000] FileName: /user/username/projects/myproject/random/random.ts ProjectRootPath: undefined Info 71 [16:02:48.000] Projects: /user/username/projects/myproject/random/tsconfig.json +After request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: @@ -1223,6 +1243,7 @@ Info 72 [16:02:50.000] request: "file": "/user/username/projects/myproject/dependency/FnS.ts" } } +Before request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: @@ -1262,6 +1283,7 @@ Info 74 [16:02:57.000] ----------------------------------------------- Info 74 [16:02:58.000] Open files: Info 74 [16:02:59.000] FileName: /user/username/projects/myproject/random/random.ts ProjectRootPath: undefined Info 74 [16:03:00.000] Projects: /user/username/projects/myproject/random/tsconfig.json +After request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: @@ -1304,6 +1326,7 @@ Info 75 [16:03:02.000] request: "file": "/user/username/projects/myproject/random/random.ts" } } +Before request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: @@ -1343,6 +1366,7 @@ Info 77 [16:03:08.000] Files (2) Info 77 [16:03:09.000] ----------------------------------------------- Info 77 [16:03:10.000] Open files: +After request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: @@ -1387,6 +1411,7 @@ Info 78 [16:03:12.000] request: "file": "/user/username/projects/myproject/random/random.ts" } } +Before request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: @@ -1451,6 +1476,7 @@ Info 96 [16:03:32.000] ----------------------------------------------- Info 96 [16:03:33.000] Open files: Info 96 [16:03:34.000] FileName: /user/username/projects/myproject/random/random.ts ProjectRootPath: undefined Info 96 [16:03:35.000] Projects: /user/username/projects/myproject/random/tsconfig.json +After request PolledWatches:: /user/username/projects/myproject/node_modules/@types: diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configWithReference/dependency-dtsMap-not-present.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configWithReference/dependency-dtsMap-not-present.js index 4ddb295f6ba5f..81745fd6e0fc6 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configWithReference/dependency-dtsMap-not-present.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configWithReference/dependency-dtsMap-not-present.js @@ -8,6 +8,7 @@ Info 1 [16:01:02.000] request: "file": "/user/username/projects/myproject/dependency/FnS.ts" } } +Before request //// [/user/username/projects/myproject/dependency/FnS.ts] export function fn1() { } export function fn2() { } @@ -242,6 +243,7 @@ Info 22 [16:01:25.000] ----------------------------------------------- Info 22 [16:01:26.000] Open files: Info 22 [16:01:27.000] FileName: /user/username/projects/myproject/dependency/FnS.ts ProjectRootPath: undefined Info 22 [16:01:28.000] Projects: /user/username/projects/myproject/dependency/tsconfig.json +After request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: @@ -272,6 +274,7 @@ Info 23 [16:01:30.000] request: "file": "/user/username/projects/myproject/random/random.ts" } } +Before request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: @@ -335,6 +338,7 @@ Info 41 [16:01:55.000] FileName: /user/username/projects/myproject/dependency Info 41 [16:01:56.000] Projects: /user/username/projects/myproject/dependency/tsconfig.json Info 41 [16:01:57.000] FileName: /user/username/projects/myproject/random/random.ts ProjectRootPath: undefined Info 41 [16:01:58.000] Projects: /user/username/projects/myproject/random/tsconfig.json +After request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: @@ -373,6 +377,7 @@ Info 42 [16:02:00.000] request: "seq": 1, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: @@ -398,6 +403,7 @@ FsWatchesRecursive:: Info 43 [16:02:01.000] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls/FnS.d.ts 500 undefined WatchType: Closed Script info Info 44 [16:02:02.000] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls/FnS.d.ts.map 2000 undefined WatchType: Missing source map file +After request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: @@ -484,6 +490,7 @@ Info 46 [16:02:04.000] request: "seq": 2, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: @@ -511,6 +518,7 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +After request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: @@ -597,6 +605,7 @@ Info 48 [16:02:06.000] request: "seq": 3, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: @@ -624,6 +633,7 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +After request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: @@ -710,6 +720,7 @@ Info 50 [16:02:08.000] request: "seq": 4, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: @@ -737,6 +748,7 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +After request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: @@ -823,6 +835,7 @@ Info 52 [16:02:10.000] request: "seq": 5, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: @@ -850,6 +863,7 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +After request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: @@ -934,6 +948,7 @@ Info 54 [16:02:12.000] request: "file": "/user/username/projects/myproject/random/random.ts" } } +Before request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: @@ -973,6 +988,7 @@ Info 56 [16:02:19.000] ----------------------------------------------- Info 56 [16:02:20.000] Open files: Info 56 [16:02:21.000] FileName: /user/username/projects/myproject/dependency/FnS.ts ProjectRootPath: undefined Info 56 [16:02:22.000] Projects: /user/username/projects/myproject/dependency/tsconfig.json +After request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: @@ -1015,6 +1031,7 @@ Info 57 [16:02:24.000] request: "file": "/user/username/projects/myproject/random/random.ts" } } +Before request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: @@ -1060,6 +1077,7 @@ Info 61 [16:02:35.000] FileName: /user/username/projects/myproject/dependency Info 61 [16:02:36.000] Projects: /user/username/projects/myproject/dependency/tsconfig.json Info 61 [16:02:37.000] FileName: /user/username/projects/myproject/random/random.ts ProjectRootPath: undefined Info 61 [16:02:38.000] Projects: /user/username/projects/myproject/random/tsconfig.json +After request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: @@ -1100,6 +1118,7 @@ Info 62 [16:02:40.000] request: "file": "/user/username/projects/myproject/dependency/FnS.ts" } } +Before request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: @@ -1139,6 +1158,7 @@ Info 64 [16:02:47.000] ----------------------------------------------- Info 64 [16:02:48.000] Open files: Info 64 [16:02:49.000] FileName: /user/username/projects/myproject/random/random.ts ProjectRootPath: undefined Info 64 [16:02:50.000] Projects: /user/username/projects/myproject/random/tsconfig.json +After request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: @@ -1181,6 +1201,7 @@ Info 65 [16:02:52.000] request: "file": "/user/username/projects/myproject/random/random.ts" } } +Before request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: @@ -1220,6 +1241,7 @@ Info 67 [16:02:58.000] Files (2) Info 67 [16:02:59.000] ----------------------------------------------- Info 67 [16:03:00.000] Open files: +After request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: @@ -1264,6 +1286,7 @@ Info 68 [16:03:02.000] request: "file": "/user/username/projects/myproject/random/random.ts" } } +Before request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: @@ -1328,6 +1351,7 @@ Info 86 [16:03:22.000] ----------------------------------------------- Info 86 [16:03:23.000] Open files: Info 86 [16:03:24.000] FileName: /user/username/projects/myproject/random/random.ts ProjectRootPath: undefined Info 86 [16:03:25.000] Projects: /user/username/projects/myproject/random/tsconfig.json +After request PolledWatches:: /user/username/projects/myproject/node_modules/@types: diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configWithReference/dependency-source-changes-with-timeout-before-request.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configWithReference/dependency-source-changes-with-timeout-before-request.js index 00432008fb328..da7189f006ecc 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configWithReference/dependency-source-changes-with-timeout-before-request.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configWithReference/dependency-source-changes-with-timeout-before-request.js @@ -8,6 +8,7 @@ Info 1 [16:01:01.000] request: "file": "/user/username/projects/myproject/dependency/FnS.ts" } } +Before request //// [/user/username/projects/myproject/dependency/FnS.ts] export function fn1() { } export function fn2() { } @@ -245,6 +246,7 @@ Info 22 [16:01:24.000] ----------------------------------------------- Info 22 [16:01:25.000] Open files: Info 22 [16:01:26.000] FileName: /user/username/projects/myproject/dependency/FnS.ts ProjectRootPath: undefined Info 22 [16:01:27.000] Projects: /user/username/projects/myproject/dependency/tsconfig.json +After request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: @@ -275,6 +277,7 @@ Info 23 [16:01:29.000] request: "file": "/user/username/projects/myproject/random/random.ts" } } +Before request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: @@ -338,6 +341,7 @@ Info 41 [16:01:54.000] FileName: /user/username/projects/myproject/dependency Info 41 [16:01:55.000] Projects: /user/username/projects/myproject/dependency/tsconfig.json Info 41 [16:01:56.000] FileName: /user/username/projects/myproject/random/random.ts ProjectRootPath: undefined Info 41 [16:01:57.000] Projects: /user/username/projects/myproject/random/tsconfig.json +After request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: @@ -376,6 +380,7 @@ Info 42 [16:01:59.000] request: "seq": 1, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: @@ -401,6 +406,7 @@ FsWatchesRecursive:: Info 43 [16:02:00.000] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls/FnS.d.ts 500 undefined WatchType: Closed Script info Info 44 [16:02:01.000] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls/FnS.d.ts.map 500 undefined WatchType: Closed Script info +After request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: @@ -490,6 +496,7 @@ Info 46 [16:02:03.000] request: "seq": 2, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: @@ -517,6 +524,7 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +After request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: @@ -548,6 +556,62 @@ Info 47 [16:02:04.000] response: { "responseRequired": false } +Before running timeout callbacks + +PolledWatches:: +/user/username/projects/myproject/dependency/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/myproject/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/myproject/random/node_modules/@types: + {"pollingInterval":500} + +FsWatches:: +/user/username/projects/myproject/dependency/tsconfig.json: + {} +/a/lib/lib.d.ts: + {} +/user/username/projects/myproject/random/tsconfig.json: + {} +/user/username/projects/myproject/decls/fns.d.ts: + {} +/user/username/projects/myproject/decls/fns.d.ts.map: + {} + +FsWatchesRecursive:: +/user/username/projects/myproject/dependency: + {} +/user/username/projects/myproject/random: + {} + +After running timeout callbacks + +PolledWatches:: +/user/username/projects/myproject/dependency/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/myproject/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/myproject/random/node_modules/@types: + {"pollingInterval":500} + +FsWatches:: +/user/username/projects/myproject/dependency/tsconfig.json: + {} +/a/lib/lib.d.ts: + {} +/user/username/projects/myproject/random/tsconfig.json: + {} +/user/username/projects/myproject/decls/fns.d.ts: + {} +/user/username/projects/myproject/decls/fns.d.ts.map: + {} + +FsWatchesRecursive:: +/user/username/projects/myproject/dependency: + {} +/user/username/projects/myproject/random: + {} + Info 48 [16:02:05.000] request: { "command": "rename", @@ -559,6 +623,7 @@ Info 48 [16:02:05.000] request: "seq": 3, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: @@ -589,6 +654,7 @@ FsWatchesRecursive:: Info 49 [16:02:06.000] Starting updateGraphWorker: Project: /user/username/projects/myproject/dependency/tsconfig.json Info 50 [16:02:07.000] Finishing updateGraphWorker: Project: /user/username/projects/myproject/dependency/tsconfig.json Version: 2 structureChanged: false structureIsReused:: Completely Elapsed:: *ms Info 51 [16:02:08.000] Different program with same set of files +After request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: @@ -675,6 +741,7 @@ Info 53 [16:02:10.000] request: "seq": 4, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: @@ -702,6 +769,7 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +After request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: @@ -788,6 +856,7 @@ Info 55 [16:02:12.000] request: "seq": 5, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: @@ -815,6 +884,7 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +After request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: @@ -901,6 +971,7 @@ Info 57 [16:02:14.000] request: "seq": 6, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: @@ -928,6 +999,7 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +After request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: @@ -1014,6 +1086,7 @@ Info 59 [16:02:16.000] request: "seq": 7, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: @@ -1041,6 +1114,7 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +After request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configWithReference/dependency-source-changes.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configWithReference/dependency-source-changes.js index 00432008fb328..32bc4d749513f 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configWithReference/dependency-source-changes.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configWithReference/dependency-source-changes.js @@ -8,6 +8,7 @@ Info 1 [16:01:01.000] request: "file": "/user/username/projects/myproject/dependency/FnS.ts" } } +Before request //// [/user/username/projects/myproject/dependency/FnS.ts] export function fn1() { } export function fn2() { } @@ -245,6 +246,7 @@ Info 22 [16:01:24.000] ----------------------------------------------- Info 22 [16:01:25.000] Open files: Info 22 [16:01:26.000] FileName: /user/username/projects/myproject/dependency/FnS.ts ProjectRootPath: undefined Info 22 [16:01:27.000] Projects: /user/username/projects/myproject/dependency/tsconfig.json +After request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: @@ -275,6 +277,7 @@ Info 23 [16:01:29.000] request: "file": "/user/username/projects/myproject/random/random.ts" } } +Before request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: @@ -338,6 +341,7 @@ Info 41 [16:01:54.000] FileName: /user/username/projects/myproject/dependency Info 41 [16:01:55.000] Projects: /user/username/projects/myproject/dependency/tsconfig.json Info 41 [16:01:56.000] FileName: /user/username/projects/myproject/random/random.ts ProjectRootPath: undefined Info 41 [16:01:57.000] Projects: /user/username/projects/myproject/random/tsconfig.json +After request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: @@ -376,6 +380,7 @@ Info 42 [16:01:59.000] request: "seq": 1, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: @@ -401,6 +406,7 @@ FsWatchesRecursive:: Info 43 [16:02:00.000] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls/FnS.d.ts 500 undefined WatchType: Closed Script info Info 44 [16:02:01.000] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls/FnS.d.ts.map 500 undefined WatchType: Closed Script info +After request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: @@ -490,6 +496,7 @@ Info 46 [16:02:03.000] request: "seq": 2, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: @@ -517,6 +524,7 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +After request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: @@ -559,6 +567,7 @@ Info 48 [16:02:05.000] request: "seq": 3, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: @@ -589,6 +598,7 @@ FsWatchesRecursive:: Info 49 [16:02:06.000] Starting updateGraphWorker: Project: /user/username/projects/myproject/dependency/tsconfig.json Info 50 [16:02:07.000] Finishing updateGraphWorker: Project: /user/username/projects/myproject/dependency/tsconfig.json Version: 2 structureChanged: false structureIsReused:: Completely Elapsed:: *ms Info 51 [16:02:08.000] Different program with same set of files +After request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: @@ -675,6 +685,7 @@ Info 53 [16:02:10.000] request: "seq": 4, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: @@ -702,6 +713,7 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +After request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: @@ -788,6 +800,7 @@ Info 55 [16:02:12.000] request: "seq": 5, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: @@ -815,6 +828,7 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +After request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: @@ -901,6 +915,7 @@ Info 57 [16:02:14.000] request: "seq": 6, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: @@ -928,6 +943,7 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +After request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: @@ -1014,6 +1030,7 @@ Info 59 [16:02:16.000] request: "seq": 7, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: @@ -1041,6 +1058,7 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +After request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configWithReference/rename-locations.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configWithReference/rename-locations.js index 04589cf0ffdd9..d4da743eeac58 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configWithReference/rename-locations.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configWithReference/rename-locations.js @@ -8,6 +8,7 @@ Info 1 [16:01:01.000] request: "file": "/user/username/projects/myproject/dependency/FnS.ts" } } +Before request //// [/user/username/projects/myproject/dependency/FnS.ts] export function fn1() { } export function fn2() { } @@ -245,6 +246,7 @@ Info 22 [16:01:24.000] ----------------------------------------------- Info 22 [16:01:25.000] Open files: Info 22 [16:01:26.000] FileName: /user/username/projects/myproject/dependency/FnS.ts ProjectRootPath: undefined Info 22 [16:01:27.000] Projects: /user/username/projects/myproject/dependency/tsconfig.json +After request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: @@ -275,6 +277,7 @@ Info 23 [16:01:29.000] request: "file": "/user/username/projects/myproject/random/random.ts" } } +Before request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: @@ -338,6 +341,7 @@ Info 41 [16:01:54.000] FileName: /user/username/projects/myproject/dependency Info 41 [16:01:55.000] Projects: /user/username/projects/myproject/dependency/tsconfig.json Info 41 [16:01:56.000] FileName: /user/username/projects/myproject/random/random.ts ProjectRootPath: undefined Info 41 [16:01:57.000] Projects: /user/username/projects/myproject/random/tsconfig.json +After request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: @@ -376,6 +380,7 @@ Info 42 [16:01:59.000] request: "seq": 1, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: @@ -401,6 +406,7 @@ FsWatchesRecursive:: Info 43 [16:02:00.000] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls/FnS.d.ts 500 undefined WatchType: Closed Script info Info 44 [16:02:01.000] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls/FnS.d.ts.map 500 undefined WatchType: Closed Script info +After request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: @@ -487,6 +493,7 @@ Info 46 [16:02:03.000] request: "seq": 2, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: @@ -514,6 +521,7 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +After request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: @@ -600,6 +608,7 @@ Info 48 [16:02:05.000] request: "seq": 3, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: @@ -627,6 +636,7 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +After request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: @@ -713,6 +723,7 @@ Info 50 [16:02:07.000] request: "seq": 4, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: @@ -740,6 +751,7 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +After request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: @@ -826,6 +838,7 @@ Info 52 [16:02:09.000] request: "seq": 5, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: @@ -853,6 +866,7 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +After request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: @@ -937,6 +951,7 @@ Info 54 [16:02:11.000] request: "file": "/user/username/projects/myproject/random/random.ts" } } +Before request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: @@ -976,6 +991,7 @@ Info 56 [16:02:18.000] ----------------------------------------------- Info 56 [16:02:19.000] Open files: Info 56 [16:02:20.000] FileName: /user/username/projects/myproject/dependency/FnS.ts ProjectRootPath: undefined Info 56 [16:02:21.000] Projects: /user/username/projects/myproject/dependency/tsconfig.json +After request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: @@ -1018,6 +1034,7 @@ Info 57 [16:02:23.000] request: "file": "/user/username/projects/myproject/random/random.ts" } } +Before request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: @@ -1063,6 +1080,7 @@ Info 61 [16:02:34.000] FileName: /user/username/projects/myproject/dependency Info 61 [16:02:35.000] Projects: /user/username/projects/myproject/dependency/tsconfig.json Info 61 [16:02:36.000] FileName: /user/username/projects/myproject/random/random.ts ProjectRootPath: undefined Info 61 [16:02:37.000] Projects: /user/username/projects/myproject/random/tsconfig.json +After request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: @@ -1103,6 +1121,7 @@ Info 62 [16:02:39.000] request: "file": "/user/username/projects/myproject/dependency/FnS.ts" } } +Before request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: @@ -1142,6 +1161,7 @@ Info 64 [16:02:46.000] ----------------------------------------------- Info 64 [16:02:47.000] Open files: Info 64 [16:02:48.000] FileName: /user/username/projects/myproject/random/random.ts ProjectRootPath: undefined Info 64 [16:02:49.000] Projects: /user/username/projects/myproject/random/tsconfig.json +After request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: @@ -1184,6 +1204,7 @@ Info 65 [16:02:51.000] request: "file": "/user/username/projects/myproject/random/random.ts" } } +Before request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: @@ -1223,6 +1244,7 @@ Info 67 [16:02:57.000] Files (2) Info 67 [16:02:58.000] ----------------------------------------------- Info 67 [16:02:59.000] Open files: +After request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: @@ -1267,6 +1289,7 @@ Info 68 [16:03:01.000] request: "file": "/user/username/projects/myproject/random/random.ts" } } +Before request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: @@ -1331,6 +1354,7 @@ Info 86 [16:03:21.000] ----------------------------------------------- Info 86 [16:03:22.000] Open files: Info 86 [16:03:23.000] FileName: /user/username/projects/myproject/random/random.ts ProjectRootPath: undefined Info 86 [16:03:24.000] Projects: /user/username/projects/myproject/random/tsconfig.json +After request PolledWatches:: /user/username/projects/myproject/node_modules/@types: diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configWithReference/usage-file-changes-with-timeout-before-request.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configWithReference/usage-file-changes-with-timeout-before-request.js index 2814fd927602f..f799eb7950b2d 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configWithReference/usage-file-changes-with-timeout-before-request.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configWithReference/usage-file-changes-with-timeout-before-request.js @@ -8,6 +8,7 @@ Info 1 [16:01:01.000] request: "file": "/user/username/projects/myproject/dependency/FnS.ts" } } +Before request //// [/user/username/projects/myproject/dependency/FnS.ts] export function fn1() { } export function fn2() { } @@ -245,6 +246,7 @@ Info 22 [16:01:24.000] ----------------------------------------------- Info 22 [16:01:25.000] Open files: Info 22 [16:01:26.000] FileName: /user/username/projects/myproject/dependency/FnS.ts ProjectRootPath: undefined Info 22 [16:01:27.000] Projects: /user/username/projects/myproject/dependency/tsconfig.json +After request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: @@ -275,6 +277,7 @@ Info 23 [16:01:29.000] request: "file": "/user/username/projects/myproject/random/random.ts" } } +Before request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: @@ -338,6 +341,7 @@ Info 41 [16:01:54.000] FileName: /user/username/projects/myproject/dependency Info 41 [16:01:55.000] Projects: /user/username/projects/myproject/dependency/tsconfig.json Info 41 [16:01:56.000] FileName: /user/username/projects/myproject/random/random.ts ProjectRootPath: undefined Info 41 [16:01:57.000] Projects: /user/username/projects/myproject/random/tsconfig.json +After request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: @@ -376,6 +380,7 @@ Info 42 [16:01:59.000] request: "seq": 1, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: @@ -401,6 +406,7 @@ FsWatchesRecursive:: Info 43 [16:02:00.000] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls/FnS.d.ts 500 undefined WatchType: Closed Script info Info 44 [16:02:01.000] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls/FnS.d.ts.map 500 undefined WatchType: Closed Script info +After request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: @@ -490,6 +496,7 @@ Info 46 [16:02:03.000] request: "seq": 2, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: @@ -517,6 +524,7 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +After request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: @@ -548,6 +556,62 @@ Info 47 [16:02:04.000] response: { "responseRequired": false } +Before running timeout callbacks + +PolledWatches:: +/user/username/projects/myproject/dependency/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/myproject/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/myproject/random/node_modules/@types: + {"pollingInterval":500} + +FsWatches:: +/user/username/projects/myproject/dependency/tsconfig.json: + {} +/a/lib/lib.d.ts: + {} +/user/username/projects/myproject/random/tsconfig.json: + {} +/user/username/projects/myproject/decls/fns.d.ts: + {} +/user/username/projects/myproject/decls/fns.d.ts.map: + {} + +FsWatchesRecursive:: +/user/username/projects/myproject/dependency: + {} +/user/username/projects/myproject/random: + {} + +After running timeout callbacks + +PolledWatches:: +/user/username/projects/myproject/dependency/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/myproject/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/myproject/random/node_modules/@types: + {"pollingInterval":500} + +FsWatches:: +/user/username/projects/myproject/dependency/tsconfig.json: + {} +/a/lib/lib.d.ts: + {} +/user/username/projects/myproject/random/tsconfig.json: + {} +/user/username/projects/myproject/decls/fns.d.ts: + {} +/user/username/projects/myproject/decls/fns.d.ts.map: + {} + +FsWatchesRecursive:: +/user/username/projects/myproject/dependency: + {} +/user/username/projects/myproject/random: + {} + Info 48 [16:02:05.000] request: { "command": "rename", @@ -559,6 +623,7 @@ Info 48 [16:02:05.000] request: "seq": 3, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: @@ -589,6 +654,7 @@ FsWatchesRecursive:: Info 49 [16:02:06.000] Starting updateGraphWorker: Project: /user/username/projects/myproject/dependency/tsconfig.json Info 50 [16:02:07.000] Finishing updateGraphWorker: Project: /user/username/projects/myproject/dependency/tsconfig.json Version: 2 structureChanged: false structureIsReused:: Completely Elapsed:: *ms Info 51 [16:02:08.000] Different program with same set of files +After request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: @@ -675,6 +741,7 @@ Info 53 [16:02:10.000] request: "seq": 4, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: @@ -702,6 +769,7 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +After request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: @@ -788,6 +856,7 @@ Info 55 [16:02:12.000] request: "seq": 5, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: @@ -815,6 +884,7 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +After request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: @@ -901,6 +971,7 @@ Info 57 [16:02:14.000] request: "seq": 6, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: @@ -928,6 +999,7 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +After request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: @@ -1014,6 +1086,7 @@ Info 59 [16:02:16.000] request: "seq": 7, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: @@ -1041,6 +1114,7 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +After request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configWithReference/usage-file-changes.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configWithReference/usage-file-changes.js index 2814fd927602f..3b44a21dd70a3 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configWithReference/usage-file-changes.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configWithReference/usage-file-changes.js @@ -8,6 +8,7 @@ Info 1 [16:01:01.000] request: "file": "/user/username/projects/myproject/dependency/FnS.ts" } } +Before request //// [/user/username/projects/myproject/dependency/FnS.ts] export function fn1() { } export function fn2() { } @@ -245,6 +246,7 @@ Info 22 [16:01:24.000] ----------------------------------------------- Info 22 [16:01:25.000] Open files: Info 22 [16:01:26.000] FileName: /user/username/projects/myproject/dependency/FnS.ts ProjectRootPath: undefined Info 22 [16:01:27.000] Projects: /user/username/projects/myproject/dependency/tsconfig.json +After request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: @@ -275,6 +277,7 @@ Info 23 [16:01:29.000] request: "file": "/user/username/projects/myproject/random/random.ts" } } +Before request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: @@ -338,6 +341,7 @@ Info 41 [16:01:54.000] FileName: /user/username/projects/myproject/dependency Info 41 [16:01:55.000] Projects: /user/username/projects/myproject/dependency/tsconfig.json Info 41 [16:01:56.000] FileName: /user/username/projects/myproject/random/random.ts ProjectRootPath: undefined Info 41 [16:01:57.000] Projects: /user/username/projects/myproject/random/tsconfig.json +After request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: @@ -376,6 +380,7 @@ Info 42 [16:01:59.000] request: "seq": 1, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: @@ -401,6 +406,7 @@ FsWatchesRecursive:: Info 43 [16:02:00.000] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls/FnS.d.ts 500 undefined WatchType: Closed Script info Info 44 [16:02:01.000] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls/FnS.d.ts.map 500 undefined WatchType: Closed Script info +After request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: @@ -490,6 +496,7 @@ Info 46 [16:02:03.000] request: "seq": 2, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: @@ -517,6 +524,7 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +After request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: @@ -559,6 +567,7 @@ Info 48 [16:02:05.000] request: "seq": 3, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: @@ -589,6 +598,7 @@ FsWatchesRecursive:: Info 49 [16:02:06.000] Starting updateGraphWorker: Project: /user/username/projects/myproject/dependency/tsconfig.json Info 50 [16:02:07.000] Finishing updateGraphWorker: Project: /user/username/projects/myproject/dependency/tsconfig.json Version: 2 structureChanged: false structureIsReused:: Completely Elapsed:: *ms Info 51 [16:02:08.000] Different program with same set of files +After request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: @@ -675,6 +685,7 @@ Info 53 [16:02:10.000] request: "seq": 4, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: @@ -702,6 +713,7 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +After request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: @@ -788,6 +800,7 @@ Info 55 [16:02:12.000] request: "seq": 5, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: @@ -815,6 +828,7 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +After request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: @@ -901,6 +915,7 @@ Info 57 [16:02:14.000] request: "seq": 6, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: @@ -928,6 +943,7 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +After request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: @@ -1014,6 +1030,7 @@ Info 59 [16:02:16.000] request: "seq": 7, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: @@ -1041,6 +1058,7 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +After request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configWithReference/when-projects-are-not-built.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configWithReference/when-projects-are-not-built.js index 188502dcbc2bb..943676cedd3db 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configWithReference/when-projects-are-not-built.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/configWithReference/when-projects-are-not-built.js @@ -8,6 +8,7 @@ Info 1 [16:00:36.000] request: "file": "/user/username/projects/myproject/dependency/FnS.ts" } } +Before request //// [/user/username/projects/myproject/dependency/FnS.ts] export function fn1() { } export function fn2() { } @@ -110,6 +111,7 @@ Info 22 [16:00:59.000] ----------------------------------------------- Info 22 [16:01:00.000] Open files: Info 22 [16:01:01.000] FileName: /user/username/projects/myproject/dependency/FnS.ts ProjectRootPath: undefined Info 22 [16:01:02.000] Projects: /user/username/projects/myproject/dependency/tsconfig.json +After request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: @@ -140,6 +142,7 @@ Info 23 [16:01:04.000] request: "file": "/user/username/projects/myproject/random/random.ts" } } +Before request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: @@ -203,6 +206,7 @@ Info 41 [16:01:29.000] FileName: /user/username/projects/myproject/dependency Info 41 [16:01:30.000] Projects: /user/username/projects/myproject/dependency/tsconfig.json Info 41 [16:01:31.000] FileName: /user/username/projects/myproject/random/random.ts ProjectRootPath: undefined Info 41 [16:01:32.000] Projects: /user/username/projects/myproject/random/tsconfig.json +After request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: @@ -241,6 +245,7 @@ Info 42 [16:01:34.000] request: "seq": 1, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: @@ -265,6 +270,7 @@ FsWatchesRecursive:: {} Info 43 [16:01:35.000] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls/FnS.d.ts 2000 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Missing generated file +After request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: @@ -349,6 +355,7 @@ Info 45 [16:01:37.000] request: "seq": 2, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: @@ -374,6 +381,7 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +After request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: @@ -458,6 +466,7 @@ Info 47 [16:01:39.000] request: "seq": 3, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: @@ -483,6 +492,7 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +After request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: @@ -567,6 +577,7 @@ Info 49 [16:01:41.000] request: "seq": 4, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: @@ -592,6 +603,7 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +After request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: @@ -676,6 +688,7 @@ Info 51 [16:01:43.000] request: "seq": 5, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: @@ -701,6 +714,7 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +After request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: @@ -783,6 +797,7 @@ Info 53 [16:01:45.000] request: "file": "/user/username/projects/myproject/random/random.ts" } } +Before request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: @@ -820,6 +835,7 @@ Info 55 [16:01:52.000] ----------------------------------------------- Info 55 [16:01:53.000] Open files: Info 55 [16:01:54.000] FileName: /user/username/projects/myproject/dependency/FnS.ts ProjectRootPath: undefined Info 55 [16:01:55.000] Projects: /user/username/projects/myproject/dependency/tsconfig.json +After request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: @@ -860,6 +876,7 @@ Info 56 [16:01:57.000] request: "file": "/user/username/projects/myproject/random/random.ts" } } +Before request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: @@ -903,6 +920,7 @@ Info 60 [16:02:08.000] FileName: /user/username/projects/myproject/dependency Info 60 [16:02:09.000] Projects: /user/username/projects/myproject/dependency/tsconfig.json Info 60 [16:02:10.000] FileName: /user/username/projects/myproject/random/random.ts ProjectRootPath: undefined Info 60 [16:02:11.000] Projects: /user/username/projects/myproject/random/tsconfig.json +After request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: @@ -941,6 +959,7 @@ Info 61 [16:02:13.000] request: "file": "/user/username/projects/myproject/dependency/FnS.ts" } } +Before request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: @@ -978,6 +997,7 @@ Info 63 [16:02:20.000] ----------------------------------------------- Info 63 [16:02:21.000] Open files: Info 63 [16:02:22.000] FileName: /user/username/projects/myproject/random/random.ts ProjectRootPath: undefined Info 63 [16:02:23.000] Projects: /user/username/projects/myproject/random/tsconfig.json +After request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: @@ -1018,6 +1038,7 @@ Info 64 [16:02:25.000] request: "file": "/user/username/projects/myproject/random/random.ts" } } +Before request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: @@ -1055,6 +1076,7 @@ Info 66 [16:02:31.000] Files (2) Info 66 [16:02:32.000] ----------------------------------------------- Info 66 [16:02:33.000] Open files: +After request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: @@ -1097,6 +1119,7 @@ Info 67 [16:02:35.000] request: "file": "/user/username/projects/myproject/random/random.ts" } } +Before request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: @@ -1158,6 +1181,7 @@ Info 84 [16:02:54.000] ----------------------------------------------- Info 84 [16:02:55.000] Open files: Info 84 [16:02:56.000] FileName: /user/username/projects/myproject/random/random.ts ProjectRootPath: undefined Info 84 [16:02:57.000] Projects: /user/username/projects/myproject/random/tsconfig.json +After request PolledWatches:: /user/username/projects/myproject/node_modules/@types: diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/disabledSourceRef/dependency-dts-changes-with-timeout-before-request.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/disabledSourceRef/dependency-dts-changes-with-timeout-before-request.js index 509a10d4cf097..c07f62af57f9e 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/disabledSourceRef/dependency-dts-changes-with-timeout-before-request.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/disabledSourceRef/dependency-dts-changes-with-timeout-before-request.js @@ -8,6 +8,7 @@ Info 1 [16:01:04.000] request: "file": "/user/username/projects/myproject/dependency/FnS.ts" } } +Before request //// [/user/username/projects/myproject/dependency/FnS.ts] export function fn1() { } export function fn2() { } @@ -245,6 +246,7 @@ Info 22 [16:01:27.000] ----------------------------------------------- Info 22 [16:01:28.000] Open files: Info 22 [16:01:29.000] FileName: /user/username/projects/myproject/dependency/FnS.ts ProjectRootPath: undefined Info 22 [16:01:30.000] Projects: /user/username/projects/myproject/dependency/tsconfig.json +After request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: @@ -275,6 +277,7 @@ Info 23 [16:01:32.000] request: "file": "/user/username/projects/myproject/random/random.ts" } } +Before request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: @@ -338,6 +341,7 @@ Info 41 [16:01:57.000] FileName: /user/username/projects/myproject/dependency Info 41 [16:01:58.000] Projects: /user/username/projects/myproject/dependency/tsconfig.json Info 41 [16:01:59.000] FileName: /user/username/projects/myproject/random/random.ts ProjectRootPath: undefined Info 41 [16:02:00.000] Projects: /user/username/projects/myproject/random/tsconfig.json +After request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: @@ -376,6 +380,7 @@ Info 42 [16:02:02.000] request: "seq": 1, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: @@ -401,6 +406,7 @@ FsWatchesRecursive:: Info 43 [16:02:03.000] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls/FnS.d.ts 500 undefined WatchType: Closed Script info Info 44 [16:02:04.000] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls/FnS.d.ts.map 500 undefined WatchType: Closed Script info +After request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: @@ -480,6 +486,43 @@ Info 46 [16:02:09.000] FileWatcher:: Triggered with /user/username/projects/my Info 47 [16:02:10.000] Scheduled: /user/username/projects/myproject/dependency/tsconfig.json Info 48 [16:02:11.000] Scheduled: *ensureProjectForOpenFiles* Info 49 [16:02:12.000] Elapsed:: *ms FileWatcher:: Triggered with /user/username/projects/myproject/decls/FnS.d.ts 1:: WatchInfo: /user/username/projects/myproject/decls/FnS.d.ts 500 undefined WatchType: Closed Script info +Before running timeout callbacks +//// [/user/username/projects/myproject/decls/FnS.d.ts] +export declare function fn1(): void; +export declare function fn2(): void; +export declare function fn3(): void; +export declare function fn4(): void; +export declare function fn5(): void; +export declare function fn6(): void; +//# sourceMappingURL=FnS.d.ts.map + + +PolledWatches:: +/user/username/projects/myproject/dependency/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/myproject/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/myproject/random/node_modules/@types: + {"pollingInterval":500} + +FsWatches:: +/user/username/projects/myproject/dependency/tsconfig.json: + {} +/a/lib/lib.d.ts: + {} +/user/username/projects/myproject/random/tsconfig.json: + {} +/user/username/projects/myproject/decls/fns.d.ts: + {} +/user/username/projects/myproject/decls/fns.d.ts.map: + {} + +FsWatchesRecursive:: +/user/username/projects/myproject/dependency: + {} +/user/username/projects/myproject/random: + {} + Info 50 [16:02:13.000] Running: /user/username/projects/myproject/dependency/tsconfig.json Info 51 [16:02:14.000] Starting updateGraphWorker: Project: /user/username/projects/myproject/dependency/tsconfig.json Info 52 [16:02:15.000] Finishing updateGraphWorker: Project: /user/username/projects/myproject/dependency/tsconfig.json Version: 2 structureChanged: false structureIsReused:: Not Elapsed:: *ms @@ -512,6 +555,34 @@ Info 56 [16:02:37.000] FileName: /user/username/projects/myproject/dependency Info 56 [16:02:38.000] Projects: /user/username/projects/myproject/dependency/tsconfig.json Info 56 [16:02:39.000] FileName: /user/username/projects/myproject/random/random.ts ProjectRootPath: undefined Info 56 [16:02:40.000] Projects: /user/username/projects/myproject/random/tsconfig.json +After running timeout callbacks + +PolledWatches:: +/user/username/projects/myproject/dependency/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/myproject/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/myproject/random/node_modules/@types: + {"pollingInterval":500} + +FsWatches:: +/user/username/projects/myproject/dependency/tsconfig.json: + {} +/a/lib/lib.d.ts: + {} +/user/username/projects/myproject/random/tsconfig.json: + {} +/user/username/projects/myproject/decls/fns.d.ts: + {} +/user/username/projects/myproject/decls/fns.d.ts.map: + {} + +FsWatchesRecursive:: +/user/username/projects/myproject/dependency: + {} +/user/username/projects/myproject/random: + {} + Info 56 [16:02:41.000] request: { "command": "rename", @@ -523,15 +594,7 @@ Info 56 [16:02:41.000] request: "seq": 2, "type": "request" } -//// [/user/username/projects/myproject/decls/FnS.d.ts] -export declare function fn1(): void; -export declare function fn2(): void; -export declare function fn3(): void; -export declare function fn4(): void; -export declare function fn5(): void; -export declare function fn6(): void; -//# sourceMappingURL=FnS.d.ts.map - +Before request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: @@ -559,6 +622,7 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +After request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: @@ -645,6 +709,7 @@ Info 58 [16:02:43.000] request: "seq": 3, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: @@ -672,6 +737,7 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +After request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: @@ -758,6 +824,7 @@ Info 60 [16:02:45.000] request: "seq": 4, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: @@ -785,6 +852,7 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +After request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: @@ -871,6 +939,7 @@ Info 62 [16:02:47.000] request: "seq": 5, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: @@ -898,6 +967,7 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +After request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: @@ -984,6 +1054,7 @@ Info 64 [16:02:49.000] request: "seq": 6, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: @@ -1011,6 +1082,7 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +After request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/disabledSourceRef/dependency-dts-changes.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/disabledSourceRef/dependency-dts-changes.js index e475a37e514aa..b0d7f27862440 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/disabledSourceRef/dependency-dts-changes.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/disabledSourceRef/dependency-dts-changes.js @@ -8,6 +8,7 @@ Info 1 [16:01:04.000] request: "file": "/user/username/projects/myproject/dependency/FnS.ts" } } +Before request //// [/user/username/projects/myproject/dependency/FnS.ts] export function fn1() { } export function fn2() { } @@ -245,6 +246,7 @@ Info 22 [16:01:27.000] ----------------------------------------------- Info 22 [16:01:28.000] Open files: Info 22 [16:01:29.000] FileName: /user/username/projects/myproject/dependency/FnS.ts ProjectRootPath: undefined Info 22 [16:01:30.000] Projects: /user/username/projects/myproject/dependency/tsconfig.json +After request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: @@ -275,6 +277,7 @@ Info 23 [16:01:32.000] request: "file": "/user/username/projects/myproject/random/random.ts" } } +Before request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: @@ -338,6 +341,7 @@ Info 41 [16:01:57.000] FileName: /user/username/projects/myproject/dependency Info 41 [16:01:58.000] Projects: /user/username/projects/myproject/dependency/tsconfig.json Info 41 [16:01:59.000] FileName: /user/username/projects/myproject/random/random.ts ProjectRootPath: undefined Info 41 [16:02:00.000] Projects: /user/username/projects/myproject/random/tsconfig.json +After request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: @@ -376,6 +380,7 @@ Info 42 [16:02:02.000] request: "seq": 1, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: @@ -401,6 +406,7 @@ FsWatchesRecursive:: Info 43 [16:02:03.000] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls/FnS.d.ts 500 undefined WatchType: Closed Script info Info 44 [16:02:04.000] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls/FnS.d.ts.map 500 undefined WatchType: Closed Script info +After request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: @@ -491,6 +497,7 @@ Info 50 [16:02:13.000] request: "seq": 2, "type": "request" } +Before request //// [/user/username/projects/myproject/decls/FnS.d.ts] export declare function fn1(): void; export declare function fn2(): void; @@ -529,6 +536,7 @@ FsWatchesRecursive:: Info 51 [16:02:14.000] Starting updateGraphWorker: Project: /user/username/projects/myproject/dependency/tsconfig.json Info 52 [16:02:15.000] Finishing updateGraphWorker: Project: /user/username/projects/myproject/dependency/tsconfig.json Version: 2 structureChanged: false structureIsReused:: Not Elapsed:: *ms +After request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: @@ -615,6 +623,7 @@ Info 54 [16:02:17.000] request: "seq": 3, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: @@ -642,6 +651,7 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +After request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: @@ -728,6 +738,7 @@ Info 56 [16:02:19.000] request: "seq": 4, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: @@ -755,6 +766,7 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +After request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: @@ -841,6 +853,7 @@ Info 58 [16:02:21.000] request: "seq": 5, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: @@ -868,6 +881,7 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +After request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: @@ -954,6 +968,7 @@ Info 60 [16:02:23.000] request: "seq": 6, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: @@ -981,6 +996,7 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +After request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/disabledSourceRef/dependency-dts-created.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/disabledSourceRef/dependency-dts-created.js index e39c705c746d1..3f60cab0e0d96 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/disabledSourceRef/dependency-dts-created.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/disabledSourceRef/dependency-dts-created.js @@ -8,6 +8,7 @@ Info 1 [16:01:05.000] request: "file": "/user/username/projects/myproject/dependency/FnS.ts" } } +Before request //// [/user/username/projects/myproject/dependency/FnS.ts] export function fn1() { } export function fn2() { } @@ -237,6 +238,7 @@ Info 22 [16:01:28.000] ----------------------------------------------- Info 22 [16:01:29.000] Open files: Info 22 [16:01:30.000] FileName: /user/username/projects/myproject/dependency/FnS.ts ProjectRootPath: undefined Info 22 [16:01:31.000] Projects: /user/username/projects/myproject/dependency/tsconfig.json +After request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: @@ -267,6 +269,7 @@ Info 23 [16:01:33.000] request: "file": "/user/username/projects/myproject/random/random.ts" } } +Before request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: @@ -330,6 +333,7 @@ Info 41 [16:01:58.000] FileName: /user/username/projects/myproject/dependency Info 41 [16:01:59.000] Projects: /user/username/projects/myproject/dependency/tsconfig.json Info 41 [16:02:00.000] FileName: /user/username/projects/myproject/random/random.ts ProjectRootPath: undefined Info 41 [16:02:01.000] Projects: /user/username/projects/myproject/random/tsconfig.json +After request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: @@ -368,6 +372,7 @@ Info 42 [16:02:03.000] request: "seq": 1, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: @@ -392,6 +397,7 @@ FsWatchesRecursive:: {} Info 43 [16:02:04.000] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls/FnS.d.ts 2000 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Missing generated file +After request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: @@ -484,6 +490,7 @@ Info 53 [16:02:16.000] request: "seq": 2, "type": "request" } +Before request //// [/user/username/projects/myproject/decls/FnS.d.ts] export declare function fn1(): void; export declare function fn2(): void; @@ -521,6 +528,7 @@ Info 54 [16:02:17.000] Starting updateGraphWorker: Project: /user/username/pro Info 55 [16:02:18.000] Finishing updateGraphWorker: Project: /user/username/projects/myproject/dependency/tsconfig.json Version: 2 structureChanged: false structureIsReused:: Not Elapsed:: *ms Info 56 [16:02:19.000] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls/FnS.d.ts 500 undefined WatchType: Closed Script info Info 57 [16:02:20.000] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls/FnS.d.ts.map 500 undefined WatchType: Closed Script info +After request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: @@ -607,6 +615,7 @@ Info 59 [16:02:22.000] request: "seq": 3, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: @@ -634,6 +643,7 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +After request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: @@ -720,6 +730,7 @@ Info 61 [16:02:24.000] request: "seq": 4, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: @@ -747,6 +758,7 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +After request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: @@ -833,6 +845,7 @@ Info 63 [16:02:26.000] request: "seq": 5, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: @@ -860,6 +873,7 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +After request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: @@ -946,6 +960,7 @@ Info 65 [16:02:28.000] request: "seq": 6, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: @@ -973,6 +988,7 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +After request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: @@ -1057,6 +1073,7 @@ Info 67 [16:02:30.000] request: "file": "/user/username/projects/myproject/random/random.ts" } } +Before request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: @@ -1096,6 +1113,7 @@ Info 69 [16:02:37.000] ----------------------------------------------- Info 69 [16:02:38.000] Open files: Info 69 [16:02:39.000] FileName: /user/username/projects/myproject/dependency/FnS.ts ProjectRootPath: undefined Info 69 [16:02:40.000] Projects: /user/username/projects/myproject/dependency/tsconfig.json +After request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: @@ -1138,6 +1156,7 @@ Info 70 [16:02:42.000] request: "file": "/user/username/projects/myproject/random/random.ts" } } +Before request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: @@ -1183,6 +1202,7 @@ Info 74 [16:02:53.000] FileName: /user/username/projects/myproject/dependency Info 74 [16:02:54.000] Projects: /user/username/projects/myproject/dependency/tsconfig.json Info 74 [16:02:55.000] FileName: /user/username/projects/myproject/random/random.ts ProjectRootPath: undefined Info 74 [16:02:56.000] Projects: /user/username/projects/myproject/random/tsconfig.json +After request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: @@ -1223,6 +1243,7 @@ Info 75 [16:02:58.000] request: "file": "/user/username/projects/myproject/dependency/FnS.ts" } } +Before request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: @@ -1262,6 +1283,7 @@ Info 77 [16:03:05.000] ----------------------------------------------- Info 77 [16:03:06.000] Open files: Info 77 [16:03:07.000] FileName: /user/username/projects/myproject/random/random.ts ProjectRootPath: undefined Info 77 [16:03:08.000] Projects: /user/username/projects/myproject/random/tsconfig.json +After request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: @@ -1304,6 +1326,7 @@ Info 78 [16:03:10.000] request: "file": "/user/username/projects/myproject/random/random.ts" } } +Before request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: @@ -1343,6 +1366,7 @@ Info 80 [16:03:16.000] Files (2) Info 80 [16:03:17.000] ----------------------------------------------- Info 80 [16:03:18.000] Open files: +After request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: @@ -1387,6 +1411,7 @@ Info 81 [16:03:20.000] request: "file": "/user/username/projects/myproject/random/random.ts" } } +Before request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: @@ -1452,6 +1477,7 @@ Info 100 [16:03:41.000] ----------------------------------------------- Info 100 [16:03:42.000] Open files: Info 100 [16:03:43.000] FileName: /user/username/projects/myproject/random/random.ts ProjectRootPath: undefined Info 100 [16:03:44.000] Projects: /user/username/projects/myproject/random/tsconfig.json +After request PolledWatches:: /user/username/projects/myproject/node_modules/@types: diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/disabledSourceRef/dependency-dts-deleted.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/disabledSourceRef/dependency-dts-deleted.js index bef9f6a723908..6d3a79fa1e1bb 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/disabledSourceRef/dependency-dts-deleted.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/disabledSourceRef/dependency-dts-deleted.js @@ -8,6 +8,7 @@ Info 1 [16:01:04.000] request: "file": "/user/username/projects/myproject/dependency/FnS.ts" } } +Before request //// [/user/username/projects/myproject/dependency/FnS.ts] export function fn1() { } export function fn2() { } @@ -245,6 +246,7 @@ Info 22 [16:01:27.000] ----------------------------------------------- Info 22 [16:01:28.000] Open files: Info 22 [16:01:29.000] FileName: /user/username/projects/myproject/dependency/FnS.ts ProjectRootPath: undefined Info 22 [16:01:30.000] Projects: /user/username/projects/myproject/dependency/tsconfig.json +After request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: @@ -275,6 +277,7 @@ Info 23 [16:01:32.000] request: "file": "/user/username/projects/myproject/random/random.ts" } } +Before request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: @@ -338,6 +341,7 @@ Info 41 [16:01:57.000] FileName: /user/username/projects/myproject/dependency Info 41 [16:01:58.000] Projects: /user/username/projects/myproject/dependency/tsconfig.json Info 41 [16:01:59.000] FileName: /user/username/projects/myproject/random/random.ts ProjectRootPath: undefined Info 41 [16:02:00.000] Projects: /user/username/projects/myproject/random/tsconfig.json +After request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: @@ -376,6 +380,7 @@ Info 42 [16:02:02.000] request: "seq": 1, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: @@ -401,6 +406,7 @@ FsWatchesRecursive:: Info 43 [16:02:03.000] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls/FnS.d.ts 500 undefined WatchType: Closed Script info Info 44 [16:02:04.000] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls/FnS.d.ts.map 500 undefined WatchType: Closed Script info +After request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: @@ -492,6 +498,7 @@ Info 51 [16:02:12.000] request: "seq": 2, "type": "request" } +Before request //// [/user/username/projects/myproject/decls/FnS.d.ts] deleted PolledWatches:: @@ -521,6 +528,7 @@ FsWatchesRecursive:: Info 52 [16:02:13.000] Starting updateGraphWorker: Project: /user/username/projects/myproject/dependency/tsconfig.json Info 53 [16:02:14.000] Finishing updateGraphWorker: Project: /user/username/projects/myproject/dependency/tsconfig.json Version: 2 structureChanged: false structureIsReused:: Not Elapsed:: *ms Info 54 [16:02:15.000] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls/FnS.d.ts 2000 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Missing generated file +After request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: @@ -607,6 +615,7 @@ Info 56 [16:02:17.000] request: "seq": 3, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: @@ -634,6 +643,7 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +After request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: @@ -720,6 +730,7 @@ Info 58 [16:02:19.000] request: "seq": 4, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: @@ -747,6 +758,7 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +After request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: @@ -833,6 +845,7 @@ Info 60 [16:02:21.000] request: "seq": 5, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: @@ -860,6 +873,7 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +After request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: @@ -946,6 +960,7 @@ Info 62 [16:02:23.000] request: "seq": 6, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: @@ -973,6 +988,7 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +After request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: @@ -1057,6 +1073,7 @@ Info 64 [16:02:25.000] request: "file": "/user/username/projects/myproject/random/random.ts" } } +Before request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: @@ -1096,6 +1113,7 @@ Info 66 [16:02:32.000] ----------------------------------------------- Info 66 [16:02:33.000] Open files: Info 66 [16:02:34.000] FileName: /user/username/projects/myproject/dependency/FnS.ts ProjectRootPath: undefined Info 66 [16:02:35.000] Projects: /user/username/projects/myproject/dependency/tsconfig.json +After request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: @@ -1138,6 +1156,7 @@ Info 67 [16:02:37.000] request: "file": "/user/username/projects/myproject/random/random.ts" } } +Before request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: @@ -1184,6 +1203,7 @@ Info 72 [16:02:49.000] FileName: /user/username/projects/myproject/dependency Info 72 [16:02:50.000] Projects: /user/username/projects/myproject/dependency/tsconfig.json Info 72 [16:02:51.000] FileName: /user/username/projects/myproject/random/random.ts ProjectRootPath: undefined Info 72 [16:02:52.000] Projects: /user/username/projects/myproject/random/tsconfig.json +After request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: @@ -1222,6 +1242,7 @@ Info 73 [16:02:54.000] request: "file": "/user/username/projects/myproject/dependency/FnS.ts" } } +Before request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: @@ -1259,6 +1280,7 @@ Info 75 [16:03:01.000] ----------------------------------------------- Info 75 [16:03:02.000] Open files: Info 75 [16:03:03.000] FileName: /user/username/projects/myproject/random/random.ts ProjectRootPath: undefined Info 75 [16:03:04.000] Projects: /user/username/projects/myproject/random/tsconfig.json +After request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: @@ -1299,6 +1321,7 @@ Info 76 [16:03:06.000] request: "file": "/user/username/projects/myproject/random/random.ts" } } +Before request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: @@ -1336,6 +1359,7 @@ Info 78 [16:03:12.000] Files (2) Info 78 [16:03:13.000] ----------------------------------------------- Info 78 [16:03:14.000] Open files: +After request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: @@ -1378,6 +1402,7 @@ Info 79 [16:03:16.000] request: "file": "/user/username/projects/myproject/random/random.ts" } } +Before request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: @@ -1439,6 +1464,7 @@ Info 96 [16:03:35.000] ----------------------------------------------- Info 96 [16:03:36.000] Open files: Info 96 [16:03:37.000] FileName: /user/username/projects/myproject/random/random.ts ProjectRootPath: undefined Info 96 [16:03:38.000] Projects: /user/username/projects/myproject/random/tsconfig.json +After request PolledWatches:: /user/username/projects/myproject/node_modules/@types: diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/disabledSourceRef/dependency-dts-not-present.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/disabledSourceRef/dependency-dts-not-present.js index 91106bf382029..1bc01d00554fc 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/disabledSourceRef/dependency-dts-not-present.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/disabledSourceRef/dependency-dts-not-present.js @@ -8,6 +8,7 @@ Info 1 [16:01:05.000] request: "file": "/user/username/projects/myproject/dependency/FnS.ts" } } +Before request //// [/user/username/projects/myproject/dependency/FnS.ts] export function fn1() { } export function fn2() { } @@ -237,6 +238,7 @@ Info 22 [16:01:28.000] ----------------------------------------------- Info 22 [16:01:29.000] Open files: Info 22 [16:01:30.000] FileName: /user/username/projects/myproject/dependency/FnS.ts ProjectRootPath: undefined Info 22 [16:01:31.000] Projects: /user/username/projects/myproject/dependency/tsconfig.json +After request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: @@ -267,6 +269,7 @@ Info 23 [16:01:33.000] request: "file": "/user/username/projects/myproject/random/random.ts" } } +Before request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: @@ -330,6 +333,7 @@ Info 41 [16:01:58.000] FileName: /user/username/projects/myproject/dependency Info 41 [16:01:59.000] Projects: /user/username/projects/myproject/dependency/tsconfig.json Info 41 [16:02:00.000] FileName: /user/username/projects/myproject/random/random.ts ProjectRootPath: undefined Info 41 [16:02:01.000] Projects: /user/username/projects/myproject/random/tsconfig.json +After request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: @@ -368,6 +372,7 @@ Info 42 [16:02:03.000] request: "seq": 1, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: @@ -392,6 +397,7 @@ FsWatchesRecursive:: {} Info 43 [16:02:04.000] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls/FnS.d.ts 2000 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Missing generated file +After request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: @@ -476,6 +482,7 @@ Info 45 [16:02:06.000] request: "seq": 2, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: @@ -501,6 +508,7 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +After request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: @@ -585,6 +593,7 @@ Info 47 [16:02:08.000] request: "seq": 3, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: @@ -610,6 +619,7 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +After request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: @@ -694,6 +704,7 @@ Info 49 [16:02:10.000] request: "seq": 4, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: @@ -719,6 +730,7 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +After request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: @@ -803,6 +815,7 @@ Info 51 [16:02:12.000] request: "seq": 5, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: @@ -828,6 +841,7 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +After request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: @@ -910,6 +924,7 @@ Info 53 [16:02:14.000] request: "file": "/user/username/projects/myproject/random/random.ts" } } +Before request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: @@ -947,6 +962,7 @@ Info 55 [16:02:21.000] ----------------------------------------------- Info 55 [16:02:22.000] Open files: Info 55 [16:02:23.000] FileName: /user/username/projects/myproject/dependency/FnS.ts ProjectRootPath: undefined Info 55 [16:02:24.000] Projects: /user/username/projects/myproject/dependency/tsconfig.json +After request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: @@ -987,6 +1003,7 @@ Info 56 [16:02:26.000] request: "file": "/user/username/projects/myproject/random/random.ts" } } +Before request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: @@ -1030,6 +1047,7 @@ Info 60 [16:02:37.000] FileName: /user/username/projects/myproject/dependency Info 60 [16:02:38.000] Projects: /user/username/projects/myproject/dependency/tsconfig.json Info 60 [16:02:39.000] FileName: /user/username/projects/myproject/random/random.ts ProjectRootPath: undefined Info 60 [16:02:40.000] Projects: /user/username/projects/myproject/random/tsconfig.json +After request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: @@ -1068,6 +1086,7 @@ Info 61 [16:02:42.000] request: "file": "/user/username/projects/myproject/dependency/FnS.ts" } } +Before request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: @@ -1105,6 +1124,7 @@ Info 63 [16:02:49.000] ----------------------------------------------- Info 63 [16:02:50.000] Open files: Info 63 [16:02:51.000] FileName: /user/username/projects/myproject/random/random.ts ProjectRootPath: undefined Info 63 [16:02:52.000] Projects: /user/username/projects/myproject/random/tsconfig.json +After request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: @@ -1145,6 +1165,7 @@ Info 64 [16:02:54.000] request: "file": "/user/username/projects/myproject/random/random.ts" } } +Before request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: @@ -1182,6 +1203,7 @@ Info 66 [16:03:00.000] Files (2) Info 66 [16:03:01.000] ----------------------------------------------- Info 66 [16:03:02.000] Open files: +After request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: @@ -1224,6 +1246,7 @@ Info 67 [16:03:04.000] request: "file": "/user/username/projects/myproject/random/random.ts" } } +Before request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: @@ -1285,6 +1308,7 @@ Info 84 [16:03:23.000] ----------------------------------------------- Info 84 [16:03:24.000] Open files: Info 84 [16:03:25.000] FileName: /user/username/projects/myproject/random/random.ts ProjectRootPath: undefined Info 84 [16:03:26.000] Projects: /user/username/projects/myproject/random/tsconfig.json +After request PolledWatches:: /user/username/projects/myproject/node_modules/@types: diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/disabledSourceRef/dependency-dtsMap-changes-with-timeout-before-request.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/disabledSourceRef/dependency-dtsMap-changes-with-timeout-before-request.js index 99801599db4a7..8f467973bf07e 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/disabledSourceRef/dependency-dtsMap-changes-with-timeout-before-request.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/disabledSourceRef/dependency-dtsMap-changes-with-timeout-before-request.js @@ -8,6 +8,7 @@ Info 1 [16:01:04.000] request: "file": "/user/username/projects/myproject/dependency/FnS.ts" } } +Before request //// [/user/username/projects/myproject/dependency/FnS.ts] export function fn1() { } export function fn2() { } @@ -245,6 +246,7 @@ Info 22 [16:01:27.000] ----------------------------------------------- Info 22 [16:01:28.000] Open files: Info 22 [16:01:29.000] FileName: /user/username/projects/myproject/dependency/FnS.ts ProjectRootPath: undefined Info 22 [16:01:30.000] Projects: /user/username/projects/myproject/dependency/tsconfig.json +After request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: @@ -275,6 +277,7 @@ Info 23 [16:01:32.000] request: "file": "/user/username/projects/myproject/random/random.ts" } } +Before request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: @@ -338,6 +341,7 @@ Info 41 [16:01:57.000] FileName: /user/username/projects/myproject/dependency Info 41 [16:01:58.000] Projects: /user/username/projects/myproject/dependency/tsconfig.json Info 41 [16:01:59.000] FileName: /user/username/projects/myproject/random/random.ts ProjectRootPath: undefined Info 41 [16:02:00.000] Projects: /user/username/projects/myproject/random/tsconfig.json +After request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: @@ -376,6 +380,7 @@ Info 42 [16:02:02.000] request: "seq": 1, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: @@ -401,6 +406,7 @@ FsWatchesRecursive:: Info 43 [16:02:03.000] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls/FnS.d.ts 500 undefined WatchType: Closed Script info Info 44 [16:02:04.000] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls/FnS.d.ts.map 500 undefined WatchType: Closed Script info +After request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: @@ -480,6 +486,37 @@ Info 46 [16:02:09.000] FileWatcher:: Triggered with /user/username/projects/my Info 47 [16:02:10.000] Scheduled: /user/username/projects/myproject/dependency/tsconfig.json Info 48 [16:02:11.000] Scheduled: *ensureProjectForOpenFiles* Info 49 [16:02:12.000] Elapsed:: *ms FileWatcher:: Triggered with /user/username/projects/myproject/decls/FnS.d.ts.map 1:: WatchInfo: /user/username/projects/myproject/decls/FnS.d.ts.map 500 undefined WatchType: Closed Script info +Before running timeout callbacks +//// [/user/username/projects/myproject/decls/FnS.d.ts.map] +{"version":3,"file":"FnS.d.ts","sourceRoot":"","sources":["../dependency/FnS.ts"],"names":[],"mappings":"AAAA,wBAAgB,GAAG,SAAM;AACzB,wBAAgB,GAAG,SAAM;AACzB,wBAAgB,GAAG,SAAM;AACzB,wBAAgB,GAAG,SAAM;AACzB,wBAAgB,GAAG,SAAM;AACzB,eAAO,MAAM,CAAC,KAAK,CAAC"} + + +PolledWatches:: +/user/username/projects/myproject/dependency/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/myproject/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/myproject/random/node_modules/@types: + {"pollingInterval":500} + +FsWatches:: +/user/username/projects/myproject/dependency/tsconfig.json: + {} +/a/lib/lib.d.ts: + {} +/user/username/projects/myproject/random/tsconfig.json: + {} +/user/username/projects/myproject/decls/fns.d.ts: + {} +/user/username/projects/myproject/decls/fns.d.ts.map: + {} + +FsWatchesRecursive:: +/user/username/projects/myproject/dependency: + {} +/user/username/projects/myproject/random: + {} + Info 50 [16:02:13.000] Running: /user/username/projects/myproject/dependency/tsconfig.json Info 51 [16:02:14.000] Starting updateGraphWorker: Project: /user/username/projects/myproject/dependency/tsconfig.json Info 52 [16:02:15.000] Finishing updateGraphWorker: Project: /user/username/projects/myproject/dependency/tsconfig.json Version: 2 structureChanged: false structureIsReused:: Not Elapsed:: *ms @@ -512,6 +549,34 @@ Info 56 [16:02:37.000] FileName: /user/username/projects/myproject/dependency Info 56 [16:02:38.000] Projects: /user/username/projects/myproject/dependency/tsconfig.json Info 56 [16:02:39.000] FileName: /user/username/projects/myproject/random/random.ts ProjectRootPath: undefined Info 56 [16:02:40.000] Projects: /user/username/projects/myproject/random/tsconfig.json +After running timeout callbacks + +PolledWatches:: +/user/username/projects/myproject/dependency/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/myproject/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/myproject/random/node_modules/@types: + {"pollingInterval":500} + +FsWatches:: +/user/username/projects/myproject/dependency/tsconfig.json: + {} +/a/lib/lib.d.ts: + {} +/user/username/projects/myproject/random/tsconfig.json: + {} +/user/username/projects/myproject/decls/fns.d.ts: + {} +/user/username/projects/myproject/decls/fns.d.ts.map: + {} + +FsWatchesRecursive:: +/user/username/projects/myproject/dependency: + {} +/user/username/projects/myproject/random: + {} + Info 56 [16:02:41.000] request: { "command": "rename", @@ -523,9 +588,7 @@ Info 56 [16:02:41.000] request: "seq": 2, "type": "request" } -//// [/user/username/projects/myproject/decls/FnS.d.ts.map] -{"version":3,"file":"FnS.d.ts","sourceRoot":"","sources":["../dependency/FnS.ts"],"names":[],"mappings":"AAAA,wBAAgB,GAAG,SAAM;AACzB,wBAAgB,GAAG,SAAM;AACzB,wBAAgB,GAAG,SAAM;AACzB,wBAAgB,GAAG,SAAM;AACzB,wBAAgB,GAAG,SAAM;AACzB,eAAO,MAAM,CAAC,KAAK,CAAC"} - +Before request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: @@ -553,6 +616,7 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +After request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: @@ -639,6 +703,7 @@ Info 58 [16:02:43.000] request: "seq": 3, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: @@ -666,6 +731,7 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +After request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: @@ -752,6 +818,7 @@ Info 60 [16:02:45.000] request: "seq": 4, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: @@ -779,6 +846,7 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +After request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: @@ -865,6 +933,7 @@ Info 62 [16:02:47.000] request: "seq": 5, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: @@ -892,6 +961,7 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +After request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: @@ -978,6 +1048,7 @@ Info 64 [16:02:49.000] request: "seq": 6, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: @@ -1005,6 +1076,7 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +After request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/disabledSourceRef/dependency-dtsMap-changes.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/disabledSourceRef/dependency-dtsMap-changes.js index 94db8939fc9c2..090cd0610de9d 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/disabledSourceRef/dependency-dtsMap-changes.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/disabledSourceRef/dependency-dtsMap-changes.js @@ -8,6 +8,7 @@ Info 1 [16:01:04.000] request: "file": "/user/username/projects/myproject/dependency/FnS.ts" } } +Before request //// [/user/username/projects/myproject/dependency/FnS.ts] export function fn1() { } export function fn2() { } @@ -245,6 +246,7 @@ Info 22 [16:01:27.000] ----------------------------------------------- Info 22 [16:01:28.000] Open files: Info 22 [16:01:29.000] FileName: /user/username/projects/myproject/dependency/FnS.ts ProjectRootPath: undefined Info 22 [16:01:30.000] Projects: /user/username/projects/myproject/dependency/tsconfig.json +After request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: @@ -275,6 +277,7 @@ Info 23 [16:01:32.000] request: "file": "/user/username/projects/myproject/random/random.ts" } } +Before request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: @@ -338,6 +341,7 @@ Info 41 [16:01:57.000] FileName: /user/username/projects/myproject/dependency Info 41 [16:01:58.000] Projects: /user/username/projects/myproject/dependency/tsconfig.json Info 41 [16:01:59.000] FileName: /user/username/projects/myproject/random/random.ts ProjectRootPath: undefined Info 41 [16:02:00.000] Projects: /user/username/projects/myproject/random/tsconfig.json +After request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: @@ -376,6 +380,7 @@ Info 42 [16:02:02.000] request: "seq": 1, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: @@ -401,6 +406,7 @@ FsWatchesRecursive:: Info 43 [16:02:03.000] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls/FnS.d.ts 500 undefined WatchType: Closed Script info Info 44 [16:02:04.000] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls/FnS.d.ts.map 500 undefined WatchType: Closed Script info +After request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: @@ -491,6 +497,7 @@ Info 50 [16:02:13.000] request: "seq": 2, "type": "request" } +Before request //// [/user/username/projects/myproject/decls/FnS.d.ts.map] {"version":3,"file":"FnS.d.ts","sourceRoot":"","sources":["../dependency/FnS.ts"],"names":[],"mappings":"AAAA,wBAAgB,GAAG,SAAM;AACzB,wBAAgB,GAAG,SAAM;AACzB,wBAAgB,GAAG,SAAM;AACzB,wBAAgB,GAAG,SAAM;AACzB,wBAAgB,GAAG,SAAM;AACzB,eAAO,MAAM,CAAC,KAAK,CAAC"} @@ -523,6 +530,7 @@ FsWatchesRecursive:: Info 51 [16:02:14.000] Starting updateGraphWorker: Project: /user/username/projects/myproject/dependency/tsconfig.json Info 52 [16:02:15.000] Finishing updateGraphWorker: Project: /user/username/projects/myproject/dependency/tsconfig.json Version: 2 structureChanged: false structureIsReused:: Not Elapsed:: *ms +After request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: @@ -609,6 +617,7 @@ Info 54 [16:02:17.000] request: "seq": 3, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: @@ -636,6 +645,7 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +After request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: @@ -722,6 +732,7 @@ Info 56 [16:02:19.000] request: "seq": 4, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: @@ -749,6 +760,7 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +After request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: @@ -835,6 +847,7 @@ Info 58 [16:02:21.000] request: "seq": 5, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: @@ -862,6 +875,7 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +After request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: @@ -948,6 +962,7 @@ Info 60 [16:02:23.000] request: "seq": 6, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: @@ -975,6 +990,7 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +After request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/disabledSourceRef/dependency-dtsMap-created.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/disabledSourceRef/dependency-dtsMap-created.js index 7d0a2ae172411..f575228fe57bc 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/disabledSourceRef/dependency-dtsMap-created.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/disabledSourceRef/dependency-dtsMap-created.js @@ -8,6 +8,7 @@ Info 1 [16:01:05.000] request: "file": "/user/username/projects/myproject/dependency/FnS.ts" } } +Before request //// [/user/username/projects/myproject/dependency/FnS.ts] export function fn1() { } export function fn2() { } @@ -242,6 +243,7 @@ Info 22 [16:01:28.000] ----------------------------------------------- Info 22 [16:01:29.000] Open files: Info 22 [16:01:30.000] FileName: /user/username/projects/myproject/dependency/FnS.ts ProjectRootPath: undefined Info 22 [16:01:31.000] Projects: /user/username/projects/myproject/dependency/tsconfig.json +After request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: @@ -272,6 +274,7 @@ Info 23 [16:01:33.000] request: "file": "/user/username/projects/myproject/random/random.ts" } } +Before request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: @@ -335,6 +338,7 @@ Info 41 [16:01:58.000] FileName: /user/username/projects/myproject/dependency Info 41 [16:01:59.000] Projects: /user/username/projects/myproject/dependency/tsconfig.json Info 41 [16:02:00.000] FileName: /user/username/projects/myproject/random/random.ts ProjectRootPath: undefined Info 41 [16:02:01.000] Projects: /user/username/projects/myproject/random/tsconfig.json +After request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: @@ -373,6 +377,7 @@ Info 42 [16:02:03.000] request: "seq": 1, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: @@ -398,6 +403,7 @@ FsWatchesRecursive:: Info 43 [16:02:04.000] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls/FnS.d.ts 500 undefined WatchType: Closed Script info Info 44 [16:02:05.000] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls/FnS.d.ts.map 2000 undefined WatchType: Missing source map file +After request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: @@ -489,6 +495,7 @@ Info 51 [16:02:14.000] request: "seq": 2, "type": "request" } +Before request //// [/user/username/projects/myproject/decls/FnS.d.ts.map] {"version":3,"file":"FnS.d.ts","sourceRoot":"","sources":["../dependency/FnS.ts"],"names":[],"mappings":"AAAA,wBAAgB,GAAG,SAAM;AACzB,wBAAgB,GAAG,SAAM;AACzB,wBAAgB,GAAG,SAAM;AACzB,wBAAgB,GAAG,SAAM;AACzB,wBAAgB,GAAG,SAAM"} @@ -520,6 +527,7 @@ FsWatchesRecursive:: Info 52 [16:02:15.000] Starting updateGraphWorker: Project: /user/username/projects/myproject/dependency/tsconfig.json Info 53 [16:02:16.000] Finishing updateGraphWorker: Project: /user/username/projects/myproject/dependency/tsconfig.json Version: 2 structureChanged: false structureIsReused:: Not Elapsed:: *ms Info 54 [16:02:17.000] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls/FnS.d.ts.map 500 undefined WatchType: Closed Script info +After request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: @@ -606,6 +614,7 @@ Info 56 [16:02:19.000] request: "seq": 3, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: @@ -633,6 +642,7 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +After request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: @@ -719,6 +729,7 @@ Info 58 [16:02:21.000] request: "seq": 4, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: @@ -746,6 +757,7 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +After request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: @@ -832,6 +844,7 @@ Info 60 [16:02:23.000] request: "seq": 5, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: @@ -859,6 +872,7 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +After request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: @@ -945,6 +959,7 @@ Info 62 [16:02:25.000] request: "seq": 6, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: @@ -972,6 +987,7 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +After request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: @@ -1056,6 +1072,7 @@ Info 64 [16:02:27.000] request: "file": "/user/username/projects/myproject/random/random.ts" } } +Before request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: @@ -1095,6 +1112,7 @@ Info 66 [16:02:34.000] ----------------------------------------------- Info 66 [16:02:35.000] Open files: Info 66 [16:02:36.000] FileName: /user/username/projects/myproject/dependency/FnS.ts ProjectRootPath: undefined Info 66 [16:02:37.000] Projects: /user/username/projects/myproject/dependency/tsconfig.json +After request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: @@ -1137,6 +1155,7 @@ Info 67 [16:02:39.000] request: "file": "/user/username/projects/myproject/random/random.ts" } } +Before request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: @@ -1182,6 +1201,7 @@ Info 71 [16:02:50.000] FileName: /user/username/projects/myproject/dependency Info 71 [16:02:51.000] Projects: /user/username/projects/myproject/dependency/tsconfig.json Info 71 [16:02:52.000] FileName: /user/username/projects/myproject/random/random.ts ProjectRootPath: undefined Info 71 [16:02:53.000] Projects: /user/username/projects/myproject/random/tsconfig.json +After request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: @@ -1222,6 +1242,7 @@ Info 72 [16:02:55.000] request: "file": "/user/username/projects/myproject/dependency/FnS.ts" } } +Before request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: @@ -1261,6 +1282,7 @@ Info 74 [16:03:02.000] ----------------------------------------------- Info 74 [16:03:03.000] Open files: Info 74 [16:03:04.000] FileName: /user/username/projects/myproject/random/random.ts ProjectRootPath: undefined Info 74 [16:03:05.000] Projects: /user/username/projects/myproject/random/tsconfig.json +After request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: @@ -1303,6 +1325,7 @@ Info 75 [16:03:07.000] request: "file": "/user/username/projects/myproject/random/random.ts" } } +Before request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: @@ -1342,6 +1365,7 @@ Info 77 [16:03:13.000] Files (2) Info 77 [16:03:14.000] ----------------------------------------------- Info 77 [16:03:15.000] Open files: +After request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: @@ -1386,6 +1410,7 @@ Info 78 [16:03:17.000] request: "file": "/user/username/projects/myproject/random/random.ts" } } +Before request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: @@ -1450,6 +1475,7 @@ Info 96 [16:03:37.000] ----------------------------------------------- Info 96 [16:03:38.000] Open files: Info 96 [16:03:39.000] FileName: /user/username/projects/myproject/random/random.ts ProjectRootPath: undefined Info 96 [16:03:40.000] Projects: /user/username/projects/myproject/random/tsconfig.json +After request PolledWatches:: /user/username/projects/myproject/node_modules/@types: diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/disabledSourceRef/dependency-dtsMap-deleted.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/disabledSourceRef/dependency-dtsMap-deleted.js index 616f8b4633510..8c83f435aa069 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/disabledSourceRef/dependency-dtsMap-deleted.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/disabledSourceRef/dependency-dtsMap-deleted.js @@ -8,6 +8,7 @@ Info 1 [16:01:04.000] request: "file": "/user/username/projects/myproject/dependency/FnS.ts" } } +Before request //// [/user/username/projects/myproject/dependency/FnS.ts] export function fn1() { } export function fn2() { } @@ -245,6 +246,7 @@ Info 22 [16:01:27.000] ----------------------------------------------- Info 22 [16:01:28.000] Open files: Info 22 [16:01:29.000] FileName: /user/username/projects/myproject/dependency/FnS.ts ProjectRootPath: undefined Info 22 [16:01:30.000] Projects: /user/username/projects/myproject/dependency/tsconfig.json +After request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: @@ -275,6 +277,7 @@ Info 23 [16:01:32.000] request: "file": "/user/username/projects/myproject/random/random.ts" } } +Before request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: @@ -338,6 +341,7 @@ Info 41 [16:01:57.000] FileName: /user/username/projects/myproject/dependency Info 41 [16:01:58.000] Projects: /user/username/projects/myproject/dependency/tsconfig.json Info 41 [16:01:59.000] FileName: /user/username/projects/myproject/random/random.ts ProjectRootPath: undefined Info 41 [16:02:00.000] Projects: /user/username/projects/myproject/random/tsconfig.json +After request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: @@ -376,6 +380,7 @@ Info 42 [16:02:02.000] request: "seq": 1, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: @@ -401,6 +406,7 @@ FsWatchesRecursive:: Info 43 [16:02:03.000] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls/FnS.d.ts 500 undefined WatchType: Closed Script info Info 44 [16:02:04.000] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls/FnS.d.ts.map 500 undefined WatchType: Closed Script info +After request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: @@ -492,6 +498,7 @@ Info 51 [16:02:12.000] request: "seq": 2, "type": "request" } +Before request //// [/user/username/projects/myproject/decls/FnS.d.ts.map] deleted PolledWatches:: @@ -521,6 +528,7 @@ FsWatchesRecursive:: Info 52 [16:02:13.000] Starting updateGraphWorker: Project: /user/username/projects/myproject/dependency/tsconfig.json Info 53 [16:02:14.000] Finishing updateGraphWorker: Project: /user/username/projects/myproject/dependency/tsconfig.json Version: 2 structureChanged: false structureIsReused:: Not Elapsed:: *ms Info 54 [16:02:15.000] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls/FnS.d.ts.map 2000 undefined WatchType: Missing source map file +After request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: @@ -607,6 +615,7 @@ Info 56 [16:02:17.000] request: "seq": 3, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: @@ -634,6 +643,7 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +After request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: @@ -720,6 +730,7 @@ Info 58 [16:02:19.000] request: "seq": 4, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: @@ -747,6 +758,7 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +After request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: @@ -833,6 +845,7 @@ Info 60 [16:02:21.000] request: "seq": 5, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: @@ -860,6 +873,7 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +After request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: @@ -946,6 +960,7 @@ Info 62 [16:02:23.000] request: "seq": 6, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: @@ -973,6 +988,7 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +After request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: @@ -1057,6 +1073,7 @@ Info 64 [16:02:25.000] request: "file": "/user/username/projects/myproject/random/random.ts" } } +Before request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: @@ -1096,6 +1113,7 @@ Info 66 [16:02:32.000] ----------------------------------------------- Info 66 [16:02:33.000] Open files: Info 66 [16:02:34.000] FileName: /user/username/projects/myproject/dependency/FnS.ts ProjectRootPath: undefined Info 66 [16:02:35.000] Projects: /user/username/projects/myproject/dependency/tsconfig.json +After request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: @@ -1138,6 +1156,7 @@ Info 67 [16:02:37.000] request: "file": "/user/username/projects/myproject/random/random.ts" } } +Before request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: @@ -1183,6 +1202,7 @@ Info 71 [16:02:48.000] FileName: /user/username/projects/myproject/dependency Info 71 [16:02:49.000] Projects: /user/username/projects/myproject/dependency/tsconfig.json Info 71 [16:02:50.000] FileName: /user/username/projects/myproject/random/random.ts ProjectRootPath: undefined Info 71 [16:02:51.000] Projects: /user/username/projects/myproject/random/tsconfig.json +After request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: @@ -1223,6 +1243,7 @@ Info 72 [16:02:53.000] request: "file": "/user/username/projects/myproject/dependency/FnS.ts" } } +Before request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: @@ -1262,6 +1283,7 @@ Info 74 [16:03:00.000] ----------------------------------------------- Info 74 [16:03:01.000] Open files: Info 74 [16:03:02.000] FileName: /user/username/projects/myproject/random/random.ts ProjectRootPath: undefined Info 74 [16:03:03.000] Projects: /user/username/projects/myproject/random/tsconfig.json +After request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: @@ -1304,6 +1326,7 @@ Info 75 [16:03:05.000] request: "file": "/user/username/projects/myproject/random/random.ts" } } +Before request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: @@ -1343,6 +1366,7 @@ Info 77 [16:03:11.000] Files (2) Info 77 [16:03:12.000] ----------------------------------------------- Info 77 [16:03:13.000] Open files: +After request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: @@ -1387,6 +1411,7 @@ Info 78 [16:03:15.000] request: "file": "/user/username/projects/myproject/random/random.ts" } } +Before request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: @@ -1451,6 +1476,7 @@ Info 96 [16:03:35.000] ----------------------------------------------- Info 96 [16:03:36.000] Open files: Info 96 [16:03:37.000] FileName: /user/username/projects/myproject/random/random.ts ProjectRootPath: undefined Info 96 [16:03:38.000] Projects: /user/username/projects/myproject/random/tsconfig.json +After request PolledWatches:: /user/username/projects/myproject/node_modules/@types: diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/disabledSourceRef/dependency-dtsMap-not-present.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/disabledSourceRef/dependency-dtsMap-not-present.js index d79ee4be9646c..484f27a121a0d 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/disabledSourceRef/dependency-dtsMap-not-present.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/disabledSourceRef/dependency-dtsMap-not-present.js @@ -8,6 +8,7 @@ Info 1 [16:01:05.000] request: "file": "/user/username/projects/myproject/dependency/FnS.ts" } } +Before request //// [/user/username/projects/myproject/dependency/FnS.ts] export function fn1() { } export function fn2() { } @@ -242,6 +243,7 @@ Info 22 [16:01:28.000] ----------------------------------------------- Info 22 [16:01:29.000] Open files: Info 22 [16:01:30.000] FileName: /user/username/projects/myproject/dependency/FnS.ts ProjectRootPath: undefined Info 22 [16:01:31.000] Projects: /user/username/projects/myproject/dependency/tsconfig.json +After request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: @@ -272,6 +274,7 @@ Info 23 [16:01:33.000] request: "file": "/user/username/projects/myproject/random/random.ts" } } +Before request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: @@ -335,6 +338,7 @@ Info 41 [16:01:58.000] FileName: /user/username/projects/myproject/dependency Info 41 [16:01:59.000] Projects: /user/username/projects/myproject/dependency/tsconfig.json Info 41 [16:02:00.000] FileName: /user/username/projects/myproject/random/random.ts ProjectRootPath: undefined Info 41 [16:02:01.000] Projects: /user/username/projects/myproject/random/tsconfig.json +After request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: @@ -373,6 +377,7 @@ Info 42 [16:02:03.000] request: "seq": 1, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: @@ -398,6 +403,7 @@ FsWatchesRecursive:: Info 43 [16:02:04.000] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls/FnS.d.ts 500 undefined WatchType: Closed Script info Info 44 [16:02:05.000] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls/FnS.d.ts.map 2000 undefined WatchType: Missing source map file +After request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: @@ -484,6 +490,7 @@ Info 46 [16:02:07.000] request: "seq": 2, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: @@ -511,6 +518,7 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +After request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: @@ -597,6 +605,7 @@ Info 48 [16:02:09.000] request: "seq": 3, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: @@ -624,6 +633,7 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +After request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: @@ -710,6 +720,7 @@ Info 50 [16:02:11.000] request: "seq": 4, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: @@ -737,6 +748,7 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +After request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: @@ -823,6 +835,7 @@ Info 52 [16:02:13.000] request: "seq": 5, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: @@ -850,6 +863,7 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +After request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: @@ -934,6 +948,7 @@ Info 54 [16:02:15.000] request: "file": "/user/username/projects/myproject/random/random.ts" } } +Before request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: @@ -973,6 +988,7 @@ Info 56 [16:02:22.000] ----------------------------------------------- Info 56 [16:02:23.000] Open files: Info 56 [16:02:24.000] FileName: /user/username/projects/myproject/dependency/FnS.ts ProjectRootPath: undefined Info 56 [16:02:25.000] Projects: /user/username/projects/myproject/dependency/tsconfig.json +After request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: @@ -1015,6 +1031,7 @@ Info 57 [16:02:27.000] request: "file": "/user/username/projects/myproject/random/random.ts" } } +Before request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: @@ -1060,6 +1077,7 @@ Info 61 [16:02:38.000] FileName: /user/username/projects/myproject/dependency Info 61 [16:02:39.000] Projects: /user/username/projects/myproject/dependency/tsconfig.json Info 61 [16:02:40.000] FileName: /user/username/projects/myproject/random/random.ts ProjectRootPath: undefined Info 61 [16:02:41.000] Projects: /user/username/projects/myproject/random/tsconfig.json +After request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: @@ -1100,6 +1118,7 @@ Info 62 [16:02:43.000] request: "file": "/user/username/projects/myproject/dependency/FnS.ts" } } +Before request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: @@ -1139,6 +1158,7 @@ Info 64 [16:02:50.000] ----------------------------------------------- Info 64 [16:02:51.000] Open files: Info 64 [16:02:52.000] FileName: /user/username/projects/myproject/random/random.ts ProjectRootPath: undefined Info 64 [16:02:53.000] Projects: /user/username/projects/myproject/random/tsconfig.json +After request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: @@ -1181,6 +1201,7 @@ Info 65 [16:02:55.000] request: "file": "/user/username/projects/myproject/random/random.ts" } } +Before request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: @@ -1220,6 +1241,7 @@ Info 67 [16:03:01.000] Files (2) Info 67 [16:03:02.000] ----------------------------------------------- Info 67 [16:03:03.000] Open files: +After request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: @@ -1264,6 +1286,7 @@ Info 68 [16:03:05.000] request: "file": "/user/username/projects/myproject/random/random.ts" } } +Before request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: @@ -1328,6 +1351,7 @@ Info 86 [16:03:25.000] ----------------------------------------------- Info 86 [16:03:26.000] Open files: Info 86 [16:03:27.000] FileName: /user/username/projects/myproject/random/random.ts ProjectRootPath: undefined Info 86 [16:03:28.000] Projects: /user/username/projects/myproject/random/tsconfig.json +After request PolledWatches:: /user/username/projects/myproject/node_modules/@types: diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/disabledSourceRef/rename-locations.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/disabledSourceRef/rename-locations.js index d58f7a76b7edb..d691e9f1585d8 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/disabledSourceRef/rename-locations.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/disabledSourceRef/rename-locations.js @@ -8,6 +8,7 @@ Info 1 [16:01:04.000] request: "file": "/user/username/projects/myproject/dependency/FnS.ts" } } +Before request //// [/user/username/projects/myproject/dependency/FnS.ts] export function fn1() { } export function fn2() { } @@ -245,6 +246,7 @@ Info 22 [16:01:27.000] ----------------------------------------------- Info 22 [16:01:28.000] Open files: Info 22 [16:01:29.000] FileName: /user/username/projects/myproject/dependency/FnS.ts ProjectRootPath: undefined Info 22 [16:01:30.000] Projects: /user/username/projects/myproject/dependency/tsconfig.json +After request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: @@ -275,6 +277,7 @@ Info 23 [16:01:32.000] request: "file": "/user/username/projects/myproject/random/random.ts" } } +Before request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: @@ -338,6 +341,7 @@ Info 41 [16:01:57.000] FileName: /user/username/projects/myproject/dependency Info 41 [16:01:58.000] Projects: /user/username/projects/myproject/dependency/tsconfig.json Info 41 [16:01:59.000] FileName: /user/username/projects/myproject/random/random.ts ProjectRootPath: undefined Info 41 [16:02:00.000] Projects: /user/username/projects/myproject/random/tsconfig.json +After request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: @@ -376,6 +380,7 @@ Info 42 [16:02:02.000] request: "seq": 1, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: @@ -401,6 +406,7 @@ FsWatchesRecursive:: Info 43 [16:02:03.000] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls/FnS.d.ts 500 undefined WatchType: Closed Script info Info 44 [16:02:04.000] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls/FnS.d.ts.map 500 undefined WatchType: Closed Script info +After request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: @@ -487,6 +493,7 @@ Info 46 [16:02:06.000] request: "seq": 2, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: @@ -514,6 +521,7 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +After request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: @@ -600,6 +608,7 @@ Info 48 [16:02:08.000] request: "seq": 3, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: @@ -627,6 +636,7 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +After request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: @@ -713,6 +723,7 @@ Info 50 [16:02:10.000] request: "seq": 4, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: @@ -740,6 +751,7 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +After request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: @@ -826,6 +838,7 @@ Info 52 [16:02:12.000] request: "seq": 5, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: @@ -853,6 +866,7 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +After request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: @@ -937,6 +951,7 @@ Info 54 [16:02:14.000] request: "file": "/user/username/projects/myproject/random/random.ts" } } +Before request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: @@ -976,6 +991,7 @@ Info 56 [16:02:21.000] ----------------------------------------------- Info 56 [16:02:22.000] Open files: Info 56 [16:02:23.000] FileName: /user/username/projects/myproject/dependency/FnS.ts ProjectRootPath: undefined Info 56 [16:02:24.000] Projects: /user/username/projects/myproject/dependency/tsconfig.json +After request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: @@ -1018,6 +1034,7 @@ Info 57 [16:02:26.000] request: "file": "/user/username/projects/myproject/random/random.ts" } } +Before request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: @@ -1063,6 +1080,7 @@ Info 61 [16:02:37.000] FileName: /user/username/projects/myproject/dependency Info 61 [16:02:38.000] Projects: /user/username/projects/myproject/dependency/tsconfig.json Info 61 [16:02:39.000] FileName: /user/username/projects/myproject/random/random.ts ProjectRootPath: undefined Info 61 [16:02:40.000] Projects: /user/username/projects/myproject/random/tsconfig.json +After request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: @@ -1103,6 +1121,7 @@ Info 62 [16:02:42.000] request: "file": "/user/username/projects/myproject/dependency/FnS.ts" } } +Before request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: @@ -1142,6 +1161,7 @@ Info 64 [16:02:49.000] ----------------------------------------------- Info 64 [16:02:50.000] Open files: Info 64 [16:02:51.000] FileName: /user/username/projects/myproject/random/random.ts ProjectRootPath: undefined Info 64 [16:02:52.000] Projects: /user/username/projects/myproject/random/tsconfig.json +After request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: @@ -1184,6 +1204,7 @@ Info 65 [16:02:54.000] request: "file": "/user/username/projects/myproject/random/random.ts" } } +Before request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: @@ -1223,6 +1244,7 @@ Info 67 [16:03:00.000] Files (2) Info 67 [16:03:01.000] ----------------------------------------------- Info 67 [16:03:02.000] Open files: +After request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: @@ -1267,6 +1289,7 @@ Info 68 [16:03:04.000] request: "file": "/user/username/projects/myproject/random/random.ts" } } +Before request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: @@ -1331,6 +1354,7 @@ Info 86 [16:03:24.000] ----------------------------------------------- Info 86 [16:03:25.000] Open files: Info 86 [16:03:26.000] FileName: /user/username/projects/myproject/random/random.ts ProjectRootPath: undefined Info 86 [16:03:27.000] Projects: /user/username/projects/myproject/random/tsconfig.json +After request PolledWatches:: /user/username/projects/myproject/node_modules/@types: diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/disabledSourceRef/usage-file-changes-with-timeout-before-request.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/disabledSourceRef/usage-file-changes-with-timeout-before-request.js index d9844844ff277..de223267e1c47 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/disabledSourceRef/usage-file-changes-with-timeout-before-request.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/disabledSourceRef/usage-file-changes-with-timeout-before-request.js @@ -8,6 +8,7 @@ Info 1 [16:01:04.000] request: "file": "/user/username/projects/myproject/dependency/FnS.ts" } } +Before request //// [/user/username/projects/myproject/dependency/FnS.ts] export function fn1() { } export function fn2() { } @@ -245,6 +246,7 @@ Info 22 [16:01:27.000] ----------------------------------------------- Info 22 [16:01:28.000] Open files: Info 22 [16:01:29.000] FileName: /user/username/projects/myproject/dependency/FnS.ts ProjectRootPath: undefined Info 22 [16:01:30.000] Projects: /user/username/projects/myproject/dependency/tsconfig.json +After request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: @@ -275,6 +277,7 @@ Info 23 [16:01:32.000] request: "file": "/user/username/projects/myproject/random/random.ts" } } +Before request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: @@ -338,6 +341,7 @@ Info 41 [16:01:57.000] FileName: /user/username/projects/myproject/dependency Info 41 [16:01:58.000] Projects: /user/username/projects/myproject/dependency/tsconfig.json Info 41 [16:01:59.000] FileName: /user/username/projects/myproject/random/random.ts ProjectRootPath: undefined Info 41 [16:02:00.000] Projects: /user/username/projects/myproject/random/tsconfig.json +After request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: @@ -376,6 +380,7 @@ Info 42 [16:02:02.000] request: "seq": 1, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: @@ -401,6 +406,7 @@ FsWatchesRecursive:: Info 43 [16:02:03.000] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls/FnS.d.ts 500 undefined WatchType: Closed Script info Info 44 [16:02:04.000] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls/FnS.d.ts.map 500 undefined WatchType: Closed Script info +After request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: @@ -490,6 +496,7 @@ Info 46 [16:02:06.000] request: "seq": 2, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: @@ -517,6 +524,7 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +After request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: @@ -548,6 +556,62 @@ Info 47 [16:02:07.000] response: { "responseRequired": false } +Before running timeout callbacks + +PolledWatches:: +/user/username/projects/myproject/dependency/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/myproject/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/myproject/random/node_modules/@types: + {"pollingInterval":500} + +FsWatches:: +/user/username/projects/myproject/dependency/tsconfig.json: + {} +/a/lib/lib.d.ts: + {} +/user/username/projects/myproject/random/tsconfig.json: + {} +/user/username/projects/myproject/decls/fns.d.ts: + {} +/user/username/projects/myproject/decls/fns.d.ts.map: + {} + +FsWatchesRecursive:: +/user/username/projects/myproject/dependency: + {} +/user/username/projects/myproject/random: + {} + +After running timeout callbacks + +PolledWatches:: +/user/username/projects/myproject/dependency/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/myproject/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/myproject/random/node_modules/@types: + {"pollingInterval":500} + +FsWatches:: +/user/username/projects/myproject/dependency/tsconfig.json: + {} +/a/lib/lib.d.ts: + {} +/user/username/projects/myproject/random/tsconfig.json: + {} +/user/username/projects/myproject/decls/fns.d.ts: + {} +/user/username/projects/myproject/decls/fns.d.ts.map: + {} + +FsWatchesRecursive:: +/user/username/projects/myproject/dependency: + {} +/user/username/projects/myproject/random: + {} + Info 48 [16:02:08.000] request: { "command": "rename", @@ -559,6 +623,7 @@ Info 48 [16:02:08.000] request: "seq": 3, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: @@ -589,6 +654,7 @@ FsWatchesRecursive:: Info 49 [16:02:09.000] Starting updateGraphWorker: Project: /user/username/projects/myproject/dependency/tsconfig.json Info 50 [16:02:10.000] Finishing updateGraphWorker: Project: /user/username/projects/myproject/dependency/tsconfig.json Version: 2 structureChanged: false structureIsReused:: Completely Elapsed:: *ms Info 51 [16:02:11.000] Different program with same set of files +After request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: @@ -675,6 +741,7 @@ Info 53 [16:02:13.000] request: "seq": 4, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: @@ -702,6 +769,7 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +After request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: @@ -788,6 +856,7 @@ Info 55 [16:02:15.000] request: "seq": 5, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: @@ -815,6 +884,7 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +After request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: @@ -901,6 +971,7 @@ Info 57 [16:02:17.000] request: "seq": 6, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: @@ -928,6 +999,7 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +After request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: @@ -1014,6 +1086,7 @@ Info 59 [16:02:19.000] request: "seq": 7, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: @@ -1041,6 +1114,7 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +After request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/disabledSourceRef/usage-file-changes.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/disabledSourceRef/usage-file-changes.js index d9844844ff277..9fee4f0f9dd74 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/disabledSourceRef/usage-file-changes.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependency/disabledSourceRef/usage-file-changes.js @@ -8,6 +8,7 @@ Info 1 [16:01:04.000] request: "file": "/user/username/projects/myproject/dependency/FnS.ts" } } +Before request //// [/user/username/projects/myproject/dependency/FnS.ts] export function fn1() { } export function fn2() { } @@ -245,6 +246,7 @@ Info 22 [16:01:27.000] ----------------------------------------------- Info 22 [16:01:28.000] Open files: Info 22 [16:01:29.000] FileName: /user/username/projects/myproject/dependency/FnS.ts ProjectRootPath: undefined Info 22 [16:01:30.000] Projects: /user/username/projects/myproject/dependency/tsconfig.json +After request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: @@ -275,6 +277,7 @@ Info 23 [16:01:32.000] request: "file": "/user/username/projects/myproject/random/random.ts" } } +Before request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: @@ -338,6 +341,7 @@ Info 41 [16:01:57.000] FileName: /user/username/projects/myproject/dependency Info 41 [16:01:58.000] Projects: /user/username/projects/myproject/dependency/tsconfig.json Info 41 [16:01:59.000] FileName: /user/username/projects/myproject/random/random.ts ProjectRootPath: undefined Info 41 [16:02:00.000] Projects: /user/username/projects/myproject/random/tsconfig.json +After request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: @@ -376,6 +380,7 @@ Info 42 [16:02:02.000] request: "seq": 1, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: @@ -401,6 +406,7 @@ FsWatchesRecursive:: Info 43 [16:02:03.000] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls/FnS.d.ts 500 undefined WatchType: Closed Script info Info 44 [16:02:04.000] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls/FnS.d.ts.map 500 undefined WatchType: Closed Script info +After request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: @@ -490,6 +496,7 @@ Info 46 [16:02:06.000] request: "seq": 2, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: @@ -517,6 +524,7 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +After request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: @@ -559,6 +567,7 @@ Info 48 [16:02:08.000] request: "seq": 3, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: @@ -589,6 +598,7 @@ FsWatchesRecursive:: Info 49 [16:02:09.000] Starting updateGraphWorker: Project: /user/username/projects/myproject/dependency/tsconfig.json Info 50 [16:02:10.000] Finishing updateGraphWorker: Project: /user/username/projects/myproject/dependency/tsconfig.json Version: 2 structureChanged: false structureIsReused:: Completely Elapsed:: *ms Info 51 [16:02:11.000] Different program with same set of files +After request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: @@ -675,6 +685,7 @@ Info 53 [16:02:13.000] request: "seq": 4, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: @@ -702,6 +713,7 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +After request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: @@ -788,6 +800,7 @@ Info 55 [16:02:15.000] request: "seq": 5, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: @@ -815,6 +828,7 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +After request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: @@ -901,6 +915,7 @@ Info 57 [16:02:17.000] request: "seq": 6, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: @@ -928,6 +943,7 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +After request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: @@ -1014,6 +1030,7 @@ Info 59 [16:02:19.000] request: "seq": 7, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: @@ -1041,6 +1058,7 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +After request PolledWatches:: /user/username/projects/myproject/dependency/node_modules/@types: diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configHasNoReference/dependency-dts-changes-with-timeout-before-request.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configHasNoReference/dependency-dts-changes-with-timeout-before-request.js index 2ceb5e8935e30..e7285de9051a6 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configHasNoReference/dependency-dts-changes-with-timeout-before-request.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configHasNoReference/dependency-dts-changes-with-timeout-before-request.js @@ -8,6 +8,7 @@ Info 1 [16:01:04.000] request: "file": "/user/username/projects/myproject/main/main.ts" } } +Before request //// [/user/username/projects/myproject/dependency/FnS.ts] export function fn1() { } export function fn2() { } @@ -250,6 +251,7 @@ Info 25 [16:01:30.000] ----------------------------------------------- Info 25 [16:01:31.000] Open files: Info 25 [16:01:32.000] FileName: /user/username/projects/myproject/main/main.ts ProjectRootPath: undefined Info 25 [16:01:33.000] Projects: /user/username/projects/myproject/main/tsconfig.json +After request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -284,6 +286,7 @@ Info 26 [16:01:35.000] request: "file": "/user/username/projects/myproject/dependency/FnS.ts" } } +Before request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -356,6 +359,7 @@ Info 46 [16:02:02.000] FileName: /user/username/projects/myproject/main/main. Info 46 [16:02:03.000] Projects: /user/username/projects/myproject/main/tsconfig.json Info 46 [16:02:04.000] FileName: /user/username/projects/myproject/dependency/FnS.ts ProjectRootPath: undefined Info 46 [16:02:05.000] Projects: /user/username/projects/myproject/dependency/tsconfig.json +After request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -396,6 +400,7 @@ Info 47 [16:02:07.000] request: "file": "/user/username/projects/myproject/random/random.ts" } } +Before request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -475,6 +480,7 @@ Info 65 [16:02:37.000] FileName: /user/username/projects/myproject/dependency Info 65 [16:02:38.000] Projects: /user/username/projects/myproject/dependency/tsconfig.json Info 65 [16:02:39.000] FileName: /user/username/projects/myproject/random/random.ts ProjectRootPath: undefined Info 65 [16:02:40.000] Projects: /user/username/projects/myproject/random/tsconfig.json +After request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -523,6 +529,7 @@ Info 66 [16:02:42.000] request: "seq": 1, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -557,6 +564,7 @@ FsWatchesRecursive:: {} Info 67 [16:02:43.000] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls/FnS.d.ts.map 500 undefined WatchType: Closed Script info +After request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -640,6 +648,7 @@ Info 69 [16:02:45.000] request: "seq": 2, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -677,6 +686,7 @@ FsWatchesRecursive:: Info 70 [16:02:46.000] Search path: /user/username/projects/myproject/dependency Info 71 [16:02:47.000] For info: /user/username/projects/myproject/dependency/FnS.ts :: Config file name: /user/username/projects/myproject/dependency/tsconfig.json +After request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -799,6 +809,51 @@ Info 75 [16:02:54.000] Scheduled: *ensureProjectForOpenFiles* Info 76 [16:02:55.000] Scheduled: /user/username/projects/myproject/dependency/tsconfig.json Info 77 [16:02:56.000] Scheduled: *ensureProjectForOpenFiles*, Cancelled earlier one Info 78 [16:02:57.000] Elapsed:: *ms FileWatcher:: Triggered with /user/username/projects/myproject/decls/fns.d.ts 1:: WatchInfo: /user/username/projects/myproject/decls/fns.d.ts 500 undefined WatchType: Closed Script info +Before running timeout callbacks +//// [/user/username/projects/myproject/decls/FnS.d.ts] +export declare function fn1(): void; +export declare function fn2(): void; +export declare function fn3(): void; +export declare function fn4(): void; +export declare function fn5(): void; +export declare function fn6(): void; +//# sourceMappingURL=FnS.d.ts.map + + +PolledWatches:: +/user/username/projects/myproject/main/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/myproject/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/myproject/dependency/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/myproject/random/node_modules/@types: + {"pollingInterval":500} + +FsWatches:: +/user/username/projects/myproject/main/tsconfig.json: + {} +/user/username/projects/myproject/decls/fns.d.ts: + {} +/a/lib/lib.d.ts: + {} +/user/username/projects/myproject/dependency/tsconfig.json: + {} +/user/username/projects/myproject/random/tsconfig.json: + {} +/user/username/projects/myproject/decls/fns.d.ts.map: + {} + +FsWatchesRecursive:: +/user/username/projects/myproject/main: + {} +/user/username/projects/myproject/decls: + {} +/user/username/projects/myproject/dependency: + {} +/user/username/projects/myproject/random: + {} + Info 79 [16:02:58.000] Running: /user/username/projects/myproject/main/tsconfig.json Info 80 [16:02:59.000] Starting updateGraphWorker: Project: /user/username/projects/myproject/main/tsconfig.json Info 81 [16:03:00.000] Finishing updateGraphWorker: Project: /user/username/projects/myproject/main/tsconfig.json Version: 2 structureChanged: false structureIsReused:: Completely Elapsed:: *ms @@ -847,6 +902,42 @@ Info 89 [16:03:36.000] FileName: /user/username/projects/myproject/dependency Info 89 [16:03:37.000] Projects: /user/username/projects/myproject/dependency/tsconfig.json Info 89 [16:03:38.000] FileName: /user/username/projects/myproject/random/random.ts ProjectRootPath: undefined Info 89 [16:03:39.000] Projects: /user/username/projects/myproject/random/tsconfig.json +After running timeout callbacks + +PolledWatches:: +/user/username/projects/myproject/main/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/myproject/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/myproject/dependency/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/myproject/random/node_modules/@types: + {"pollingInterval":500} + +FsWatches:: +/user/username/projects/myproject/main/tsconfig.json: + {} +/user/username/projects/myproject/decls/fns.d.ts: + {} +/a/lib/lib.d.ts: + {} +/user/username/projects/myproject/dependency/tsconfig.json: + {} +/user/username/projects/myproject/random/tsconfig.json: + {} +/user/username/projects/myproject/decls/fns.d.ts.map: + {} + +FsWatchesRecursive:: +/user/username/projects/myproject/main: + {} +/user/username/projects/myproject/decls: + {} +/user/username/projects/myproject/dependency: + {} +/user/username/projects/myproject/random: + {} + Info 89 [16:03:40.000] request: { "command": "definitionAndBoundSpan", @@ -858,15 +949,7 @@ Info 89 [16:03:40.000] request: "seq": 3, "type": "request" } -//// [/user/username/projects/myproject/decls/FnS.d.ts] -export declare function fn1(): void; -export declare function fn2(): void; -export declare function fn3(): void; -export declare function fn4(): void; -export declare function fn5(): void; -export declare function fn6(): void; -//# sourceMappingURL=FnS.d.ts.map - +Before request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -902,6 +985,7 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +After request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -985,6 +1069,7 @@ Info 91 [16:03:42.000] request: "seq": 4, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -1020,6 +1105,7 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +After request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -1103,6 +1189,7 @@ Info 93 [16:03:44.000] request: "seq": 5, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -1138,6 +1225,7 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +After request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -1221,6 +1309,7 @@ Info 95 [16:03:46.000] request: "seq": 6, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -1256,6 +1345,7 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +After request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -1339,6 +1429,7 @@ Info 97 [16:03:48.000] request: "seq": 7, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -1374,6 +1465,7 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +After request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -1457,6 +1549,7 @@ Info 99 [16:03:50.000] request: "seq": 8, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -1494,6 +1587,7 @@ FsWatchesRecursive:: Info 100 [16:03:51.000] Search path: /user/username/projects/myproject/dependency Info 101 [16:03:52.000] For info: /user/username/projects/myproject/dependency/FnS.ts :: Config file name: /user/username/projects/myproject/dependency/tsconfig.json +After request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -1621,6 +1715,7 @@ Info 103 [16:03:54.000] request: "seq": 9, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -1658,6 +1753,7 @@ FsWatchesRecursive:: Info 104 [16:03:55.000] Search path: /user/username/projects/myproject/dependency Info 105 [16:03:56.000] For info: /user/username/projects/myproject/dependency/FnS.ts :: Config file name: /user/username/projects/myproject/dependency/tsconfig.json +After request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -1785,6 +1881,7 @@ Info 107 [16:03:58.000] request: "seq": 10, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -1822,6 +1919,7 @@ FsWatchesRecursive:: Info 108 [16:03:59.000] Search path: /user/username/projects/myproject/dependency Info 109 [16:04:00.000] For info: /user/username/projects/myproject/dependency/FnS.ts :: Config file name: /user/username/projects/myproject/dependency/tsconfig.json +After request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -1949,6 +2047,7 @@ Info 111 [16:04:02.000] request: "seq": 11, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -1986,6 +2085,7 @@ FsWatchesRecursive:: Info 112 [16:04:03.000] Search path: /user/username/projects/myproject/dependency Info 113 [16:04:04.000] For info: /user/username/projects/myproject/dependency/FnS.ts :: Config file name: /user/username/projects/myproject/dependency/tsconfig.json +After request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -2113,6 +2213,7 @@ Info 115 [16:04:06.000] request: "seq": 12, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -2150,6 +2251,7 @@ FsWatchesRecursive:: Info 116 [16:04:07.000] Search path: /user/username/projects/myproject/dependency Info 117 [16:04:08.000] For info: /user/username/projects/myproject/dependency/FnS.ts :: Config file name: /user/username/projects/myproject/dependency/tsconfig.json +After request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configHasNoReference/dependency-dts-changes.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configHasNoReference/dependency-dts-changes.js index bb4a3e807a899..48d7c4a99c9f5 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configHasNoReference/dependency-dts-changes.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configHasNoReference/dependency-dts-changes.js @@ -8,6 +8,7 @@ Info 1 [16:01:04.000] request: "file": "/user/username/projects/myproject/main/main.ts" } } +Before request //// [/user/username/projects/myproject/dependency/FnS.ts] export function fn1() { } export function fn2() { } @@ -250,6 +251,7 @@ Info 25 [16:01:30.000] ----------------------------------------------- Info 25 [16:01:31.000] Open files: Info 25 [16:01:32.000] FileName: /user/username/projects/myproject/main/main.ts ProjectRootPath: undefined Info 25 [16:01:33.000] Projects: /user/username/projects/myproject/main/tsconfig.json +After request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -284,6 +286,7 @@ Info 26 [16:01:35.000] request: "file": "/user/username/projects/myproject/dependency/FnS.ts" } } +Before request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -356,6 +359,7 @@ Info 46 [16:02:02.000] FileName: /user/username/projects/myproject/main/main. Info 46 [16:02:03.000] Projects: /user/username/projects/myproject/main/tsconfig.json Info 46 [16:02:04.000] FileName: /user/username/projects/myproject/dependency/FnS.ts ProjectRootPath: undefined Info 46 [16:02:05.000] Projects: /user/username/projects/myproject/dependency/tsconfig.json +After request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -396,6 +400,7 @@ Info 47 [16:02:07.000] request: "file": "/user/username/projects/myproject/random/random.ts" } } +Before request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -475,6 +480,7 @@ Info 65 [16:02:37.000] FileName: /user/username/projects/myproject/dependency Info 65 [16:02:38.000] Projects: /user/username/projects/myproject/dependency/tsconfig.json Info 65 [16:02:39.000] FileName: /user/username/projects/myproject/random/random.ts ProjectRootPath: undefined Info 65 [16:02:40.000] Projects: /user/username/projects/myproject/random/tsconfig.json +After request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -523,6 +529,7 @@ Info 66 [16:02:42.000] request: "seq": 1, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -557,6 +564,7 @@ FsWatchesRecursive:: {} Info 67 [16:02:43.000] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls/FnS.d.ts.map 500 undefined WatchType: Closed Script info +After request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -640,6 +648,7 @@ Info 69 [16:02:45.000] request: "seq": 2, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -677,6 +686,7 @@ FsWatchesRecursive:: Info 70 [16:02:46.000] Search path: /user/username/projects/myproject/dependency Info 71 [16:02:47.000] For info: /user/username/projects/myproject/dependency/FnS.ts :: Config file name: /user/username/projects/myproject/dependency/tsconfig.json +After request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -810,6 +820,7 @@ Info 79 [16:02:58.000] request: "seq": 3, "type": "request" } +Before request //// [/user/username/projects/myproject/decls/FnS.d.ts] export declare function fn1(): void; export declare function fn2(): void; @@ -857,6 +868,7 @@ FsWatchesRecursive:: Info 80 [16:02:59.000] Starting updateGraphWorker: Project: /user/username/projects/myproject/main/tsconfig.json Info 81 [16:03:00.000] Finishing updateGraphWorker: Project: /user/username/projects/myproject/main/tsconfig.json Version: 2 structureChanged: false structureIsReused:: Completely Elapsed:: *ms Info 82 [16:03:01.000] Different program with same set of files +After request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -940,6 +952,7 @@ Info 84 [16:03:03.000] request: "seq": 4, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -975,6 +988,7 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +After request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -1058,6 +1072,7 @@ Info 86 [16:03:05.000] request: "seq": 5, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -1093,6 +1108,7 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +After request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -1176,6 +1192,7 @@ Info 88 [16:03:07.000] request: "seq": 6, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -1211,6 +1228,7 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +After request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -1294,6 +1312,7 @@ Info 90 [16:03:09.000] request: "seq": 7, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -1329,6 +1348,7 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +After request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -1412,6 +1432,7 @@ Info 92 [16:03:11.000] request: "seq": 8, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -1451,6 +1472,7 @@ Info 93 [16:03:12.000] Starting updateGraphWorker: Project: /user/username/pro Info 94 [16:03:13.000] Finishing updateGraphWorker: Project: /user/username/projects/myproject/dependency/tsconfig.json Version: 2 structureChanged: false structureIsReused:: Not Elapsed:: *ms Info 95 [16:03:14.000] Search path: /user/username/projects/myproject/dependency Info 96 [16:03:15.000] For info: /user/username/projects/myproject/dependency/FnS.ts :: Config file name: /user/username/projects/myproject/dependency/tsconfig.json +After request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -1578,6 +1600,7 @@ Info 98 [16:03:17.000] request: "seq": 9, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -1615,6 +1638,7 @@ FsWatchesRecursive:: Info 99 [16:03:18.000] Search path: /user/username/projects/myproject/dependency Info 100 [16:03:19.000] For info: /user/username/projects/myproject/dependency/FnS.ts :: Config file name: /user/username/projects/myproject/dependency/tsconfig.json +After request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -1742,6 +1766,7 @@ Info 102 [16:03:21.000] request: "seq": 10, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -1779,6 +1804,7 @@ FsWatchesRecursive:: Info 103 [16:03:22.000] Search path: /user/username/projects/myproject/dependency Info 104 [16:03:23.000] For info: /user/username/projects/myproject/dependency/FnS.ts :: Config file name: /user/username/projects/myproject/dependency/tsconfig.json +After request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -1906,6 +1932,7 @@ Info 106 [16:03:25.000] request: "seq": 11, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -1943,6 +1970,7 @@ FsWatchesRecursive:: Info 107 [16:03:26.000] Search path: /user/username/projects/myproject/dependency Info 108 [16:03:27.000] For info: /user/username/projects/myproject/dependency/FnS.ts :: Config file name: /user/username/projects/myproject/dependency/tsconfig.json +After request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -2070,6 +2098,7 @@ Info 110 [16:03:29.000] request: "seq": 12, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -2107,6 +2136,7 @@ FsWatchesRecursive:: Info 111 [16:03:30.000] Search path: /user/username/projects/myproject/dependency Info 112 [16:03:31.000] For info: /user/username/projects/myproject/dependency/FnS.ts :: Config file name: /user/username/projects/myproject/dependency/tsconfig.json +After request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configHasNoReference/dependency-dts-created.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configHasNoReference/dependency-dts-created.js index 6771d7d8a3dff..a7901bf80533d 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configHasNoReference/dependency-dts-created.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configHasNoReference/dependency-dts-created.js @@ -8,6 +8,7 @@ Info 1 [16:01:05.000] request: "file": "/user/username/projects/myproject/main/main.ts" } } +Before request //// [/user/username/projects/myproject/dependency/FnS.ts] export function fn1() { } export function fn2() { } @@ -238,6 +239,7 @@ Info 24 [16:01:30.000] ----------------------------------------------- Info 24 [16:01:31.000] Open files: Info 24 [16:01:32.000] FileName: /user/username/projects/myproject/main/main.ts ProjectRootPath: undefined Info 24 [16:01:33.000] Projects: /user/username/projects/myproject/main/tsconfig.json +After request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -270,6 +272,7 @@ Info 25 [16:01:35.000] request: "file": "/user/username/projects/myproject/dependency/FnS.ts" } } +Before request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -340,6 +343,7 @@ Info 45 [16:02:02.000] FileName: /user/username/projects/myproject/main/main. Info 45 [16:02:03.000] Projects: /user/username/projects/myproject/main/tsconfig.json Info 45 [16:02:04.000] FileName: /user/username/projects/myproject/dependency/FnS.ts ProjectRootPath: undefined Info 45 [16:02:05.000] Projects: /user/username/projects/myproject/dependency/tsconfig.json +After request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -378,6 +382,7 @@ Info 46 [16:02:07.000] request: "file": "/user/username/projects/myproject/random/random.ts" } } +Before request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -455,6 +460,7 @@ Info 64 [16:02:37.000] FileName: /user/username/projects/myproject/dependency Info 64 [16:02:38.000] Projects: /user/username/projects/myproject/dependency/tsconfig.json Info 64 [16:02:39.000] FileName: /user/username/projects/myproject/random/random.ts ProjectRootPath: undefined Info 64 [16:02:40.000] Projects: /user/username/projects/myproject/random/tsconfig.json +After request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -501,6 +507,7 @@ Info 65 [16:02:42.000] request: "seq": 1, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -532,6 +539,7 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +After request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -611,6 +619,7 @@ Info 67 [16:02:44.000] request: "seq": 2, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -643,6 +652,7 @@ FsWatchesRecursive:: {} Info 68 [16:02:45.000] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls/FnS.d.ts 2000 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Missing generated file +After request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -746,6 +756,7 @@ Info 81 [16:03:00.000] request: "seq": 3, "type": "request" } +Before request //// [/user/username/projects/myproject/decls/FnS.d.ts] export declare function fn1(): void; export declare function fn2(): void; @@ -807,6 +818,7 @@ Info 87 [16:03:06.000] Files (3) Info 88 [16:03:07.000] ----------------------------------------------- Info 89 [16:03:08.000] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls/FnS.d.ts.map 500 undefined WatchType: Closed Script info +After request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -890,6 +902,7 @@ Info 91 [16:03:10.000] request: "seq": 4, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -925,6 +938,7 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +After request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -1008,6 +1022,7 @@ Info 93 [16:03:12.000] request: "seq": 5, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -1043,6 +1058,7 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +After request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -1126,6 +1142,7 @@ Info 95 [16:03:14.000] request: "seq": 6, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -1161,6 +1178,7 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +After request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -1244,6 +1262,7 @@ Info 97 [16:03:16.000] request: "seq": 7, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -1279,6 +1298,7 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +After request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -1362,6 +1382,7 @@ Info 99 [16:03:18.000] request: "seq": 8, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -1401,6 +1422,7 @@ Info 100 [16:03:19.000] Starting updateGraphWorker: Project: /user/username/pro Info 101 [16:03:20.000] Finishing updateGraphWorker: Project: /user/username/projects/myproject/dependency/tsconfig.json Version: 2 structureChanged: false structureIsReused:: Not Elapsed:: *ms Info 102 [16:03:21.000] Search path: /user/username/projects/myproject/dependency Info 103 [16:03:22.000] For info: /user/username/projects/myproject/dependency/FnS.ts :: Config file name: /user/username/projects/myproject/dependency/tsconfig.json +After request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -1528,6 +1550,7 @@ Info 105 [16:03:24.000] request: "seq": 9, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -1565,6 +1588,7 @@ FsWatchesRecursive:: Info 106 [16:03:25.000] Search path: /user/username/projects/myproject/dependency Info 107 [16:03:26.000] For info: /user/username/projects/myproject/dependency/FnS.ts :: Config file name: /user/username/projects/myproject/dependency/tsconfig.json +After request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -1692,6 +1716,7 @@ Info 109 [16:03:28.000] request: "seq": 10, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -1729,6 +1754,7 @@ FsWatchesRecursive:: Info 110 [16:03:29.000] Search path: /user/username/projects/myproject/dependency Info 111 [16:03:30.000] For info: /user/username/projects/myproject/dependency/FnS.ts :: Config file name: /user/username/projects/myproject/dependency/tsconfig.json +After request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -1856,6 +1882,7 @@ Info 113 [16:03:32.000] request: "seq": 11, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -1893,6 +1920,7 @@ FsWatchesRecursive:: Info 114 [16:03:33.000] Search path: /user/username/projects/myproject/dependency Info 115 [16:03:34.000] For info: /user/username/projects/myproject/dependency/FnS.ts :: Config file name: /user/username/projects/myproject/dependency/tsconfig.json +After request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -2020,6 +2048,7 @@ Info 117 [16:03:36.000] request: "seq": 12, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -2057,6 +2086,7 @@ FsWatchesRecursive:: Info 118 [16:03:37.000] Search path: /user/username/projects/myproject/dependency Info 119 [16:03:38.000] For info: /user/username/projects/myproject/dependency/FnS.ts :: Config file name: /user/username/projects/myproject/dependency/tsconfig.json +After request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -2182,6 +2212,7 @@ Info 121 [16:03:40.000] request: "file": "/user/username/projects/myproject/random/random.ts" } } +Before request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -2235,6 +2266,7 @@ Info 123 [16:03:52.000] FileName: /user/username/projects/myproject/main/main. Info 123 [16:03:53.000] Projects: /user/username/projects/myproject/main/tsconfig.json Info 123 [16:03:54.000] FileName: /user/username/projects/myproject/dependency/FnS.ts ProjectRootPath: undefined Info 123 [16:03:55.000] Projects: /user/username/projects/myproject/dependency/tsconfig.json +After request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -2285,6 +2317,7 @@ Info 124 [16:03:57.000] request: "file": "/user/username/projects/myproject/random/random.ts" } } +Before request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -2344,6 +2377,7 @@ Info 128 [16:04:13.000] FileName: /user/username/projects/myproject/dependency Info 128 [16:04:14.000] Projects: /user/username/projects/myproject/dependency/tsconfig.json Info 128 [16:04:15.000] FileName: /user/username/projects/myproject/random/random.ts ProjectRootPath: undefined Info 128 [16:04:16.000] Projects: /user/username/projects/myproject/random/tsconfig.json +After request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -2392,6 +2426,7 @@ Info 129 [16:04:18.000] request: "file": "/user/username/projects/myproject/main/main.ts" } } +Before request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -2445,6 +2480,7 @@ Info 131 [16:04:30.000] FileName: /user/username/projects/myproject/dependency Info 131 [16:04:31.000] Projects: /user/username/projects/myproject/dependency/tsconfig.json Info 131 [16:04:32.000] FileName: /user/username/projects/myproject/random/random.ts ProjectRootPath: undefined Info 131 [16:04:33.000] Projects: /user/username/projects/myproject/random/tsconfig.json +After request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -2495,6 +2531,7 @@ Info 132 [16:04:35.000] request: "file": "/user/username/projects/myproject/dependency/FnS.ts" } } +Before request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -2548,6 +2585,7 @@ Info 134 [16:04:45.000] ----------------------------------------------- Info 134 [16:04:46.000] Open files: Info 134 [16:04:47.000] FileName: /user/username/projects/myproject/random/random.ts ProjectRootPath: undefined Info 134 [16:04:48.000] Projects: /user/username/projects/myproject/random/tsconfig.json +After request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -2600,6 +2638,7 @@ Info 135 [16:04:50.000] request: "file": "/user/username/projects/myproject/random/random.ts" } } +Before request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -2653,6 +2692,7 @@ Info 137 [16:04:59.000] Files (2) Info 137 [16:05:00.000] ----------------------------------------------- Info 137 [16:05:01.000] Open files: +After request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -2707,6 +2747,7 @@ Info 138 [16:05:03.000] request: "file": "/user/username/projects/myproject/random/random.ts" } } +Before request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -2808,6 +2849,7 @@ Info 171 [16:05:38.000] ----------------------------------------------- Info 171 [16:05:39.000] Open files: Info 171 [16:05:40.000] FileName: /user/username/projects/myproject/random/random.ts ProjectRootPath: undefined Info 171 [16:05:41.000] Projects: /user/username/projects/myproject/random/tsconfig.json +After request PolledWatches:: /user/username/projects/myproject/node_modules/@types: diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configHasNoReference/dependency-dts-deleted.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configHasNoReference/dependency-dts-deleted.js index b9b9077480489..38a371e5e94c3 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configHasNoReference/dependency-dts-deleted.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configHasNoReference/dependency-dts-deleted.js @@ -8,6 +8,7 @@ Info 1 [16:01:04.000] request: "file": "/user/username/projects/myproject/main/main.ts" } } +Before request //// [/user/username/projects/myproject/dependency/FnS.ts] export function fn1() { } export function fn2() { } @@ -250,6 +251,7 @@ Info 25 [16:01:30.000] ----------------------------------------------- Info 25 [16:01:31.000] Open files: Info 25 [16:01:32.000] FileName: /user/username/projects/myproject/main/main.ts ProjectRootPath: undefined Info 25 [16:01:33.000] Projects: /user/username/projects/myproject/main/tsconfig.json +After request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -284,6 +286,7 @@ Info 26 [16:01:35.000] request: "file": "/user/username/projects/myproject/dependency/FnS.ts" } } +Before request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -356,6 +359,7 @@ Info 46 [16:02:02.000] FileName: /user/username/projects/myproject/main/main. Info 46 [16:02:03.000] Projects: /user/username/projects/myproject/main/tsconfig.json Info 46 [16:02:04.000] FileName: /user/username/projects/myproject/dependency/FnS.ts ProjectRootPath: undefined Info 46 [16:02:05.000] Projects: /user/username/projects/myproject/dependency/tsconfig.json +After request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -396,6 +400,7 @@ Info 47 [16:02:07.000] request: "file": "/user/username/projects/myproject/random/random.ts" } } +Before request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -475,6 +480,7 @@ Info 65 [16:02:37.000] FileName: /user/username/projects/myproject/dependency Info 65 [16:02:38.000] Projects: /user/username/projects/myproject/dependency/tsconfig.json Info 65 [16:02:39.000] FileName: /user/username/projects/myproject/random/random.ts ProjectRootPath: undefined Info 65 [16:02:40.000] Projects: /user/username/projects/myproject/random/tsconfig.json +After request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -523,6 +529,7 @@ Info 66 [16:02:42.000] request: "seq": 1, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -557,6 +564,7 @@ FsWatchesRecursive:: {} Info 67 [16:02:43.000] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls/FnS.d.ts.map 500 undefined WatchType: Closed Script info +After request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -640,6 +648,7 @@ Info 69 [16:02:45.000] request: "seq": 2, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -677,6 +686,7 @@ FsWatchesRecursive:: Info 70 [16:02:46.000] Search path: /user/username/projects/myproject/dependency Info 71 [16:02:47.000] For info: /user/username/projects/myproject/dependency/FnS.ts :: Config file name: /user/username/projects/myproject/dependency/tsconfig.json +After request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -814,6 +824,7 @@ Info 83 [16:03:00.000] request: "seq": 3, "type": "request" } +Before request //// [/user/username/projects/myproject/decls/FnS.d.ts] deleted PolledWatches:: @@ -862,6 +873,7 @@ Info 87 [16:03:04.000] Files (2) Matched by default include pattern '**/*' Info 88 [16:03:05.000] ----------------------------------------------- +After request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -943,6 +955,7 @@ Info 90 [16:03:07.000] request: "seq": 4, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -976,6 +989,7 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +After request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -1057,6 +1071,7 @@ Info 92 [16:03:09.000] request: "seq": 5, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -1090,6 +1105,7 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +After request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -1171,6 +1187,7 @@ Info 94 [16:03:11.000] request: "seq": 6, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -1204,6 +1221,7 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +After request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -1285,6 +1303,7 @@ Info 96 [16:03:13.000] request: "seq": 7, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -1318,6 +1337,7 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +After request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -1399,6 +1419,7 @@ Info 98 [16:03:15.000] request: "seq": 8, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -1435,6 +1456,7 @@ FsWatchesRecursive:: Info 99 [16:03:16.000] Starting updateGraphWorker: Project: /user/username/projects/myproject/dependency/tsconfig.json Info 100 [16:03:17.000] Finishing updateGraphWorker: Project: /user/username/projects/myproject/dependency/tsconfig.json Version: 2 structureChanged: false structureIsReused:: Not Elapsed:: *ms Info 101 [16:03:18.000] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls/FnS.d.ts 2000 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Missing generated file +After request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -1529,6 +1551,7 @@ Info 103 [16:03:20.000] request: "seq": 9, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -1564,6 +1587,7 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +After request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -1658,6 +1682,7 @@ Info 105 [16:03:22.000] request: "seq": 10, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -1693,6 +1718,7 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +After request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -1787,6 +1813,7 @@ Info 107 [16:03:24.000] request: "seq": 11, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -1822,6 +1849,7 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +After request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -1916,6 +1944,7 @@ Info 109 [16:03:26.000] request: "seq": 12, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -1951,6 +1980,7 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +After request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -2043,6 +2073,7 @@ Info 111 [16:03:28.000] request: "file": "/user/username/projects/myproject/random/random.ts" } } +Before request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -2096,6 +2127,7 @@ Info 113 [16:03:40.000] FileName: /user/username/projects/myproject/main/main. Info 113 [16:03:41.000] Projects: /user/username/projects/myproject/main/tsconfig.json Info 113 [16:03:42.000] FileName: /user/username/projects/myproject/dependency/FnS.ts ProjectRootPath: undefined Info 113 [16:03:43.000] Projects: /user/username/projects/myproject/dependency/tsconfig.json +After request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -2146,6 +2178,7 @@ Info 114 [16:03:45.000] request: "file": "/user/username/projects/myproject/random/random.ts" } } +Before request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -2206,6 +2239,7 @@ Info 119 [16:04:02.000] FileName: /user/username/projects/myproject/dependency Info 119 [16:04:03.000] Projects: /user/username/projects/myproject/dependency/tsconfig.json Info 119 [16:04:04.000] FileName: /user/username/projects/myproject/random/random.ts ProjectRootPath: undefined Info 119 [16:04:05.000] Projects: /user/username/projects/myproject/random/tsconfig.json +After request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -2252,6 +2286,7 @@ Info 120 [16:04:07.000] request: "file": "/user/username/projects/myproject/main/main.ts" } } +Before request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -2303,6 +2338,7 @@ Info 122 [16:04:19.000] FileName: /user/username/projects/myproject/dependency Info 122 [16:04:20.000] Projects: /user/username/projects/myproject/dependency/tsconfig.json Info 122 [16:04:21.000] FileName: /user/username/projects/myproject/random/random.ts ProjectRootPath: undefined Info 122 [16:04:22.000] Projects: /user/username/projects/myproject/random/tsconfig.json +After request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -2351,6 +2387,7 @@ Info 123 [16:04:24.000] request: "file": "/user/username/projects/myproject/dependency/FnS.ts" } } +Before request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -2402,6 +2439,7 @@ Info 125 [16:04:34.000] ----------------------------------------------- Info 125 [16:04:35.000] Open files: Info 125 [16:04:36.000] FileName: /user/username/projects/myproject/random/random.ts ProjectRootPath: undefined Info 125 [16:04:37.000] Projects: /user/username/projects/myproject/random/tsconfig.json +After request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -2452,6 +2490,7 @@ Info 126 [16:04:39.000] request: "file": "/user/username/projects/myproject/random/random.ts" } } +Before request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -2503,6 +2542,7 @@ Info 128 [16:04:48.000] Files (2) Info 128 [16:04:49.000] ----------------------------------------------- Info 128 [16:04:50.000] Open files: +After request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -2555,6 +2595,7 @@ Info 129 [16:04:52.000] request: "file": "/user/username/projects/myproject/random/random.ts" } } +Before request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -2649,6 +2690,7 @@ Info 160 [16:05:25.000] ----------------------------------------------- Info 160 [16:05:26.000] Open files: Info 160 [16:05:27.000] FileName: /user/username/projects/myproject/random/random.ts ProjectRootPath: undefined Info 160 [16:05:28.000] Projects: /user/username/projects/myproject/random/tsconfig.json +After request PolledWatches:: /user/username/projects/myproject/node_modules/@types: diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configHasNoReference/dependency-dts-not-present.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configHasNoReference/dependency-dts-not-present.js index 909b59225f364..b0380dd6b5303 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configHasNoReference/dependency-dts-not-present.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configHasNoReference/dependency-dts-not-present.js @@ -8,6 +8,7 @@ Info 1 [16:01:05.000] request: "file": "/user/username/projects/myproject/main/main.ts" } } +Before request //// [/user/username/projects/myproject/dependency/FnS.ts] export function fn1() { } export function fn2() { } @@ -238,6 +239,7 @@ Info 24 [16:01:30.000] ----------------------------------------------- Info 24 [16:01:31.000] Open files: Info 24 [16:01:32.000] FileName: /user/username/projects/myproject/main/main.ts ProjectRootPath: undefined Info 24 [16:01:33.000] Projects: /user/username/projects/myproject/main/tsconfig.json +After request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -270,6 +272,7 @@ Info 25 [16:01:35.000] request: "file": "/user/username/projects/myproject/dependency/FnS.ts" } } +Before request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -340,6 +343,7 @@ Info 45 [16:02:02.000] FileName: /user/username/projects/myproject/main/main. Info 45 [16:02:03.000] Projects: /user/username/projects/myproject/main/tsconfig.json Info 45 [16:02:04.000] FileName: /user/username/projects/myproject/dependency/FnS.ts ProjectRootPath: undefined Info 45 [16:02:05.000] Projects: /user/username/projects/myproject/dependency/tsconfig.json +After request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -378,6 +382,7 @@ Info 46 [16:02:07.000] request: "file": "/user/username/projects/myproject/random/random.ts" } } +Before request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -455,6 +460,7 @@ Info 64 [16:02:37.000] FileName: /user/username/projects/myproject/dependency Info 64 [16:02:38.000] Projects: /user/username/projects/myproject/dependency/tsconfig.json Info 64 [16:02:39.000] FileName: /user/username/projects/myproject/random/random.ts ProjectRootPath: undefined Info 64 [16:02:40.000] Projects: /user/username/projects/myproject/random/tsconfig.json +After request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -501,6 +507,7 @@ Info 65 [16:02:42.000] request: "seq": 1, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -532,6 +539,7 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +After request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -611,6 +619,7 @@ Info 67 [16:02:44.000] request: "seq": 2, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -642,6 +651,7 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +After request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -721,6 +731,7 @@ Info 69 [16:02:46.000] request: "seq": 3, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -752,6 +763,7 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +After request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -831,6 +843,7 @@ Info 71 [16:02:48.000] request: "seq": 4, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -862,6 +875,7 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +After request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -941,6 +955,7 @@ Info 73 [16:02:50.000] request: "seq": 5, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -972,6 +987,7 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +After request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -1051,6 +1067,7 @@ Info 75 [16:02:52.000] request: "seq": 6, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -1083,6 +1100,7 @@ FsWatchesRecursive:: {} Info 76 [16:02:53.000] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls/FnS.d.ts 2000 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Missing generated file +After request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -1175,6 +1193,7 @@ Info 78 [16:02:55.000] request: "seq": 7, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -1208,6 +1227,7 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +After request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -1300,6 +1320,7 @@ Info 80 [16:02:57.000] request: "seq": 8, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -1333,6 +1354,7 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +After request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -1425,6 +1447,7 @@ Info 82 [16:02:59.000] request: "seq": 9, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -1458,6 +1481,7 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +After request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -1550,6 +1574,7 @@ Info 84 [16:03:01.000] request: "seq": 10, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -1583,6 +1608,7 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +After request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -1673,6 +1699,7 @@ Info 86 [16:03:03.000] request: "file": "/user/username/projects/myproject/random/random.ts" } } +Before request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -1724,6 +1751,7 @@ Info 88 [16:03:15.000] FileName: /user/username/projects/myproject/main/main. Info 88 [16:03:16.000] Projects: /user/username/projects/myproject/main/tsconfig.json Info 88 [16:03:17.000] FileName: /user/username/projects/myproject/dependency/FnS.ts ProjectRootPath: undefined Info 88 [16:03:18.000] Projects: /user/username/projects/myproject/dependency/tsconfig.json +After request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -1772,6 +1800,7 @@ Info 89 [16:03:20.000] request: "file": "/user/username/projects/myproject/random/random.ts" } } +Before request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -1829,6 +1858,7 @@ Info 93 [16:03:36.000] FileName: /user/username/projects/myproject/dependency Info 93 [16:03:37.000] Projects: /user/username/projects/myproject/dependency/tsconfig.json Info 93 [16:03:38.000] FileName: /user/username/projects/myproject/random/random.ts ProjectRootPath: undefined Info 93 [16:03:39.000] Projects: /user/username/projects/myproject/random/tsconfig.json +After request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -1875,6 +1905,7 @@ Info 94 [16:03:41.000] request: "file": "/user/username/projects/myproject/main/main.ts" } } +Before request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -1926,6 +1957,7 @@ Info 96 [16:03:53.000] FileName: /user/username/projects/myproject/dependency Info 96 [16:03:54.000] Projects: /user/username/projects/myproject/dependency/tsconfig.json Info 96 [16:03:55.000] FileName: /user/username/projects/myproject/random/random.ts ProjectRootPath: undefined Info 96 [16:03:56.000] Projects: /user/username/projects/myproject/random/tsconfig.json +After request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -1974,6 +2006,7 @@ Info 97 [16:03:58.000] request: "file": "/user/username/projects/myproject/dependency/FnS.ts" } } +Before request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -2025,6 +2058,7 @@ Info 99 [16:04:08.000] ----------------------------------------------- Info 99 [16:04:09.000] Open files: Info 99 [16:04:10.000] FileName: /user/username/projects/myproject/random/random.ts ProjectRootPath: undefined Info 99 [16:04:11.000] Projects: /user/username/projects/myproject/random/tsconfig.json +After request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -2075,6 +2109,7 @@ Info 100 [16:04:13.000] request: "file": "/user/username/projects/myproject/random/random.ts" } } +Before request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -2126,6 +2161,7 @@ Info 102 [16:04:22.000] Files (2) Info 102 [16:04:23.000] ----------------------------------------------- Info 102 [16:04:24.000] Open files: +After request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -2178,6 +2214,7 @@ Info 103 [16:04:26.000] request: "file": "/user/username/projects/myproject/random/random.ts" } } +Before request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -2272,6 +2309,7 @@ Info 134 [16:04:59.000] ----------------------------------------------- Info 134 [16:05:00.000] Open files: Info 134 [16:05:01.000] FileName: /user/username/projects/myproject/random/random.ts ProjectRootPath: undefined Info 134 [16:05:02.000] Projects: /user/username/projects/myproject/random/tsconfig.json +After request PolledWatches:: /user/username/projects/myproject/node_modules/@types: diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configHasNoReference/dependency-dtsMap-changes-with-timeout-before-request.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configHasNoReference/dependency-dtsMap-changes-with-timeout-before-request.js index 88af00853f469..038e5129842f7 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configHasNoReference/dependency-dtsMap-changes-with-timeout-before-request.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configHasNoReference/dependency-dtsMap-changes-with-timeout-before-request.js @@ -8,6 +8,7 @@ Info 1 [16:01:04.000] request: "file": "/user/username/projects/myproject/main/main.ts" } } +Before request //// [/user/username/projects/myproject/dependency/FnS.ts] export function fn1() { } export function fn2() { } @@ -250,6 +251,7 @@ Info 25 [16:01:30.000] ----------------------------------------------- Info 25 [16:01:31.000] Open files: Info 25 [16:01:32.000] FileName: /user/username/projects/myproject/main/main.ts ProjectRootPath: undefined Info 25 [16:01:33.000] Projects: /user/username/projects/myproject/main/tsconfig.json +After request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -284,6 +286,7 @@ Info 26 [16:01:35.000] request: "file": "/user/username/projects/myproject/dependency/FnS.ts" } } +Before request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -356,6 +359,7 @@ Info 46 [16:02:02.000] FileName: /user/username/projects/myproject/main/main. Info 46 [16:02:03.000] Projects: /user/username/projects/myproject/main/tsconfig.json Info 46 [16:02:04.000] FileName: /user/username/projects/myproject/dependency/FnS.ts ProjectRootPath: undefined Info 46 [16:02:05.000] Projects: /user/username/projects/myproject/dependency/tsconfig.json +After request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -396,6 +400,7 @@ Info 47 [16:02:07.000] request: "file": "/user/username/projects/myproject/random/random.ts" } } +Before request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -475,6 +480,7 @@ Info 65 [16:02:37.000] FileName: /user/username/projects/myproject/dependency Info 65 [16:02:38.000] Projects: /user/username/projects/myproject/dependency/tsconfig.json Info 65 [16:02:39.000] FileName: /user/username/projects/myproject/random/random.ts ProjectRootPath: undefined Info 65 [16:02:40.000] Projects: /user/username/projects/myproject/random/tsconfig.json +After request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -523,6 +529,7 @@ Info 66 [16:02:42.000] request: "seq": 1, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -557,6 +564,7 @@ FsWatchesRecursive:: {} Info 67 [16:02:43.000] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls/FnS.d.ts.map 500 undefined WatchType: Closed Script info +After request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -640,6 +648,7 @@ Info 69 [16:02:45.000] request: "seq": 2, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -677,6 +686,7 @@ FsWatchesRecursive:: Info 70 [16:02:46.000] Search path: /user/username/projects/myproject/dependency Info 71 [16:02:47.000] For info: /user/username/projects/myproject/dependency/FnS.ts :: Config file name: /user/username/projects/myproject/dependency/tsconfig.json +After request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -799,6 +809,45 @@ Info 75 [16:02:54.000] Scheduled: *ensureProjectForOpenFiles* Info 76 [16:02:55.000] Scheduled: /user/username/projects/myproject/main/tsconfig.json Info 77 [16:02:56.000] Scheduled: *ensureProjectForOpenFiles*, Cancelled earlier one Info 78 [16:02:57.000] Elapsed:: *ms FileWatcher:: Triggered with /user/username/projects/myproject/decls/FnS.d.ts.map 1:: WatchInfo: /user/username/projects/myproject/decls/FnS.d.ts.map 500 undefined WatchType: Closed Script info +Before running timeout callbacks +//// [/user/username/projects/myproject/decls/FnS.d.ts.map] +{"version":3,"file":"FnS.d.ts","sourceRoot":"","sources":["../dependency/FnS.ts"],"names":[],"mappings":"AAAA,wBAAgB,GAAG,SAAM;AACzB,wBAAgB,GAAG,SAAM;AACzB,wBAAgB,GAAG,SAAM;AACzB,wBAAgB,GAAG,SAAM;AACzB,wBAAgB,GAAG,SAAM;AACzB,eAAO,MAAM,CAAC,KAAK,CAAC"} + + +PolledWatches:: +/user/username/projects/myproject/main/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/myproject/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/myproject/dependency/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/myproject/random/node_modules/@types: + {"pollingInterval":500} + +FsWatches:: +/user/username/projects/myproject/main/tsconfig.json: + {} +/user/username/projects/myproject/decls/fns.d.ts: + {} +/a/lib/lib.d.ts: + {} +/user/username/projects/myproject/dependency/tsconfig.json: + {} +/user/username/projects/myproject/random/tsconfig.json: + {} +/user/username/projects/myproject/decls/fns.d.ts.map: + {} + +FsWatchesRecursive:: +/user/username/projects/myproject/main: + {} +/user/username/projects/myproject/decls: + {} +/user/username/projects/myproject/dependency: + {} +/user/username/projects/myproject/random: + {} + Info 79 [16:02:58.000] Running: /user/username/projects/myproject/dependency/tsconfig.json Info 80 [16:02:59.000] Starting updateGraphWorker: Project: /user/username/projects/myproject/dependency/tsconfig.json Info 81 [16:03:00.000] Finishing updateGraphWorker: Project: /user/username/projects/myproject/dependency/tsconfig.json Version: 2 structureChanged: false structureIsReused:: Not Elapsed:: *ms @@ -846,6 +895,42 @@ Info 88 [16:03:35.000] FileName: /user/username/projects/myproject/dependency Info 88 [16:03:36.000] Projects: /user/username/projects/myproject/dependency/tsconfig.json Info 88 [16:03:37.000] FileName: /user/username/projects/myproject/random/random.ts ProjectRootPath: undefined Info 88 [16:03:38.000] Projects: /user/username/projects/myproject/random/tsconfig.json +After running timeout callbacks + +PolledWatches:: +/user/username/projects/myproject/main/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/myproject/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/myproject/dependency/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/myproject/random/node_modules/@types: + {"pollingInterval":500} + +FsWatches:: +/user/username/projects/myproject/main/tsconfig.json: + {} +/user/username/projects/myproject/decls/fns.d.ts: + {} +/a/lib/lib.d.ts: + {} +/user/username/projects/myproject/dependency/tsconfig.json: + {} +/user/username/projects/myproject/random/tsconfig.json: + {} +/user/username/projects/myproject/decls/fns.d.ts.map: + {} + +FsWatchesRecursive:: +/user/username/projects/myproject/main: + {} +/user/username/projects/myproject/decls: + {} +/user/username/projects/myproject/dependency: + {} +/user/username/projects/myproject/random: + {} + Info 88 [16:03:39.000] request: { "command": "definitionAndBoundSpan", @@ -857,9 +942,7 @@ Info 88 [16:03:39.000] request: "seq": 3, "type": "request" } -//// [/user/username/projects/myproject/decls/FnS.d.ts.map] -{"version":3,"file":"FnS.d.ts","sourceRoot":"","sources":["../dependency/FnS.ts"],"names":[],"mappings":"AAAA,wBAAgB,GAAG,SAAM;AACzB,wBAAgB,GAAG,SAAM;AACzB,wBAAgB,GAAG,SAAM;AACzB,wBAAgB,GAAG,SAAM;AACzB,wBAAgB,GAAG,SAAM;AACzB,eAAO,MAAM,CAAC,KAAK,CAAC"} - +Before request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -895,6 +978,7 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +After request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -978,6 +1062,7 @@ Info 90 [16:03:41.000] request: "seq": 4, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -1013,6 +1098,7 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +After request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -1096,6 +1182,7 @@ Info 92 [16:03:43.000] request: "seq": 5, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -1131,6 +1218,7 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +After request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -1214,6 +1302,7 @@ Info 94 [16:03:45.000] request: "seq": 6, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -1249,6 +1338,7 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +After request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -1332,6 +1422,7 @@ Info 96 [16:03:47.000] request: "seq": 7, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -1367,6 +1458,7 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +After request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -1450,6 +1542,7 @@ Info 98 [16:03:49.000] request: "seq": 8, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -1487,6 +1580,7 @@ FsWatchesRecursive:: Info 99 [16:03:50.000] Search path: /user/username/projects/myproject/dependency Info 100 [16:03:51.000] For info: /user/username/projects/myproject/dependency/FnS.ts :: Config file name: /user/username/projects/myproject/dependency/tsconfig.json +After request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -1614,6 +1708,7 @@ Info 102 [16:03:53.000] request: "seq": 9, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -1651,6 +1746,7 @@ FsWatchesRecursive:: Info 103 [16:03:54.000] Search path: /user/username/projects/myproject/dependency Info 104 [16:03:55.000] For info: /user/username/projects/myproject/dependency/FnS.ts :: Config file name: /user/username/projects/myproject/dependency/tsconfig.json +After request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -1778,6 +1874,7 @@ Info 106 [16:03:57.000] request: "seq": 10, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -1815,6 +1912,7 @@ FsWatchesRecursive:: Info 107 [16:03:58.000] Search path: /user/username/projects/myproject/dependency Info 108 [16:03:59.000] For info: /user/username/projects/myproject/dependency/FnS.ts :: Config file name: /user/username/projects/myproject/dependency/tsconfig.json +After request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -1942,6 +2040,7 @@ Info 110 [16:04:01.000] request: "seq": 11, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -1979,6 +2078,7 @@ FsWatchesRecursive:: Info 111 [16:04:02.000] Search path: /user/username/projects/myproject/dependency Info 112 [16:04:03.000] For info: /user/username/projects/myproject/dependency/FnS.ts :: Config file name: /user/username/projects/myproject/dependency/tsconfig.json +After request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -2106,6 +2206,7 @@ Info 114 [16:04:05.000] request: "seq": 12, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -2143,6 +2244,7 @@ FsWatchesRecursive:: Info 115 [16:04:06.000] Search path: /user/username/projects/myproject/dependency Info 116 [16:04:07.000] For info: /user/username/projects/myproject/dependency/FnS.ts :: Config file name: /user/username/projects/myproject/dependency/tsconfig.json +After request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configHasNoReference/dependency-dtsMap-changes.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configHasNoReference/dependency-dtsMap-changes.js index 69dac573a8f3c..6372b4f20102e 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configHasNoReference/dependency-dtsMap-changes.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configHasNoReference/dependency-dtsMap-changes.js @@ -8,6 +8,7 @@ Info 1 [16:01:04.000] request: "file": "/user/username/projects/myproject/main/main.ts" } } +Before request //// [/user/username/projects/myproject/dependency/FnS.ts] export function fn1() { } export function fn2() { } @@ -250,6 +251,7 @@ Info 25 [16:01:30.000] ----------------------------------------------- Info 25 [16:01:31.000] Open files: Info 25 [16:01:32.000] FileName: /user/username/projects/myproject/main/main.ts ProjectRootPath: undefined Info 25 [16:01:33.000] Projects: /user/username/projects/myproject/main/tsconfig.json +After request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -284,6 +286,7 @@ Info 26 [16:01:35.000] request: "file": "/user/username/projects/myproject/dependency/FnS.ts" } } +Before request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -356,6 +359,7 @@ Info 46 [16:02:02.000] FileName: /user/username/projects/myproject/main/main. Info 46 [16:02:03.000] Projects: /user/username/projects/myproject/main/tsconfig.json Info 46 [16:02:04.000] FileName: /user/username/projects/myproject/dependency/FnS.ts ProjectRootPath: undefined Info 46 [16:02:05.000] Projects: /user/username/projects/myproject/dependency/tsconfig.json +After request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -396,6 +400,7 @@ Info 47 [16:02:07.000] request: "file": "/user/username/projects/myproject/random/random.ts" } } +Before request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -475,6 +480,7 @@ Info 65 [16:02:37.000] FileName: /user/username/projects/myproject/dependency Info 65 [16:02:38.000] Projects: /user/username/projects/myproject/dependency/tsconfig.json Info 65 [16:02:39.000] FileName: /user/username/projects/myproject/random/random.ts ProjectRootPath: undefined Info 65 [16:02:40.000] Projects: /user/username/projects/myproject/random/tsconfig.json +After request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -523,6 +529,7 @@ Info 66 [16:02:42.000] request: "seq": 1, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -557,6 +564,7 @@ FsWatchesRecursive:: {} Info 67 [16:02:43.000] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls/FnS.d.ts.map 500 undefined WatchType: Closed Script info +After request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -640,6 +648,7 @@ Info 69 [16:02:45.000] request: "seq": 2, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -677,6 +686,7 @@ FsWatchesRecursive:: Info 70 [16:02:46.000] Search path: /user/username/projects/myproject/dependency Info 71 [16:02:47.000] For info: /user/username/projects/myproject/dependency/FnS.ts :: Config file name: /user/username/projects/myproject/dependency/tsconfig.json +After request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -810,6 +820,7 @@ Info 79 [16:02:58.000] request: "seq": 3, "type": "request" } +Before request //// [/user/username/projects/myproject/decls/FnS.d.ts.map] {"version":3,"file":"FnS.d.ts","sourceRoot":"","sources":["../dependency/FnS.ts"],"names":[],"mappings":"AAAA,wBAAgB,GAAG,SAAM;AACzB,wBAAgB,GAAG,SAAM;AACzB,wBAAgB,GAAG,SAAM;AACzB,wBAAgB,GAAG,SAAM;AACzB,wBAAgB,GAAG,SAAM;AACzB,eAAO,MAAM,CAAC,KAAK,CAAC"} @@ -850,6 +861,7 @@ FsWatchesRecursive:: Info 80 [16:02:59.000] Starting updateGraphWorker: Project: /user/username/projects/myproject/main/tsconfig.json Info 81 [16:03:00.000] Finishing updateGraphWorker: Project: /user/username/projects/myproject/main/tsconfig.json Version: 2 structureChanged: false structureIsReused:: Not Elapsed:: *ms +After request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -933,6 +945,7 @@ Info 83 [16:03:02.000] request: "seq": 4, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -968,6 +981,7 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +After request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -1051,6 +1065,7 @@ Info 85 [16:03:04.000] request: "seq": 5, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -1086,6 +1101,7 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +After request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -1169,6 +1185,7 @@ Info 87 [16:03:06.000] request: "seq": 6, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -1204,6 +1221,7 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +After request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -1287,6 +1305,7 @@ Info 89 [16:03:08.000] request: "seq": 7, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -1322,6 +1341,7 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +After request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -1405,6 +1425,7 @@ Info 91 [16:03:10.000] request: "seq": 8, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -1444,6 +1465,7 @@ Info 92 [16:03:11.000] Starting updateGraphWorker: Project: /user/username/pro Info 93 [16:03:12.000] Finishing updateGraphWorker: Project: /user/username/projects/myproject/dependency/tsconfig.json Version: 2 structureChanged: false structureIsReused:: Not Elapsed:: *ms Info 94 [16:03:13.000] Search path: /user/username/projects/myproject/dependency Info 95 [16:03:14.000] For info: /user/username/projects/myproject/dependency/FnS.ts :: Config file name: /user/username/projects/myproject/dependency/tsconfig.json +After request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -1571,6 +1593,7 @@ Info 97 [16:03:16.000] request: "seq": 9, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -1608,6 +1631,7 @@ FsWatchesRecursive:: Info 98 [16:03:17.000] Search path: /user/username/projects/myproject/dependency Info 99 [16:03:18.000] For info: /user/username/projects/myproject/dependency/FnS.ts :: Config file name: /user/username/projects/myproject/dependency/tsconfig.json +After request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -1735,6 +1759,7 @@ Info 101 [16:03:20.000] request: "seq": 10, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -1772,6 +1797,7 @@ FsWatchesRecursive:: Info 102 [16:03:21.000] Search path: /user/username/projects/myproject/dependency Info 103 [16:03:22.000] For info: /user/username/projects/myproject/dependency/FnS.ts :: Config file name: /user/username/projects/myproject/dependency/tsconfig.json +After request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -1899,6 +1925,7 @@ Info 105 [16:03:24.000] request: "seq": 11, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -1936,6 +1963,7 @@ FsWatchesRecursive:: Info 106 [16:03:25.000] Search path: /user/username/projects/myproject/dependency Info 107 [16:03:26.000] For info: /user/username/projects/myproject/dependency/FnS.ts :: Config file name: /user/username/projects/myproject/dependency/tsconfig.json +After request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -2063,6 +2091,7 @@ Info 109 [16:03:28.000] request: "seq": 12, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -2100,6 +2129,7 @@ FsWatchesRecursive:: Info 110 [16:03:29.000] Search path: /user/username/projects/myproject/dependency Info 111 [16:03:30.000] For info: /user/username/projects/myproject/dependency/FnS.ts :: Config file name: /user/username/projects/myproject/dependency/tsconfig.json +After request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configHasNoReference/dependency-dtsMap-created.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configHasNoReference/dependency-dtsMap-created.js index 9652103a80f52..cd65f44aa5e64 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configHasNoReference/dependency-dtsMap-created.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configHasNoReference/dependency-dtsMap-created.js @@ -8,6 +8,7 @@ Info 1 [16:01:05.000] request: "file": "/user/username/projects/myproject/main/main.ts" } } +Before request //// [/user/username/projects/myproject/dependency/FnS.ts] export function fn1() { } export function fn2() { } @@ -247,6 +248,7 @@ Info 25 [16:01:31.000] ----------------------------------------------- Info 25 [16:01:32.000] Open files: Info 25 [16:01:33.000] FileName: /user/username/projects/myproject/main/main.ts ProjectRootPath: undefined Info 25 [16:01:34.000] Projects: /user/username/projects/myproject/main/tsconfig.json +After request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -281,6 +283,7 @@ Info 26 [16:01:36.000] request: "file": "/user/username/projects/myproject/dependency/FnS.ts" } } +Before request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -353,6 +356,7 @@ Info 46 [16:02:03.000] FileName: /user/username/projects/myproject/main/main. Info 46 [16:02:04.000] Projects: /user/username/projects/myproject/main/tsconfig.json Info 46 [16:02:05.000] FileName: /user/username/projects/myproject/dependency/FnS.ts ProjectRootPath: undefined Info 46 [16:02:06.000] Projects: /user/username/projects/myproject/dependency/tsconfig.json +After request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -393,6 +397,7 @@ Info 47 [16:02:08.000] request: "file": "/user/username/projects/myproject/random/random.ts" } } +Before request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -472,6 +477,7 @@ Info 65 [16:02:38.000] FileName: /user/username/projects/myproject/dependency Info 65 [16:02:39.000] Projects: /user/username/projects/myproject/dependency/tsconfig.json Info 65 [16:02:40.000] FileName: /user/username/projects/myproject/random/random.ts ProjectRootPath: undefined Info 65 [16:02:41.000] Projects: /user/username/projects/myproject/random/tsconfig.json +After request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -520,6 +526,7 @@ Info 66 [16:02:43.000] request: "seq": 1, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -554,6 +561,7 @@ FsWatchesRecursive:: {} Info 67 [16:02:44.000] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls/FnS.d.ts.map 2000 undefined WatchType: Missing source map file +After request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -637,6 +645,7 @@ Info 69 [16:02:46.000] request: "seq": 2, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -672,6 +681,7 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +After request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -775,6 +785,7 @@ Info 80 [16:02:59.000] request: "seq": 3, "type": "request" } +Before request //// [/user/username/projects/myproject/decls/FnS.d.ts.map] {"version":3,"file":"FnS.d.ts","sourceRoot":"","sources":["../dependency/FnS.ts"],"names":[],"mappings":"AAAA,wBAAgB,GAAG,SAAM;AACzB,wBAAgB,GAAG,SAAM;AACzB,wBAAgB,GAAG,SAAM;AACzB,wBAAgB,GAAG,SAAM;AACzB,wBAAgB,GAAG,SAAM"} @@ -814,6 +825,7 @@ FsWatchesRecursive:: Info 81 [16:03:00.000] Starting updateGraphWorker: Project: /user/username/projects/myproject/main/tsconfig.json Info 82 [16:03:01.000] Finishing updateGraphWorker: Project: /user/username/projects/myproject/main/tsconfig.json Version: 2 structureChanged: false structureIsReused:: Not Elapsed:: *ms Info 83 [16:03:02.000] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls/FnS.d.ts.map 500 undefined WatchType: Closed Script info +After request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -897,6 +909,7 @@ Info 85 [16:03:04.000] request: "seq": 4, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -932,6 +945,7 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +After request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -1015,6 +1029,7 @@ Info 87 [16:03:06.000] request: "seq": 5, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -1050,6 +1065,7 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +After request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -1133,6 +1149,7 @@ Info 89 [16:03:08.000] request: "seq": 6, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -1168,6 +1185,7 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +After request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -1251,6 +1269,7 @@ Info 91 [16:03:10.000] request: "seq": 7, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -1286,6 +1305,7 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +After request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -1369,6 +1389,7 @@ Info 93 [16:03:12.000] request: "seq": 8, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -1408,6 +1429,7 @@ Info 94 [16:03:13.000] Starting updateGraphWorker: Project: /user/username/pro Info 95 [16:03:14.000] Finishing updateGraphWorker: Project: /user/username/projects/myproject/dependency/tsconfig.json Version: 2 structureChanged: false structureIsReused:: Not Elapsed:: *ms Info 96 [16:03:15.000] Search path: /user/username/projects/myproject/dependency Info 97 [16:03:16.000] For info: /user/username/projects/myproject/dependency/FnS.ts :: Config file name: /user/username/projects/myproject/dependency/tsconfig.json +After request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -1535,6 +1557,7 @@ Info 99 [16:03:18.000] request: "seq": 9, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -1572,6 +1595,7 @@ FsWatchesRecursive:: Info 100 [16:03:19.000] Search path: /user/username/projects/myproject/dependency Info 101 [16:03:20.000] For info: /user/username/projects/myproject/dependency/FnS.ts :: Config file name: /user/username/projects/myproject/dependency/tsconfig.json +After request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -1699,6 +1723,7 @@ Info 103 [16:03:22.000] request: "seq": 10, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -1736,6 +1761,7 @@ FsWatchesRecursive:: Info 104 [16:03:23.000] Search path: /user/username/projects/myproject/dependency Info 105 [16:03:24.000] For info: /user/username/projects/myproject/dependency/FnS.ts :: Config file name: /user/username/projects/myproject/dependency/tsconfig.json +After request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -1863,6 +1889,7 @@ Info 107 [16:03:26.000] request: "seq": 11, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -1900,6 +1927,7 @@ FsWatchesRecursive:: Info 108 [16:03:27.000] Search path: /user/username/projects/myproject/dependency Info 109 [16:03:28.000] For info: /user/username/projects/myproject/dependency/FnS.ts :: Config file name: /user/username/projects/myproject/dependency/tsconfig.json +After request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -2027,6 +2055,7 @@ Info 111 [16:03:30.000] request: "seq": 12, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -2064,6 +2093,7 @@ FsWatchesRecursive:: Info 112 [16:03:31.000] Search path: /user/username/projects/myproject/dependency Info 113 [16:03:32.000] For info: /user/username/projects/myproject/dependency/FnS.ts :: Config file name: /user/username/projects/myproject/dependency/tsconfig.json +After request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -2189,6 +2219,7 @@ Info 115 [16:03:34.000] request: "file": "/user/username/projects/myproject/random/random.ts" } } +Before request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -2242,6 +2273,7 @@ Info 117 [16:03:46.000] FileName: /user/username/projects/myproject/main/main. Info 117 [16:03:47.000] Projects: /user/username/projects/myproject/main/tsconfig.json Info 117 [16:03:48.000] FileName: /user/username/projects/myproject/dependency/FnS.ts ProjectRootPath: undefined Info 117 [16:03:49.000] Projects: /user/username/projects/myproject/dependency/tsconfig.json +After request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -2292,6 +2324,7 @@ Info 118 [16:03:51.000] request: "file": "/user/username/projects/myproject/random/random.ts" } } +Before request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -2351,6 +2384,7 @@ Info 122 [16:04:07.000] FileName: /user/username/projects/myproject/dependency Info 122 [16:04:08.000] Projects: /user/username/projects/myproject/dependency/tsconfig.json Info 122 [16:04:09.000] FileName: /user/username/projects/myproject/random/random.ts ProjectRootPath: undefined Info 122 [16:04:10.000] Projects: /user/username/projects/myproject/random/tsconfig.json +After request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -2399,6 +2433,7 @@ Info 123 [16:04:12.000] request: "file": "/user/username/projects/myproject/main/main.ts" } } +Before request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -2452,6 +2487,7 @@ Info 125 [16:04:24.000] FileName: /user/username/projects/myproject/dependency Info 125 [16:04:25.000] Projects: /user/username/projects/myproject/dependency/tsconfig.json Info 125 [16:04:26.000] FileName: /user/username/projects/myproject/random/random.ts ProjectRootPath: undefined Info 125 [16:04:27.000] Projects: /user/username/projects/myproject/random/tsconfig.json +After request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -2502,6 +2538,7 @@ Info 126 [16:04:29.000] request: "file": "/user/username/projects/myproject/dependency/FnS.ts" } } +Before request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -2555,6 +2592,7 @@ Info 128 [16:04:39.000] ----------------------------------------------- Info 128 [16:04:40.000] Open files: Info 128 [16:04:41.000] FileName: /user/username/projects/myproject/random/random.ts ProjectRootPath: undefined Info 128 [16:04:42.000] Projects: /user/username/projects/myproject/random/tsconfig.json +After request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -2607,6 +2645,7 @@ Info 129 [16:04:44.000] request: "file": "/user/username/projects/myproject/random/random.ts" } } +Before request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -2660,6 +2699,7 @@ Info 131 [16:04:53.000] Files (2) Info 131 [16:04:54.000] ----------------------------------------------- Info 131 [16:04:55.000] Open files: +After request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -2714,6 +2754,7 @@ Info 132 [16:04:57.000] request: "file": "/user/username/projects/myproject/random/random.ts" } } +Before request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -2814,6 +2855,7 @@ Info 164 [16:05:31.000] ----------------------------------------------- Info 164 [16:05:32.000] Open files: Info 164 [16:05:33.000] FileName: /user/username/projects/myproject/random/random.ts ProjectRootPath: undefined Info 164 [16:05:34.000] Projects: /user/username/projects/myproject/random/tsconfig.json +After request PolledWatches:: /user/username/projects/myproject/node_modules/@types: diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configHasNoReference/dependency-dtsMap-deleted.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configHasNoReference/dependency-dtsMap-deleted.js index 957803a737056..7956008c13678 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configHasNoReference/dependency-dtsMap-deleted.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configHasNoReference/dependency-dtsMap-deleted.js @@ -8,6 +8,7 @@ Info 1 [16:01:04.000] request: "file": "/user/username/projects/myproject/main/main.ts" } } +Before request //// [/user/username/projects/myproject/dependency/FnS.ts] export function fn1() { } export function fn2() { } @@ -250,6 +251,7 @@ Info 25 [16:01:30.000] ----------------------------------------------- Info 25 [16:01:31.000] Open files: Info 25 [16:01:32.000] FileName: /user/username/projects/myproject/main/main.ts ProjectRootPath: undefined Info 25 [16:01:33.000] Projects: /user/username/projects/myproject/main/tsconfig.json +After request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -284,6 +286,7 @@ Info 26 [16:01:35.000] request: "file": "/user/username/projects/myproject/dependency/FnS.ts" } } +Before request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -356,6 +359,7 @@ Info 46 [16:02:02.000] FileName: /user/username/projects/myproject/main/main. Info 46 [16:02:03.000] Projects: /user/username/projects/myproject/main/tsconfig.json Info 46 [16:02:04.000] FileName: /user/username/projects/myproject/dependency/FnS.ts ProjectRootPath: undefined Info 46 [16:02:05.000] Projects: /user/username/projects/myproject/dependency/tsconfig.json +After request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -396,6 +400,7 @@ Info 47 [16:02:07.000] request: "file": "/user/username/projects/myproject/random/random.ts" } } +Before request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -475,6 +480,7 @@ Info 65 [16:02:37.000] FileName: /user/username/projects/myproject/dependency Info 65 [16:02:38.000] Projects: /user/username/projects/myproject/dependency/tsconfig.json Info 65 [16:02:39.000] FileName: /user/username/projects/myproject/random/random.ts ProjectRootPath: undefined Info 65 [16:02:40.000] Projects: /user/username/projects/myproject/random/tsconfig.json +After request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -523,6 +529,7 @@ Info 66 [16:02:42.000] request: "seq": 1, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -557,6 +564,7 @@ FsWatchesRecursive:: {} Info 67 [16:02:43.000] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls/FnS.d.ts.map 500 undefined WatchType: Closed Script info +After request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -640,6 +648,7 @@ Info 69 [16:02:45.000] request: "seq": 2, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -677,6 +686,7 @@ FsWatchesRecursive:: Info 70 [16:02:46.000] Search path: /user/username/projects/myproject/dependency Info 71 [16:02:47.000] For info: /user/username/projects/myproject/dependency/FnS.ts :: Config file name: /user/username/projects/myproject/dependency/tsconfig.json +After request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -813,6 +823,7 @@ Info 82 [16:02:59.000] request: "seq": 3, "type": "request" } +Before request //// [/user/username/projects/myproject/decls/FnS.d.ts.map] deleted PolledWatches:: @@ -850,6 +861,7 @@ FsWatchesRecursive:: Info 83 [16:03:00.000] Starting updateGraphWorker: Project: /user/username/projects/myproject/main/tsconfig.json Info 84 [16:03:01.000] Finishing updateGraphWorker: Project: /user/username/projects/myproject/main/tsconfig.json Version: 2 structureChanged: false structureIsReused:: Not Elapsed:: *ms Info 85 [16:03:02.000] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls/FnS.d.ts.map 2000 undefined WatchType: Missing source map file +After request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -933,6 +945,7 @@ Info 87 [16:03:04.000] request: "seq": 4, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -968,6 +981,7 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +After request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -1051,6 +1065,7 @@ Info 89 [16:03:06.000] request: "seq": 5, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -1086,6 +1101,7 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +After request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -1169,6 +1185,7 @@ Info 91 [16:03:08.000] request: "seq": 6, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -1204,6 +1221,7 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +After request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -1287,6 +1305,7 @@ Info 93 [16:03:10.000] request: "seq": 7, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -1322,6 +1341,7 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +After request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -1405,6 +1425,7 @@ Info 95 [16:03:12.000] request: "seq": 8, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -1442,6 +1463,7 @@ FsWatchesRecursive:: Info 96 [16:03:13.000] Starting updateGraphWorker: Project: /user/username/projects/myproject/dependency/tsconfig.json Info 97 [16:03:14.000] Finishing updateGraphWorker: Project: /user/username/projects/myproject/dependency/tsconfig.json Version: 2 structureChanged: false structureIsReused:: Not Elapsed:: *ms +After request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -1536,6 +1558,7 @@ Info 99 [16:03:16.000] request: "seq": 9, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -1571,6 +1594,7 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +After request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -1665,6 +1689,7 @@ Info 101 [16:03:18.000] request: "seq": 10, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -1700,6 +1725,7 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +After request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -1794,6 +1820,7 @@ Info 103 [16:03:20.000] request: "seq": 11, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -1829,6 +1856,7 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +After request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -1923,6 +1951,7 @@ Info 105 [16:03:22.000] request: "seq": 12, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -1958,6 +1987,7 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +After request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -2050,6 +2080,7 @@ Info 107 [16:03:24.000] request: "file": "/user/username/projects/myproject/random/random.ts" } } +Before request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -2103,6 +2134,7 @@ Info 109 [16:03:36.000] FileName: /user/username/projects/myproject/main/main. Info 109 [16:03:37.000] Projects: /user/username/projects/myproject/main/tsconfig.json Info 109 [16:03:38.000] FileName: /user/username/projects/myproject/dependency/FnS.ts ProjectRootPath: undefined Info 109 [16:03:39.000] Projects: /user/username/projects/myproject/dependency/tsconfig.json +After request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -2153,6 +2185,7 @@ Info 110 [16:03:41.000] request: "file": "/user/username/projects/myproject/random/random.ts" } } +Before request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -2212,6 +2245,7 @@ Info 114 [16:03:57.000] FileName: /user/username/projects/myproject/dependency Info 114 [16:03:58.000] Projects: /user/username/projects/myproject/dependency/tsconfig.json Info 114 [16:03:59.000] FileName: /user/username/projects/myproject/random/random.ts ProjectRootPath: undefined Info 114 [16:04:00.000] Projects: /user/username/projects/myproject/random/tsconfig.json +After request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -2260,6 +2294,7 @@ Info 115 [16:04:02.000] request: "file": "/user/username/projects/myproject/main/main.ts" } } +Before request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -2313,6 +2348,7 @@ Info 117 [16:04:14.000] FileName: /user/username/projects/myproject/dependency Info 117 [16:04:15.000] Projects: /user/username/projects/myproject/dependency/tsconfig.json Info 117 [16:04:16.000] FileName: /user/username/projects/myproject/random/random.ts ProjectRootPath: undefined Info 117 [16:04:17.000] Projects: /user/username/projects/myproject/random/tsconfig.json +After request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -2363,6 +2399,7 @@ Info 118 [16:04:19.000] request: "file": "/user/username/projects/myproject/dependency/FnS.ts" } } +Before request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -2416,6 +2453,7 @@ Info 120 [16:04:29.000] ----------------------------------------------- Info 120 [16:04:30.000] Open files: Info 120 [16:04:31.000] FileName: /user/username/projects/myproject/random/random.ts ProjectRootPath: undefined Info 120 [16:04:32.000] Projects: /user/username/projects/myproject/random/tsconfig.json +After request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -2468,6 +2506,7 @@ Info 121 [16:04:34.000] request: "file": "/user/username/projects/myproject/random/random.ts" } } +Before request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -2521,6 +2560,7 @@ Info 123 [16:04:43.000] Files (2) Info 123 [16:04:44.000] ----------------------------------------------- Info 123 [16:04:45.000] Open files: +After request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -2575,6 +2615,7 @@ Info 124 [16:04:47.000] request: "file": "/user/username/projects/myproject/random/random.ts" } } +Before request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -2675,6 +2716,7 @@ Info 156 [16:05:21.000] ----------------------------------------------- Info 156 [16:05:22.000] Open files: Info 156 [16:05:23.000] FileName: /user/username/projects/myproject/random/random.ts ProjectRootPath: undefined Info 156 [16:05:24.000] Projects: /user/username/projects/myproject/random/tsconfig.json +After request PolledWatches:: /user/username/projects/myproject/node_modules/@types: diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configHasNoReference/dependency-dtsMap-not-present.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configHasNoReference/dependency-dtsMap-not-present.js index 6c01225a40b2e..351ceb23dd6e1 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configHasNoReference/dependency-dtsMap-not-present.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configHasNoReference/dependency-dtsMap-not-present.js @@ -8,6 +8,7 @@ Info 1 [16:01:05.000] request: "file": "/user/username/projects/myproject/main/main.ts" } } +Before request //// [/user/username/projects/myproject/dependency/FnS.ts] export function fn1() { } export function fn2() { } @@ -247,6 +248,7 @@ Info 25 [16:01:31.000] ----------------------------------------------- Info 25 [16:01:32.000] Open files: Info 25 [16:01:33.000] FileName: /user/username/projects/myproject/main/main.ts ProjectRootPath: undefined Info 25 [16:01:34.000] Projects: /user/username/projects/myproject/main/tsconfig.json +After request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -281,6 +283,7 @@ Info 26 [16:01:36.000] request: "file": "/user/username/projects/myproject/dependency/FnS.ts" } } +Before request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -353,6 +356,7 @@ Info 46 [16:02:03.000] FileName: /user/username/projects/myproject/main/main. Info 46 [16:02:04.000] Projects: /user/username/projects/myproject/main/tsconfig.json Info 46 [16:02:05.000] FileName: /user/username/projects/myproject/dependency/FnS.ts ProjectRootPath: undefined Info 46 [16:02:06.000] Projects: /user/username/projects/myproject/dependency/tsconfig.json +After request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -393,6 +397,7 @@ Info 47 [16:02:08.000] request: "file": "/user/username/projects/myproject/random/random.ts" } } +Before request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -472,6 +477,7 @@ Info 65 [16:02:38.000] FileName: /user/username/projects/myproject/dependency Info 65 [16:02:39.000] Projects: /user/username/projects/myproject/dependency/tsconfig.json Info 65 [16:02:40.000] FileName: /user/username/projects/myproject/random/random.ts ProjectRootPath: undefined Info 65 [16:02:41.000] Projects: /user/username/projects/myproject/random/tsconfig.json +After request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -520,6 +526,7 @@ Info 66 [16:02:43.000] request: "seq": 1, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -554,6 +561,7 @@ FsWatchesRecursive:: {} Info 67 [16:02:44.000] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls/FnS.d.ts.map 2000 undefined WatchType: Missing source map file +After request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -637,6 +645,7 @@ Info 69 [16:02:46.000] request: "seq": 2, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -672,6 +681,7 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +After request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -755,6 +765,7 @@ Info 71 [16:02:48.000] request: "seq": 3, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -790,6 +801,7 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +After request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -873,6 +885,7 @@ Info 73 [16:02:50.000] request: "seq": 4, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -908,6 +921,7 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +After request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -991,6 +1005,7 @@ Info 75 [16:02:52.000] request: "seq": 5, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -1026,6 +1041,7 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +After request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -1109,6 +1125,7 @@ Info 77 [16:02:54.000] request: "seq": 6, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -1144,6 +1161,7 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +After request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -1238,6 +1256,7 @@ Info 79 [16:02:56.000] request: "seq": 7, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -1273,6 +1292,7 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +After request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -1367,6 +1387,7 @@ Info 81 [16:02:58.000] request: "seq": 8, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -1402,6 +1423,7 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +After request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -1496,6 +1518,7 @@ Info 83 [16:03:00.000] request: "seq": 9, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -1531,6 +1554,7 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +After request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -1625,6 +1649,7 @@ Info 85 [16:03:02.000] request: "seq": 10, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -1660,6 +1685,7 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +After request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -1752,6 +1778,7 @@ Info 87 [16:03:04.000] request: "file": "/user/username/projects/myproject/random/random.ts" } } +Before request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -1805,6 +1832,7 @@ Info 89 [16:03:16.000] FileName: /user/username/projects/myproject/main/main. Info 89 [16:03:17.000] Projects: /user/username/projects/myproject/main/tsconfig.json Info 89 [16:03:18.000] FileName: /user/username/projects/myproject/dependency/FnS.ts ProjectRootPath: undefined Info 89 [16:03:19.000] Projects: /user/username/projects/myproject/dependency/tsconfig.json +After request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -1855,6 +1883,7 @@ Info 90 [16:03:21.000] request: "file": "/user/username/projects/myproject/random/random.ts" } } +Before request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -1914,6 +1943,7 @@ Info 94 [16:03:37.000] FileName: /user/username/projects/myproject/dependency Info 94 [16:03:38.000] Projects: /user/username/projects/myproject/dependency/tsconfig.json Info 94 [16:03:39.000] FileName: /user/username/projects/myproject/random/random.ts ProjectRootPath: undefined Info 94 [16:03:40.000] Projects: /user/username/projects/myproject/random/tsconfig.json +After request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -1962,6 +1992,7 @@ Info 95 [16:03:42.000] request: "file": "/user/username/projects/myproject/main/main.ts" } } +Before request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -2015,6 +2046,7 @@ Info 97 [16:03:54.000] FileName: /user/username/projects/myproject/dependency Info 97 [16:03:55.000] Projects: /user/username/projects/myproject/dependency/tsconfig.json Info 97 [16:03:56.000] FileName: /user/username/projects/myproject/random/random.ts ProjectRootPath: undefined Info 97 [16:03:57.000] Projects: /user/username/projects/myproject/random/tsconfig.json +After request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -2065,6 +2097,7 @@ Info 98 [16:03:59.000] request: "file": "/user/username/projects/myproject/dependency/FnS.ts" } } +Before request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -2118,6 +2151,7 @@ Info 100 [16:04:09.000] ----------------------------------------------- Info 100 [16:04:10.000] Open files: Info 100 [16:04:11.000] FileName: /user/username/projects/myproject/random/random.ts ProjectRootPath: undefined Info 100 [16:04:12.000] Projects: /user/username/projects/myproject/random/tsconfig.json +After request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -2170,6 +2204,7 @@ Info 101 [16:04:14.000] request: "file": "/user/username/projects/myproject/random/random.ts" } } +Before request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -2223,6 +2258,7 @@ Info 103 [16:04:23.000] Files (2) Info 103 [16:04:24.000] ----------------------------------------------- Info 103 [16:04:25.000] Open files: +After request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -2277,6 +2313,7 @@ Info 104 [16:04:27.000] request: "file": "/user/username/projects/myproject/random/random.ts" } } +Before request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -2377,6 +2414,7 @@ Info 136 [16:05:01.000] ----------------------------------------------- Info 136 [16:05:02.000] Open files: Info 136 [16:05:03.000] FileName: /user/username/projects/myproject/random/random.ts ProjectRootPath: undefined Info 136 [16:05:04.000] Projects: /user/username/projects/myproject/random/tsconfig.json +After request PolledWatches:: /user/username/projects/myproject/node_modules/@types: diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configHasNoReference/goToDef-and-rename-locations.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configHasNoReference/goToDef-and-rename-locations.js index 31fdf2454e7ed..a6b8e57db4f0c 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configHasNoReference/goToDef-and-rename-locations.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configHasNoReference/goToDef-and-rename-locations.js @@ -8,6 +8,7 @@ Info 1 [16:01:04.000] request: "file": "/user/username/projects/myproject/main/main.ts" } } +Before request //// [/user/username/projects/myproject/dependency/FnS.ts] export function fn1() { } export function fn2() { } @@ -250,6 +251,7 @@ Info 25 [16:01:30.000] ----------------------------------------------- Info 25 [16:01:31.000] Open files: Info 25 [16:01:32.000] FileName: /user/username/projects/myproject/main/main.ts ProjectRootPath: undefined Info 25 [16:01:33.000] Projects: /user/username/projects/myproject/main/tsconfig.json +After request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -284,6 +286,7 @@ Info 26 [16:01:35.000] request: "file": "/user/username/projects/myproject/dependency/FnS.ts" } } +Before request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -356,6 +359,7 @@ Info 46 [16:02:02.000] FileName: /user/username/projects/myproject/main/main. Info 46 [16:02:03.000] Projects: /user/username/projects/myproject/main/tsconfig.json Info 46 [16:02:04.000] FileName: /user/username/projects/myproject/dependency/FnS.ts ProjectRootPath: undefined Info 46 [16:02:05.000] Projects: /user/username/projects/myproject/dependency/tsconfig.json +After request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -396,6 +400,7 @@ Info 47 [16:02:07.000] request: "file": "/user/username/projects/myproject/random/random.ts" } } +Before request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -475,6 +480,7 @@ Info 65 [16:02:37.000] FileName: /user/username/projects/myproject/dependency Info 65 [16:02:38.000] Projects: /user/username/projects/myproject/dependency/tsconfig.json Info 65 [16:02:39.000] FileName: /user/username/projects/myproject/random/random.ts ProjectRootPath: undefined Info 65 [16:02:40.000] Projects: /user/username/projects/myproject/random/tsconfig.json +After request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -523,6 +529,7 @@ Info 66 [16:02:42.000] request: "seq": 1, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -557,6 +564,7 @@ FsWatchesRecursive:: {} Info 67 [16:02:43.000] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls/FnS.d.ts.map 500 undefined WatchType: Closed Script info +After request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -640,6 +648,7 @@ Info 69 [16:02:45.000] request: "seq": 2, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -675,6 +684,7 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +After request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -758,6 +768,7 @@ Info 71 [16:02:47.000] request: "seq": 3, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -793,6 +804,7 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +After request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -876,6 +888,7 @@ Info 73 [16:02:49.000] request: "seq": 4, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -911,6 +924,7 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +After request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -994,6 +1008,7 @@ Info 75 [16:02:51.000] request: "seq": 5, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -1029,6 +1044,7 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +After request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -1112,6 +1128,7 @@ Info 77 [16:02:53.000] request: "seq": 6, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -1149,6 +1166,7 @@ FsWatchesRecursive:: Info 78 [16:02:54.000] Search path: /user/username/projects/myproject/dependency Info 79 [16:02:55.000] For info: /user/username/projects/myproject/dependency/FnS.ts :: Config file name: /user/username/projects/myproject/dependency/tsconfig.json +After request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -1276,6 +1294,7 @@ Info 81 [16:02:57.000] request: "seq": 7, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -1313,6 +1332,7 @@ FsWatchesRecursive:: Info 82 [16:02:58.000] Search path: /user/username/projects/myproject/dependency Info 83 [16:02:59.000] For info: /user/username/projects/myproject/dependency/FnS.ts :: Config file name: /user/username/projects/myproject/dependency/tsconfig.json +After request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -1440,6 +1460,7 @@ Info 85 [16:03:01.000] request: "seq": 8, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -1477,6 +1498,7 @@ FsWatchesRecursive:: Info 86 [16:03:02.000] Search path: /user/username/projects/myproject/dependency Info 87 [16:03:03.000] For info: /user/username/projects/myproject/dependency/FnS.ts :: Config file name: /user/username/projects/myproject/dependency/tsconfig.json +After request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -1604,6 +1626,7 @@ Info 89 [16:03:05.000] request: "seq": 9, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -1641,6 +1664,7 @@ FsWatchesRecursive:: Info 90 [16:03:06.000] Search path: /user/username/projects/myproject/dependency Info 91 [16:03:07.000] For info: /user/username/projects/myproject/dependency/FnS.ts :: Config file name: /user/username/projects/myproject/dependency/tsconfig.json +After request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -1768,6 +1792,7 @@ Info 93 [16:03:09.000] request: "seq": 10, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -1805,6 +1830,7 @@ FsWatchesRecursive:: Info 94 [16:03:10.000] Search path: /user/username/projects/myproject/dependency Info 95 [16:03:11.000] For info: /user/username/projects/myproject/dependency/FnS.ts :: Config file name: /user/username/projects/myproject/dependency/tsconfig.json +After request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -1930,6 +1956,7 @@ Info 97 [16:03:13.000] request: "file": "/user/username/projects/myproject/random/random.ts" } } +Before request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -1983,6 +2010,7 @@ Info 99 [16:03:25.000] FileName: /user/username/projects/myproject/main/main. Info 99 [16:03:26.000] Projects: /user/username/projects/myproject/main/tsconfig.json Info 99 [16:03:27.000] FileName: /user/username/projects/myproject/dependency/FnS.ts ProjectRootPath: undefined Info 99 [16:03:28.000] Projects: /user/username/projects/myproject/dependency/tsconfig.json +After request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -2033,6 +2061,7 @@ Info 100 [16:03:30.000] request: "file": "/user/username/projects/myproject/random/random.ts" } } +Before request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -2092,6 +2121,7 @@ Info 104 [16:03:46.000] FileName: /user/username/projects/myproject/dependency Info 104 [16:03:47.000] Projects: /user/username/projects/myproject/dependency/tsconfig.json Info 104 [16:03:48.000] FileName: /user/username/projects/myproject/random/random.ts ProjectRootPath: undefined Info 104 [16:03:49.000] Projects: /user/username/projects/myproject/random/tsconfig.json +After request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -2140,6 +2170,7 @@ Info 105 [16:03:51.000] request: "file": "/user/username/projects/myproject/main/main.ts" } } +Before request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -2193,6 +2224,7 @@ Info 107 [16:04:03.000] FileName: /user/username/projects/myproject/dependency Info 107 [16:04:04.000] Projects: /user/username/projects/myproject/dependency/tsconfig.json Info 107 [16:04:05.000] FileName: /user/username/projects/myproject/random/random.ts ProjectRootPath: undefined Info 107 [16:04:06.000] Projects: /user/username/projects/myproject/random/tsconfig.json +After request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -2243,6 +2275,7 @@ Info 108 [16:04:08.000] request: "file": "/user/username/projects/myproject/dependency/FnS.ts" } } +Before request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -2296,6 +2329,7 @@ Info 110 [16:04:18.000] ----------------------------------------------- Info 110 [16:04:19.000] Open files: Info 110 [16:04:20.000] FileName: /user/username/projects/myproject/random/random.ts ProjectRootPath: undefined Info 110 [16:04:21.000] Projects: /user/username/projects/myproject/random/tsconfig.json +After request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -2348,6 +2382,7 @@ Info 111 [16:04:23.000] request: "file": "/user/username/projects/myproject/random/random.ts" } } +Before request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -2401,6 +2436,7 @@ Info 113 [16:04:32.000] Files (2) Info 113 [16:04:33.000] ----------------------------------------------- Info 113 [16:04:34.000] Open files: +After request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -2455,6 +2491,7 @@ Info 114 [16:04:36.000] request: "file": "/user/username/projects/myproject/random/random.ts" } } +Before request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -2555,6 +2592,7 @@ Info 146 [16:05:10.000] ----------------------------------------------- Info 146 [16:05:11.000] Open files: Info 146 [16:05:12.000] FileName: /user/username/projects/myproject/random/random.ts ProjectRootPath: undefined Info 146 [16:05:13.000] Projects: /user/username/projects/myproject/random/tsconfig.json +After request PolledWatches:: /user/username/projects/myproject/node_modules/@types: diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configHasNoReference/usage-file-changes-with-timeout-before-request.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configHasNoReference/usage-file-changes-with-timeout-before-request.js index e094ff40a98f2..8bc5ac46380d4 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configHasNoReference/usage-file-changes-with-timeout-before-request.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configHasNoReference/usage-file-changes-with-timeout-before-request.js @@ -8,6 +8,7 @@ Info 1 [16:01:04.000] request: "file": "/user/username/projects/myproject/main/main.ts" } } +Before request //// [/user/username/projects/myproject/dependency/FnS.ts] export function fn1() { } export function fn2() { } @@ -250,6 +251,7 @@ Info 25 [16:01:30.000] ----------------------------------------------- Info 25 [16:01:31.000] Open files: Info 25 [16:01:32.000] FileName: /user/username/projects/myproject/main/main.ts ProjectRootPath: undefined Info 25 [16:01:33.000] Projects: /user/username/projects/myproject/main/tsconfig.json +After request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -284,6 +286,7 @@ Info 26 [16:01:35.000] request: "file": "/user/username/projects/myproject/dependency/FnS.ts" } } +Before request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -356,6 +359,7 @@ Info 46 [16:02:02.000] FileName: /user/username/projects/myproject/main/main. Info 46 [16:02:03.000] Projects: /user/username/projects/myproject/main/tsconfig.json Info 46 [16:02:04.000] FileName: /user/username/projects/myproject/dependency/FnS.ts ProjectRootPath: undefined Info 46 [16:02:05.000] Projects: /user/username/projects/myproject/dependency/tsconfig.json +After request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -396,6 +400,7 @@ Info 47 [16:02:07.000] request: "file": "/user/username/projects/myproject/random/random.ts" } } +Before request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -475,6 +480,7 @@ Info 65 [16:02:37.000] FileName: /user/username/projects/myproject/dependency Info 65 [16:02:38.000] Projects: /user/username/projects/myproject/dependency/tsconfig.json Info 65 [16:02:39.000] FileName: /user/username/projects/myproject/random/random.ts ProjectRootPath: undefined Info 65 [16:02:40.000] Projects: /user/username/projects/myproject/random/tsconfig.json +After request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -523,6 +529,7 @@ Info 66 [16:02:42.000] request: "seq": 1, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -557,6 +564,7 @@ FsWatchesRecursive:: {} Info 67 [16:02:43.000] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls/FnS.d.ts.map 500 undefined WatchType: Closed Script info +After request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -640,6 +648,7 @@ Info 69 [16:02:45.000] request: "seq": 2, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -677,6 +686,7 @@ FsWatchesRecursive:: Info 70 [16:02:46.000] Search path: /user/username/projects/myproject/dependency Info 71 [16:02:47.000] For info: /user/username/projects/myproject/dependency/FnS.ts :: Config file name: /user/username/projects/myproject/dependency/tsconfig.json +After request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -807,6 +817,7 @@ Info 73 [16:02:49.000] request: "seq": 3, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -842,6 +853,7 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +After request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -895,6 +907,7 @@ Info 75 [16:02:51.000] request: "seq": 4, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -930,6 +943,7 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +After request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -969,6 +983,78 @@ Info 76 [16:02:52.000] response: { "responseRequired": false } +Before running timeout callbacks + +PolledWatches:: +/user/username/projects/myproject/main/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/myproject/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/myproject/dependency/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/myproject/random/node_modules/@types: + {"pollingInterval":500} + +FsWatches:: +/user/username/projects/myproject/main/tsconfig.json: + {} +/user/username/projects/myproject/decls/fns.d.ts: + {} +/a/lib/lib.d.ts: + {} +/user/username/projects/myproject/dependency/tsconfig.json: + {} +/user/username/projects/myproject/random/tsconfig.json: + {} +/user/username/projects/myproject/decls/fns.d.ts.map: + {} + +FsWatchesRecursive:: +/user/username/projects/myproject/main: + {} +/user/username/projects/myproject/decls: + {} +/user/username/projects/myproject/dependency: + {} +/user/username/projects/myproject/random: + {} + +After running timeout callbacks + +PolledWatches:: +/user/username/projects/myproject/main/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/myproject/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/myproject/dependency/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/myproject/random/node_modules/@types: + {"pollingInterval":500} + +FsWatches:: +/user/username/projects/myproject/main/tsconfig.json: + {} +/user/username/projects/myproject/decls/fns.d.ts: + {} +/a/lib/lib.d.ts: + {} +/user/username/projects/myproject/dependency/tsconfig.json: + {} +/user/username/projects/myproject/random/tsconfig.json: + {} +/user/username/projects/myproject/decls/fns.d.ts.map: + {} + +FsWatchesRecursive:: +/user/username/projects/myproject/main: + {} +/user/username/projects/myproject/decls: + {} +/user/username/projects/myproject/dependency: + {} +/user/username/projects/myproject/random: + {} + Info 77 [16:02:53.000] request: { "command": "definitionAndBoundSpan", @@ -980,6 +1066,7 @@ Info 77 [16:02:53.000] request: "seq": 5, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -1018,6 +1105,7 @@ FsWatchesRecursive:: Info 78 [16:02:54.000] Starting updateGraphWorker: Project: /user/username/projects/myproject/main/tsconfig.json Info 79 [16:02:55.000] Finishing updateGraphWorker: Project: /user/username/projects/myproject/main/tsconfig.json Version: 2 structureChanged: false structureIsReused:: Completely Elapsed:: *ms Info 80 [16:02:56.000] Different program with same set of files +After request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -1101,6 +1189,7 @@ Info 82 [16:02:58.000] request: "seq": 6, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -1136,6 +1225,7 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +After request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -1219,6 +1309,7 @@ Info 84 [16:03:00.000] request: "seq": 7, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -1254,6 +1345,7 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +After request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -1337,6 +1429,7 @@ Info 86 [16:03:02.000] request: "seq": 8, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -1372,6 +1465,7 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +After request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -1455,6 +1549,7 @@ Info 88 [16:03:04.000] request: "seq": 9, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -1490,6 +1585,7 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +After request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -1573,6 +1669,7 @@ Info 90 [16:03:06.000] request: "seq": 10, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -1613,6 +1710,7 @@ Info 92 [16:03:08.000] Finishing updateGraphWorker: Project: /user/username/pr Info 93 [16:03:09.000] Different program with same set of files Info 94 [16:03:10.000] Search path: /user/username/projects/myproject/dependency Info 95 [16:03:11.000] For info: /user/username/projects/myproject/dependency/FnS.ts :: Config file name: /user/username/projects/myproject/dependency/tsconfig.json +After request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -1740,6 +1838,7 @@ Info 97 [16:03:13.000] request: "seq": 11, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -1777,6 +1876,7 @@ FsWatchesRecursive:: Info 98 [16:03:14.000] Search path: /user/username/projects/myproject/dependency Info 99 [16:03:15.000] For info: /user/username/projects/myproject/dependency/FnS.ts :: Config file name: /user/username/projects/myproject/dependency/tsconfig.json +After request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -1904,6 +2004,7 @@ Info 101 [16:03:17.000] request: "seq": 12, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -1941,6 +2042,7 @@ FsWatchesRecursive:: Info 102 [16:03:18.000] Search path: /user/username/projects/myproject/dependency Info 103 [16:03:19.000] For info: /user/username/projects/myproject/dependency/FnS.ts :: Config file name: /user/username/projects/myproject/dependency/tsconfig.json +After request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -2068,6 +2170,7 @@ Info 105 [16:03:21.000] request: "seq": 13, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -2105,6 +2208,7 @@ FsWatchesRecursive:: Info 106 [16:03:22.000] Search path: /user/username/projects/myproject/dependency Info 107 [16:03:23.000] For info: /user/username/projects/myproject/dependency/FnS.ts :: Config file name: /user/username/projects/myproject/dependency/tsconfig.json +After request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -2232,6 +2336,7 @@ Info 109 [16:03:25.000] request: "seq": 14, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -2269,6 +2374,7 @@ FsWatchesRecursive:: Info 110 [16:03:26.000] Search path: /user/username/projects/myproject/dependency Info 111 [16:03:27.000] For info: /user/username/projects/myproject/dependency/FnS.ts :: Config file name: /user/username/projects/myproject/dependency/tsconfig.json +After request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configHasNoReference/usage-file-changes.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configHasNoReference/usage-file-changes.js index e094ff40a98f2..7a39879d2e1c0 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configHasNoReference/usage-file-changes.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configHasNoReference/usage-file-changes.js @@ -8,6 +8,7 @@ Info 1 [16:01:04.000] request: "file": "/user/username/projects/myproject/main/main.ts" } } +Before request //// [/user/username/projects/myproject/dependency/FnS.ts] export function fn1() { } export function fn2() { } @@ -250,6 +251,7 @@ Info 25 [16:01:30.000] ----------------------------------------------- Info 25 [16:01:31.000] Open files: Info 25 [16:01:32.000] FileName: /user/username/projects/myproject/main/main.ts ProjectRootPath: undefined Info 25 [16:01:33.000] Projects: /user/username/projects/myproject/main/tsconfig.json +After request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -284,6 +286,7 @@ Info 26 [16:01:35.000] request: "file": "/user/username/projects/myproject/dependency/FnS.ts" } } +Before request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -356,6 +359,7 @@ Info 46 [16:02:02.000] FileName: /user/username/projects/myproject/main/main. Info 46 [16:02:03.000] Projects: /user/username/projects/myproject/main/tsconfig.json Info 46 [16:02:04.000] FileName: /user/username/projects/myproject/dependency/FnS.ts ProjectRootPath: undefined Info 46 [16:02:05.000] Projects: /user/username/projects/myproject/dependency/tsconfig.json +After request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -396,6 +400,7 @@ Info 47 [16:02:07.000] request: "file": "/user/username/projects/myproject/random/random.ts" } } +Before request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -475,6 +480,7 @@ Info 65 [16:02:37.000] FileName: /user/username/projects/myproject/dependency Info 65 [16:02:38.000] Projects: /user/username/projects/myproject/dependency/tsconfig.json Info 65 [16:02:39.000] FileName: /user/username/projects/myproject/random/random.ts ProjectRootPath: undefined Info 65 [16:02:40.000] Projects: /user/username/projects/myproject/random/tsconfig.json +After request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -523,6 +529,7 @@ Info 66 [16:02:42.000] request: "seq": 1, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -557,6 +564,7 @@ FsWatchesRecursive:: {} Info 67 [16:02:43.000] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls/FnS.d.ts.map 500 undefined WatchType: Closed Script info +After request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -640,6 +648,7 @@ Info 69 [16:02:45.000] request: "seq": 2, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -677,6 +686,7 @@ FsWatchesRecursive:: Info 70 [16:02:46.000] Search path: /user/username/projects/myproject/dependency Info 71 [16:02:47.000] For info: /user/username/projects/myproject/dependency/FnS.ts :: Config file name: /user/username/projects/myproject/dependency/tsconfig.json +After request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -807,6 +817,7 @@ Info 73 [16:02:49.000] request: "seq": 3, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -842,6 +853,7 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +After request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -895,6 +907,7 @@ Info 75 [16:02:51.000] request: "seq": 4, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -930,6 +943,7 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +After request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -980,6 +994,7 @@ Info 77 [16:02:53.000] request: "seq": 5, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -1018,6 +1033,7 @@ FsWatchesRecursive:: Info 78 [16:02:54.000] Starting updateGraphWorker: Project: /user/username/projects/myproject/main/tsconfig.json Info 79 [16:02:55.000] Finishing updateGraphWorker: Project: /user/username/projects/myproject/main/tsconfig.json Version: 2 structureChanged: false structureIsReused:: Completely Elapsed:: *ms Info 80 [16:02:56.000] Different program with same set of files +After request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -1101,6 +1117,7 @@ Info 82 [16:02:58.000] request: "seq": 6, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -1136,6 +1153,7 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +After request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -1219,6 +1237,7 @@ Info 84 [16:03:00.000] request: "seq": 7, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -1254,6 +1273,7 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +After request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -1337,6 +1357,7 @@ Info 86 [16:03:02.000] request: "seq": 8, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -1372,6 +1393,7 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +After request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -1455,6 +1477,7 @@ Info 88 [16:03:04.000] request: "seq": 9, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -1490,6 +1513,7 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +After request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -1573,6 +1597,7 @@ Info 90 [16:03:06.000] request: "seq": 10, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -1613,6 +1638,7 @@ Info 92 [16:03:08.000] Finishing updateGraphWorker: Project: /user/username/pr Info 93 [16:03:09.000] Different program with same set of files Info 94 [16:03:10.000] Search path: /user/username/projects/myproject/dependency Info 95 [16:03:11.000] For info: /user/username/projects/myproject/dependency/FnS.ts :: Config file name: /user/username/projects/myproject/dependency/tsconfig.json +After request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -1740,6 +1766,7 @@ Info 97 [16:03:13.000] request: "seq": 11, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -1777,6 +1804,7 @@ FsWatchesRecursive:: Info 98 [16:03:14.000] Search path: /user/username/projects/myproject/dependency Info 99 [16:03:15.000] For info: /user/username/projects/myproject/dependency/FnS.ts :: Config file name: /user/username/projects/myproject/dependency/tsconfig.json +After request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -1904,6 +1932,7 @@ Info 101 [16:03:17.000] request: "seq": 12, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -1941,6 +1970,7 @@ FsWatchesRecursive:: Info 102 [16:03:18.000] Search path: /user/username/projects/myproject/dependency Info 103 [16:03:19.000] For info: /user/username/projects/myproject/dependency/FnS.ts :: Config file name: /user/username/projects/myproject/dependency/tsconfig.json +After request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -2068,6 +2098,7 @@ Info 105 [16:03:21.000] request: "seq": 13, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -2105,6 +2136,7 @@ FsWatchesRecursive:: Info 106 [16:03:22.000] Search path: /user/username/projects/myproject/dependency Info 107 [16:03:23.000] For info: /user/username/projects/myproject/dependency/FnS.ts :: Config file name: /user/username/projects/myproject/dependency/tsconfig.json +After request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -2232,6 +2264,7 @@ Info 109 [16:03:25.000] request: "seq": 14, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -2269,6 +2302,7 @@ FsWatchesRecursive:: Info 110 [16:03:26.000] Search path: /user/username/projects/myproject/dependency Info 111 [16:03:27.000] For info: /user/username/projects/myproject/dependency/FnS.ts :: Config file name: /user/username/projects/myproject/dependency/tsconfig.json +After request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configWithReference/dependency-dts-changes-with-timeout-before-request.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configWithReference/dependency-dts-changes-with-timeout-before-request.js index c5355c46d6b5c..0ab549c1bd73b 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configWithReference/dependency-dts-changes-with-timeout-before-request.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configWithReference/dependency-dts-changes-with-timeout-before-request.js @@ -8,6 +8,7 @@ Info 1 [16:01:01.000] request: "file": "/user/username/projects/myproject/main/main.ts" } } +Before request //// [/user/username/projects/myproject/dependency/FnS.ts] export function fn1() { } export function fn2() { } @@ -270,6 +271,7 @@ Info 29 [16:01:31.000] ----------------------------------------------- Info 29 [16:01:32.000] Open files: Info 29 [16:01:33.000] FileName: /user/username/projects/myproject/main/main.ts ProjectRootPath: undefined Info 29 [16:01:34.000] Projects: /user/username/projects/myproject/main/tsconfig.json +After request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -308,6 +310,7 @@ Info 30 [16:01:36.000] request: "file": "/user/username/projects/myproject/dependency/FnS.ts" } } +Before request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -371,6 +374,7 @@ Info 47 [16:02:00.000] FileName: /user/username/projects/myproject/main/main. Info 47 [16:02:01.000] Projects: /user/username/projects/myproject/main/tsconfig.json Info 47 [16:02:02.000] FileName: /user/username/projects/myproject/dependency/FnS.ts ProjectRootPath: undefined Info 47 [16:02:03.000] Projects: /user/username/projects/myproject/main/tsconfig.json,/user/username/projects/myproject/dependency/tsconfig.json +After request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -409,6 +413,7 @@ Info 48 [16:02:05.000] request: "file": "/user/username/projects/myproject/random/random.ts" } } +Before request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -486,6 +491,7 @@ Info 66 [16:02:35.000] FileName: /user/username/projects/myproject/dependency Info 66 [16:02:36.000] Projects: /user/username/projects/myproject/main/tsconfig.json,/user/username/projects/myproject/dependency/tsconfig.json Info 66 [16:02:37.000] FileName: /user/username/projects/myproject/random/random.ts ProjectRootPath: undefined Info 66 [16:02:38.000] Projects: /user/username/projects/myproject/random/tsconfig.json +After request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -532,6 +538,7 @@ Info 67 [16:02:40.000] request: "seq": 1, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -563,6 +570,7 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +After request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -642,6 +650,7 @@ Info 69 [16:02:42.000] request: "seq": 2, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -677,6 +686,7 @@ Info 70 [16:02:43.000] Search path: /user/username/projects/myproject/dependen Info 71 [16:02:44.000] For info: /user/username/projects/myproject/dependency/FnS.ts :: Config file name: /user/username/projects/myproject/dependency/tsconfig.json Info 72 [16:02:45.000] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls/FnS.d.ts 500 undefined WatchType: Closed Script info Info 73 [16:02:46.000] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls/FnS.d.ts.map 500 undefined WatchType: Closed Script info +After request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -798,6 +808,51 @@ Info 76 [16:02:52.000] Scheduled: /user/username/projects/myproject/main/tscon Info 77 [16:02:53.000] Scheduled: /user/username/projects/myproject/dependency/tsconfig.json Info 78 [16:02:54.000] Scheduled: *ensureProjectForOpenFiles* Info 79 [16:02:55.000] Elapsed:: *ms FileWatcher:: Triggered with /user/username/projects/myproject/decls/FnS.d.ts 1:: WatchInfo: /user/username/projects/myproject/decls/FnS.d.ts 500 undefined WatchType: Closed Script info +Before running timeout callbacks +//// [/user/username/projects/myproject/decls/FnS.d.ts] +export declare function fn1(): void; +export declare function fn2(): void; +export declare function fn3(): void; +export declare function fn4(): void; +export declare function fn5(): void; +export declare function fn6(): void; +//# sourceMappingURL=FnS.d.ts.map + + +PolledWatches:: +/user/username/projects/myproject/main/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/myproject/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/myproject/dependency/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/myproject/random/node_modules/@types: + {"pollingInterval":500} + +FsWatches:: +/user/username/projects/myproject/main/tsconfig.json: + {} +/user/username/projects/myproject/dependency/tsconfig.json: + {} +/a/lib/lib.d.ts: + {} +/user/username/projects/myproject/random/tsconfig.json: + {} +/user/username/projects/myproject/decls/fns.d.ts: + {} +/user/username/projects/myproject/decls/fns.d.ts.map: + {} + +FsWatchesRecursive:: +/user/username/projects/myproject/main: + {} +/user/username/projects/myproject/dependency: + {} +/user/username/projects/myproject/decls: + {} +/user/username/projects/myproject/random: + {} + Info 80 [16:02:56.000] Running: /user/username/projects/myproject/main/tsconfig.json Info 81 [16:02:57.000] Starting updateGraphWorker: Project: /user/username/projects/myproject/main/tsconfig.json Info 82 [16:02:58.000] Finishing updateGraphWorker: Project: /user/username/projects/myproject/main/tsconfig.json Version: 2 structureChanged: false structureIsReused:: Completely Elapsed:: *ms @@ -846,6 +901,42 @@ Info 90 [16:03:34.000] FileName: /user/username/projects/myproject/dependency Info 90 [16:03:35.000] Projects: /user/username/projects/myproject/main/tsconfig.json,/user/username/projects/myproject/dependency/tsconfig.json Info 90 [16:03:36.000] FileName: /user/username/projects/myproject/random/random.ts ProjectRootPath: undefined Info 90 [16:03:37.000] Projects: /user/username/projects/myproject/random/tsconfig.json +After running timeout callbacks + +PolledWatches:: +/user/username/projects/myproject/main/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/myproject/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/myproject/dependency/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/myproject/random/node_modules/@types: + {"pollingInterval":500} + +FsWatches:: +/user/username/projects/myproject/main/tsconfig.json: + {} +/user/username/projects/myproject/dependency/tsconfig.json: + {} +/a/lib/lib.d.ts: + {} +/user/username/projects/myproject/random/tsconfig.json: + {} +/user/username/projects/myproject/decls/fns.d.ts: + {} +/user/username/projects/myproject/decls/fns.d.ts.map: + {} + +FsWatchesRecursive:: +/user/username/projects/myproject/main: + {} +/user/username/projects/myproject/dependency: + {} +/user/username/projects/myproject/decls: + {} +/user/username/projects/myproject/random: + {} + Info 90 [16:03:38.000] request: { "command": "definitionAndBoundSpan", @@ -857,15 +948,7 @@ Info 90 [16:03:38.000] request: "seq": 3, "type": "request" } -//// [/user/username/projects/myproject/decls/FnS.d.ts] -export declare function fn1(): void; -export declare function fn2(): void; -export declare function fn3(): void; -export declare function fn4(): void; -export declare function fn5(): void; -export declare function fn6(): void; -//# sourceMappingURL=FnS.d.ts.map - +Before request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -901,6 +984,7 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +After request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -984,6 +1068,7 @@ Info 92 [16:03:40.000] request: "seq": 4, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -1019,6 +1104,7 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +After request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -1102,6 +1188,7 @@ Info 94 [16:03:42.000] request: "seq": 5, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -1137,6 +1224,7 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +After request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -1220,6 +1308,7 @@ Info 96 [16:03:44.000] request: "seq": 6, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -1255,6 +1344,7 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +After request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -1338,6 +1428,7 @@ Info 98 [16:03:46.000] request: "seq": 7, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -1373,6 +1464,7 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +After request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -1456,6 +1548,7 @@ Info 100 [16:03:48.000] request: "seq": 8, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -1493,6 +1586,7 @@ FsWatchesRecursive:: Info 101 [16:03:49.000] Search path: /user/username/projects/myproject/dependency Info 102 [16:03:50.000] For info: /user/username/projects/myproject/dependency/FnS.ts :: Config file name: /user/username/projects/myproject/dependency/tsconfig.json +After request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -1620,6 +1714,7 @@ Info 104 [16:03:52.000] request: "seq": 9, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -1657,6 +1752,7 @@ FsWatchesRecursive:: Info 105 [16:03:53.000] Search path: /user/username/projects/myproject/dependency Info 106 [16:03:54.000] For info: /user/username/projects/myproject/dependency/FnS.ts :: Config file name: /user/username/projects/myproject/dependency/tsconfig.json +After request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -1784,6 +1880,7 @@ Info 108 [16:03:56.000] request: "seq": 10, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -1821,6 +1918,7 @@ FsWatchesRecursive:: Info 109 [16:03:57.000] Search path: /user/username/projects/myproject/dependency Info 110 [16:03:58.000] For info: /user/username/projects/myproject/dependency/FnS.ts :: Config file name: /user/username/projects/myproject/dependency/tsconfig.json +After request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -1948,6 +2046,7 @@ Info 112 [16:04:00.000] request: "seq": 11, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -1985,6 +2084,7 @@ FsWatchesRecursive:: Info 113 [16:04:01.000] Search path: /user/username/projects/myproject/dependency Info 114 [16:04:02.000] For info: /user/username/projects/myproject/dependency/FnS.ts :: Config file name: /user/username/projects/myproject/dependency/tsconfig.json +After request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -2112,6 +2212,7 @@ Info 116 [16:04:04.000] request: "seq": 12, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -2149,6 +2250,7 @@ FsWatchesRecursive:: Info 117 [16:04:05.000] Search path: /user/username/projects/myproject/dependency Info 118 [16:04:06.000] For info: /user/username/projects/myproject/dependency/FnS.ts :: Config file name: /user/username/projects/myproject/dependency/tsconfig.json +After request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configWithReference/dependency-dts-changes.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configWithReference/dependency-dts-changes.js index fb051b53adcc8..2b92a499f0102 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configWithReference/dependency-dts-changes.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configWithReference/dependency-dts-changes.js @@ -8,6 +8,7 @@ Info 1 [16:01:01.000] request: "file": "/user/username/projects/myproject/main/main.ts" } } +Before request //// [/user/username/projects/myproject/dependency/FnS.ts] export function fn1() { } export function fn2() { } @@ -270,6 +271,7 @@ Info 29 [16:01:31.000] ----------------------------------------------- Info 29 [16:01:32.000] Open files: Info 29 [16:01:33.000] FileName: /user/username/projects/myproject/main/main.ts ProjectRootPath: undefined Info 29 [16:01:34.000] Projects: /user/username/projects/myproject/main/tsconfig.json +After request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -308,6 +310,7 @@ Info 30 [16:01:36.000] request: "file": "/user/username/projects/myproject/dependency/FnS.ts" } } +Before request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -371,6 +374,7 @@ Info 47 [16:02:00.000] FileName: /user/username/projects/myproject/main/main. Info 47 [16:02:01.000] Projects: /user/username/projects/myproject/main/tsconfig.json Info 47 [16:02:02.000] FileName: /user/username/projects/myproject/dependency/FnS.ts ProjectRootPath: undefined Info 47 [16:02:03.000] Projects: /user/username/projects/myproject/main/tsconfig.json,/user/username/projects/myproject/dependency/tsconfig.json +After request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -409,6 +413,7 @@ Info 48 [16:02:05.000] request: "file": "/user/username/projects/myproject/random/random.ts" } } +Before request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -486,6 +491,7 @@ Info 66 [16:02:35.000] FileName: /user/username/projects/myproject/dependency Info 66 [16:02:36.000] Projects: /user/username/projects/myproject/main/tsconfig.json,/user/username/projects/myproject/dependency/tsconfig.json Info 66 [16:02:37.000] FileName: /user/username/projects/myproject/random/random.ts ProjectRootPath: undefined Info 66 [16:02:38.000] Projects: /user/username/projects/myproject/random/tsconfig.json +After request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -532,6 +538,7 @@ Info 67 [16:02:40.000] request: "seq": 1, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -563,6 +570,7 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +After request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -642,6 +650,7 @@ Info 69 [16:02:42.000] request: "seq": 2, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -677,6 +686,7 @@ Info 70 [16:02:43.000] Search path: /user/username/projects/myproject/dependen Info 71 [16:02:44.000] For info: /user/username/projects/myproject/dependency/FnS.ts :: Config file name: /user/username/projects/myproject/dependency/tsconfig.json Info 72 [16:02:45.000] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls/FnS.d.ts 500 undefined WatchType: Closed Script info Info 73 [16:02:46.000] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls/FnS.d.ts.map 500 undefined WatchType: Closed Script info +After request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -809,6 +819,7 @@ Info 80 [16:02:56.000] request: "seq": 3, "type": "request" } +Before request //// [/user/username/projects/myproject/decls/FnS.d.ts] export declare function fn1(): void; export declare function fn2(): void; @@ -856,6 +867,7 @@ FsWatchesRecursive:: Info 81 [16:02:57.000] Starting updateGraphWorker: Project: /user/username/projects/myproject/main/tsconfig.json Info 82 [16:02:58.000] Finishing updateGraphWorker: Project: /user/username/projects/myproject/main/tsconfig.json Version: 2 structureChanged: false structureIsReused:: Completely Elapsed:: *ms Info 83 [16:02:59.000] Different program with same set of files +After request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -939,6 +951,7 @@ Info 85 [16:03:01.000] request: "seq": 4, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -974,6 +987,7 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +After request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -1057,6 +1071,7 @@ Info 87 [16:03:03.000] request: "seq": 5, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -1092,6 +1107,7 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +After request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -1175,6 +1191,7 @@ Info 89 [16:03:05.000] request: "seq": 6, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -1210,6 +1227,7 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +After request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -1293,6 +1311,7 @@ Info 91 [16:03:07.000] request: "seq": 7, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -1328,6 +1347,7 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +After request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -1411,6 +1431,7 @@ Info 93 [16:03:09.000] request: "seq": 8, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -1450,6 +1471,7 @@ Info 94 [16:03:10.000] Starting updateGraphWorker: Project: /user/username/pro Info 95 [16:03:11.000] Finishing updateGraphWorker: Project: /user/username/projects/myproject/dependency/tsconfig.json Version: 2 structureChanged: false structureIsReused:: Not Elapsed:: *ms Info 96 [16:03:12.000] Search path: /user/username/projects/myproject/dependency Info 97 [16:03:13.000] For info: /user/username/projects/myproject/dependency/FnS.ts :: Config file name: /user/username/projects/myproject/dependency/tsconfig.json +After request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -1577,6 +1599,7 @@ Info 99 [16:03:15.000] request: "seq": 9, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -1614,6 +1637,7 @@ FsWatchesRecursive:: Info 100 [16:03:16.000] Search path: /user/username/projects/myproject/dependency Info 101 [16:03:17.000] For info: /user/username/projects/myproject/dependency/FnS.ts :: Config file name: /user/username/projects/myproject/dependency/tsconfig.json +After request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -1741,6 +1765,7 @@ Info 103 [16:03:19.000] request: "seq": 10, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -1778,6 +1803,7 @@ FsWatchesRecursive:: Info 104 [16:03:20.000] Search path: /user/username/projects/myproject/dependency Info 105 [16:03:21.000] For info: /user/username/projects/myproject/dependency/FnS.ts :: Config file name: /user/username/projects/myproject/dependency/tsconfig.json +After request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -1905,6 +1931,7 @@ Info 107 [16:03:23.000] request: "seq": 11, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -1942,6 +1969,7 @@ FsWatchesRecursive:: Info 108 [16:03:24.000] Search path: /user/username/projects/myproject/dependency Info 109 [16:03:25.000] For info: /user/username/projects/myproject/dependency/FnS.ts :: Config file name: /user/username/projects/myproject/dependency/tsconfig.json +After request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -2069,6 +2097,7 @@ Info 111 [16:03:27.000] request: "seq": 12, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -2106,6 +2135,7 @@ FsWatchesRecursive:: Info 112 [16:03:28.000] Search path: /user/username/projects/myproject/dependency Info 113 [16:03:29.000] For info: /user/username/projects/myproject/dependency/FnS.ts :: Config file name: /user/username/projects/myproject/dependency/tsconfig.json +After request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configWithReference/dependency-dts-created.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configWithReference/dependency-dts-created.js index 5a846a25f6ef3..6e472b9d94ab5 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configWithReference/dependency-dts-created.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configWithReference/dependency-dts-created.js @@ -8,6 +8,7 @@ Info 1 [16:01:02.000] request: "file": "/user/username/projects/myproject/main/main.ts" } } +Before request //// [/user/username/projects/myproject/dependency/FnS.ts] export function fn1() { } export function fn2() { } @@ -262,6 +263,7 @@ Info 29 [16:01:32.000] ----------------------------------------------- Info 29 [16:01:33.000] Open files: Info 29 [16:01:34.000] FileName: /user/username/projects/myproject/main/main.ts ProjectRootPath: undefined Info 29 [16:01:35.000] Projects: /user/username/projects/myproject/main/tsconfig.json +After request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -300,6 +302,7 @@ Info 30 [16:01:37.000] request: "file": "/user/username/projects/myproject/dependency/FnS.ts" } } +Before request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -363,6 +366,7 @@ Info 47 [16:02:01.000] FileName: /user/username/projects/myproject/main/main. Info 47 [16:02:02.000] Projects: /user/username/projects/myproject/main/tsconfig.json Info 47 [16:02:03.000] FileName: /user/username/projects/myproject/dependency/FnS.ts ProjectRootPath: undefined Info 47 [16:02:04.000] Projects: /user/username/projects/myproject/main/tsconfig.json,/user/username/projects/myproject/dependency/tsconfig.json +After request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -401,6 +405,7 @@ Info 48 [16:02:06.000] request: "file": "/user/username/projects/myproject/random/random.ts" } } +Before request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -478,6 +483,7 @@ Info 66 [16:02:36.000] FileName: /user/username/projects/myproject/dependency Info 66 [16:02:37.000] Projects: /user/username/projects/myproject/main/tsconfig.json,/user/username/projects/myproject/dependency/tsconfig.json Info 66 [16:02:38.000] FileName: /user/username/projects/myproject/random/random.ts ProjectRootPath: undefined Info 66 [16:02:39.000] Projects: /user/username/projects/myproject/random/tsconfig.json +After request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -524,6 +530,7 @@ Info 67 [16:02:41.000] request: "seq": 1, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -555,6 +562,7 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +After request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -634,6 +642,7 @@ Info 69 [16:02:43.000] request: "seq": 2, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -668,6 +677,7 @@ FsWatchesRecursive:: Info 70 [16:02:44.000] Search path: /user/username/projects/myproject/dependency Info 71 [16:02:45.000] For info: /user/username/projects/myproject/dependency/FnS.ts :: Config file name: /user/username/projects/myproject/dependency/tsconfig.json Info 72 [16:02:46.000] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls/FnS.d.ts 2000 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Missing generated file +After request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -804,6 +814,7 @@ Info 85 [16:03:01.000] request: "seq": 3, "type": "request" } +Before request //// [/user/username/projects/myproject/decls/FnS.d.ts] export declare function fn1(): void; export declare function fn2(): void; @@ -845,6 +856,7 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +After request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -926,6 +938,7 @@ Info 87 [16:03:03.000] request: "seq": 4, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -959,6 +972,7 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +After request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -1040,6 +1054,7 @@ Info 89 [16:03:05.000] request: "seq": 5, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -1073,6 +1088,7 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +After request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -1154,6 +1170,7 @@ Info 91 [16:03:07.000] request: "seq": 6, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -1187,6 +1204,7 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +After request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -1268,6 +1286,7 @@ Info 93 [16:03:09.000] request: "seq": 7, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -1301,6 +1320,7 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +After request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -1382,6 +1402,7 @@ Info 95 [16:03:11.000] request: "seq": 8, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -1421,6 +1442,7 @@ Info 98 [16:03:14.000] Search path: /user/username/projects/myproject/dependen Info 99 [16:03:15.000] For info: /user/username/projects/myproject/dependency/FnS.ts :: Config file name: /user/username/projects/myproject/dependency/tsconfig.json Info 100 [16:03:16.000] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls/FnS.d.ts 500 undefined WatchType: Closed Script info Info 101 [16:03:17.000] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls/FnS.d.ts.map 500 undefined WatchType: Closed Script info +After request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -1548,6 +1570,7 @@ Info 103 [16:03:19.000] request: "seq": 9, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -1585,6 +1608,7 @@ FsWatchesRecursive:: Info 104 [16:03:20.000] Search path: /user/username/projects/myproject/dependency Info 105 [16:03:21.000] For info: /user/username/projects/myproject/dependency/FnS.ts :: Config file name: /user/username/projects/myproject/dependency/tsconfig.json +After request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -1712,6 +1736,7 @@ Info 107 [16:03:23.000] request: "seq": 10, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -1749,6 +1774,7 @@ FsWatchesRecursive:: Info 108 [16:03:24.000] Search path: /user/username/projects/myproject/dependency Info 109 [16:03:25.000] For info: /user/username/projects/myproject/dependency/FnS.ts :: Config file name: /user/username/projects/myproject/dependency/tsconfig.json +After request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -1876,6 +1902,7 @@ Info 111 [16:03:27.000] request: "seq": 11, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -1913,6 +1940,7 @@ FsWatchesRecursive:: Info 112 [16:03:28.000] Search path: /user/username/projects/myproject/dependency Info 113 [16:03:29.000] For info: /user/username/projects/myproject/dependency/FnS.ts :: Config file name: /user/username/projects/myproject/dependency/tsconfig.json +After request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -2040,6 +2068,7 @@ Info 115 [16:03:31.000] request: "seq": 12, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -2077,6 +2106,7 @@ FsWatchesRecursive:: Info 116 [16:03:32.000] Search path: /user/username/projects/myproject/dependency Info 117 [16:03:33.000] For info: /user/username/projects/myproject/dependency/FnS.ts :: Config file name: /user/username/projects/myproject/dependency/tsconfig.json +After request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -2202,6 +2232,7 @@ Info 119 [16:03:35.000] request: "file": "/user/username/projects/myproject/random/random.ts" } } +Before request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -2255,6 +2286,7 @@ Info 121 [16:03:47.000] FileName: /user/username/projects/myproject/main/main. Info 121 [16:03:48.000] Projects: /user/username/projects/myproject/main/tsconfig.json Info 121 [16:03:49.000] FileName: /user/username/projects/myproject/dependency/FnS.ts ProjectRootPath: undefined Info 121 [16:03:50.000] Projects: /user/username/projects/myproject/main/tsconfig.json,/user/username/projects/myproject/dependency/tsconfig.json +After request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -2305,6 +2337,7 @@ Info 122 [16:03:52.000] request: "file": "/user/username/projects/myproject/random/random.ts" } } +Before request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -2364,6 +2397,7 @@ Info 126 [16:04:08.000] FileName: /user/username/projects/myproject/dependency Info 126 [16:04:09.000] Projects: /user/username/projects/myproject/main/tsconfig.json,/user/username/projects/myproject/dependency/tsconfig.json Info 126 [16:04:10.000] FileName: /user/username/projects/myproject/random/random.ts ProjectRootPath: undefined Info 126 [16:04:11.000] Projects: /user/username/projects/myproject/random/tsconfig.json +After request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -2412,6 +2446,7 @@ Info 127 [16:04:13.000] request: "file": "/user/username/projects/myproject/main/main.ts" } } +Before request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -2465,6 +2500,7 @@ Info 129 [16:04:25.000] FileName: /user/username/projects/myproject/dependency Info 129 [16:04:26.000] Projects: /user/username/projects/myproject/main/tsconfig.json,/user/username/projects/myproject/dependency/tsconfig.json Info 129 [16:04:27.000] FileName: /user/username/projects/myproject/random/random.ts ProjectRootPath: undefined Info 129 [16:04:28.000] Projects: /user/username/projects/myproject/random/tsconfig.json +After request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -2515,6 +2551,7 @@ Info 130 [16:04:30.000] request: "file": "/user/username/projects/myproject/dependency/FnS.ts" } } +Before request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -2568,6 +2605,7 @@ Info 132 [16:04:40.000] ----------------------------------------------- Info 132 [16:04:41.000] Open files: Info 132 [16:04:42.000] FileName: /user/username/projects/myproject/random/random.ts ProjectRootPath: undefined Info 132 [16:04:43.000] Projects: /user/username/projects/myproject/random/tsconfig.json +After request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -2620,6 +2658,7 @@ Info 133 [16:04:45.000] request: "file": "/user/username/projects/myproject/random/random.ts" } } +Before request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -2673,6 +2712,7 @@ Info 135 [16:04:54.000] Files (2) Info 135 [16:04:55.000] ----------------------------------------------- Info 135 [16:04:56.000] Open files: +After request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -2727,6 +2767,7 @@ Info 136 [16:04:58.000] request: "file": "/user/username/projects/myproject/random/random.ts" } } +Before request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -2828,6 +2869,7 @@ Info 169 [16:05:33.000] ----------------------------------------------- Info 169 [16:05:34.000] Open files: Info 169 [16:05:35.000] FileName: /user/username/projects/myproject/random/random.ts ProjectRootPath: undefined Info 169 [16:05:36.000] Projects: /user/username/projects/myproject/random/tsconfig.json +After request PolledWatches:: /user/username/projects/myproject/node_modules/@types: diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configWithReference/dependency-dts-deleted.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configWithReference/dependency-dts-deleted.js index cfab1a8b7343b..550a7107ff87e 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configWithReference/dependency-dts-deleted.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configWithReference/dependency-dts-deleted.js @@ -8,6 +8,7 @@ Info 1 [16:01:01.000] request: "file": "/user/username/projects/myproject/main/main.ts" } } +Before request //// [/user/username/projects/myproject/dependency/FnS.ts] export function fn1() { } export function fn2() { } @@ -270,6 +271,7 @@ Info 29 [16:01:31.000] ----------------------------------------------- Info 29 [16:01:32.000] Open files: Info 29 [16:01:33.000] FileName: /user/username/projects/myproject/main/main.ts ProjectRootPath: undefined Info 29 [16:01:34.000] Projects: /user/username/projects/myproject/main/tsconfig.json +After request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -308,6 +310,7 @@ Info 30 [16:01:36.000] request: "file": "/user/username/projects/myproject/dependency/FnS.ts" } } +Before request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -371,6 +374,7 @@ Info 47 [16:02:00.000] FileName: /user/username/projects/myproject/main/main. Info 47 [16:02:01.000] Projects: /user/username/projects/myproject/main/tsconfig.json Info 47 [16:02:02.000] FileName: /user/username/projects/myproject/dependency/FnS.ts ProjectRootPath: undefined Info 47 [16:02:03.000] Projects: /user/username/projects/myproject/main/tsconfig.json,/user/username/projects/myproject/dependency/tsconfig.json +After request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -409,6 +413,7 @@ Info 48 [16:02:05.000] request: "file": "/user/username/projects/myproject/random/random.ts" } } +Before request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -486,6 +491,7 @@ Info 66 [16:02:35.000] FileName: /user/username/projects/myproject/dependency Info 66 [16:02:36.000] Projects: /user/username/projects/myproject/main/tsconfig.json,/user/username/projects/myproject/dependency/tsconfig.json Info 66 [16:02:37.000] FileName: /user/username/projects/myproject/random/random.ts ProjectRootPath: undefined Info 66 [16:02:38.000] Projects: /user/username/projects/myproject/random/tsconfig.json +After request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -532,6 +538,7 @@ Info 67 [16:02:40.000] request: "seq": 1, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -563,6 +570,7 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +After request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -642,6 +650,7 @@ Info 69 [16:02:42.000] request: "seq": 2, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -677,6 +686,7 @@ Info 70 [16:02:43.000] Search path: /user/username/projects/myproject/dependen Info 71 [16:02:44.000] For info: /user/username/projects/myproject/dependency/FnS.ts :: Config file name: /user/username/projects/myproject/dependency/tsconfig.json Info 72 [16:02:45.000] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls/FnS.d.ts 500 undefined WatchType: Closed Script info Info 73 [16:02:46.000] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls/FnS.d.ts.map 500 undefined WatchType: Closed Script info +After request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -813,6 +823,7 @@ Info 84 [16:02:58.000] request: "seq": 3, "type": "request" } +Before request //// [/user/username/projects/myproject/decls/FnS.d.ts] deleted PolledWatches:: @@ -850,6 +861,7 @@ FsWatchesRecursive:: Info 85 [16:02:59.000] Starting updateGraphWorker: Project: /user/username/projects/myproject/main/tsconfig.json Info 86 [16:03:00.000] Finishing updateGraphWorker: Project: /user/username/projects/myproject/main/tsconfig.json Version: 2 structureChanged: false structureIsReused:: Completely Elapsed:: *ms Info 87 [16:03:01.000] Different program with same set of files +After request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -931,6 +943,7 @@ Info 89 [16:03:03.000] request: "seq": 4, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -964,6 +977,7 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +After request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -1045,6 +1059,7 @@ Info 91 [16:03:05.000] request: "seq": 5, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -1078,6 +1093,7 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +After request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -1159,6 +1175,7 @@ Info 93 [16:03:07.000] request: "seq": 6, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -1192,6 +1209,7 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +After request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -1273,6 +1291,7 @@ Info 95 [16:03:09.000] request: "seq": 7, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -1306,6 +1325,7 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +After request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -1387,6 +1407,7 @@ Info 97 [16:03:11.000] request: "seq": 8, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -1425,6 +1446,7 @@ Info 99 [16:03:13.000] Finishing updateGraphWorker: Project: /user/username/pr Info 100 [16:03:14.000] Search path: /user/username/projects/myproject/dependency Info 101 [16:03:15.000] For info: /user/username/projects/myproject/dependency/FnS.ts :: Config file name: /user/username/projects/myproject/dependency/tsconfig.json Info 102 [16:03:16.000] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls/FnS.d.ts 2000 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Missing generated file +After request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -1552,6 +1574,7 @@ Info 104 [16:03:18.000] request: "seq": 9, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -1589,6 +1612,7 @@ FsWatchesRecursive:: Info 105 [16:03:19.000] Search path: /user/username/projects/myproject/dependency Info 106 [16:03:20.000] For info: /user/username/projects/myproject/dependency/FnS.ts :: Config file name: /user/username/projects/myproject/dependency/tsconfig.json +After request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -1716,6 +1740,7 @@ Info 108 [16:03:22.000] request: "seq": 10, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -1753,6 +1778,7 @@ FsWatchesRecursive:: Info 109 [16:03:23.000] Search path: /user/username/projects/myproject/dependency Info 110 [16:03:24.000] For info: /user/username/projects/myproject/dependency/FnS.ts :: Config file name: /user/username/projects/myproject/dependency/tsconfig.json +After request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -1880,6 +1906,7 @@ Info 112 [16:03:26.000] request: "seq": 11, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -1917,6 +1944,7 @@ FsWatchesRecursive:: Info 113 [16:03:27.000] Search path: /user/username/projects/myproject/dependency Info 114 [16:03:28.000] For info: /user/username/projects/myproject/dependency/FnS.ts :: Config file name: /user/username/projects/myproject/dependency/tsconfig.json +After request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -2044,6 +2072,7 @@ Info 116 [16:03:30.000] request: "seq": 12, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -2081,6 +2110,7 @@ FsWatchesRecursive:: Info 117 [16:03:31.000] Search path: /user/username/projects/myproject/dependency Info 118 [16:03:32.000] For info: /user/username/projects/myproject/dependency/FnS.ts :: Config file name: /user/username/projects/myproject/dependency/tsconfig.json +After request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -2206,6 +2236,7 @@ Info 120 [16:03:34.000] request: "file": "/user/username/projects/myproject/random/random.ts" } } +Before request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -2259,6 +2290,7 @@ Info 122 [16:03:46.000] FileName: /user/username/projects/myproject/main/main. Info 122 [16:03:47.000] Projects: /user/username/projects/myproject/main/tsconfig.json Info 122 [16:03:48.000] FileName: /user/username/projects/myproject/dependency/FnS.ts ProjectRootPath: undefined Info 122 [16:03:49.000] Projects: /user/username/projects/myproject/main/tsconfig.json,/user/username/projects/myproject/dependency/tsconfig.json +After request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -2309,6 +2341,7 @@ Info 123 [16:03:51.000] request: "file": "/user/username/projects/myproject/random/random.ts" } } +Before request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -2369,6 +2402,7 @@ Info 128 [16:04:08.000] FileName: /user/username/projects/myproject/dependency Info 128 [16:04:09.000] Projects: /user/username/projects/myproject/main/tsconfig.json,/user/username/projects/myproject/dependency/tsconfig.json Info 128 [16:04:10.000] FileName: /user/username/projects/myproject/random/random.ts ProjectRootPath: undefined Info 128 [16:04:11.000] Projects: /user/username/projects/myproject/random/tsconfig.json +After request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -2415,6 +2449,7 @@ Info 129 [16:04:13.000] request: "file": "/user/username/projects/myproject/main/main.ts" } } +Before request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -2466,6 +2501,7 @@ Info 131 [16:04:25.000] FileName: /user/username/projects/myproject/dependency Info 131 [16:04:26.000] Projects: /user/username/projects/myproject/main/tsconfig.json,/user/username/projects/myproject/dependency/tsconfig.json Info 131 [16:04:27.000] FileName: /user/username/projects/myproject/random/random.ts ProjectRootPath: undefined Info 131 [16:04:28.000] Projects: /user/username/projects/myproject/random/tsconfig.json +After request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -2514,6 +2550,7 @@ Info 132 [16:04:30.000] request: "file": "/user/username/projects/myproject/dependency/FnS.ts" } } +Before request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -2565,6 +2602,7 @@ Info 134 [16:04:40.000] ----------------------------------------------- Info 134 [16:04:41.000] Open files: Info 134 [16:04:42.000] FileName: /user/username/projects/myproject/random/random.ts ProjectRootPath: undefined Info 134 [16:04:43.000] Projects: /user/username/projects/myproject/random/tsconfig.json +After request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -2615,6 +2653,7 @@ Info 135 [16:04:45.000] request: "file": "/user/username/projects/myproject/random/random.ts" } } +Before request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -2666,6 +2705,7 @@ Info 137 [16:04:54.000] Files (2) Info 137 [16:04:55.000] ----------------------------------------------- Info 137 [16:04:56.000] Open files: +After request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -2718,6 +2758,7 @@ Info 138 [16:04:58.000] request: "file": "/user/username/projects/myproject/random/random.ts" } } +Before request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -2815,6 +2856,7 @@ Info 169 [16:05:31.000] ----------------------------------------------- Info 169 [16:05:32.000] Open files: Info 169 [16:05:33.000] FileName: /user/username/projects/myproject/random/random.ts ProjectRootPath: undefined Info 169 [16:05:34.000] Projects: /user/username/projects/myproject/random/tsconfig.json +After request PolledWatches:: /user/username/projects/myproject/node_modules/@types: diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configWithReference/dependency-dts-not-present.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configWithReference/dependency-dts-not-present.js index afd568701521a..def486080d5bd 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configWithReference/dependency-dts-not-present.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configWithReference/dependency-dts-not-present.js @@ -8,6 +8,7 @@ Info 1 [16:01:02.000] request: "file": "/user/username/projects/myproject/main/main.ts" } } +Before request //// [/user/username/projects/myproject/dependency/FnS.ts] export function fn1() { } export function fn2() { } @@ -262,6 +263,7 @@ Info 29 [16:01:32.000] ----------------------------------------------- Info 29 [16:01:33.000] Open files: Info 29 [16:01:34.000] FileName: /user/username/projects/myproject/main/main.ts ProjectRootPath: undefined Info 29 [16:01:35.000] Projects: /user/username/projects/myproject/main/tsconfig.json +After request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -300,6 +302,7 @@ Info 30 [16:01:37.000] request: "file": "/user/username/projects/myproject/dependency/FnS.ts" } } +Before request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -363,6 +366,7 @@ Info 47 [16:02:01.000] FileName: /user/username/projects/myproject/main/main. Info 47 [16:02:02.000] Projects: /user/username/projects/myproject/main/tsconfig.json Info 47 [16:02:03.000] FileName: /user/username/projects/myproject/dependency/FnS.ts ProjectRootPath: undefined Info 47 [16:02:04.000] Projects: /user/username/projects/myproject/main/tsconfig.json,/user/username/projects/myproject/dependency/tsconfig.json +After request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -401,6 +405,7 @@ Info 48 [16:02:06.000] request: "file": "/user/username/projects/myproject/random/random.ts" } } +Before request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -478,6 +483,7 @@ Info 66 [16:02:36.000] FileName: /user/username/projects/myproject/dependency Info 66 [16:02:37.000] Projects: /user/username/projects/myproject/main/tsconfig.json,/user/username/projects/myproject/dependency/tsconfig.json Info 66 [16:02:38.000] FileName: /user/username/projects/myproject/random/random.ts ProjectRootPath: undefined Info 66 [16:02:39.000] Projects: /user/username/projects/myproject/random/tsconfig.json +After request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -524,6 +530,7 @@ Info 67 [16:02:41.000] request: "seq": 1, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -555,6 +562,7 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +After request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -634,6 +642,7 @@ Info 69 [16:02:43.000] request: "seq": 2, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -665,6 +674,7 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +After request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -744,6 +754,7 @@ Info 71 [16:02:45.000] request: "seq": 3, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -775,6 +786,7 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +After request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -854,6 +866,7 @@ Info 73 [16:02:47.000] request: "seq": 4, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -885,6 +898,7 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +After request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -964,6 +978,7 @@ Info 75 [16:02:49.000] request: "seq": 5, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -995,6 +1010,7 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +After request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -1074,6 +1090,7 @@ Info 77 [16:02:51.000] request: "seq": 6, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -1108,6 +1125,7 @@ FsWatchesRecursive:: Info 78 [16:02:52.000] Search path: /user/username/projects/myproject/dependency Info 79 [16:02:53.000] For info: /user/username/projects/myproject/dependency/FnS.ts :: Config file name: /user/username/projects/myproject/dependency/tsconfig.json Info 80 [16:02:54.000] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls/FnS.d.ts 2000 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Missing generated file +After request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -1233,6 +1251,7 @@ Info 82 [16:02:56.000] request: "seq": 7, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -1268,6 +1287,7 @@ FsWatchesRecursive:: Info 83 [16:02:57.000] Search path: /user/username/projects/myproject/dependency Info 84 [16:02:58.000] For info: /user/username/projects/myproject/dependency/FnS.ts :: Config file name: /user/username/projects/myproject/dependency/tsconfig.json +After request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -1393,6 +1413,7 @@ Info 86 [16:03:00.000] request: "seq": 8, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -1428,6 +1449,7 @@ FsWatchesRecursive:: Info 87 [16:03:01.000] Search path: /user/username/projects/myproject/dependency Info 88 [16:03:02.000] For info: /user/username/projects/myproject/dependency/FnS.ts :: Config file name: /user/username/projects/myproject/dependency/tsconfig.json +After request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -1553,6 +1575,7 @@ Info 90 [16:03:04.000] request: "seq": 9, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -1588,6 +1611,7 @@ FsWatchesRecursive:: Info 91 [16:03:05.000] Search path: /user/username/projects/myproject/dependency Info 92 [16:03:06.000] For info: /user/username/projects/myproject/dependency/FnS.ts :: Config file name: /user/username/projects/myproject/dependency/tsconfig.json +After request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -1713,6 +1737,7 @@ Info 94 [16:03:08.000] request: "seq": 10, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -1748,6 +1773,7 @@ FsWatchesRecursive:: Info 95 [16:03:09.000] Search path: /user/username/projects/myproject/dependency Info 96 [16:03:10.000] For info: /user/username/projects/myproject/dependency/FnS.ts :: Config file name: /user/username/projects/myproject/dependency/tsconfig.json +After request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -1871,6 +1897,7 @@ Info 98 [16:03:12.000] request: "file": "/user/username/projects/myproject/random/random.ts" } } +Before request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -1922,6 +1949,7 @@ Info 100 [16:03:24.000] FileName: /user/username/projects/myproject/main/main. Info 100 [16:03:25.000] Projects: /user/username/projects/myproject/main/tsconfig.json Info 100 [16:03:26.000] FileName: /user/username/projects/myproject/dependency/FnS.ts ProjectRootPath: undefined Info 100 [16:03:27.000] Projects: /user/username/projects/myproject/main/tsconfig.json,/user/username/projects/myproject/dependency/tsconfig.json +After request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -1970,6 +1998,7 @@ Info 101 [16:03:29.000] request: "file": "/user/username/projects/myproject/random/random.ts" } } +Before request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -2027,6 +2056,7 @@ Info 105 [16:03:45.000] FileName: /user/username/projects/myproject/dependency Info 105 [16:03:46.000] Projects: /user/username/projects/myproject/main/tsconfig.json,/user/username/projects/myproject/dependency/tsconfig.json Info 105 [16:03:47.000] FileName: /user/username/projects/myproject/random/random.ts ProjectRootPath: undefined Info 105 [16:03:48.000] Projects: /user/username/projects/myproject/random/tsconfig.json +After request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -2073,6 +2103,7 @@ Info 106 [16:03:50.000] request: "file": "/user/username/projects/myproject/main/main.ts" } } +Before request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -2124,6 +2155,7 @@ Info 108 [16:04:02.000] FileName: /user/username/projects/myproject/dependency Info 108 [16:04:03.000] Projects: /user/username/projects/myproject/main/tsconfig.json,/user/username/projects/myproject/dependency/tsconfig.json Info 108 [16:04:04.000] FileName: /user/username/projects/myproject/random/random.ts ProjectRootPath: undefined Info 108 [16:04:05.000] Projects: /user/username/projects/myproject/random/tsconfig.json +After request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -2172,6 +2204,7 @@ Info 109 [16:04:07.000] request: "file": "/user/username/projects/myproject/dependency/FnS.ts" } } +Before request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -2223,6 +2256,7 @@ Info 111 [16:04:17.000] ----------------------------------------------- Info 111 [16:04:18.000] Open files: Info 111 [16:04:19.000] FileName: /user/username/projects/myproject/random/random.ts ProjectRootPath: undefined Info 111 [16:04:20.000] Projects: /user/username/projects/myproject/random/tsconfig.json +After request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -2273,6 +2307,7 @@ Info 112 [16:04:22.000] request: "file": "/user/username/projects/myproject/random/random.ts" } } +Before request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -2324,6 +2359,7 @@ Info 114 [16:04:31.000] Files (2) Info 114 [16:04:32.000] ----------------------------------------------- Info 114 [16:04:33.000] Open files: +After request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -2376,6 +2412,7 @@ Info 115 [16:04:35.000] request: "file": "/user/username/projects/myproject/random/random.ts" } } +Before request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -2473,6 +2510,7 @@ Info 146 [16:05:08.000] ----------------------------------------------- Info 146 [16:05:09.000] Open files: Info 146 [16:05:10.000] FileName: /user/username/projects/myproject/random/random.ts ProjectRootPath: undefined Info 146 [16:05:11.000] Projects: /user/username/projects/myproject/random/tsconfig.json +After request PolledWatches:: /user/username/projects/myproject/node_modules/@types: diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configWithReference/dependency-dtsMap-changes-with-timeout-before-request.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configWithReference/dependency-dtsMap-changes-with-timeout-before-request.js index 0c6c1a1ba5162..64df74a12f2a2 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configWithReference/dependency-dtsMap-changes-with-timeout-before-request.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configWithReference/dependency-dtsMap-changes-with-timeout-before-request.js @@ -8,6 +8,7 @@ Info 1 [16:01:01.000] request: "file": "/user/username/projects/myproject/main/main.ts" } } +Before request //// [/user/username/projects/myproject/dependency/FnS.ts] export function fn1() { } export function fn2() { } @@ -270,6 +271,7 @@ Info 29 [16:01:31.000] ----------------------------------------------- Info 29 [16:01:32.000] Open files: Info 29 [16:01:33.000] FileName: /user/username/projects/myproject/main/main.ts ProjectRootPath: undefined Info 29 [16:01:34.000] Projects: /user/username/projects/myproject/main/tsconfig.json +After request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -308,6 +310,7 @@ Info 30 [16:01:36.000] request: "file": "/user/username/projects/myproject/dependency/FnS.ts" } } +Before request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -371,6 +374,7 @@ Info 47 [16:02:00.000] FileName: /user/username/projects/myproject/main/main. Info 47 [16:02:01.000] Projects: /user/username/projects/myproject/main/tsconfig.json Info 47 [16:02:02.000] FileName: /user/username/projects/myproject/dependency/FnS.ts ProjectRootPath: undefined Info 47 [16:02:03.000] Projects: /user/username/projects/myproject/main/tsconfig.json,/user/username/projects/myproject/dependency/tsconfig.json +After request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -409,6 +413,7 @@ Info 48 [16:02:05.000] request: "file": "/user/username/projects/myproject/random/random.ts" } } +Before request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -486,6 +491,7 @@ Info 66 [16:02:35.000] FileName: /user/username/projects/myproject/dependency Info 66 [16:02:36.000] Projects: /user/username/projects/myproject/main/tsconfig.json,/user/username/projects/myproject/dependency/tsconfig.json Info 66 [16:02:37.000] FileName: /user/username/projects/myproject/random/random.ts ProjectRootPath: undefined Info 66 [16:02:38.000] Projects: /user/username/projects/myproject/random/tsconfig.json +After request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -532,6 +538,7 @@ Info 67 [16:02:40.000] request: "seq": 1, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -563,6 +570,7 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +After request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -642,6 +650,7 @@ Info 69 [16:02:42.000] request: "seq": 2, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -677,6 +686,7 @@ Info 70 [16:02:43.000] Search path: /user/username/projects/myproject/dependen Info 71 [16:02:44.000] For info: /user/username/projects/myproject/dependency/FnS.ts :: Config file name: /user/username/projects/myproject/dependency/tsconfig.json Info 72 [16:02:45.000] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls/FnS.d.ts 500 undefined WatchType: Closed Script info Info 73 [16:02:46.000] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls/FnS.d.ts.map 500 undefined WatchType: Closed Script info +After request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -798,6 +808,45 @@ Info 76 [16:02:52.000] Scheduled: /user/username/projects/myproject/main/tscon Info 77 [16:02:53.000] Scheduled: /user/username/projects/myproject/dependency/tsconfig.json Info 78 [16:02:54.000] Scheduled: *ensureProjectForOpenFiles* Info 79 [16:02:55.000] Elapsed:: *ms FileWatcher:: Triggered with /user/username/projects/myproject/decls/FnS.d.ts.map 1:: WatchInfo: /user/username/projects/myproject/decls/FnS.d.ts.map 500 undefined WatchType: Closed Script info +Before running timeout callbacks +//// [/user/username/projects/myproject/decls/FnS.d.ts.map] +{"version":3,"file":"FnS.d.ts","sourceRoot":"","sources":["../dependency/FnS.ts"],"names":[],"mappings":"AAAA,wBAAgB,GAAG,SAAM;AACzB,wBAAgB,GAAG,SAAM;AACzB,wBAAgB,GAAG,SAAM;AACzB,wBAAgB,GAAG,SAAM;AACzB,wBAAgB,GAAG,SAAM;AACzB,eAAO,MAAM,CAAC,KAAK,CAAC"} + + +PolledWatches:: +/user/username/projects/myproject/main/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/myproject/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/myproject/dependency/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/myproject/random/node_modules/@types: + {"pollingInterval":500} + +FsWatches:: +/user/username/projects/myproject/main/tsconfig.json: + {} +/user/username/projects/myproject/dependency/tsconfig.json: + {} +/a/lib/lib.d.ts: + {} +/user/username/projects/myproject/random/tsconfig.json: + {} +/user/username/projects/myproject/decls/fns.d.ts: + {} +/user/username/projects/myproject/decls/fns.d.ts.map: + {} + +FsWatchesRecursive:: +/user/username/projects/myproject/main: + {} +/user/username/projects/myproject/dependency: + {} +/user/username/projects/myproject/decls: + {} +/user/username/projects/myproject/random: + {} + Info 80 [16:02:56.000] Running: /user/username/projects/myproject/main/tsconfig.json Info 81 [16:02:57.000] Starting updateGraphWorker: Project: /user/username/projects/myproject/main/tsconfig.json Info 82 [16:02:58.000] Finishing updateGraphWorker: Project: /user/username/projects/myproject/main/tsconfig.json Version: 2 structureChanged: false structureIsReused:: Completely Elapsed:: *ms @@ -846,6 +895,42 @@ Info 90 [16:03:34.000] FileName: /user/username/projects/myproject/dependency Info 90 [16:03:35.000] Projects: /user/username/projects/myproject/main/tsconfig.json,/user/username/projects/myproject/dependency/tsconfig.json Info 90 [16:03:36.000] FileName: /user/username/projects/myproject/random/random.ts ProjectRootPath: undefined Info 90 [16:03:37.000] Projects: /user/username/projects/myproject/random/tsconfig.json +After running timeout callbacks + +PolledWatches:: +/user/username/projects/myproject/main/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/myproject/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/myproject/dependency/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/myproject/random/node_modules/@types: + {"pollingInterval":500} + +FsWatches:: +/user/username/projects/myproject/main/tsconfig.json: + {} +/user/username/projects/myproject/dependency/tsconfig.json: + {} +/a/lib/lib.d.ts: + {} +/user/username/projects/myproject/random/tsconfig.json: + {} +/user/username/projects/myproject/decls/fns.d.ts: + {} +/user/username/projects/myproject/decls/fns.d.ts.map: + {} + +FsWatchesRecursive:: +/user/username/projects/myproject/main: + {} +/user/username/projects/myproject/dependency: + {} +/user/username/projects/myproject/decls: + {} +/user/username/projects/myproject/random: + {} + Info 90 [16:03:38.000] request: { "command": "definitionAndBoundSpan", @@ -857,9 +942,7 @@ Info 90 [16:03:38.000] request: "seq": 3, "type": "request" } -//// [/user/username/projects/myproject/decls/FnS.d.ts.map] -{"version":3,"file":"FnS.d.ts","sourceRoot":"","sources":["../dependency/FnS.ts"],"names":[],"mappings":"AAAA,wBAAgB,GAAG,SAAM;AACzB,wBAAgB,GAAG,SAAM;AACzB,wBAAgB,GAAG,SAAM;AACzB,wBAAgB,GAAG,SAAM;AACzB,wBAAgB,GAAG,SAAM;AACzB,eAAO,MAAM,CAAC,KAAK,CAAC"} - +Before request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -895,6 +978,7 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +After request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -978,6 +1062,7 @@ Info 92 [16:03:40.000] request: "seq": 4, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -1013,6 +1098,7 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +After request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -1096,6 +1182,7 @@ Info 94 [16:03:42.000] request: "seq": 5, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -1131,6 +1218,7 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +After request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -1214,6 +1302,7 @@ Info 96 [16:03:44.000] request: "seq": 6, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -1249,6 +1338,7 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +After request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -1332,6 +1422,7 @@ Info 98 [16:03:46.000] request: "seq": 7, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -1367,6 +1458,7 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +After request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -1450,6 +1542,7 @@ Info 100 [16:03:48.000] request: "seq": 8, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -1487,6 +1580,7 @@ FsWatchesRecursive:: Info 101 [16:03:49.000] Search path: /user/username/projects/myproject/dependency Info 102 [16:03:50.000] For info: /user/username/projects/myproject/dependency/FnS.ts :: Config file name: /user/username/projects/myproject/dependency/tsconfig.json +After request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -1614,6 +1708,7 @@ Info 104 [16:03:52.000] request: "seq": 9, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -1651,6 +1746,7 @@ FsWatchesRecursive:: Info 105 [16:03:53.000] Search path: /user/username/projects/myproject/dependency Info 106 [16:03:54.000] For info: /user/username/projects/myproject/dependency/FnS.ts :: Config file name: /user/username/projects/myproject/dependency/tsconfig.json +After request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -1778,6 +1874,7 @@ Info 108 [16:03:56.000] request: "seq": 10, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -1815,6 +1912,7 @@ FsWatchesRecursive:: Info 109 [16:03:57.000] Search path: /user/username/projects/myproject/dependency Info 110 [16:03:58.000] For info: /user/username/projects/myproject/dependency/FnS.ts :: Config file name: /user/username/projects/myproject/dependency/tsconfig.json +After request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -1942,6 +2040,7 @@ Info 112 [16:04:00.000] request: "seq": 11, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -1979,6 +2078,7 @@ FsWatchesRecursive:: Info 113 [16:04:01.000] Search path: /user/username/projects/myproject/dependency Info 114 [16:04:02.000] For info: /user/username/projects/myproject/dependency/FnS.ts :: Config file name: /user/username/projects/myproject/dependency/tsconfig.json +After request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -2106,6 +2206,7 @@ Info 116 [16:04:04.000] request: "seq": 12, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -2143,6 +2244,7 @@ FsWatchesRecursive:: Info 117 [16:04:05.000] Search path: /user/username/projects/myproject/dependency Info 118 [16:04:06.000] For info: /user/username/projects/myproject/dependency/FnS.ts :: Config file name: /user/username/projects/myproject/dependency/tsconfig.json +After request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configWithReference/dependency-dtsMap-changes.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configWithReference/dependency-dtsMap-changes.js index 6e9685dc342bd..2cca71b34c53a 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configWithReference/dependency-dtsMap-changes.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configWithReference/dependency-dtsMap-changes.js @@ -8,6 +8,7 @@ Info 1 [16:01:01.000] request: "file": "/user/username/projects/myproject/main/main.ts" } } +Before request //// [/user/username/projects/myproject/dependency/FnS.ts] export function fn1() { } export function fn2() { } @@ -270,6 +271,7 @@ Info 29 [16:01:31.000] ----------------------------------------------- Info 29 [16:01:32.000] Open files: Info 29 [16:01:33.000] FileName: /user/username/projects/myproject/main/main.ts ProjectRootPath: undefined Info 29 [16:01:34.000] Projects: /user/username/projects/myproject/main/tsconfig.json +After request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -308,6 +310,7 @@ Info 30 [16:01:36.000] request: "file": "/user/username/projects/myproject/dependency/FnS.ts" } } +Before request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -371,6 +374,7 @@ Info 47 [16:02:00.000] FileName: /user/username/projects/myproject/main/main. Info 47 [16:02:01.000] Projects: /user/username/projects/myproject/main/tsconfig.json Info 47 [16:02:02.000] FileName: /user/username/projects/myproject/dependency/FnS.ts ProjectRootPath: undefined Info 47 [16:02:03.000] Projects: /user/username/projects/myproject/main/tsconfig.json,/user/username/projects/myproject/dependency/tsconfig.json +After request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -409,6 +413,7 @@ Info 48 [16:02:05.000] request: "file": "/user/username/projects/myproject/random/random.ts" } } +Before request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -486,6 +491,7 @@ Info 66 [16:02:35.000] FileName: /user/username/projects/myproject/dependency Info 66 [16:02:36.000] Projects: /user/username/projects/myproject/main/tsconfig.json,/user/username/projects/myproject/dependency/tsconfig.json Info 66 [16:02:37.000] FileName: /user/username/projects/myproject/random/random.ts ProjectRootPath: undefined Info 66 [16:02:38.000] Projects: /user/username/projects/myproject/random/tsconfig.json +After request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -532,6 +538,7 @@ Info 67 [16:02:40.000] request: "seq": 1, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -563,6 +570,7 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +After request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -642,6 +650,7 @@ Info 69 [16:02:42.000] request: "seq": 2, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -677,6 +686,7 @@ Info 70 [16:02:43.000] Search path: /user/username/projects/myproject/dependen Info 71 [16:02:44.000] For info: /user/username/projects/myproject/dependency/FnS.ts :: Config file name: /user/username/projects/myproject/dependency/tsconfig.json Info 72 [16:02:45.000] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls/FnS.d.ts 500 undefined WatchType: Closed Script info Info 73 [16:02:46.000] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls/FnS.d.ts.map 500 undefined WatchType: Closed Script info +After request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -809,6 +819,7 @@ Info 80 [16:02:56.000] request: "seq": 3, "type": "request" } +Before request //// [/user/username/projects/myproject/decls/FnS.d.ts.map] {"version":3,"file":"FnS.d.ts","sourceRoot":"","sources":["../dependency/FnS.ts"],"names":[],"mappings":"AAAA,wBAAgB,GAAG,SAAM;AACzB,wBAAgB,GAAG,SAAM;AACzB,wBAAgB,GAAG,SAAM;AACzB,wBAAgB,GAAG,SAAM;AACzB,wBAAgB,GAAG,SAAM;AACzB,eAAO,MAAM,CAAC,KAAK,CAAC"} @@ -850,6 +861,7 @@ FsWatchesRecursive:: Info 81 [16:02:57.000] Starting updateGraphWorker: Project: /user/username/projects/myproject/main/tsconfig.json Info 82 [16:02:58.000] Finishing updateGraphWorker: Project: /user/username/projects/myproject/main/tsconfig.json Version: 2 structureChanged: false structureIsReused:: Completely Elapsed:: *ms Info 83 [16:02:59.000] Different program with same set of files +After request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -933,6 +945,7 @@ Info 85 [16:03:01.000] request: "seq": 4, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -968,6 +981,7 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +After request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -1051,6 +1065,7 @@ Info 87 [16:03:03.000] request: "seq": 5, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -1086,6 +1101,7 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +After request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -1169,6 +1185,7 @@ Info 89 [16:03:05.000] request: "seq": 6, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -1204,6 +1221,7 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +After request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -1287,6 +1305,7 @@ Info 91 [16:03:07.000] request: "seq": 7, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -1322,6 +1341,7 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +After request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -1405,6 +1425,7 @@ Info 93 [16:03:09.000] request: "seq": 8, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -1444,6 +1465,7 @@ Info 94 [16:03:10.000] Starting updateGraphWorker: Project: /user/username/pro Info 95 [16:03:11.000] Finishing updateGraphWorker: Project: /user/username/projects/myproject/dependency/tsconfig.json Version: 2 structureChanged: false structureIsReused:: Not Elapsed:: *ms Info 96 [16:03:12.000] Search path: /user/username/projects/myproject/dependency Info 97 [16:03:13.000] For info: /user/username/projects/myproject/dependency/FnS.ts :: Config file name: /user/username/projects/myproject/dependency/tsconfig.json +After request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -1571,6 +1593,7 @@ Info 99 [16:03:15.000] request: "seq": 9, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -1608,6 +1631,7 @@ FsWatchesRecursive:: Info 100 [16:03:16.000] Search path: /user/username/projects/myproject/dependency Info 101 [16:03:17.000] For info: /user/username/projects/myproject/dependency/FnS.ts :: Config file name: /user/username/projects/myproject/dependency/tsconfig.json +After request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -1735,6 +1759,7 @@ Info 103 [16:03:19.000] request: "seq": 10, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -1772,6 +1797,7 @@ FsWatchesRecursive:: Info 104 [16:03:20.000] Search path: /user/username/projects/myproject/dependency Info 105 [16:03:21.000] For info: /user/username/projects/myproject/dependency/FnS.ts :: Config file name: /user/username/projects/myproject/dependency/tsconfig.json +After request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -1899,6 +1925,7 @@ Info 107 [16:03:23.000] request: "seq": 11, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -1936,6 +1963,7 @@ FsWatchesRecursive:: Info 108 [16:03:24.000] Search path: /user/username/projects/myproject/dependency Info 109 [16:03:25.000] For info: /user/username/projects/myproject/dependency/FnS.ts :: Config file name: /user/username/projects/myproject/dependency/tsconfig.json +After request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -2063,6 +2091,7 @@ Info 111 [16:03:27.000] request: "seq": 12, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -2100,6 +2129,7 @@ FsWatchesRecursive:: Info 112 [16:03:28.000] Search path: /user/username/projects/myproject/dependency Info 113 [16:03:29.000] For info: /user/username/projects/myproject/dependency/FnS.ts :: Config file name: /user/username/projects/myproject/dependency/tsconfig.json +After request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configWithReference/dependency-dtsMap-created.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configWithReference/dependency-dtsMap-created.js index e9fec19c995f0..b22d8146e6f88 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configWithReference/dependency-dtsMap-created.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configWithReference/dependency-dtsMap-created.js @@ -8,6 +8,7 @@ Info 1 [16:01:02.000] request: "file": "/user/username/projects/myproject/main/main.ts" } } +Before request //// [/user/username/projects/myproject/dependency/FnS.ts] export function fn1() { } export function fn2() { } @@ -267,6 +268,7 @@ Info 29 [16:01:32.000] ----------------------------------------------- Info 29 [16:01:33.000] Open files: Info 29 [16:01:34.000] FileName: /user/username/projects/myproject/main/main.ts ProjectRootPath: undefined Info 29 [16:01:35.000] Projects: /user/username/projects/myproject/main/tsconfig.json +After request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -305,6 +307,7 @@ Info 30 [16:01:37.000] request: "file": "/user/username/projects/myproject/dependency/FnS.ts" } } +Before request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -368,6 +371,7 @@ Info 47 [16:02:01.000] FileName: /user/username/projects/myproject/main/main. Info 47 [16:02:02.000] Projects: /user/username/projects/myproject/main/tsconfig.json Info 47 [16:02:03.000] FileName: /user/username/projects/myproject/dependency/FnS.ts ProjectRootPath: undefined Info 47 [16:02:04.000] Projects: /user/username/projects/myproject/main/tsconfig.json,/user/username/projects/myproject/dependency/tsconfig.json +After request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -406,6 +410,7 @@ Info 48 [16:02:06.000] request: "file": "/user/username/projects/myproject/random/random.ts" } } +Before request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -483,6 +488,7 @@ Info 66 [16:02:36.000] FileName: /user/username/projects/myproject/dependency Info 66 [16:02:37.000] Projects: /user/username/projects/myproject/main/tsconfig.json,/user/username/projects/myproject/dependency/tsconfig.json Info 66 [16:02:38.000] FileName: /user/username/projects/myproject/random/random.ts ProjectRootPath: undefined Info 66 [16:02:39.000] Projects: /user/username/projects/myproject/random/tsconfig.json +After request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -529,6 +535,7 @@ Info 67 [16:02:41.000] request: "seq": 1, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -560,6 +567,7 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +After request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -639,6 +647,7 @@ Info 69 [16:02:43.000] request: "seq": 2, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -674,6 +683,7 @@ Info 70 [16:02:44.000] Search path: /user/username/projects/myproject/dependen Info 71 [16:02:45.000] For info: /user/username/projects/myproject/dependency/FnS.ts :: Config file name: /user/username/projects/myproject/dependency/tsconfig.json Info 72 [16:02:46.000] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls/FnS.d.ts 500 undefined WatchType: Closed Script info Info 73 [16:02:47.000] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls/FnS.d.ts.map 2000 undefined WatchType: Missing source map file +After request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -809,6 +819,7 @@ Info 83 [16:02:59.000] request: "seq": 3, "type": "request" } +Before request //// [/user/username/projects/myproject/decls/FnS.d.ts.map] {"version":3,"file":"FnS.d.ts","sourceRoot":"","sources":["../dependency/FnS.ts"],"names":[],"mappings":"AAAA,wBAAgB,GAAG,SAAM;AACzB,wBAAgB,GAAG,SAAM;AACzB,wBAAgB,GAAG,SAAM;AACzB,wBAAgB,GAAG,SAAM;AACzB,wBAAgB,GAAG,SAAM"} @@ -848,6 +859,7 @@ FsWatchesRecursive:: Info 84 [16:03:00.000] Starting updateGraphWorker: Project: /user/username/projects/myproject/main/tsconfig.json Info 85 [16:03:01.000] Finishing updateGraphWorker: Project: /user/username/projects/myproject/main/tsconfig.json Version: 2 structureChanged: false structureIsReused:: Completely Elapsed:: *ms Info 86 [16:03:02.000] Different program with same set of files +After request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -929,6 +941,7 @@ Info 88 [16:03:04.000] request: "seq": 4, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -962,6 +975,7 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +After request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -1043,6 +1057,7 @@ Info 90 [16:03:06.000] request: "seq": 5, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -1076,6 +1091,7 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +After request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -1157,6 +1173,7 @@ Info 92 [16:03:08.000] request: "seq": 6, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -1190,6 +1207,7 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +After request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -1271,6 +1289,7 @@ Info 94 [16:03:10.000] request: "seq": 7, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -1304,6 +1323,7 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +After request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -1385,6 +1405,7 @@ Info 96 [16:03:12.000] request: "seq": 8, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -1423,6 +1444,7 @@ Info 98 [16:03:14.000] Finishing updateGraphWorker: Project: /user/username/pr Info 99 [16:03:15.000] Search path: /user/username/projects/myproject/dependency Info 100 [16:03:16.000] For info: /user/username/projects/myproject/dependency/FnS.ts :: Config file name: /user/username/projects/myproject/dependency/tsconfig.json Info 101 [16:03:17.000] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls/FnS.d.ts.map 500 undefined WatchType: Closed Script info +After request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -1550,6 +1572,7 @@ Info 103 [16:03:19.000] request: "seq": 9, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -1587,6 +1610,7 @@ FsWatchesRecursive:: Info 104 [16:03:20.000] Search path: /user/username/projects/myproject/dependency Info 105 [16:03:21.000] For info: /user/username/projects/myproject/dependency/FnS.ts :: Config file name: /user/username/projects/myproject/dependency/tsconfig.json +After request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -1714,6 +1738,7 @@ Info 107 [16:03:23.000] request: "seq": 10, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -1751,6 +1776,7 @@ FsWatchesRecursive:: Info 108 [16:03:24.000] Search path: /user/username/projects/myproject/dependency Info 109 [16:03:25.000] For info: /user/username/projects/myproject/dependency/FnS.ts :: Config file name: /user/username/projects/myproject/dependency/tsconfig.json +After request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -1878,6 +1904,7 @@ Info 111 [16:03:27.000] request: "seq": 11, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -1915,6 +1942,7 @@ FsWatchesRecursive:: Info 112 [16:03:28.000] Search path: /user/username/projects/myproject/dependency Info 113 [16:03:29.000] For info: /user/username/projects/myproject/dependency/FnS.ts :: Config file name: /user/username/projects/myproject/dependency/tsconfig.json +After request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -2042,6 +2070,7 @@ Info 115 [16:03:31.000] request: "seq": 12, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -2079,6 +2108,7 @@ FsWatchesRecursive:: Info 116 [16:03:32.000] Search path: /user/username/projects/myproject/dependency Info 117 [16:03:33.000] For info: /user/username/projects/myproject/dependency/FnS.ts :: Config file name: /user/username/projects/myproject/dependency/tsconfig.json +After request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -2204,6 +2234,7 @@ Info 119 [16:03:35.000] request: "file": "/user/username/projects/myproject/random/random.ts" } } +Before request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -2257,6 +2288,7 @@ Info 121 [16:03:47.000] FileName: /user/username/projects/myproject/main/main. Info 121 [16:03:48.000] Projects: /user/username/projects/myproject/main/tsconfig.json Info 121 [16:03:49.000] FileName: /user/username/projects/myproject/dependency/FnS.ts ProjectRootPath: undefined Info 121 [16:03:50.000] Projects: /user/username/projects/myproject/main/tsconfig.json,/user/username/projects/myproject/dependency/tsconfig.json +After request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -2307,6 +2339,7 @@ Info 122 [16:03:52.000] request: "file": "/user/username/projects/myproject/random/random.ts" } } +Before request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -2366,6 +2399,7 @@ Info 126 [16:04:08.000] FileName: /user/username/projects/myproject/dependency Info 126 [16:04:09.000] Projects: /user/username/projects/myproject/main/tsconfig.json,/user/username/projects/myproject/dependency/tsconfig.json Info 126 [16:04:10.000] FileName: /user/username/projects/myproject/random/random.ts ProjectRootPath: undefined Info 126 [16:04:11.000] Projects: /user/username/projects/myproject/random/tsconfig.json +After request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -2414,6 +2448,7 @@ Info 127 [16:04:13.000] request: "file": "/user/username/projects/myproject/main/main.ts" } } +Before request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -2467,6 +2502,7 @@ Info 129 [16:04:25.000] FileName: /user/username/projects/myproject/dependency Info 129 [16:04:26.000] Projects: /user/username/projects/myproject/main/tsconfig.json,/user/username/projects/myproject/dependency/tsconfig.json Info 129 [16:04:27.000] FileName: /user/username/projects/myproject/random/random.ts ProjectRootPath: undefined Info 129 [16:04:28.000] Projects: /user/username/projects/myproject/random/tsconfig.json +After request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -2517,6 +2553,7 @@ Info 130 [16:04:30.000] request: "file": "/user/username/projects/myproject/dependency/FnS.ts" } } +Before request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -2570,6 +2607,7 @@ Info 132 [16:04:40.000] ----------------------------------------------- Info 132 [16:04:41.000] Open files: Info 132 [16:04:42.000] FileName: /user/username/projects/myproject/random/random.ts ProjectRootPath: undefined Info 132 [16:04:43.000] Projects: /user/username/projects/myproject/random/tsconfig.json +After request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -2622,6 +2660,7 @@ Info 133 [16:04:45.000] request: "file": "/user/username/projects/myproject/random/random.ts" } } +Before request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -2675,6 +2714,7 @@ Info 135 [16:04:54.000] Files (2) Info 135 [16:04:55.000] ----------------------------------------------- Info 135 [16:04:56.000] Open files: +After request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -2729,6 +2769,7 @@ Info 136 [16:04:58.000] request: "file": "/user/username/projects/myproject/random/random.ts" } } +Before request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -2829,6 +2870,7 @@ Info 168 [16:05:32.000] ----------------------------------------------- Info 168 [16:05:33.000] Open files: Info 168 [16:05:34.000] FileName: /user/username/projects/myproject/random/random.ts ProjectRootPath: undefined Info 168 [16:05:35.000] Projects: /user/username/projects/myproject/random/tsconfig.json +After request PolledWatches:: /user/username/projects/myproject/node_modules/@types: diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configWithReference/dependency-dtsMap-deleted.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configWithReference/dependency-dtsMap-deleted.js index 92e5971cfd8a6..3eb81e349c212 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configWithReference/dependency-dtsMap-deleted.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configWithReference/dependency-dtsMap-deleted.js @@ -8,6 +8,7 @@ Info 1 [16:01:01.000] request: "file": "/user/username/projects/myproject/main/main.ts" } } +Before request //// [/user/username/projects/myproject/dependency/FnS.ts] export function fn1() { } export function fn2() { } @@ -270,6 +271,7 @@ Info 29 [16:01:31.000] ----------------------------------------------- Info 29 [16:01:32.000] Open files: Info 29 [16:01:33.000] FileName: /user/username/projects/myproject/main/main.ts ProjectRootPath: undefined Info 29 [16:01:34.000] Projects: /user/username/projects/myproject/main/tsconfig.json +After request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -308,6 +310,7 @@ Info 30 [16:01:36.000] request: "file": "/user/username/projects/myproject/dependency/FnS.ts" } } +Before request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -371,6 +374,7 @@ Info 47 [16:02:00.000] FileName: /user/username/projects/myproject/main/main. Info 47 [16:02:01.000] Projects: /user/username/projects/myproject/main/tsconfig.json Info 47 [16:02:02.000] FileName: /user/username/projects/myproject/dependency/FnS.ts ProjectRootPath: undefined Info 47 [16:02:03.000] Projects: /user/username/projects/myproject/main/tsconfig.json,/user/username/projects/myproject/dependency/tsconfig.json +After request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -409,6 +413,7 @@ Info 48 [16:02:05.000] request: "file": "/user/username/projects/myproject/random/random.ts" } } +Before request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -486,6 +491,7 @@ Info 66 [16:02:35.000] FileName: /user/username/projects/myproject/dependency Info 66 [16:02:36.000] Projects: /user/username/projects/myproject/main/tsconfig.json,/user/username/projects/myproject/dependency/tsconfig.json Info 66 [16:02:37.000] FileName: /user/username/projects/myproject/random/random.ts ProjectRootPath: undefined Info 66 [16:02:38.000] Projects: /user/username/projects/myproject/random/tsconfig.json +After request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -532,6 +538,7 @@ Info 67 [16:02:40.000] request: "seq": 1, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -563,6 +570,7 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +After request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -642,6 +650,7 @@ Info 69 [16:02:42.000] request: "seq": 2, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -677,6 +686,7 @@ Info 70 [16:02:43.000] Search path: /user/username/projects/myproject/dependen Info 71 [16:02:44.000] For info: /user/username/projects/myproject/dependency/FnS.ts :: Config file name: /user/username/projects/myproject/dependency/tsconfig.json Info 72 [16:02:45.000] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls/FnS.d.ts 500 undefined WatchType: Closed Script info Info 73 [16:02:46.000] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls/FnS.d.ts.map 500 undefined WatchType: Closed Script info +After request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -812,6 +822,7 @@ Info 83 [16:02:57.000] request: "seq": 3, "type": "request" } +Before request //// [/user/username/projects/myproject/decls/FnS.d.ts.map] deleted PolledWatches:: @@ -849,6 +860,7 @@ FsWatchesRecursive:: Info 84 [16:02:58.000] Starting updateGraphWorker: Project: /user/username/projects/myproject/main/tsconfig.json Info 85 [16:02:59.000] Finishing updateGraphWorker: Project: /user/username/projects/myproject/main/tsconfig.json Version: 2 structureChanged: false structureIsReused:: Completely Elapsed:: *ms Info 86 [16:03:00.000] Different program with same set of files +After request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -930,6 +942,7 @@ Info 88 [16:03:02.000] request: "seq": 4, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -963,6 +976,7 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +After request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -1044,6 +1058,7 @@ Info 90 [16:03:04.000] request: "seq": 5, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -1077,6 +1092,7 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +After request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -1158,6 +1174,7 @@ Info 92 [16:03:06.000] request: "seq": 6, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -1191,6 +1208,7 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +After request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -1272,6 +1290,7 @@ Info 94 [16:03:08.000] request: "seq": 7, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -1305,6 +1324,7 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +After request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -1386,6 +1406,7 @@ Info 96 [16:03:10.000] request: "seq": 8, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -1424,6 +1445,7 @@ Info 98 [16:03:12.000] Finishing updateGraphWorker: Project: /user/username/pr Info 99 [16:03:13.000] Search path: /user/username/projects/myproject/dependency Info 100 [16:03:14.000] For info: /user/username/projects/myproject/dependency/FnS.ts :: Config file name: /user/username/projects/myproject/dependency/tsconfig.json Info 101 [16:03:15.000] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls/FnS.d.ts.map 2000 undefined WatchType: Missing source map file +After request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -1551,6 +1573,7 @@ Info 103 [16:03:17.000] request: "seq": 9, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -1588,6 +1611,7 @@ FsWatchesRecursive:: Info 104 [16:03:18.000] Search path: /user/username/projects/myproject/dependency Info 105 [16:03:19.000] For info: /user/username/projects/myproject/dependency/FnS.ts :: Config file name: /user/username/projects/myproject/dependency/tsconfig.json +After request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -1715,6 +1739,7 @@ Info 107 [16:03:21.000] request: "seq": 10, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -1752,6 +1777,7 @@ FsWatchesRecursive:: Info 108 [16:03:22.000] Search path: /user/username/projects/myproject/dependency Info 109 [16:03:23.000] For info: /user/username/projects/myproject/dependency/FnS.ts :: Config file name: /user/username/projects/myproject/dependency/tsconfig.json +After request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -1879,6 +1905,7 @@ Info 111 [16:03:25.000] request: "seq": 11, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -1916,6 +1943,7 @@ FsWatchesRecursive:: Info 112 [16:03:26.000] Search path: /user/username/projects/myproject/dependency Info 113 [16:03:27.000] For info: /user/username/projects/myproject/dependency/FnS.ts :: Config file name: /user/username/projects/myproject/dependency/tsconfig.json +After request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -2043,6 +2071,7 @@ Info 115 [16:03:29.000] request: "seq": 12, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -2080,6 +2109,7 @@ FsWatchesRecursive:: Info 116 [16:03:30.000] Search path: /user/username/projects/myproject/dependency Info 117 [16:03:31.000] For info: /user/username/projects/myproject/dependency/FnS.ts :: Config file name: /user/username/projects/myproject/dependency/tsconfig.json +After request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -2205,6 +2235,7 @@ Info 119 [16:03:33.000] request: "file": "/user/username/projects/myproject/random/random.ts" } } +Before request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -2258,6 +2289,7 @@ Info 121 [16:03:45.000] FileName: /user/username/projects/myproject/main/main. Info 121 [16:03:46.000] Projects: /user/username/projects/myproject/main/tsconfig.json Info 121 [16:03:47.000] FileName: /user/username/projects/myproject/dependency/FnS.ts ProjectRootPath: undefined Info 121 [16:03:48.000] Projects: /user/username/projects/myproject/main/tsconfig.json,/user/username/projects/myproject/dependency/tsconfig.json +After request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -2308,6 +2340,7 @@ Info 122 [16:03:50.000] request: "file": "/user/username/projects/myproject/random/random.ts" } } +Before request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -2367,6 +2400,7 @@ Info 126 [16:04:06.000] FileName: /user/username/projects/myproject/dependency Info 126 [16:04:07.000] Projects: /user/username/projects/myproject/main/tsconfig.json,/user/username/projects/myproject/dependency/tsconfig.json Info 126 [16:04:08.000] FileName: /user/username/projects/myproject/random/random.ts ProjectRootPath: undefined Info 126 [16:04:09.000] Projects: /user/username/projects/myproject/random/tsconfig.json +After request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -2415,6 +2449,7 @@ Info 127 [16:04:11.000] request: "file": "/user/username/projects/myproject/main/main.ts" } } +Before request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -2468,6 +2503,7 @@ Info 129 [16:04:23.000] FileName: /user/username/projects/myproject/dependency Info 129 [16:04:24.000] Projects: /user/username/projects/myproject/main/tsconfig.json,/user/username/projects/myproject/dependency/tsconfig.json Info 129 [16:04:25.000] FileName: /user/username/projects/myproject/random/random.ts ProjectRootPath: undefined Info 129 [16:04:26.000] Projects: /user/username/projects/myproject/random/tsconfig.json +After request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -2518,6 +2554,7 @@ Info 130 [16:04:28.000] request: "file": "/user/username/projects/myproject/dependency/FnS.ts" } } +Before request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -2571,6 +2608,7 @@ Info 132 [16:04:38.000] ----------------------------------------------- Info 132 [16:04:39.000] Open files: Info 132 [16:04:40.000] FileName: /user/username/projects/myproject/random/random.ts ProjectRootPath: undefined Info 132 [16:04:41.000] Projects: /user/username/projects/myproject/random/tsconfig.json +After request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -2623,6 +2661,7 @@ Info 133 [16:04:43.000] request: "file": "/user/username/projects/myproject/random/random.ts" } } +Before request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -2676,6 +2715,7 @@ Info 135 [16:04:52.000] Files (2) Info 135 [16:04:53.000] ----------------------------------------------- Info 135 [16:04:54.000] Open files: +After request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -2730,6 +2770,7 @@ Info 136 [16:04:56.000] request: "file": "/user/username/projects/myproject/random/random.ts" } } +Before request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -2830,6 +2871,7 @@ Info 168 [16:05:30.000] ----------------------------------------------- Info 168 [16:05:31.000] Open files: Info 168 [16:05:32.000] FileName: /user/username/projects/myproject/random/random.ts ProjectRootPath: undefined Info 168 [16:05:33.000] Projects: /user/username/projects/myproject/random/tsconfig.json +After request PolledWatches:: /user/username/projects/myproject/node_modules/@types: diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configWithReference/dependency-dtsMap-not-present.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configWithReference/dependency-dtsMap-not-present.js index ff7e5760c4d1f..b34d5f696c233 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configWithReference/dependency-dtsMap-not-present.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configWithReference/dependency-dtsMap-not-present.js @@ -8,6 +8,7 @@ Info 1 [16:01:02.000] request: "file": "/user/username/projects/myproject/main/main.ts" } } +Before request //// [/user/username/projects/myproject/dependency/FnS.ts] export function fn1() { } export function fn2() { } @@ -267,6 +268,7 @@ Info 29 [16:01:32.000] ----------------------------------------------- Info 29 [16:01:33.000] Open files: Info 29 [16:01:34.000] FileName: /user/username/projects/myproject/main/main.ts ProjectRootPath: undefined Info 29 [16:01:35.000] Projects: /user/username/projects/myproject/main/tsconfig.json +After request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -305,6 +307,7 @@ Info 30 [16:01:37.000] request: "file": "/user/username/projects/myproject/dependency/FnS.ts" } } +Before request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -368,6 +371,7 @@ Info 47 [16:02:01.000] FileName: /user/username/projects/myproject/main/main. Info 47 [16:02:02.000] Projects: /user/username/projects/myproject/main/tsconfig.json Info 47 [16:02:03.000] FileName: /user/username/projects/myproject/dependency/FnS.ts ProjectRootPath: undefined Info 47 [16:02:04.000] Projects: /user/username/projects/myproject/main/tsconfig.json,/user/username/projects/myproject/dependency/tsconfig.json +After request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -406,6 +410,7 @@ Info 48 [16:02:06.000] request: "file": "/user/username/projects/myproject/random/random.ts" } } +Before request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -483,6 +488,7 @@ Info 66 [16:02:36.000] FileName: /user/username/projects/myproject/dependency Info 66 [16:02:37.000] Projects: /user/username/projects/myproject/main/tsconfig.json,/user/username/projects/myproject/dependency/tsconfig.json Info 66 [16:02:38.000] FileName: /user/username/projects/myproject/random/random.ts ProjectRootPath: undefined Info 66 [16:02:39.000] Projects: /user/username/projects/myproject/random/tsconfig.json +After request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -529,6 +535,7 @@ Info 67 [16:02:41.000] request: "seq": 1, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -560,6 +567,7 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +After request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -639,6 +647,7 @@ Info 69 [16:02:43.000] request: "seq": 2, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -670,6 +679,7 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +After request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -749,6 +759,7 @@ Info 71 [16:02:45.000] request: "seq": 3, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -780,6 +791,7 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +After request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -859,6 +871,7 @@ Info 73 [16:02:47.000] request: "seq": 4, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -890,6 +903,7 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +After request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -969,6 +983,7 @@ Info 75 [16:02:49.000] request: "seq": 5, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -1000,6 +1015,7 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +After request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -1079,6 +1095,7 @@ Info 77 [16:02:51.000] request: "seq": 6, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -1114,6 +1131,7 @@ Info 78 [16:02:52.000] Search path: /user/username/projects/myproject/dependen Info 79 [16:02:53.000] For info: /user/username/projects/myproject/dependency/FnS.ts :: Config file name: /user/username/projects/myproject/dependency/tsconfig.json Info 80 [16:02:54.000] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls/FnS.d.ts 500 undefined WatchType: Closed Script info Info 81 [16:02:55.000] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls/FnS.d.ts.map 2000 undefined WatchType: Missing source map file +After request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -1241,6 +1259,7 @@ Info 83 [16:02:57.000] request: "seq": 7, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -1278,6 +1297,7 @@ FsWatchesRecursive:: Info 84 [16:02:58.000] Search path: /user/username/projects/myproject/dependency Info 85 [16:02:59.000] For info: /user/username/projects/myproject/dependency/FnS.ts :: Config file name: /user/username/projects/myproject/dependency/tsconfig.json +After request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -1405,6 +1425,7 @@ Info 87 [16:03:01.000] request: "seq": 8, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -1442,6 +1463,7 @@ FsWatchesRecursive:: Info 88 [16:03:02.000] Search path: /user/username/projects/myproject/dependency Info 89 [16:03:03.000] For info: /user/username/projects/myproject/dependency/FnS.ts :: Config file name: /user/username/projects/myproject/dependency/tsconfig.json +After request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -1569,6 +1591,7 @@ Info 91 [16:03:05.000] request: "seq": 9, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -1606,6 +1629,7 @@ FsWatchesRecursive:: Info 92 [16:03:06.000] Search path: /user/username/projects/myproject/dependency Info 93 [16:03:07.000] For info: /user/username/projects/myproject/dependency/FnS.ts :: Config file name: /user/username/projects/myproject/dependency/tsconfig.json +After request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -1733,6 +1757,7 @@ Info 95 [16:03:09.000] request: "seq": 10, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -1770,6 +1795,7 @@ FsWatchesRecursive:: Info 96 [16:03:10.000] Search path: /user/username/projects/myproject/dependency Info 97 [16:03:11.000] For info: /user/username/projects/myproject/dependency/FnS.ts :: Config file name: /user/username/projects/myproject/dependency/tsconfig.json +After request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -1895,6 +1921,7 @@ Info 99 [16:03:13.000] request: "file": "/user/username/projects/myproject/random/random.ts" } } +Before request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -1948,6 +1975,7 @@ Info 101 [16:03:25.000] FileName: /user/username/projects/myproject/main/main. Info 101 [16:03:26.000] Projects: /user/username/projects/myproject/main/tsconfig.json Info 101 [16:03:27.000] FileName: /user/username/projects/myproject/dependency/FnS.ts ProjectRootPath: undefined Info 101 [16:03:28.000] Projects: /user/username/projects/myproject/main/tsconfig.json,/user/username/projects/myproject/dependency/tsconfig.json +After request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -1998,6 +2026,7 @@ Info 102 [16:03:30.000] request: "file": "/user/username/projects/myproject/random/random.ts" } } +Before request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -2057,6 +2086,7 @@ Info 106 [16:03:46.000] FileName: /user/username/projects/myproject/dependency Info 106 [16:03:47.000] Projects: /user/username/projects/myproject/main/tsconfig.json,/user/username/projects/myproject/dependency/tsconfig.json Info 106 [16:03:48.000] FileName: /user/username/projects/myproject/random/random.ts ProjectRootPath: undefined Info 106 [16:03:49.000] Projects: /user/username/projects/myproject/random/tsconfig.json +After request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -2105,6 +2135,7 @@ Info 107 [16:03:51.000] request: "file": "/user/username/projects/myproject/main/main.ts" } } +Before request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -2158,6 +2189,7 @@ Info 109 [16:04:03.000] FileName: /user/username/projects/myproject/dependency Info 109 [16:04:04.000] Projects: /user/username/projects/myproject/main/tsconfig.json,/user/username/projects/myproject/dependency/tsconfig.json Info 109 [16:04:05.000] FileName: /user/username/projects/myproject/random/random.ts ProjectRootPath: undefined Info 109 [16:04:06.000] Projects: /user/username/projects/myproject/random/tsconfig.json +After request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -2208,6 +2240,7 @@ Info 110 [16:04:08.000] request: "file": "/user/username/projects/myproject/dependency/FnS.ts" } } +Before request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -2261,6 +2294,7 @@ Info 112 [16:04:18.000] ----------------------------------------------- Info 112 [16:04:19.000] Open files: Info 112 [16:04:20.000] FileName: /user/username/projects/myproject/random/random.ts ProjectRootPath: undefined Info 112 [16:04:21.000] Projects: /user/username/projects/myproject/random/tsconfig.json +After request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -2313,6 +2347,7 @@ Info 113 [16:04:23.000] request: "file": "/user/username/projects/myproject/random/random.ts" } } +Before request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -2366,6 +2401,7 @@ Info 115 [16:04:32.000] Files (2) Info 115 [16:04:33.000] ----------------------------------------------- Info 115 [16:04:34.000] Open files: +After request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -2420,6 +2456,7 @@ Info 116 [16:04:36.000] request: "file": "/user/username/projects/myproject/random/random.ts" } } +Before request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -2520,6 +2557,7 @@ Info 148 [16:05:10.000] ----------------------------------------------- Info 148 [16:05:11.000] Open files: Info 148 [16:05:12.000] FileName: /user/username/projects/myproject/random/random.ts ProjectRootPath: undefined Info 148 [16:05:13.000] Projects: /user/username/projects/myproject/random/tsconfig.json +After request PolledWatches:: /user/username/projects/myproject/node_modules/@types: diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configWithReference/dependency-source-changes-with-timeout-before-request.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configWithReference/dependency-source-changes-with-timeout-before-request.js index f5c7316a5d9a1..5dd0af6572d33 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configWithReference/dependency-source-changes-with-timeout-before-request.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configWithReference/dependency-source-changes-with-timeout-before-request.js @@ -8,6 +8,7 @@ Info 1 [16:01:01.000] request: "file": "/user/username/projects/myproject/main/main.ts" } } +Before request //// [/user/username/projects/myproject/dependency/FnS.ts] export function fn1() { } export function fn2() { } @@ -270,6 +271,7 @@ Info 29 [16:01:31.000] ----------------------------------------------- Info 29 [16:01:32.000] Open files: Info 29 [16:01:33.000] FileName: /user/username/projects/myproject/main/main.ts ProjectRootPath: undefined Info 29 [16:01:34.000] Projects: /user/username/projects/myproject/main/tsconfig.json +After request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -308,6 +310,7 @@ Info 30 [16:01:36.000] request: "file": "/user/username/projects/myproject/dependency/FnS.ts" } } +Before request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -371,6 +374,7 @@ Info 47 [16:02:00.000] FileName: /user/username/projects/myproject/main/main. Info 47 [16:02:01.000] Projects: /user/username/projects/myproject/main/tsconfig.json Info 47 [16:02:02.000] FileName: /user/username/projects/myproject/dependency/FnS.ts ProjectRootPath: undefined Info 47 [16:02:03.000] Projects: /user/username/projects/myproject/main/tsconfig.json,/user/username/projects/myproject/dependency/tsconfig.json +After request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -409,6 +413,7 @@ Info 48 [16:02:05.000] request: "file": "/user/username/projects/myproject/random/random.ts" } } +Before request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -486,6 +491,7 @@ Info 66 [16:02:35.000] FileName: /user/username/projects/myproject/dependency Info 66 [16:02:36.000] Projects: /user/username/projects/myproject/main/tsconfig.json,/user/username/projects/myproject/dependency/tsconfig.json Info 66 [16:02:37.000] FileName: /user/username/projects/myproject/random/random.ts ProjectRootPath: undefined Info 66 [16:02:38.000] Projects: /user/username/projects/myproject/random/tsconfig.json +After request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -532,6 +538,7 @@ Info 67 [16:02:40.000] request: "seq": 1, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -563,6 +570,7 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +After request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -642,6 +650,7 @@ Info 69 [16:02:42.000] request: "seq": 2, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -677,6 +686,7 @@ Info 70 [16:02:43.000] Search path: /user/username/projects/myproject/dependen Info 71 [16:02:44.000] For info: /user/username/projects/myproject/dependency/FnS.ts :: Config file name: /user/username/projects/myproject/dependency/tsconfig.json Info 72 [16:02:45.000] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls/FnS.d.ts 500 undefined WatchType: Closed Script info Info 73 [16:02:46.000] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls/FnS.d.ts.map 500 undefined WatchType: Closed Script info +After request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -807,6 +817,7 @@ Info 75 [16:02:48.000] request: "seq": 3, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -842,6 +853,7 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +After request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -881,6 +893,78 @@ Info 76 [16:02:49.000] response: { "responseRequired": false } +Before running timeout callbacks + +PolledWatches:: +/user/username/projects/myproject/main/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/myproject/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/myproject/dependency/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/myproject/random/node_modules/@types: + {"pollingInterval":500} + +FsWatches:: +/user/username/projects/myproject/main/tsconfig.json: + {} +/user/username/projects/myproject/dependency/tsconfig.json: + {} +/a/lib/lib.d.ts: + {} +/user/username/projects/myproject/random/tsconfig.json: + {} +/user/username/projects/myproject/decls/fns.d.ts: + {} +/user/username/projects/myproject/decls/fns.d.ts.map: + {} + +FsWatchesRecursive:: +/user/username/projects/myproject/main: + {} +/user/username/projects/myproject/dependency: + {} +/user/username/projects/myproject/decls: + {} +/user/username/projects/myproject/random: + {} + +After running timeout callbacks + +PolledWatches:: +/user/username/projects/myproject/main/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/myproject/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/myproject/dependency/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/myproject/random/node_modules/@types: + {"pollingInterval":500} + +FsWatches:: +/user/username/projects/myproject/main/tsconfig.json: + {} +/user/username/projects/myproject/dependency/tsconfig.json: + {} +/a/lib/lib.d.ts: + {} +/user/username/projects/myproject/random/tsconfig.json: + {} +/user/username/projects/myproject/decls/fns.d.ts: + {} +/user/username/projects/myproject/decls/fns.d.ts.map: + {} + +FsWatchesRecursive:: +/user/username/projects/myproject/main: + {} +/user/username/projects/myproject/dependency: + {} +/user/username/projects/myproject/decls: + {} +/user/username/projects/myproject/random: + {} + Info 77 [16:02:50.000] request: { "command": "definitionAndBoundSpan", @@ -892,6 +976,7 @@ Info 77 [16:02:50.000] request: "seq": 4, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -930,6 +1015,7 @@ FsWatchesRecursive:: Info 78 [16:02:51.000] Starting updateGraphWorker: Project: /user/username/projects/myproject/main/tsconfig.json Info 79 [16:02:52.000] Finishing updateGraphWorker: Project: /user/username/projects/myproject/main/tsconfig.json Version: 2 structureChanged: false structureIsReused:: Completely Elapsed:: *ms Info 80 [16:02:53.000] Different program with same set of files +After request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -1013,6 +1099,7 @@ Info 82 [16:02:55.000] request: "seq": 5, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -1048,6 +1135,7 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +After request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -1131,6 +1219,7 @@ Info 84 [16:02:57.000] request: "seq": 6, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -1166,6 +1255,7 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +After request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -1249,6 +1339,7 @@ Info 86 [16:02:59.000] request: "seq": 7, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -1284,6 +1375,7 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +After request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -1367,6 +1459,7 @@ Info 88 [16:03:01.000] request: "seq": 8, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -1402,6 +1495,7 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +After request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -1485,6 +1579,7 @@ Info 90 [16:03:03.000] request: "seq": 9, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -1525,6 +1620,7 @@ Info 92 [16:03:05.000] Finishing updateGraphWorker: Project: /user/username/pr Info 93 [16:03:06.000] Different program with same set of files Info 94 [16:03:07.000] Search path: /user/username/projects/myproject/dependency Info 95 [16:03:08.000] For info: /user/username/projects/myproject/dependency/FnS.ts :: Config file name: /user/username/projects/myproject/dependency/tsconfig.json +After request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -1652,6 +1748,7 @@ Info 97 [16:03:10.000] request: "seq": 10, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -1689,6 +1786,7 @@ FsWatchesRecursive:: Info 98 [16:03:11.000] Search path: /user/username/projects/myproject/dependency Info 99 [16:03:12.000] For info: /user/username/projects/myproject/dependency/FnS.ts :: Config file name: /user/username/projects/myproject/dependency/tsconfig.json +After request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -1816,6 +1914,7 @@ Info 101 [16:03:14.000] request: "seq": 11, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -1853,6 +1952,7 @@ FsWatchesRecursive:: Info 102 [16:03:15.000] Search path: /user/username/projects/myproject/dependency Info 103 [16:03:16.000] For info: /user/username/projects/myproject/dependency/FnS.ts :: Config file name: /user/username/projects/myproject/dependency/tsconfig.json +After request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -1980,6 +2080,7 @@ Info 105 [16:03:18.000] request: "seq": 12, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -2017,6 +2118,7 @@ FsWatchesRecursive:: Info 106 [16:03:19.000] Search path: /user/username/projects/myproject/dependency Info 107 [16:03:20.000] For info: /user/username/projects/myproject/dependency/FnS.ts :: Config file name: /user/username/projects/myproject/dependency/tsconfig.json +After request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -2144,6 +2246,7 @@ Info 109 [16:03:22.000] request: "seq": 13, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -2181,6 +2284,7 @@ FsWatchesRecursive:: Info 110 [16:03:23.000] Search path: /user/username/projects/myproject/dependency Info 111 [16:03:24.000] For info: /user/username/projects/myproject/dependency/FnS.ts :: Config file name: /user/username/projects/myproject/dependency/tsconfig.json +After request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configWithReference/dependency-source-changes.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configWithReference/dependency-source-changes.js index a4c2531a236c9..b39ca83ae2feb 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configWithReference/dependency-source-changes.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configWithReference/dependency-source-changes.js @@ -8,6 +8,7 @@ Info 1 [16:01:01.000] request: "file": "/user/username/projects/myproject/main/main.ts" } } +Before request //// [/user/username/projects/myproject/dependency/FnS.ts] export function fn1() { } export function fn2() { } @@ -270,6 +271,7 @@ Info 29 [16:01:31.000] ----------------------------------------------- Info 29 [16:01:32.000] Open files: Info 29 [16:01:33.000] FileName: /user/username/projects/myproject/main/main.ts ProjectRootPath: undefined Info 29 [16:01:34.000] Projects: /user/username/projects/myproject/main/tsconfig.json +After request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -308,6 +310,7 @@ Info 30 [16:01:36.000] request: "file": "/user/username/projects/myproject/dependency/FnS.ts" } } +Before request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -371,6 +374,7 @@ Info 47 [16:02:00.000] FileName: /user/username/projects/myproject/main/main. Info 47 [16:02:01.000] Projects: /user/username/projects/myproject/main/tsconfig.json Info 47 [16:02:02.000] FileName: /user/username/projects/myproject/dependency/FnS.ts ProjectRootPath: undefined Info 47 [16:02:03.000] Projects: /user/username/projects/myproject/main/tsconfig.json,/user/username/projects/myproject/dependency/tsconfig.json +After request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -409,6 +413,7 @@ Info 48 [16:02:05.000] request: "file": "/user/username/projects/myproject/random/random.ts" } } +Before request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -486,6 +491,7 @@ Info 66 [16:02:35.000] FileName: /user/username/projects/myproject/dependency Info 66 [16:02:36.000] Projects: /user/username/projects/myproject/main/tsconfig.json,/user/username/projects/myproject/dependency/tsconfig.json Info 66 [16:02:37.000] FileName: /user/username/projects/myproject/random/random.ts ProjectRootPath: undefined Info 66 [16:02:38.000] Projects: /user/username/projects/myproject/random/tsconfig.json +After request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -532,6 +538,7 @@ Info 67 [16:02:40.000] request: "seq": 1, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -563,6 +570,7 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +After request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -642,6 +650,7 @@ Info 69 [16:02:42.000] request: "seq": 2, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -677,6 +686,7 @@ Info 70 [16:02:43.000] Search path: /user/username/projects/myproject/dependen Info 71 [16:02:44.000] For info: /user/username/projects/myproject/dependency/FnS.ts :: Config file name: /user/username/projects/myproject/dependency/tsconfig.json Info 72 [16:02:45.000] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls/FnS.d.ts 500 undefined WatchType: Closed Script info Info 73 [16:02:46.000] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls/FnS.d.ts.map 500 undefined WatchType: Closed Script info +After request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -807,6 +817,7 @@ Info 75 [16:02:48.000] request: "seq": 3, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -842,6 +853,7 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +After request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -892,6 +904,7 @@ Info 77 [16:02:50.000] request: "seq": 4, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -930,6 +943,7 @@ FsWatchesRecursive:: Info 78 [16:02:51.000] Starting updateGraphWorker: Project: /user/username/projects/myproject/main/tsconfig.json Info 79 [16:02:52.000] Finishing updateGraphWorker: Project: /user/username/projects/myproject/main/tsconfig.json Version: 2 structureChanged: false structureIsReused:: Completely Elapsed:: *ms Info 80 [16:02:53.000] Different program with same set of files +After request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -1013,6 +1027,7 @@ Info 82 [16:02:55.000] request: "seq": 5, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -1048,6 +1063,7 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +After request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -1131,6 +1147,7 @@ Info 84 [16:02:57.000] request: "seq": 6, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -1166,6 +1183,7 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +After request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -1249,6 +1267,7 @@ Info 86 [16:02:59.000] request: "seq": 7, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -1284,6 +1303,7 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +After request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -1367,6 +1387,7 @@ Info 88 [16:03:01.000] request: "seq": 8, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -1402,6 +1423,7 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +After request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -1485,6 +1507,7 @@ Info 90 [16:03:03.000] request: "seq": 9, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -1525,6 +1548,7 @@ Info 92 [16:03:05.000] Finishing updateGraphWorker: Project: /user/username/pr Info 93 [16:03:06.000] Different program with same set of files Info 94 [16:03:07.000] Search path: /user/username/projects/myproject/dependency Info 95 [16:03:08.000] For info: /user/username/projects/myproject/dependency/FnS.ts :: Config file name: /user/username/projects/myproject/dependency/tsconfig.json +After request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -1652,6 +1676,7 @@ Info 97 [16:03:10.000] request: "seq": 10, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -1689,6 +1714,7 @@ FsWatchesRecursive:: Info 98 [16:03:11.000] Search path: /user/username/projects/myproject/dependency Info 99 [16:03:12.000] For info: /user/username/projects/myproject/dependency/FnS.ts :: Config file name: /user/username/projects/myproject/dependency/tsconfig.json +After request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -1816,6 +1842,7 @@ Info 101 [16:03:14.000] request: "seq": 11, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -1853,6 +1880,7 @@ FsWatchesRecursive:: Info 102 [16:03:15.000] Search path: /user/username/projects/myproject/dependency Info 103 [16:03:16.000] For info: /user/username/projects/myproject/dependency/FnS.ts :: Config file name: /user/username/projects/myproject/dependency/tsconfig.json +After request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -1980,6 +2008,7 @@ Info 105 [16:03:18.000] request: "seq": 12, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -2017,6 +2046,7 @@ FsWatchesRecursive:: Info 106 [16:03:19.000] Search path: /user/username/projects/myproject/dependency Info 107 [16:03:20.000] For info: /user/username/projects/myproject/dependency/FnS.ts :: Config file name: /user/username/projects/myproject/dependency/tsconfig.json +After request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -2144,6 +2174,7 @@ Info 109 [16:03:22.000] request: "seq": 13, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -2181,6 +2212,7 @@ FsWatchesRecursive:: Info 110 [16:03:23.000] Search path: /user/username/projects/myproject/dependency Info 111 [16:03:24.000] For info: /user/username/projects/myproject/dependency/FnS.ts :: Config file name: /user/username/projects/myproject/dependency/tsconfig.json +After request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configWithReference/gotoDef-and-rename-locations.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configWithReference/gotoDef-and-rename-locations.js index b8ccdf330837c..ca20cded833e3 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configWithReference/gotoDef-and-rename-locations.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configWithReference/gotoDef-and-rename-locations.js @@ -8,6 +8,7 @@ Info 1 [16:01:01.000] request: "file": "/user/username/projects/myproject/main/main.ts" } } +Before request //// [/user/username/projects/myproject/dependency/FnS.ts] export function fn1() { } export function fn2() { } @@ -270,6 +271,7 @@ Info 29 [16:01:31.000] ----------------------------------------------- Info 29 [16:01:32.000] Open files: Info 29 [16:01:33.000] FileName: /user/username/projects/myproject/main/main.ts ProjectRootPath: undefined Info 29 [16:01:34.000] Projects: /user/username/projects/myproject/main/tsconfig.json +After request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -308,6 +310,7 @@ Info 30 [16:01:36.000] request: "file": "/user/username/projects/myproject/dependency/FnS.ts" } } +Before request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -371,6 +374,7 @@ Info 47 [16:02:00.000] FileName: /user/username/projects/myproject/main/main. Info 47 [16:02:01.000] Projects: /user/username/projects/myproject/main/tsconfig.json Info 47 [16:02:02.000] FileName: /user/username/projects/myproject/dependency/FnS.ts ProjectRootPath: undefined Info 47 [16:02:03.000] Projects: /user/username/projects/myproject/main/tsconfig.json,/user/username/projects/myproject/dependency/tsconfig.json +After request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -409,6 +413,7 @@ Info 48 [16:02:05.000] request: "file": "/user/username/projects/myproject/random/random.ts" } } +Before request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -486,6 +491,7 @@ Info 66 [16:02:35.000] FileName: /user/username/projects/myproject/dependency Info 66 [16:02:36.000] Projects: /user/username/projects/myproject/main/tsconfig.json,/user/username/projects/myproject/dependency/tsconfig.json Info 66 [16:02:37.000] FileName: /user/username/projects/myproject/random/random.ts ProjectRootPath: undefined Info 66 [16:02:38.000] Projects: /user/username/projects/myproject/random/tsconfig.json +After request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -532,6 +538,7 @@ Info 67 [16:02:40.000] request: "seq": 1, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -563,6 +570,7 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +After request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -642,6 +650,7 @@ Info 69 [16:02:42.000] request: "seq": 2, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -673,6 +682,7 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +After request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -752,6 +762,7 @@ Info 71 [16:02:44.000] request: "seq": 3, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -783,6 +794,7 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +After request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -862,6 +874,7 @@ Info 73 [16:02:46.000] request: "seq": 4, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -893,6 +906,7 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +After request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -972,6 +986,7 @@ Info 75 [16:02:48.000] request: "seq": 5, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -1003,6 +1018,7 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +After request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -1082,6 +1098,7 @@ Info 77 [16:02:50.000] request: "seq": 6, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -1117,6 +1134,7 @@ Info 78 [16:02:51.000] Search path: /user/username/projects/myproject/dependen Info 79 [16:02:52.000] For info: /user/username/projects/myproject/dependency/FnS.ts :: Config file name: /user/username/projects/myproject/dependency/tsconfig.json Info 80 [16:02:53.000] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls/FnS.d.ts 500 undefined WatchType: Closed Script info Info 81 [16:02:54.000] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls/FnS.d.ts.map 500 undefined WatchType: Closed Script info +After request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -1244,6 +1262,7 @@ Info 83 [16:02:56.000] request: "seq": 7, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -1281,6 +1300,7 @@ FsWatchesRecursive:: Info 84 [16:02:57.000] Search path: /user/username/projects/myproject/dependency Info 85 [16:02:58.000] For info: /user/username/projects/myproject/dependency/FnS.ts :: Config file name: /user/username/projects/myproject/dependency/tsconfig.json +After request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -1408,6 +1428,7 @@ Info 87 [16:03:00.000] request: "seq": 8, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -1445,6 +1466,7 @@ FsWatchesRecursive:: Info 88 [16:03:01.000] Search path: /user/username/projects/myproject/dependency Info 89 [16:03:02.000] For info: /user/username/projects/myproject/dependency/FnS.ts :: Config file name: /user/username/projects/myproject/dependency/tsconfig.json +After request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -1572,6 +1594,7 @@ Info 91 [16:03:04.000] request: "seq": 9, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -1609,6 +1632,7 @@ FsWatchesRecursive:: Info 92 [16:03:05.000] Search path: /user/username/projects/myproject/dependency Info 93 [16:03:06.000] For info: /user/username/projects/myproject/dependency/FnS.ts :: Config file name: /user/username/projects/myproject/dependency/tsconfig.json +After request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -1736,6 +1760,7 @@ Info 95 [16:03:08.000] request: "seq": 10, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -1773,6 +1798,7 @@ FsWatchesRecursive:: Info 96 [16:03:09.000] Search path: /user/username/projects/myproject/dependency Info 97 [16:03:10.000] For info: /user/username/projects/myproject/dependency/FnS.ts :: Config file name: /user/username/projects/myproject/dependency/tsconfig.json +After request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -1898,6 +1924,7 @@ Info 99 [16:03:12.000] request: "file": "/user/username/projects/myproject/random/random.ts" } } +Before request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -1951,6 +1978,7 @@ Info 101 [16:03:24.000] FileName: /user/username/projects/myproject/main/main. Info 101 [16:03:25.000] Projects: /user/username/projects/myproject/main/tsconfig.json Info 101 [16:03:26.000] FileName: /user/username/projects/myproject/dependency/FnS.ts ProjectRootPath: undefined Info 101 [16:03:27.000] Projects: /user/username/projects/myproject/main/tsconfig.json,/user/username/projects/myproject/dependency/tsconfig.json +After request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -2001,6 +2029,7 @@ Info 102 [16:03:29.000] request: "file": "/user/username/projects/myproject/random/random.ts" } } +Before request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -2060,6 +2089,7 @@ Info 106 [16:03:45.000] FileName: /user/username/projects/myproject/dependency Info 106 [16:03:46.000] Projects: /user/username/projects/myproject/main/tsconfig.json,/user/username/projects/myproject/dependency/tsconfig.json Info 106 [16:03:47.000] FileName: /user/username/projects/myproject/random/random.ts ProjectRootPath: undefined Info 106 [16:03:48.000] Projects: /user/username/projects/myproject/random/tsconfig.json +After request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -2108,6 +2138,7 @@ Info 107 [16:03:50.000] request: "file": "/user/username/projects/myproject/main/main.ts" } } +Before request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -2161,6 +2192,7 @@ Info 109 [16:04:02.000] FileName: /user/username/projects/myproject/dependency Info 109 [16:04:03.000] Projects: /user/username/projects/myproject/main/tsconfig.json,/user/username/projects/myproject/dependency/tsconfig.json Info 109 [16:04:04.000] FileName: /user/username/projects/myproject/random/random.ts ProjectRootPath: undefined Info 109 [16:04:05.000] Projects: /user/username/projects/myproject/random/tsconfig.json +After request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -2211,6 +2243,7 @@ Info 110 [16:04:07.000] request: "file": "/user/username/projects/myproject/dependency/FnS.ts" } } +Before request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -2264,6 +2297,7 @@ Info 112 [16:04:17.000] ----------------------------------------------- Info 112 [16:04:18.000] Open files: Info 112 [16:04:19.000] FileName: /user/username/projects/myproject/random/random.ts ProjectRootPath: undefined Info 112 [16:04:20.000] Projects: /user/username/projects/myproject/random/tsconfig.json +After request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -2316,6 +2350,7 @@ Info 113 [16:04:22.000] request: "file": "/user/username/projects/myproject/random/random.ts" } } +Before request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -2369,6 +2404,7 @@ Info 115 [16:04:31.000] Files (2) Info 115 [16:04:32.000] ----------------------------------------------- Info 115 [16:04:33.000] Open files: +After request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -2423,6 +2459,7 @@ Info 116 [16:04:35.000] request: "file": "/user/username/projects/myproject/random/random.ts" } } +Before request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -2523,6 +2560,7 @@ Info 148 [16:05:09.000] ----------------------------------------------- Info 148 [16:05:10.000] Open files: Info 148 [16:05:11.000] FileName: /user/username/projects/myproject/random/random.ts ProjectRootPath: undefined Info 148 [16:05:12.000] Projects: /user/username/projects/myproject/random/tsconfig.json +After request PolledWatches:: /user/username/projects/myproject/node_modules/@types: diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configWithReference/usage-file-changes-with-timeout-before-request.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configWithReference/usage-file-changes-with-timeout-before-request.js index e2f0413c9b436..ce1435f66bcb6 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configWithReference/usage-file-changes-with-timeout-before-request.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configWithReference/usage-file-changes-with-timeout-before-request.js @@ -8,6 +8,7 @@ Info 1 [16:01:01.000] request: "file": "/user/username/projects/myproject/main/main.ts" } } +Before request //// [/user/username/projects/myproject/dependency/FnS.ts] export function fn1() { } export function fn2() { } @@ -270,6 +271,7 @@ Info 29 [16:01:31.000] ----------------------------------------------- Info 29 [16:01:32.000] Open files: Info 29 [16:01:33.000] FileName: /user/username/projects/myproject/main/main.ts ProjectRootPath: undefined Info 29 [16:01:34.000] Projects: /user/username/projects/myproject/main/tsconfig.json +After request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -308,6 +310,7 @@ Info 30 [16:01:36.000] request: "file": "/user/username/projects/myproject/dependency/FnS.ts" } } +Before request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -371,6 +374,7 @@ Info 47 [16:02:00.000] FileName: /user/username/projects/myproject/main/main. Info 47 [16:02:01.000] Projects: /user/username/projects/myproject/main/tsconfig.json Info 47 [16:02:02.000] FileName: /user/username/projects/myproject/dependency/FnS.ts ProjectRootPath: undefined Info 47 [16:02:03.000] Projects: /user/username/projects/myproject/main/tsconfig.json,/user/username/projects/myproject/dependency/tsconfig.json +After request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -409,6 +413,7 @@ Info 48 [16:02:05.000] request: "file": "/user/username/projects/myproject/random/random.ts" } } +Before request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -486,6 +491,7 @@ Info 66 [16:02:35.000] FileName: /user/username/projects/myproject/dependency Info 66 [16:02:36.000] Projects: /user/username/projects/myproject/main/tsconfig.json,/user/username/projects/myproject/dependency/tsconfig.json Info 66 [16:02:37.000] FileName: /user/username/projects/myproject/random/random.ts ProjectRootPath: undefined Info 66 [16:02:38.000] Projects: /user/username/projects/myproject/random/tsconfig.json +After request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -532,6 +538,7 @@ Info 67 [16:02:40.000] request: "seq": 1, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -563,6 +570,7 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +After request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -642,6 +650,7 @@ Info 69 [16:02:42.000] request: "seq": 2, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -677,6 +686,7 @@ Info 70 [16:02:43.000] Search path: /user/username/projects/myproject/dependen Info 71 [16:02:44.000] For info: /user/username/projects/myproject/dependency/FnS.ts :: Config file name: /user/username/projects/myproject/dependency/tsconfig.json Info 72 [16:02:45.000] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls/FnS.d.ts 500 undefined WatchType: Closed Script info Info 73 [16:02:46.000] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls/FnS.d.ts.map 500 undefined WatchType: Closed Script info +After request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -807,6 +817,7 @@ Info 75 [16:02:48.000] request: "seq": 3, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -842,6 +853,7 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +After request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -895,6 +907,7 @@ Info 77 [16:02:50.000] request: "seq": 4, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -930,6 +943,7 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +After request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -969,6 +983,78 @@ Info 78 [16:02:51.000] response: { "responseRequired": false } +Before running timeout callbacks + +PolledWatches:: +/user/username/projects/myproject/main/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/myproject/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/myproject/dependency/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/myproject/random/node_modules/@types: + {"pollingInterval":500} + +FsWatches:: +/user/username/projects/myproject/main/tsconfig.json: + {} +/user/username/projects/myproject/dependency/tsconfig.json: + {} +/a/lib/lib.d.ts: + {} +/user/username/projects/myproject/random/tsconfig.json: + {} +/user/username/projects/myproject/decls/fns.d.ts: + {} +/user/username/projects/myproject/decls/fns.d.ts.map: + {} + +FsWatchesRecursive:: +/user/username/projects/myproject/main: + {} +/user/username/projects/myproject/dependency: + {} +/user/username/projects/myproject/decls: + {} +/user/username/projects/myproject/random: + {} + +After running timeout callbacks + +PolledWatches:: +/user/username/projects/myproject/main/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/myproject/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/myproject/dependency/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/myproject/random/node_modules/@types: + {"pollingInterval":500} + +FsWatches:: +/user/username/projects/myproject/main/tsconfig.json: + {} +/user/username/projects/myproject/dependency/tsconfig.json: + {} +/a/lib/lib.d.ts: + {} +/user/username/projects/myproject/random/tsconfig.json: + {} +/user/username/projects/myproject/decls/fns.d.ts: + {} +/user/username/projects/myproject/decls/fns.d.ts.map: + {} + +FsWatchesRecursive:: +/user/username/projects/myproject/main: + {} +/user/username/projects/myproject/dependency: + {} +/user/username/projects/myproject/decls: + {} +/user/username/projects/myproject/random: + {} + Info 79 [16:02:52.000] request: { "command": "definitionAndBoundSpan", @@ -980,6 +1066,7 @@ Info 79 [16:02:52.000] request: "seq": 5, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -1018,6 +1105,7 @@ FsWatchesRecursive:: Info 80 [16:02:53.000] Starting updateGraphWorker: Project: /user/username/projects/myproject/main/tsconfig.json Info 81 [16:02:54.000] Finishing updateGraphWorker: Project: /user/username/projects/myproject/main/tsconfig.json Version: 2 structureChanged: false structureIsReused:: Completely Elapsed:: *ms Info 82 [16:02:55.000] Different program with same set of files +After request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -1101,6 +1189,7 @@ Info 84 [16:02:57.000] request: "seq": 6, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -1136,6 +1225,7 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +After request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -1219,6 +1309,7 @@ Info 86 [16:02:59.000] request: "seq": 7, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -1254,6 +1345,7 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +After request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -1337,6 +1429,7 @@ Info 88 [16:03:01.000] request: "seq": 8, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -1372,6 +1465,7 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +After request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -1455,6 +1549,7 @@ Info 90 [16:03:03.000] request: "seq": 9, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -1490,6 +1585,7 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +After request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -1573,6 +1669,7 @@ Info 92 [16:03:05.000] request: "seq": 10, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -1613,6 +1710,7 @@ Info 94 [16:03:07.000] Finishing updateGraphWorker: Project: /user/username/pr Info 95 [16:03:08.000] Different program with same set of files Info 96 [16:03:09.000] Search path: /user/username/projects/myproject/dependency Info 97 [16:03:10.000] For info: /user/username/projects/myproject/dependency/FnS.ts :: Config file name: /user/username/projects/myproject/dependency/tsconfig.json +After request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -1740,6 +1838,7 @@ Info 99 [16:03:12.000] request: "seq": 11, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -1777,6 +1876,7 @@ FsWatchesRecursive:: Info 100 [16:03:13.000] Search path: /user/username/projects/myproject/dependency Info 101 [16:03:14.000] For info: /user/username/projects/myproject/dependency/FnS.ts :: Config file name: /user/username/projects/myproject/dependency/tsconfig.json +After request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -1904,6 +2004,7 @@ Info 103 [16:03:16.000] request: "seq": 12, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -1941,6 +2042,7 @@ FsWatchesRecursive:: Info 104 [16:03:17.000] Search path: /user/username/projects/myproject/dependency Info 105 [16:03:18.000] For info: /user/username/projects/myproject/dependency/FnS.ts :: Config file name: /user/username/projects/myproject/dependency/tsconfig.json +After request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -2068,6 +2170,7 @@ Info 107 [16:03:20.000] request: "seq": 13, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -2105,6 +2208,7 @@ FsWatchesRecursive:: Info 108 [16:03:21.000] Search path: /user/username/projects/myproject/dependency Info 109 [16:03:22.000] For info: /user/username/projects/myproject/dependency/FnS.ts :: Config file name: /user/username/projects/myproject/dependency/tsconfig.json +After request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -2232,6 +2336,7 @@ Info 111 [16:03:24.000] request: "seq": 14, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -2269,6 +2374,7 @@ FsWatchesRecursive:: Info 112 [16:03:25.000] Search path: /user/username/projects/myproject/dependency Info 113 [16:03:26.000] For info: /user/username/projects/myproject/dependency/FnS.ts :: Config file name: /user/username/projects/myproject/dependency/tsconfig.json +After request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configWithReference/usage-file-changes.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configWithReference/usage-file-changes.js index e2f0413c9b436..220fce413c656 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configWithReference/usage-file-changes.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configWithReference/usage-file-changes.js @@ -8,6 +8,7 @@ Info 1 [16:01:01.000] request: "file": "/user/username/projects/myproject/main/main.ts" } } +Before request //// [/user/username/projects/myproject/dependency/FnS.ts] export function fn1() { } export function fn2() { } @@ -270,6 +271,7 @@ Info 29 [16:01:31.000] ----------------------------------------------- Info 29 [16:01:32.000] Open files: Info 29 [16:01:33.000] FileName: /user/username/projects/myproject/main/main.ts ProjectRootPath: undefined Info 29 [16:01:34.000] Projects: /user/username/projects/myproject/main/tsconfig.json +After request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -308,6 +310,7 @@ Info 30 [16:01:36.000] request: "file": "/user/username/projects/myproject/dependency/FnS.ts" } } +Before request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -371,6 +374,7 @@ Info 47 [16:02:00.000] FileName: /user/username/projects/myproject/main/main. Info 47 [16:02:01.000] Projects: /user/username/projects/myproject/main/tsconfig.json Info 47 [16:02:02.000] FileName: /user/username/projects/myproject/dependency/FnS.ts ProjectRootPath: undefined Info 47 [16:02:03.000] Projects: /user/username/projects/myproject/main/tsconfig.json,/user/username/projects/myproject/dependency/tsconfig.json +After request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -409,6 +413,7 @@ Info 48 [16:02:05.000] request: "file": "/user/username/projects/myproject/random/random.ts" } } +Before request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -486,6 +491,7 @@ Info 66 [16:02:35.000] FileName: /user/username/projects/myproject/dependency Info 66 [16:02:36.000] Projects: /user/username/projects/myproject/main/tsconfig.json,/user/username/projects/myproject/dependency/tsconfig.json Info 66 [16:02:37.000] FileName: /user/username/projects/myproject/random/random.ts ProjectRootPath: undefined Info 66 [16:02:38.000] Projects: /user/username/projects/myproject/random/tsconfig.json +After request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -532,6 +538,7 @@ Info 67 [16:02:40.000] request: "seq": 1, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -563,6 +570,7 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +After request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -642,6 +650,7 @@ Info 69 [16:02:42.000] request: "seq": 2, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -677,6 +686,7 @@ Info 70 [16:02:43.000] Search path: /user/username/projects/myproject/dependen Info 71 [16:02:44.000] For info: /user/username/projects/myproject/dependency/FnS.ts :: Config file name: /user/username/projects/myproject/dependency/tsconfig.json Info 72 [16:02:45.000] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls/FnS.d.ts 500 undefined WatchType: Closed Script info Info 73 [16:02:46.000] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls/FnS.d.ts.map 500 undefined WatchType: Closed Script info +After request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -807,6 +817,7 @@ Info 75 [16:02:48.000] request: "seq": 3, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -842,6 +853,7 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +After request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -895,6 +907,7 @@ Info 77 [16:02:50.000] request: "seq": 4, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -930,6 +943,7 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +After request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -980,6 +994,7 @@ Info 79 [16:02:52.000] request: "seq": 5, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -1018,6 +1033,7 @@ FsWatchesRecursive:: Info 80 [16:02:53.000] Starting updateGraphWorker: Project: /user/username/projects/myproject/main/tsconfig.json Info 81 [16:02:54.000] Finishing updateGraphWorker: Project: /user/username/projects/myproject/main/tsconfig.json Version: 2 structureChanged: false structureIsReused:: Completely Elapsed:: *ms Info 82 [16:02:55.000] Different program with same set of files +After request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -1101,6 +1117,7 @@ Info 84 [16:02:57.000] request: "seq": 6, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -1136,6 +1153,7 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +After request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -1219,6 +1237,7 @@ Info 86 [16:02:59.000] request: "seq": 7, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -1254,6 +1273,7 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +After request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -1337,6 +1357,7 @@ Info 88 [16:03:01.000] request: "seq": 8, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -1372,6 +1393,7 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +After request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -1455,6 +1477,7 @@ Info 90 [16:03:03.000] request: "seq": 9, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -1490,6 +1513,7 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +After request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -1573,6 +1597,7 @@ Info 92 [16:03:05.000] request: "seq": 10, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -1613,6 +1638,7 @@ Info 94 [16:03:07.000] Finishing updateGraphWorker: Project: /user/username/pr Info 95 [16:03:08.000] Different program with same set of files Info 96 [16:03:09.000] Search path: /user/username/projects/myproject/dependency Info 97 [16:03:10.000] For info: /user/username/projects/myproject/dependency/FnS.ts :: Config file name: /user/username/projects/myproject/dependency/tsconfig.json +After request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -1740,6 +1766,7 @@ Info 99 [16:03:12.000] request: "seq": 11, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -1777,6 +1804,7 @@ FsWatchesRecursive:: Info 100 [16:03:13.000] Search path: /user/username/projects/myproject/dependency Info 101 [16:03:14.000] For info: /user/username/projects/myproject/dependency/FnS.ts :: Config file name: /user/username/projects/myproject/dependency/tsconfig.json +After request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -1904,6 +1932,7 @@ Info 103 [16:03:16.000] request: "seq": 12, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -1941,6 +1970,7 @@ FsWatchesRecursive:: Info 104 [16:03:17.000] Search path: /user/username/projects/myproject/dependency Info 105 [16:03:18.000] For info: /user/username/projects/myproject/dependency/FnS.ts :: Config file name: /user/username/projects/myproject/dependency/tsconfig.json +After request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -2068,6 +2098,7 @@ Info 107 [16:03:20.000] request: "seq": 13, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -2105,6 +2136,7 @@ FsWatchesRecursive:: Info 108 [16:03:21.000] Search path: /user/username/projects/myproject/dependency Info 109 [16:03:22.000] For info: /user/username/projects/myproject/dependency/FnS.ts :: Config file name: /user/username/projects/myproject/dependency/tsconfig.json +After request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -2232,6 +2264,7 @@ Info 111 [16:03:24.000] request: "seq": 14, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -2269,6 +2302,7 @@ FsWatchesRecursive:: Info 112 [16:03:25.000] Search path: /user/username/projects/myproject/dependency Info 113 [16:03:26.000] For info: /user/username/projects/myproject/dependency/FnS.ts :: Config file name: /user/username/projects/myproject/dependency/tsconfig.json +After request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configWithReference/when-projects-are-not-built.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configWithReference/when-projects-are-not-built.js index 35f5408826c1e..11bbbbd0dda47 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configWithReference/when-projects-are-not-built.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/configWithReference/when-projects-are-not-built.js @@ -8,6 +8,7 @@ Info 1 [16:00:36.000] request: "file": "/user/username/projects/myproject/main/main.ts" } } +Before request //// [/user/username/projects/myproject/dependency/FnS.ts] export function fn1() { } export function fn2() { } @@ -135,6 +136,7 @@ Info 29 [16:01:06.000] ----------------------------------------------- Info 29 [16:01:07.000] Open files: Info 29 [16:01:08.000] FileName: /user/username/projects/myproject/main/main.ts ProjectRootPath: undefined Info 29 [16:01:09.000] Projects: /user/username/projects/myproject/main/tsconfig.json +After request PolledWatches:: /user/username/projects/myproject/decls: @@ -173,6 +175,7 @@ Info 30 [16:01:11.000] request: "file": "/user/username/projects/myproject/dependency/FnS.ts" } } +Before request PolledWatches:: /user/username/projects/myproject/decls: @@ -236,6 +239,7 @@ Info 47 [16:01:35.000] FileName: /user/username/projects/myproject/main/main. Info 47 [16:01:36.000] Projects: /user/username/projects/myproject/main/tsconfig.json Info 47 [16:01:37.000] FileName: /user/username/projects/myproject/dependency/FnS.ts ProjectRootPath: undefined Info 47 [16:01:38.000] Projects: /user/username/projects/myproject/main/tsconfig.json,/user/username/projects/myproject/dependency/tsconfig.json +After request PolledWatches:: /user/username/projects/myproject/decls: @@ -274,6 +278,7 @@ Info 48 [16:01:40.000] request: "file": "/user/username/projects/myproject/random/random.ts" } } +Before request PolledWatches:: /user/username/projects/myproject/decls: @@ -351,6 +356,7 @@ Info 66 [16:02:10.000] FileName: /user/username/projects/myproject/dependency Info 66 [16:02:11.000] Projects: /user/username/projects/myproject/main/tsconfig.json,/user/username/projects/myproject/dependency/tsconfig.json Info 66 [16:02:12.000] FileName: /user/username/projects/myproject/random/random.ts ProjectRootPath: undefined Info 66 [16:02:13.000] Projects: /user/username/projects/myproject/random/tsconfig.json +After request PolledWatches:: /user/username/projects/myproject/decls: @@ -397,6 +403,7 @@ Info 67 [16:02:15.000] request: "seq": 1, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/decls: @@ -428,6 +435,7 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +After request PolledWatches:: /user/username/projects/myproject/decls: @@ -507,6 +515,7 @@ Info 69 [16:02:17.000] request: "seq": 2, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/decls: @@ -538,6 +547,7 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +After request PolledWatches:: /user/username/projects/myproject/decls: @@ -617,6 +627,7 @@ Info 71 [16:02:19.000] request: "seq": 3, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/decls: @@ -648,6 +659,7 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +After request PolledWatches:: /user/username/projects/myproject/decls: @@ -727,6 +739,7 @@ Info 73 [16:02:21.000] request: "seq": 4, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/decls: @@ -758,6 +771,7 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +After request PolledWatches:: /user/username/projects/myproject/decls: @@ -837,6 +851,7 @@ Info 75 [16:02:23.000] request: "seq": 5, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/decls: @@ -868,6 +883,7 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +After request PolledWatches:: /user/username/projects/myproject/decls: @@ -947,6 +963,7 @@ Info 77 [16:02:25.000] request: "seq": 6, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/decls: @@ -981,6 +998,7 @@ FsWatchesRecursive:: Info 78 [16:02:26.000] Search path: /user/username/projects/myproject/dependency Info 79 [16:02:27.000] For info: /user/username/projects/myproject/dependency/FnS.ts :: Config file name: /user/username/projects/myproject/dependency/tsconfig.json Info 80 [16:02:28.000] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls/FnS.d.ts 2000 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Missing generated file +After request PolledWatches:: /user/username/projects/myproject/decls: @@ -1106,6 +1124,7 @@ Info 82 [16:02:30.000] request: "seq": 7, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/decls: @@ -1141,6 +1160,7 @@ FsWatchesRecursive:: Info 83 [16:02:31.000] Search path: /user/username/projects/myproject/dependency Info 84 [16:02:32.000] For info: /user/username/projects/myproject/dependency/FnS.ts :: Config file name: /user/username/projects/myproject/dependency/tsconfig.json +After request PolledWatches:: /user/username/projects/myproject/decls: @@ -1266,6 +1286,7 @@ Info 86 [16:02:34.000] request: "seq": 8, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/decls: @@ -1301,6 +1322,7 @@ FsWatchesRecursive:: Info 87 [16:02:35.000] Search path: /user/username/projects/myproject/dependency Info 88 [16:02:36.000] For info: /user/username/projects/myproject/dependency/FnS.ts :: Config file name: /user/username/projects/myproject/dependency/tsconfig.json +After request PolledWatches:: /user/username/projects/myproject/decls: @@ -1426,6 +1448,7 @@ Info 90 [16:02:38.000] request: "seq": 9, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/decls: @@ -1461,6 +1484,7 @@ FsWatchesRecursive:: Info 91 [16:02:39.000] Search path: /user/username/projects/myproject/dependency Info 92 [16:02:40.000] For info: /user/username/projects/myproject/dependency/FnS.ts :: Config file name: /user/username/projects/myproject/dependency/tsconfig.json +After request PolledWatches:: /user/username/projects/myproject/decls: @@ -1586,6 +1610,7 @@ Info 94 [16:02:42.000] request: "seq": 10, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/decls: @@ -1621,6 +1646,7 @@ FsWatchesRecursive:: Info 95 [16:02:43.000] Search path: /user/username/projects/myproject/dependency Info 96 [16:02:44.000] For info: /user/username/projects/myproject/dependency/FnS.ts :: Config file name: /user/username/projects/myproject/dependency/tsconfig.json +After request PolledWatches:: /user/username/projects/myproject/decls: @@ -1744,6 +1770,7 @@ Info 98 [16:02:46.000] request: "file": "/user/username/projects/myproject/random/random.ts" } } +Before request PolledWatches:: /user/username/projects/myproject/decls: @@ -1795,6 +1822,7 @@ Info 100 [16:02:58.000] FileName: /user/username/projects/myproject/main/main. Info 100 [16:02:59.000] Projects: /user/username/projects/myproject/main/tsconfig.json Info 100 [16:03:00.000] FileName: /user/username/projects/myproject/dependency/FnS.ts ProjectRootPath: undefined Info 100 [16:03:01.000] Projects: /user/username/projects/myproject/main/tsconfig.json,/user/username/projects/myproject/dependency/tsconfig.json +After request PolledWatches:: /user/username/projects/myproject/decls: @@ -1843,6 +1871,7 @@ Info 101 [16:03:03.000] request: "file": "/user/username/projects/myproject/random/random.ts" } } +Before request PolledWatches:: /user/username/projects/myproject/decls: @@ -1900,6 +1929,7 @@ Info 105 [16:03:19.000] FileName: /user/username/projects/myproject/dependency Info 105 [16:03:20.000] Projects: /user/username/projects/myproject/main/tsconfig.json,/user/username/projects/myproject/dependency/tsconfig.json Info 105 [16:03:21.000] FileName: /user/username/projects/myproject/random/random.ts ProjectRootPath: undefined Info 105 [16:03:22.000] Projects: /user/username/projects/myproject/random/tsconfig.json +After request PolledWatches:: /user/username/projects/myproject/decls: @@ -1946,6 +1976,7 @@ Info 106 [16:03:24.000] request: "file": "/user/username/projects/myproject/main/main.ts" } } +Before request PolledWatches:: /user/username/projects/myproject/decls: @@ -1997,6 +2028,7 @@ Info 108 [16:03:36.000] FileName: /user/username/projects/myproject/dependency Info 108 [16:03:37.000] Projects: /user/username/projects/myproject/main/tsconfig.json,/user/username/projects/myproject/dependency/tsconfig.json Info 108 [16:03:38.000] FileName: /user/username/projects/myproject/random/random.ts ProjectRootPath: undefined Info 108 [16:03:39.000] Projects: /user/username/projects/myproject/random/tsconfig.json +After request PolledWatches:: /user/username/projects/myproject/decls: @@ -2045,6 +2077,7 @@ Info 109 [16:03:41.000] request: "file": "/user/username/projects/myproject/dependency/FnS.ts" } } +Before request PolledWatches:: /user/username/projects/myproject/decls: @@ -2096,6 +2129,7 @@ Info 111 [16:03:51.000] ----------------------------------------------- Info 111 [16:03:52.000] Open files: Info 111 [16:03:53.000] FileName: /user/username/projects/myproject/random/random.ts ProjectRootPath: undefined Info 111 [16:03:54.000] Projects: /user/username/projects/myproject/random/tsconfig.json +After request PolledWatches:: /user/username/projects/myproject/decls: @@ -2146,6 +2180,7 @@ Info 112 [16:03:56.000] request: "file": "/user/username/projects/myproject/random/random.ts" } } +Before request PolledWatches:: /user/username/projects/myproject/decls: @@ -2197,6 +2232,7 @@ Info 114 [16:04:05.000] Files (2) Info 114 [16:04:06.000] ----------------------------------------------- Info 114 [16:04:07.000] Open files: +After request PolledWatches:: /user/username/projects/myproject/decls: @@ -2249,6 +2285,7 @@ Info 115 [16:04:09.000] request: "file": "/user/username/projects/myproject/random/random.ts" } } +Before request PolledWatches:: /user/username/projects/myproject/decls: @@ -2346,6 +2383,7 @@ Info 146 [16:04:42.000] ----------------------------------------------- Info 146 [16:04:43.000] Open files: Info 146 [16:04:44.000] FileName: /user/username/projects/myproject/random/random.ts ProjectRootPath: undefined Info 146 [16:04:45.000] Projects: /user/username/projects/myproject/random/tsconfig.json +After request PolledWatches:: /user/username/projects/myproject/node_modules/@types: diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/disabledSourceRef/dependency-dts-changes-with-timeout-before-request.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/disabledSourceRef/dependency-dts-changes-with-timeout-before-request.js index bee04502cf272..8d11ede5a440f 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/disabledSourceRef/dependency-dts-changes-with-timeout-before-request.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/disabledSourceRef/dependency-dts-changes-with-timeout-before-request.js @@ -8,6 +8,7 @@ Info 1 [16:01:04.000] request: "file": "/user/username/projects/myproject/main/main.ts" } } +Before request //// [/user/username/projects/myproject/dependency/FnS.ts] export function fn1() { } export function fn2() { } @@ -271,6 +272,7 @@ Info 29 [16:01:34.000] ----------------------------------------------- Info 29 [16:01:35.000] Open files: Info 29 [16:01:36.000] FileName: /user/username/projects/myproject/main/main.ts ProjectRootPath: undefined Info 29 [16:01:37.000] Projects: /user/username/projects/myproject/main/tsconfig.json +After request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -309,6 +311,7 @@ Info 30 [16:01:39.000] request: "file": "/user/username/projects/myproject/dependency/FnS.ts" } } +Before request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -371,6 +374,7 @@ Info 46 [16:02:02.000] FileName: /user/username/projects/myproject/main/main. Info 46 [16:02:03.000] Projects: /user/username/projects/myproject/main/tsconfig.json Info 46 [16:02:04.000] FileName: /user/username/projects/myproject/dependency/FnS.ts ProjectRootPath: undefined Info 46 [16:02:05.000] Projects: /user/username/projects/myproject/dependency/tsconfig.json +After request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -411,6 +415,7 @@ Info 47 [16:02:07.000] request: "file": "/user/username/projects/myproject/random/random.ts" } } +Before request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -490,6 +495,7 @@ Info 65 [16:02:37.000] FileName: /user/username/projects/myproject/dependency Info 65 [16:02:38.000] Projects: /user/username/projects/myproject/dependency/tsconfig.json Info 65 [16:02:39.000] FileName: /user/username/projects/myproject/random/random.ts ProjectRootPath: undefined Info 65 [16:02:40.000] Projects: /user/username/projects/myproject/random/tsconfig.json +After request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -538,6 +544,7 @@ Info 66 [16:02:42.000] request: "seq": 1, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -572,6 +579,7 @@ FsWatchesRecursive:: {} Info 67 [16:02:43.000] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls/FnS.d.ts.map 500 undefined WatchType: Closed Script info +After request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -655,6 +663,7 @@ Info 69 [16:02:45.000] request: "seq": 2, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -692,6 +701,7 @@ FsWatchesRecursive:: Info 70 [16:02:46.000] Search path: /user/username/projects/myproject/dependency Info 71 [16:02:47.000] For info: /user/username/projects/myproject/dependency/FnS.ts :: Config file name: /user/username/projects/myproject/dependency/tsconfig.json +After request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -814,6 +824,51 @@ Info 75 [16:02:54.000] Scheduled: *ensureProjectForOpenFiles* Info 76 [16:02:55.000] Scheduled: /user/username/projects/myproject/dependency/tsconfig.json Info 77 [16:02:56.000] Scheduled: *ensureProjectForOpenFiles*, Cancelled earlier one Info 78 [16:02:57.000] Elapsed:: *ms FileWatcher:: Triggered with /user/username/projects/myproject/decls/fns.d.ts 1:: WatchInfo: /user/username/projects/myproject/decls/fns.d.ts 500 undefined WatchType: Closed Script info +Before running timeout callbacks +//// [/user/username/projects/myproject/decls/FnS.d.ts] +export declare function fn1(): void; +export declare function fn2(): void; +export declare function fn3(): void; +export declare function fn4(): void; +export declare function fn5(): void; +export declare function fn6(): void; +//# sourceMappingURL=FnS.d.ts.map + + +PolledWatches:: +/user/username/projects/myproject/main/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/myproject/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/myproject/dependency/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/myproject/random/node_modules/@types: + {"pollingInterval":500} + +FsWatches:: +/user/username/projects/myproject/main/tsconfig.json: + {} +/user/username/projects/myproject/dependency/tsconfig.json: + {} +/user/username/projects/myproject/decls/fns.d.ts: + {} +/a/lib/lib.d.ts: + {} +/user/username/projects/myproject/random/tsconfig.json: + {} +/user/username/projects/myproject/decls/fns.d.ts.map: + {} + +FsWatchesRecursive:: +/user/username/projects/myproject/main: + {} +/user/username/projects/myproject/dependency: + {} +/user/username/projects/myproject/decls: + {} +/user/username/projects/myproject/random: + {} + Info 79 [16:02:58.000] Running: /user/username/projects/myproject/main/tsconfig.json Info 80 [16:02:59.000] Starting updateGraphWorker: Project: /user/username/projects/myproject/main/tsconfig.json Info 81 [16:03:00.000] Finishing updateGraphWorker: Project: /user/username/projects/myproject/main/tsconfig.json Version: 2 structureChanged: false structureIsReused:: Completely Elapsed:: *ms @@ -862,6 +917,42 @@ Info 89 [16:03:36.000] FileName: /user/username/projects/myproject/dependency Info 89 [16:03:37.000] Projects: /user/username/projects/myproject/dependency/tsconfig.json Info 89 [16:03:38.000] FileName: /user/username/projects/myproject/random/random.ts ProjectRootPath: undefined Info 89 [16:03:39.000] Projects: /user/username/projects/myproject/random/tsconfig.json +After running timeout callbacks + +PolledWatches:: +/user/username/projects/myproject/main/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/myproject/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/myproject/dependency/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/myproject/random/node_modules/@types: + {"pollingInterval":500} + +FsWatches:: +/user/username/projects/myproject/main/tsconfig.json: + {} +/user/username/projects/myproject/dependency/tsconfig.json: + {} +/user/username/projects/myproject/decls/fns.d.ts: + {} +/a/lib/lib.d.ts: + {} +/user/username/projects/myproject/random/tsconfig.json: + {} +/user/username/projects/myproject/decls/fns.d.ts.map: + {} + +FsWatchesRecursive:: +/user/username/projects/myproject/main: + {} +/user/username/projects/myproject/dependency: + {} +/user/username/projects/myproject/decls: + {} +/user/username/projects/myproject/random: + {} + Info 89 [16:03:40.000] request: { "command": "definitionAndBoundSpan", @@ -873,15 +964,7 @@ Info 89 [16:03:40.000] request: "seq": 3, "type": "request" } -//// [/user/username/projects/myproject/decls/FnS.d.ts] -export declare function fn1(): void; -export declare function fn2(): void; -export declare function fn3(): void; -export declare function fn4(): void; -export declare function fn5(): void; -export declare function fn6(): void; -//# sourceMappingURL=FnS.d.ts.map - +Before request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -917,6 +1000,7 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +After request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -1000,6 +1084,7 @@ Info 91 [16:03:42.000] request: "seq": 4, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -1035,6 +1120,7 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +After request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -1118,6 +1204,7 @@ Info 93 [16:03:44.000] request: "seq": 5, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -1153,6 +1240,7 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +After request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -1236,6 +1324,7 @@ Info 95 [16:03:46.000] request: "seq": 6, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -1271,6 +1360,7 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +After request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -1354,6 +1444,7 @@ Info 97 [16:03:48.000] request: "seq": 7, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -1389,6 +1480,7 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +After request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -1472,6 +1564,7 @@ Info 99 [16:03:50.000] request: "seq": 8, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -1509,6 +1602,7 @@ FsWatchesRecursive:: Info 100 [16:03:51.000] Search path: /user/username/projects/myproject/dependency Info 101 [16:03:52.000] For info: /user/username/projects/myproject/dependency/FnS.ts :: Config file name: /user/username/projects/myproject/dependency/tsconfig.json +After request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -1636,6 +1730,7 @@ Info 103 [16:03:54.000] request: "seq": 9, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -1673,6 +1768,7 @@ FsWatchesRecursive:: Info 104 [16:03:55.000] Search path: /user/username/projects/myproject/dependency Info 105 [16:03:56.000] For info: /user/username/projects/myproject/dependency/FnS.ts :: Config file name: /user/username/projects/myproject/dependency/tsconfig.json +After request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -1800,6 +1896,7 @@ Info 107 [16:03:58.000] request: "seq": 10, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -1837,6 +1934,7 @@ FsWatchesRecursive:: Info 108 [16:03:59.000] Search path: /user/username/projects/myproject/dependency Info 109 [16:04:00.000] For info: /user/username/projects/myproject/dependency/FnS.ts :: Config file name: /user/username/projects/myproject/dependency/tsconfig.json +After request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -1964,6 +2062,7 @@ Info 111 [16:04:02.000] request: "seq": 11, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -2001,6 +2100,7 @@ FsWatchesRecursive:: Info 112 [16:04:03.000] Search path: /user/username/projects/myproject/dependency Info 113 [16:04:04.000] For info: /user/username/projects/myproject/dependency/FnS.ts :: Config file name: /user/username/projects/myproject/dependency/tsconfig.json +After request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -2128,6 +2228,7 @@ Info 115 [16:04:06.000] request: "seq": 12, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -2165,6 +2266,7 @@ FsWatchesRecursive:: Info 116 [16:04:07.000] Search path: /user/username/projects/myproject/dependency Info 117 [16:04:08.000] For info: /user/username/projects/myproject/dependency/FnS.ts :: Config file name: /user/username/projects/myproject/dependency/tsconfig.json +After request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/disabledSourceRef/dependency-dts-changes.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/disabledSourceRef/dependency-dts-changes.js index 6236c135487c9..9cab17bfa77a8 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/disabledSourceRef/dependency-dts-changes.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/disabledSourceRef/dependency-dts-changes.js @@ -8,6 +8,7 @@ Info 1 [16:01:04.000] request: "file": "/user/username/projects/myproject/main/main.ts" } } +Before request //// [/user/username/projects/myproject/dependency/FnS.ts] export function fn1() { } export function fn2() { } @@ -271,6 +272,7 @@ Info 29 [16:01:34.000] ----------------------------------------------- Info 29 [16:01:35.000] Open files: Info 29 [16:01:36.000] FileName: /user/username/projects/myproject/main/main.ts ProjectRootPath: undefined Info 29 [16:01:37.000] Projects: /user/username/projects/myproject/main/tsconfig.json +After request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -309,6 +311,7 @@ Info 30 [16:01:39.000] request: "file": "/user/username/projects/myproject/dependency/FnS.ts" } } +Before request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -371,6 +374,7 @@ Info 46 [16:02:02.000] FileName: /user/username/projects/myproject/main/main. Info 46 [16:02:03.000] Projects: /user/username/projects/myproject/main/tsconfig.json Info 46 [16:02:04.000] FileName: /user/username/projects/myproject/dependency/FnS.ts ProjectRootPath: undefined Info 46 [16:02:05.000] Projects: /user/username/projects/myproject/dependency/tsconfig.json +After request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -411,6 +415,7 @@ Info 47 [16:02:07.000] request: "file": "/user/username/projects/myproject/random/random.ts" } } +Before request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -490,6 +495,7 @@ Info 65 [16:02:37.000] FileName: /user/username/projects/myproject/dependency Info 65 [16:02:38.000] Projects: /user/username/projects/myproject/dependency/tsconfig.json Info 65 [16:02:39.000] FileName: /user/username/projects/myproject/random/random.ts ProjectRootPath: undefined Info 65 [16:02:40.000] Projects: /user/username/projects/myproject/random/tsconfig.json +After request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -538,6 +544,7 @@ Info 66 [16:02:42.000] request: "seq": 1, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -572,6 +579,7 @@ FsWatchesRecursive:: {} Info 67 [16:02:43.000] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls/FnS.d.ts.map 500 undefined WatchType: Closed Script info +After request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -655,6 +663,7 @@ Info 69 [16:02:45.000] request: "seq": 2, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -692,6 +701,7 @@ FsWatchesRecursive:: Info 70 [16:02:46.000] Search path: /user/username/projects/myproject/dependency Info 71 [16:02:47.000] For info: /user/username/projects/myproject/dependency/FnS.ts :: Config file name: /user/username/projects/myproject/dependency/tsconfig.json +After request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -825,6 +835,7 @@ Info 79 [16:02:58.000] request: "seq": 3, "type": "request" } +Before request //// [/user/username/projects/myproject/decls/FnS.d.ts] export declare function fn1(): void; export declare function fn2(): void; @@ -872,6 +883,7 @@ FsWatchesRecursive:: Info 80 [16:02:59.000] Starting updateGraphWorker: Project: /user/username/projects/myproject/main/tsconfig.json Info 81 [16:03:00.000] Finishing updateGraphWorker: Project: /user/username/projects/myproject/main/tsconfig.json Version: 2 structureChanged: false structureIsReused:: Completely Elapsed:: *ms Info 82 [16:03:01.000] Different program with same set of files +After request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -955,6 +967,7 @@ Info 84 [16:03:03.000] request: "seq": 4, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -990,6 +1003,7 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +After request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -1073,6 +1087,7 @@ Info 86 [16:03:05.000] request: "seq": 5, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -1108,6 +1123,7 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +After request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -1191,6 +1207,7 @@ Info 88 [16:03:07.000] request: "seq": 6, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -1226,6 +1243,7 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +After request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -1309,6 +1327,7 @@ Info 90 [16:03:09.000] request: "seq": 7, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -1344,6 +1363,7 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +After request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -1427,6 +1447,7 @@ Info 92 [16:03:11.000] request: "seq": 8, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -1466,6 +1487,7 @@ Info 93 [16:03:12.000] Starting updateGraphWorker: Project: /user/username/pro Info 94 [16:03:13.000] Finishing updateGraphWorker: Project: /user/username/projects/myproject/dependency/tsconfig.json Version: 2 structureChanged: false structureIsReused:: Not Elapsed:: *ms Info 95 [16:03:14.000] Search path: /user/username/projects/myproject/dependency Info 96 [16:03:15.000] For info: /user/username/projects/myproject/dependency/FnS.ts :: Config file name: /user/username/projects/myproject/dependency/tsconfig.json +After request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -1593,6 +1615,7 @@ Info 98 [16:03:17.000] request: "seq": 9, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -1630,6 +1653,7 @@ FsWatchesRecursive:: Info 99 [16:03:18.000] Search path: /user/username/projects/myproject/dependency Info 100 [16:03:19.000] For info: /user/username/projects/myproject/dependency/FnS.ts :: Config file name: /user/username/projects/myproject/dependency/tsconfig.json +After request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -1757,6 +1781,7 @@ Info 102 [16:03:21.000] request: "seq": 10, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -1794,6 +1819,7 @@ FsWatchesRecursive:: Info 103 [16:03:22.000] Search path: /user/username/projects/myproject/dependency Info 104 [16:03:23.000] For info: /user/username/projects/myproject/dependency/FnS.ts :: Config file name: /user/username/projects/myproject/dependency/tsconfig.json +After request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -1921,6 +1947,7 @@ Info 106 [16:03:25.000] request: "seq": 11, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -1958,6 +1985,7 @@ FsWatchesRecursive:: Info 107 [16:03:26.000] Search path: /user/username/projects/myproject/dependency Info 108 [16:03:27.000] For info: /user/username/projects/myproject/dependency/FnS.ts :: Config file name: /user/username/projects/myproject/dependency/tsconfig.json +After request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -2085,6 +2113,7 @@ Info 110 [16:03:29.000] request: "seq": 12, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -2122,6 +2151,7 @@ FsWatchesRecursive:: Info 111 [16:03:30.000] Search path: /user/username/projects/myproject/dependency Info 112 [16:03:31.000] For info: /user/username/projects/myproject/dependency/FnS.ts :: Config file name: /user/username/projects/myproject/dependency/tsconfig.json +After request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/disabledSourceRef/dependency-dts-created.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/disabledSourceRef/dependency-dts-created.js index bfd42e2b85799..c382bac1961ab 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/disabledSourceRef/dependency-dts-created.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/disabledSourceRef/dependency-dts-created.js @@ -8,6 +8,7 @@ Info 1 [16:01:05.000] request: "file": "/user/username/projects/myproject/main/main.ts" } } +Before request //// [/user/username/projects/myproject/dependency/FnS.ts] export function fn1() { } export function fn2() { } @@ -259,6 +260,7 @@ Info 28 [16:01:34.000] ----------------------------------------------- Info 28 [16:01:35.000] Open files: Info 28 [16:01:36.000] FileName: /user/username/projects/myproject/main/main.ts ProjectRootPath: undefined Info 28 [16:01:37.000] Projects: /user/username/projects/myproject/main/tsconfig.json +After request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -295,6 +297,7 @@ Info 29 [16:01:39.000] request: "file": "/user/username/projects/myproject/dependency/FnS.ts" } } +Before request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -355,6 +358,7 @@ Info 45 [16:02:02.000] FileName: /user/username/projects/myproject/main/main. Info 45 [16:02:03.000] Projects: /user/username/projects/myproject/main/tsconfig.json Info 45 [16:02:04.000] FileName: /user/username/projects/myproject/dependency/FnS.ts ProjectRootPath: undefined Info 45 [16:02:05.000] Projects: /user/username/projects/myproject/dependency/tsconfig.json +After request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -393,6 +397,7 @@ Info 46 [16:02:07.000] request: "file": "/user/username/projects/myproject/random/random.ts" } } +Before request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -470,6 +475,7 @@ Info 64 [16:02:37.000] FileName: /user/username/projects/myproject/dependency Info 64 [16:02:38.000] Projects: /user/username/projects/myproject/dependency/tsconfig.json Info 64 [16:02:39.000] FileName: /user/username/projects/myproject/random/random.ts ProjectRootPath: undefined Info 64 [16:02:40.000] Projects: /user/username/projects/myproject/random/tsconfig.json +After request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -516,6 +522,7 @@ Info 65 [16:02:42.000] request: "seq": 1, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -547,6 +554,7 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +After request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -626,6 +634,7 @@ Info 67 [16:02:44.000] request: "seq": 2, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -658,6 +667,7 @@ FsWatchesRecursive:: {} Info 68 [16:02:45.000] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls/FnS.d.ts 2000 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Missing generated file +After request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -761,6 +771,7 @@ Info 81 [16:03:00.000] request: "seq": 3, "type": "request" } +Before request //// [/user/username/projects/myproject/decls/FnS.d.ts] export declare function fn1(): void; export declare function fn2(): void; @@ -822,6 +833,7 @@ Info 87 [16:03:06.000] Files (3) Info 88 [16:03:07.000] ----------------------------------------------- Info 89 [16:03:08.000] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls/FnS.d.ts.map 500 undefined WatchType: Closed Script info +After request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -905,6 +917,7 @@ Info 91 [16:03:10.000] request: "seq": 4, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -940,6 +953,7 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +After request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -1023,6 +1037,7 @@ Info 93 [16:03:12.000] request: "seq": 5, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -1058,6 +1073,7 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +After request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -1141,6 +1157,7 @@ Info 95 [16:03:14.000] request: "seq": 6, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -1176,6 +1193,7 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +After request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -1259,6 +1277,7 @@ Info 97 [16:03:16.000] request: "seq": 7, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -1294,6 +1313,7 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +After request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -1377,6 +1397,7 @@ Info 99 [16:03:18.000] request: "seq": 8, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -1416,6 +1437,7 @@ Info 100 [16:03:19.000] Starting updateGraphWorker: Project: /user/username/pro Info 101 [16:03:20.000] Finishing updateGraphWorker: Project: /user/username/projects/myproject/dependency/tsconfig.json Version: 2 structureChanged: false structureIsReused:: Not Elapsed:: *ms Info 102 [16:03:21.000] Search path: /user/username/projects/myproject/dependency Info 103 [16:03:22.000] For info: /user/username/projects/myproject/dependency/FnS.ts :: Config file name: /user/username/projects/myproject/dependency/tsconfig.json +After request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -1543,6 +1565,7 @@ Info 105 [16:03:24.000] request: "seq": 9, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -1580,6 +1603,7 @@ FsWatchesRecursive:: Info 106 [16:03:25.000] Search path: /user/username/projects/myproject/dependency Info 107 [16:03:26.000] For info: /user/username/projects/myproject/dependency/FnS.ts :: Config file name: /user/username/projects/myproject/dependency/tsconfig.json +After request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -1707,6 +1731,7 @@ Info 109 [16:03:28.000] request: "seq": 10, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -1744,6 +1769,7 @@ FsWatchesRecursive:: Info 110 [16:03:29.000] Search path: /user/username/projects/myproject/dependency Info 111 [16:03:30.000] For info: /user/username/projects/myproject/dependency/FnS.ts :: Config file name: /user/username/projects/myproject/dependency/tsconfig.json +After request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -1871,6 +1897,7 @@ Info 113 [16:03:32.000] request: "seq": 11, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -1908,6 +1935,7 @@ FsWatchesRecursive:: Info 114 [16:03:33.000] Search path: /user/username/projects/myproject/dependency Info 115 [16:03:34.000] For info: /user/username/projects/myproject/dependency/FnS.ts :: Config file name: /user/username/projects/myproject/dependency/tsconfig.json +After request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -2035,6 +2063,7 @@ Info 117 [16:03:36.000] request: "seq": 12, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -2072,6 +2101,7 @@ FsWatchesRecursive:: Info 118 [16:03:37.000] Search path: /user/username/projects/myproject/dependency Info 119 [16:03:38.000] For info: /user/username/projects/myproject/dependency/FnS.ts :: Config file name: /user/username/projects/myproject/dependency/tsconfig.json +After request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -2197,6 +2227,7 @@ Info 121 [16:03:40.000] request: "file": "/user/username/projects/myproject/random/random.ts" } } +Before request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -2250,6 +2281,7 @@ Info 123 [16:03:52.000] FileName: /user/username/projects/myproject/main/main. Info 123 [16:03:53.000] Projects: /user/username/projects/myproject/main/tsconfig.json Info 123 [16:03:54.000] FileName: /user/username/projects/myproject/dependency/FnS.ts ProjectRootPath: undefined Info 123 [16:03:55.000] Projects: /user/username/projects/myproject/dependency/tsconfig.json +After request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -2300,6 +2332,7 @@ Info 124 [16:03:57.000] request: "file": "/user/username/projects/myproject/random/random.ts" } } +Before request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -2359,6 +2392,7 @@ Info 128 [16:04:13.000] FileName: /user/username/projects/myproject/dependency Info 128 [16:04:14.000] Projects: /user/username/projects/myproject/dependency/tsconfig.json Info 128 [16:04:15.000] FileName: /user/username/projects/myproject/random/random.ts ProjectRootPath: undefined Info 128 [16:04:16.000] Projects: /user/username/projects/myproject/random/tsconfig.json +After request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -2407,6 +2441,7 @@ Info 129 [16:04:18.000] request: "file": "/user/username/projects/myproject/main/main.ts" } } +Before request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -2460,6 +2495,7 @@ Info 131 [16:04:30.000] FileName: /user/username/projects/myproject/dependency Info 131 [16:04:31.000] Projects: /user/username/projects/myproject/dependency/tsconfig.json Info 131 [16:04:32.000] FileName: /user/username/projects/myproject/random/random.ts ProjectRootPath: undefined Info 131 [16:04:33.000] Projects: /user/username/projects/myproject/random/tsconfig.json +After request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -2510,6 +2546,7 @@ Info 132 [16:04:35.000] request: "file": "/user/username/projects/myproject/dependency/FnS.ts" } } +Before request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -2563,6 +2600,7 @@ Info 134 [16:04:45.000] ----------------------------------------------- Info 134 [16:04:46.000] Open files: Info 134 [16:04:47.000] FileName: /user/username/projects/myproject/random/random.ts ProjectRootPath: undefined Info 134 [16:04:48.000] Projects: /user/username/projects/myproject/random/tsconfig.json +After request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -2615,6 +2653,7 @@ Info 135 [16:04:50.000] request: "file": "/user/username/projects/myproject/random/random.ts" } } +Before request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -2668,6 +2707,7 @@ Info 137 [16:04:59.000] Files (2) Info 137 [16:05:00.000] ----------------------------------------------- Info 137 [16:05:01.000] Open files: +After request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -2722,6 +2762,7 @@ Info 138 [16:05:03.000] request: "file": "/user/username/projects/myproject/random/random.ts" } } +Before request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -2823,6 +2864,7 @@ Info 171 [16:05:38.000] ----------------------------------------------- Info 171 [16:05:39.000] Open files: Info 171 [16:05:40.000] FileName: /user/username/projects/myproject/random/random.ts ProjectRootPath: undefined Info 171 [16:05:41.000] Projects: /user/username/projects/myproject/random/tsconfig.json +After request PolledWatches:: /user/username/projects/myproject/node_modules/@types: diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/disabledSourceRef/dependency-dts-deleted.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/disabledSourceRef/dependency-dts-deleted.js index 68c2727007c59..50966ccc13b36 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/disabledSourceRef/dependency-dts-deleted.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/disabledSourceRef/dependency-dts-deleted.js @@ -8,6 +8,7 @@ Info 1 [16:01:04.000] request: "file": "/user/username/projects/myproject/main/main.ts" } } +Before request //// [/user/username/projects/myproject/dependency/FnS.ts] export function fn1() { } export function fn2() { } @@ -271,6 +272,7 @@ Info 29 [16:01:34.000] ----------------------------------------------- Info 29 [16:01:35.000] Open files: Info 29 [16:01:36.000] FileName: /user/username/projects/myproject/main/main.ts ProjectRootPath: undefined Info 29 [16:01:37.000] Projects: /user/username/projects/myproject/main/tsconfig.json +After request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -309,6 +311,7 @@ Info 30 [16:01:39.000] request: "file": "/user/username/projects/myproject/dependency/FnS.ts" } } +Before request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -371,6 +374,7 @@ Info 46 [16:02:02.000] FileName: /user/username/projects/myproject/main/main. Info 46 [16:02:03.000] Projects: /user/username/projects/myproject/main/tsconfig.json Info 46 [16:02:04.000] FileName: /user/username/projects/myproject/dependency/FnS.ts ProjectRootPath: undefined Info 46 [16:02:05.000] Projects: /user/username/projects/myproject/dependency/tsconfig.json +After request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -411,6 +415,7 @@ Info 47 [16:02:07.000] request: "file": "/user/username/projects/myproject/random/random.ts" } } +Before request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -490,6 +495,7 @@ Info 65 [16:02:37.000] FileName: /user/username/projects/myproject/dependency Info 65 [16:02:38.000] Projects: /user/username/projects/myproject/dependency/tsconfig.json Info 65 [16:02:39.000] FileName: /user/username/projects/myproject/random/random.ts ProjectRootPath: undefined Info 65 [16:02:40.000] Projects: /user/username/projects/myproject/random/tsconfig.json +After request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -538,6 +544,7 @@ Info 66 [16:02:42.000] request: "seq": 1, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -572,6 +579,7 @@ FsWatchesRecursive:: {} Info 67 [16:02:43.000] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls/FnS.d.ts.map 500 undefined WatchType: Closed Script info +After request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -655,6 +663,7 @@ Info 69 [16:02:45.000] request: "seq": 2, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -692,6 +701,7 @@ FsWatchesRecursive:: Info 70 [16:02:46.000] Search path: /user/username/projects/myproject/dependency Info 71 [16:02:47.000] For info: /user/username/projects/myproject/dependency/FnS.ts :: Config file name: /user/username/projects/myproject/dependency/tsconfig.json +After request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -829,6 +839,7 @@ Info 83 [16:03:00.000] request: "seq": 3, "type": "request" } +Before request //// [/user/username/projects/myproject/decls/FnS.d.ts] deleted PolledWatches:: @@ -877,6 +888,7 @@ Info 87 [16:03:04.000] Files (2) Matched by default include pattern '**/*' Info 88 [16:03:05.000] ----------------------------------------------- +After request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -958,6 +970,7 @@ Info 90 [16:03:07.000] request: "seq": 4, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -991,6 +1004,7 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +After request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -1072,6 +1086,7 @@ Info 92 [16:03:09.000] request: "seq": 5, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -1105,6 +1120,7 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +After request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -1186,6 +1202,7 @@ Info 94 [16:03:11.000] request: "seq": 6, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -1219,6 +1236,7 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +After request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -1300,6 +1318,7 @@ Info 96 [16:03:13.000] request: "seq": 7, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -1333,6 +1352,7 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +After request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -1414,6 +1434,7 @@ Info 98 [16:03:15.000] request: "seq": 8, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -1450,6 +1471,7 @@ FsWatchesRecursive:: Info 99 [16:03:16.000] Starting updateGraphWorker: Project: /user/username/projects/myproject/dependency/tsconfig.json Info 100 [16:03:17.000] Finishing updateGraphWorker: Project: /user/username/projects/myproject/dependency/tsconfig.json Version: 2 structureChanged: false structureIsReused:: Not Elapsed:: *ms Info 101 [16:03:18.000] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls/FnS.d.ts 2000 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Missing generated file +After request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -1544,6 +1566,7 @@ Info 103 [16:03:20.000] request: "seq": 9, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -1579,6 +1602,7 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +After request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -1673,6 +1697,7 @@ Info 105 [16:03:22.000] request: "seq": 10, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -1708,6 +1733,7 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +After request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -1802,6 +1828,7 @@ Info 107 [16:03:24.000] request: "seq": 11, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -1837,6 +1864,7 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +After request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -1931,6 +1959,7 @@ Info 109 [16:03:26.000] request: "seq": 12, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -1966,6 +1995,7 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +After request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -2058,6 +2088,7 @@ Info 111 [16:03:28.000] request: "file": "/user/username/projects/myproject/random/random.ts" } } +Before request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -2111,6 +2142,7 @@ Info 113 [16:03:40.000] FileName: /user/username/projects/myproject/main/main. Info 113 [16:03:41.000] Projects: /user/username/projects/myproject/main/tsconfig.json Info 113 [16:03:42.000] FileName: /user/username/projects/myproject/dependency/FnS.ts ProjectRootPath: undefined Info 113 [16:03:43.000] Projects: /user/username/projects/myproject/dependency/tsconfig.json +After request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -2161,6 +2193,7 @@ Info 114 [16:03:45.000] request: "file": "/user/username/projects/myproject/random/random.ts" } } +Before request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -2221,6 +2254,7 @@ Info 119 [16:04:02.000] FileName: /user/username/projects/myproject/dependency Info 119 [16:04:03.000] Projects: /user/username/projects/myproject/dependency/tsconfig.json Info 119 [16:04:04.000] FileName: /user/username/projects/myproject/random/random.ts ProjectRootPath: undefined Info 119 [16:04:05.000] Projects: /user/username/projects/myproject/random/tsconfig.json +After request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -2267,6 +2301,7 @@ Info 120 [16:04:07.000] request: "file": "/user/username/projects/myproject/main/main.ts" } } +Before request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -2318,6 +2353,7 @@ Info 122 [16:04:19.000] FileName: /user/username/projects/myproject/dependency Info 122 [16:04:20.000] Projects: /user/username/projects/myproject/dependency/tsconfig.json Info 122 [16:04:21.000] FileName: /user/username/projects/myproject/random/random.ts ProjectRootPath: undefined Info 122 [16:04:22.000] Projects: /user/username/projects/myproject/random/tsconfig.json +After request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -2366,6 +2402,7 @@ Info 123 [16:04:24.000] request: "file": "/user/username/projects/myproject/dependency/FnS.ts" } } +Before request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -2417,6 +2454,7 @@ Info 125 [16:04:34.000] ----------------------------------------------- Info 125 [16:04:35.000] Open files: Info 125 [16:04:36.000] FileName: /user/username/projects/myproject/random/random.ts ProjectRootPath: undefined Info 125 [16:04:37.000] Projects: /user/username/projects/myproject/random/tsconfig.json +After request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -2467,6 +2505,7 @@ Info 126 [16:04:39.000] request: "file": "/user/username/projects/myproject/random/random.ts" } } +Before request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -2518,6 +2557,7 @@ Info 128 [16:04:48.000] Files (2) Info 128 [16:04:49.000] ----------------------------------------------- Info 128 [16:04:50.000] Open files: +After request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -2570,6 +2610,7 @@ Info 129 [16:04:52.000] request: "file": "/user/username/projects/myproject/random/random.ts" } } +Before request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -2664,6 +2705,7 @@ Info 160 [16:05:25.000] ----------------------------------------------- Info 160 [16:05:26.000] Open files: Info 160 [16:05:27.000] FileName: /user/username/projects/myproject/random/random.ts ProjectRootPath: undefined Info 160 [16:05:28.000] Projects: /user/username/projects/myproject/random/tsconfig.json +After request PolledWatches:: /user/username/projects/myproject/node_modules/@types: diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/disabledSourceRef/dependency-dts-not-present.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/disabledSourceRef/dependency-dts-not-present.js index 1cfd4568b8a29..4b576a0c5dfce 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/disabledSourceRef/dependency-dts-not-present.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/disabledSourceRef/dependency-dts-not-present.js @@ -8,6 +8,7 @@ Info 1 [16:01:05.000] request: "file": "/user/username/projects/myproject/main/main.ts" } } +Before request //// [/user/username/projects/myproject/dependency/FnS.ts] export function fn1() { } export function fn2() { } @@ -259,6 +260,7 @@ Info 28 [16:01:34.000] ----------------------------------------------- Info 28 [16:01:35.000] Open files: Info 28 [16:01:36.000] FileName: /user/username/projects/myproject/main/main.ts ProjectRootPath: undefined Info 28 [16:01:37.000] Projects: /user/username/projects/myproject/main/tsconfig.json +After request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -295,6 +297,7 @@ Info 29 [16:01:39.000] request: "file": "/user/username/projects/myproject/dependency/FnS.ts" } } +Before request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -355,6 +358,7 @@ Info 45 [16:02:02.000] FileName: /user/username/projects/myproject/main/main. Info 45 [16:02:03.000] Projects: /user/username/projects/myproject/main/tsconfig.json Info 45 [16:02:04.000] FileName: /user/username/projects/myproject/dependency/FnS.ts ProjectRootPath: undefined Info 45 [16:02:05.000] Projects: /user/username/projects/myproject/dependency/tsconfig.json +After request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -393,6 +397,7 @@ Info 46 [16:02:07.000] request: "file": "/user/username/projects/myproject/random/random.ts" } } +Before request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -470,6 +475,7 @@ Info 64 [16:02:37.000] FileName: /user/username/projects/myproject/dependency Info 64 [16:02:38.000] Projects: /user/username/projects/myproject/dependency/tsconfig.json Info 64 [16:02:39.000] FileName: /user/username/projects/myproject/random/random.ts ProjectRootPath: undefined Info 64 [16:02:40.000] Projects: /user/username/projects/myproject/random/tsconfig.json +After request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -516,6 +522,7 @@ Info 65 [16:02:42.000] request: "seq": 1, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -547,6 +554,7 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +After request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -626,6 +634,7 @@ Info 67 [16:02:44.000] request: "seq": 2, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -657,6 +666,7 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +After request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -736,6 +746,7 @@ Info 69 [16:02:46.000] request: "seq": 3, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -767,6 +778,7 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +After request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -846,6 +858,7 @@ Info 71 [16:02:48.000] request: "seq": 4, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -877,6 +890,7 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +After request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -956,6 +970,7 @@ Info 73 [16:02:50.000] request: "seq": 5, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -987,6 +1002,7 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +After request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -1066,6 +1082,7 @@ Info 75 [16:02:52.000] request: "seq": 6, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -1098,6 +1115,7 @@ FsWatchesRecursive:: {} Info 76 [16:02:53.000] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls/FnS.d.ts 2000 undefined Project: /user/username/projects/myproject/dependency/tsconfig.json WatchType: Missing generated file +After request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -1190,6 +1208,7 @@ Info 78 [16:02:55.000] request: "seq": 7, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -1223,6 +1242,7 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +After request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -1315,6 +1335,7 @@ Info 80 [16:02:57.000] request: "seq": 8, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -1348,6 +1369,7 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +After request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -1440,6 +1462,7 @@ Info 82 [16:02:59.000] request: "seq": 9, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -1473,6 +1496,7 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +After request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -1565,6 +1589,7 @@ Info 84 [16:03:01.000] request: "seq": 10, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -1598,6 +1623,7 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +After request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -1688,6 +1714,7 @@ Info 86 [16:03:03.000] request: "file": "/user/username/projects/myproject/random/random.ts" } } +Before request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -1739,6 +1766,7 @@ Info 88 [16:03:15.000] FileName: /user/username/projects/myproject/main/main. Info 88 [16:03:16.000] Projects: /user/username/projects/myproject/main/tsconfig.json Info 88 [16:03:17.000] FileName: /user/username/projects/myproject/dependency/FnS.ts ProjectRootPath: undefined Info 88 [16:03:18.000] Projects: /user/username/projects/myproject/dependency/tsconfig.json +After request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -1787,6 +1815,7 @@ Info 89 [16:03:20.000] request: "file": "/user/username/projects/myproject/random/random.ts" } } +Before request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -1844,6 +1873,7 @@ Info 93 [16:03:36.000] FileName: /user/username/projects/myproject/dependency Info 93 [16:03:37.000] Projects: /user/username/projects/myproject/dependency/tsconfig.json Info 93 [16:03:38.000] FileName: /user/username/projects/myproject/random/random.ts ProjectRootPath: undefined Info 93 [16:03:39.000] Projects: /user/username/projects/myproject/random/tsconfig.json +After request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -1890,6 +1920,7 @@ Info 94 [16:03:41.000] request: "file": "/user/username/projects/myproject/main/main.ts" } } +Before request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -1941,6 +1972,7 @@ Info 96 [16:03:53.000] FileName: /user/username/projects/myproject/dependency Info 96 [16:03:54.000] Projects: /user/username/projects/myproject/dependency/tsconfig.json Info 96 [16:03:55.000] FileName: /user/username/projects/myproject/random/random.ts ProjectRootPath: undefined Info 96 [16:03:56.000] Projects: /user/username/projects/myproject/random/tsconfig.json +After request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -1989,6 +2021,7 @@ Info 97 [16:03:58.000] request: "file": "/user/username/projects/myproject/dependency/FnS.ts" } } +Before request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -2040,6 +2073,7 @@ Info 99 [16:04:08.000] ----------------------------------------------- Info 99 [16:04:09.000] Open files: Info 99 [16:04:10.000] FileName: /user/username/projects/myproject/random/random.ts ProjectRootPath: undefined Info 99 [16:04:11.000] Projects: /user/username/projects/myproject/random/tsconfig.json +After request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -2090,6 +2124,7 @@ Info 100 [16:04:13.000] request: "file": "/user/username/projects/myproject/random/random.ts" } } +Before request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -2141,6 +2176,7 @@ Info 102 [16:04:22.000] Files (2) Info 102 [16:04:23.000] ----------------------------------------------- Info 102 [16:04:24.000] Open files: +After request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -2193,6 +2229,7 @@ Info 103 [16:04:26.000] request: "file": "/user/username/projects/myproject/random/random.ts" } } +Before request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -2287,6 +2324,7 @@ Info 134 [16:04:59.000] ----------------------------------------------- Info 134 [16:05:00.000] Open files: Info 134 [16:05:01.000] FileName: /user/username/projects/myproject/random/random.ts ProjectRootPath: undefined Info 134 [16:05:02.000] Projects: /user/username/projects/myproject/random/tsconfig.json +After request PolledWatches:: /user/username/projects/myproject/node_modules/@types: diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/disabledSourceRef/dependency-dtsMap-changes-with-timeout-before-request.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/disabledSourceRef/dependency-dtsMap-changes-with-timeout-before-request.js index b6f8785186f88..022f8b46461cd 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/disabledSourceRef/dependency-dtsMap-changes-with-timeout-before-request.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/disabledSourceRef/dependency-dtsMap-changes-with-timeout-before-request.js @@ -8,6 +8,7 @@ Info 1 [16:01:04.000] request: "file": "/user/username/projects/myproject/main/main.ts" } } +Before request //// [/user/username/projects/myproject/dependency/FnS.ts] export function fn1() { } export function fn2() { } @@ -271,6 +272,7 @@ Info 29 [16:01:34.000] ----------------------------------------------- Info 29 [16:01:35.000] Open files: Info 29 [16:01:36.000] FileName: /user/username/projects/myproject/main/main.ts ProjectRootPath: undefined Info 29 [16:01:37.000] Projects: /user/username/projects/myproject/main/tsconfig.json +After request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -309,6 +311,7 @@ Info 30 [16:01:39.000] request: "file": "/user/username/projects/myproject/dependency/FnS.ts" } } +Before request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -371,6 +374,7 @@ Info 46 [16:02:02.000] FileName: /user/username/projects/myproject/main/main. Info 46 [16:02:03.000] Projects: /user/username/projects/myproject/main/tsconfig.json Info 46 [16:02:04.000] FileName: /user/username/projects/myproject/dependency/FnS.ts ProjectRootPath: undefined Info 46 [16:02:05.000] Projects: /user/username/projects/myproject/dependency/tsconfig.json +After request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -411,6 +415,7 @@ Info 47 [16:02:07.000] request: "file": "/user/username/projects/myproject/random/random.ts" } } +Before request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -490,6 +495,7 @@ Info 65 [16:02:37.000] FileName: /user/username/projects/myproject/dependency Info 65 [16:02:38.000] Projects: /user/username/projects/myproject/dependency/tsconfig.json Info 65 [16:02:39.000] FileName: /user/username/projects/myproject/random/random.ts ProjectRootPath: undefined Info 65 [16:02:40.000] Projects: /user/username/projects/myproject/random/tsconfig.json +After request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -538,6 +544,7 @@ Info 66 [16:02:42.000] request: "seq": 1, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -572,6 +579,7 @@ FsWatchesRecursive:: {} Info 67 [16:02:43.000] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls/FnS.d.ts.map 500 undefined WatchType: Closed Script info +After request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -655,6 +663,7 @@ Info 69 [16:02:45.000] request: "seq": 2, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -692,6 +701,7 @@ FsWatchesRecursive:: Info 70 [16:02:46.000] Search path: /user/username/projects/myproject/dependency Info 71 [16:02:47.000] For info: /user/username/projects/myproject/dependency/FnS.ts :: Config file name: /user/username/projects/myproject/dependency/tsconfig.json +After request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -814,6 +824,45 @@ Info 75 [16:02:54.000] Scheduled: *ensureProjectForOpenFiles* Info 76 [16:02:55.000] Scheduled: /user/username/projects/myproject/main/tsconfig.json Info 77 [16:02:56.000] Scheduled: *ensureProjectForOpenFiles*, Cancelled earlier one Info 78 [16:02:57.000] Elapsed:: *ms FileWatcher:: Triggered with /user/username/projects/myproject/decls/FnS.d.ts.map 1:: WatchInfo: /user/username/projects/myproject/decls/FnS.d.ts.map 500 undefined WatchType: Closed Script info +Before running timeout callbacks +//// [/user/username/projects/myproject/decls/FnS.d.ts.map] +{"version":3,"file":"FnS.d.ts","sourceRoot":"","sources":["../dependency/FnS.ts"],"names":[],"mappings":"AAAA,wBAAgB,GAAG,SAAM;AACzB,wBAAgB,GAAG,SAAM;AACzB,wBAAgB,GAAG,SAAM;AACzB,wBAAgB,GAAG,SAAM;AACzB,wBAAgB,GAAG,SAAM;AACzB,eAAO,MAAM,CAAC,KAAK,CAAC"} + + +PolledWatches:: +/user/username/projects/myproject/main/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/myproject/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/myproject/dependency/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/myproject/random/node_modules/@types: + {"pollingInterval":500} + +FsWatches:: +/user/username/projects/myproject/main/tsconfig.json: + {} +/user/username/projects/myproject/dependency/tsconfig.json: + {} +/user/username/projects/myproject/decls/fns.d.ts: + {} +/a/lib/lib.d.ts: + {} +/user/username/projects/myproject/random/tsconfig.json: + {} +/user/username/projects/myproject/decls/fns.d.ts.map: + {} + +FsWatchesRecursive:: +/user/username/projects/myproject/main: + {} +/user/username/projects/myproject/dependency: + {} +/user/username/projects/myproject/decls: + {} +/user/username/projects/myproject/random: + {} + Info 79 [16:02:58.000] Running: /user/username/projects/myproject/dependency/tsconfig.json Info 80 [16:02:59.000] Starting updateGraphWorker: Project: /user/username/projects/myproject/dependency/tsconfig.json Info 81 [16:03:00.000] Finishing updateGraphWorker: Project: /user/username/projects/myproject/dependency/tsconfig.json Version: 2 structureChanged: false structureIsReused:: Not Elapsed:: *ms @@ -861,6 +910,42 @@ Info 88 [16:03:35.000] FileName: /user/username/projects/myproject/dependency Info 88 [16:03:36.000] Projects: /user/username/projects/myproject/dependency/tsconfig.json Info 88 [16:03:37.000] FileName: /user/username/projects/myproject/random/random.ts ProjectRootPath: undefined Info 88 [16:03:38.000] Projects: /user/username/projects/myproject/random/tsconfig.json +After running timeout callbacks + +PolledWatches:: +/user/username/projects/myproject/main/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/myproject/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/myproject/dependency/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/myproject/random/node_modules/@types: + {"pollingInterval":500} + +FsWatches:: +/user/username/projects/myproject/main/tsconfig.json: + {} +/user/username/projects/myproject/dependency/tsconfig.json: + {} +/user/username/projects/myproject/decls/fns.d.ts: + {} +/a/lib/lib.d.ts: + {} +/user/username/projects/myproject/random/tsconfig.json: + {} +/user/username/projects/myproject/decls/fns.d.ts.map: + {} + +FsWatchesRecursive:: +/user/username/projects/myproject/main: + {} +/user/username/projects/myproject/dependency: + {} +/user/username/projects/myproject/decls: + {} +/user/username/projects/myproject/random: + {} + Info 88 [16:03:39.000] request: { "command": "definitionAndBoundSpan", @@ -872,9 +957,7 @@ Info 88 [16:03:39.000] request: "seq": 3, "type": "request" } -//// [/user/username/projects/myproject/decls/FnS.d.ts.map] -{"version":3,"file":"FnS.d.ts","sourceRoot":"","sources":["../dependency/FnS.ts"],"names":[],"mappings":"AAAA,wBAAgB,GAAG,SAAM;AACzB,wBAAgB,GAAG,SAAM;AACzB,wBAAgB,GAAG,SAAM;AACzB,wBAAgB,GAAG,SAAM;AACzB,wBAAgB,GAAG,SAAM;AACzB,eAAO,MAAM,CAAC,KAAK,CAAC"} - +Before request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -910,6 +993,7 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +After request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -993,6 +1077,7 @@ Info 90 [16:03:41.000] request: "seq": 4, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -1028,6 +1113,7 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +After request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -1111,6 +1197,7 @@ Info 92 [16:03:43.000] request: "seq": 5, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -1146,6 +1233,7 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +After request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -1229,6 +1317,7 @@ Info 94 [16:03:45.000] request: "seq": 6, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -1264,6 +1353,7 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +After request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -1347,6 +1437,7 @@ Info 96 [16:03:47.000] request: "seq": 7, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -1382,6 +1473,7 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +After request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -1465,6 +1557,7 @@ Info 98 [16:03:49.000] request: "seq": 8, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -1502,6 +1595,7 @@ FsWatchesRecursive:: Info 99 [16:03:50.000] Search path: /user/username/projects/myproject/dependency Info 100 [16:03:51.000] For info: /user/username/projects/myproject/dependency/FnS.ts :: Config file name: /user/username/projects/myproject/dependency/tsconfig.json +After request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -1629,6 +1723,7 @@ Info 102 [16:03:53.000] request: "seq": 9, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -1666,6 +1761,7 @@ FsWatchesRecursive:: Info 103 [16:03:54.000] Search path: /user/username/projects/myproject/dependency Info 104 [16:03:55.000] For info: /user/username/projects/myproject/dependency/FnS.ts :: Config file name: /user/username/projects/myproject/dependency/tsconfig.json +After request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -1793,6 +1889,7 @@ Info 106 [16:03:57.000] request: "seq": 10, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -1830,6 +1927,7 @@ FsWatchesRecursive:: Info 107 [16:03:58.000] Search path: /user/username/projects/myproject/dependency Info 108 [16:03:59.000] For info: /user/username/projects/myproject/dependency/FnS.ts :: Config file name: /user/username/projects/myproject/dependency/tsconfig.json +After request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -1957,6 +2055,7 @@ Info 110 [16:04:01.000] request: "seq": 11, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -1994,6 +2093,7 @@ FsWatchesRecursive:: Info 111 [16:04:02.000] Search path: /user/username/projects/myproject/dependency Info 112 [16:04:03.000] For info: /user/username/projects/myproject/dependency/FnS.ts :: Config file name: /user/username/projects/myproject/dependency/tsconfig.json +After request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -2121,6 +2221,7 @@ Info 114 [16:04:05.000] request: "seq": 12, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -2158,6 +2259,7 @@ FsWatchesRecursive:: Info 115 [16:04:06.000] Search path: /user/username/projects/myproject/dependency Info 116 [16:04:07.000] For info: /user/username/projects/myproject/dependency/FnS.ts :: Config file name: /user/username/projects/myproject/dependency/tsconfig.json +After request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/disabledSourceRef/dependency-dtsMap-changes.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/disabledSourceRef/dependency-dtsMap-changes.js index 7fbc50adb07a4..7c6299c3849a6 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/disabledSourceRef/dependency-dtsMap-changes.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/disabledSourceRef/dependency-dtsMap-changes.js @@ -8,6 +8,7 @@ Info 1 [16:01:04.000] request: "file": "/user/username/projects/myproject/main/main.ts" } } +Before request //// [/user/username/projects/myproject/dependency/FnS.ts] export function fn1() { } export function fn2() { } @@ -271,6 +272,7 @@ Info 29 [16:01:34.000] ----------------------------------------------- Info 29 [16:01:35.000] Open files: Info 29 [16:01:36.000] FileName: /user/username/projects/myproject/main/main.ts ProjectRootPath: undefined Info 29 [16:01:37.000] Projects: /user/username/projects/myproject/main/tsconfig.json +After request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -309,6 +311,7 @@ Info 30 [16:01:39.000] request: "file": "/user/username/projects/myproject/dependency/FnS.ts" } } +Before request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -371,6 +374,7 @@ Info 46 [16:02:02.000] FileName: /user/username/projects/myproject/main/main. Info 46 [16:02:03.000] Projects: /user/username/projects/myproject/main/tsconfig.json Info 46 [16:02:04.000] FileName: /user/username/projects/myproject/dependency/FnS.ts ProjectRootPath: undefined Info 46 [16:02:05.000] Projects: /user/username/projects/myproject/dependency/tsconfig.json +After request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -411,6 +415,7 @@ Info 47 [16:02:07.000] request: "file": "/user/username/projects/myproject/random/random.ts" } } +Before request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -490,6 +495,7 @@ Info 65 [16:02:37.000] FileName: /user/username/projects/myproject/dependency Info 65 [16:02:38.000] Projects: /user/username/projects/myproject/dependency/tsconfig.json Info 65 [16:02:39.000] FileName: /user/username/projects/myproject/random/random.ts ProjectRootPath: undefined Info 65 [16:02:40.000] Projects: /user/username/projects/myproject/random/tsconfig.json +After request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -538,6 +544,7 @@ Info 66 [16:02:42.000] request: "seq": 1, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -572,6 +579,7 @@ FsWatchesRecursive:: {} Info 67 [16:02:43.000] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls/FnS.d.ts.map 500 undefined WatchType: Closed Script info +After request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -655,6 +663,7 @@ Info 69 [16:02:45.000] request: "seq": 2, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -692,6 +701,7 @@ FsWatchesRecursive:: Info 70 [16:02:46.000] Search path: /user/username/projects/myproject/dependency Info 71 [16:02:47.000] For info: /user/username/projects/myproject/dependency/FnS.ts :: Config file name: /user/username/projects/myproject/dependency/tsconfig.json +After request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -825,6 +835,7 @@ Info 79 [16:02:58.000] request: "seq": 3, "type": "request" } +Before request //// [/user/username/projects/myproject/decls/FnS.d.ts.map] {"version":3,"file":"FnS.d.ts","sourceRoot":"","sources":["../dependency/FnS.ts"],"names":[],"mappings":"AAAA,wBAAgB,GAAG,SAAM;AACzB,wBAAgB,GAAG,SAAM;AACzB,wBAAgB,GAAG,SAAM;AACzB,wBAAgB,GAAG,SAAM;AACzB,wBAAgB,GAAG,SAAM;AACzB,eAAO,MAAM,CAAC,KAAK,CAAC"} @@ -865,6 +876,7 @@ FsWatchesRecursive:: Info 80 [16:02:59.000] Starting updateGraphWorker: Project: /user/username/projects/myproject/main/tsconfig.json Info 81 [16:03:00.000] Finishing updateGraphWorker: Project: /user/username/projects/myproject/main/tsconfig.json Version: 2 structureChanged: false structureIsReused:: Not Elapsed:: *ms +After request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -948,6 +960,7 @@ Info 83 [16:03:02.000] request: "seq": 4, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -983,6 +996,7 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +After request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -1066,6 +1080,7 @@ Info 85 [16:03:04.000] request: "seq": 5, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -1101,6 +1116,7 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +After request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -1184,6 +1200,7 @@ Info 87 [16:03:06.000] request: "seq": 6, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -1219,6 +1236,7 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +After request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -1302,6 +1320,7 @@ Info 89 [16:03:08.000] request: "seq": 7, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -1337,6 +1356,7 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +After request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -1420,6 +1440,7 @@ Info 91 [16:03:10.000] request: "seq": 8, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -1459,6 +1480,7 @@ Info 92 [16:03:11.000] Starting updateGraphWorker: Project: /user/username/pro Info 93 [16:03:12.000] Finishing updateGraphWorker: Project: /user/username/projects/myproject/dependency/tsconfig.json Version: 2 structureChanged: false structureIsReused:: Not Elapsed:: *ms Info 94 [16:03:13.000] Search path: /user/username/projects/myproject/dependency Info 95 [16:03:14.000] For info: /user/username/projects/myproject/dependency/FnS.ts :: Config file name: /user/username/projects/myproject/dependency/tsconfig.json +After request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -1586,6 +1608,7 @@ Info 97 [16:03:16.000] request: "seq": 9, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -1623,6 +1646,7 @@ FsWatchesRecursive:: Info 98 [16:03:17.000] Search path: /user/username/projects/myproject/dependency Info 99 [16:03:18.000] For info: /user/username/projects/myproject/dependency/FnS.ts :: Config file name: /user/username/projects/myproject/dependency/tsconfig.json +After request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -1750,6 +1774,7 @@ Info 101 [16:03:20.000] request: "seq": 10, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -1787,6 +1812,7 @@ FsWatchesRecursive:: Info 102 [16:03:21.000] Search path: /user/username/projects/myproject/dependency Info 103 [16:03:22.000] For info: /user/username/projects/myproject/dependency/FnS.ts :: Config file name: /user/username/projects/myproject/dependency/tsconfig.json +After request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -1914,6 +1940,7 @@ Info 105 [16:03:24.000] request: "seq": 11, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -1951,6 +1978,7 @@ FsWatchesRecursive:: Info 106 [16:03:25.000] Search path: /user/username/projects/myproject/dependency Info 107 [16:03:26.000] For info: /user/username/projects/myproject/dependency/FnS.ts :: Config file name: /user/username/projects/myproject/dependency/tsconfig.json +After request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -2078,6 +2106,7 @@ Info 109 [16:03:28.000] request: "seq": 12, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -2115,6 +2144,7 @@ FsWatchesRecursive:: Info 110 [16:03:29.000] Search path: /user/username/projects/myproject/dependency Info 111 [16:03:30.000] For info: /user/username/projects/myproject/dependency/FnS.ts :: Config file name: /user/username/projects/myproject/dependency/tsconfig.json +After request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/disabledSourceRef/dependency-dtsMap-created.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/disabledSourceRef/dependency-dtsMap-created.js index c03ed051c0974..4a898d5024a11 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/disabledSourceRef/dependency-dtsMap-created.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/disabledSourceRef/dependency-dtsMap-created.js @@ -8,6 +8,7 @@ Info 1 [16:01:05.000] request: "file": "/user/username/projects/myproject/main/main.ts" } } +Before request //// [/user/username/projects/myproject/dependency/FnS.ts] export function fn1() { } export function fn2() { } @@ -268,6 +269,7 @@ Info 29 [16:01:35.000] ----------------------------------------------- Info 29 [16:01:36.000] Open files: Info 29 [16:01:37.000] FileName: /user/username/projects/myproject/main/main.ts ProjectRootPath: undefined Info 29 [16:01:38.000] Projects: /user/username/projects/myproject/main/tsconfig.json +After request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -306,6 +308,7 @@ Info 30 [16:01:40.000] request: "file": "/user/username/projects/myproject/dependency/FnS.ts" } } +Before request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -368,6 +371,7 @@ Info 46 [16:02:03.000] FileName: /user/username/projects/myproject/main/main. Info 46 [16:02:04.000] Projects: /user/username/projects/myproject/main/tsconfig.json Info 46 [16:02:05.000] FileName: /user/username/projects/myproject/dependency/FnS.ts ProjectRootPath: undefined Info 46 [16:02:06.000] Projects: /user/username/projects/myproject/dependency/tsconfig.json +After request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -408,6 +412,7 @@ Info 47 [16:02:08.000] request: "file": "/user/username/projects/myproject/random/random.ts" } } +Before request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -487,6 +492,7 @@ Info 65 [16:02:38.000] FileName: /user/username/projects/myproject/dependency Info 65 [16:02:39.000] Projects: /user/username/projects/myproject/dependency/tsconfig.json Info 65 [16:02:40.000] FileName: /user/username/projects/myproject/random/random.ts ProjectRootPath: undefined Info 65 [16:02:41.000] Projects: /user/username/projects/myproject/random/tsconfig.json +After request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -535,6 +541,7 @@ Info 66 [16:02:43.000] request: "seq": 1, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -569,6 +576,7 @@ FsWatchesRecursive:: {} Info 67 [16:02:44.000] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls/FnS.d.ts.map 2000 undefined WatchType: Missing source map file +After request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -652,6 +660,7 @@ Info 69 [16:02:46.000] request: "seq": 2, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -687,6 +696,7 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +After request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -790,6 +800,7 @@ Info 80 [16:02:59.000] request: "seq": 3, "type": "request" } +Before request //// [/user/username/projects/myproject/decls/FnS.d.ts.map] {"version":3,"file":"FnS.d.ts","sourceRoot":"","sources":["../dependency/FnS.ts"],"names":[],"mappings":"AAAA,wBAAgB,GAAG,SAAM;AACzB,wBAAgB,GAAG,SAAM;AACzB,wBAAgB,GAAG,SAAM;AACzB,wBAAgB,GAAG,SAAM;AACzB,wBAAgB,GAAG,SAAM"} @@ -829,6 +840,7 @@ FsWatchesRecursive:: Info 81 [16:03:00.000] Starting updateGraphWorker: Project: /user/username/projects/myproject/main/tsconfig.json Info 82 [16:03:01.000] Finishing updateGraphWorker: Project: /user/username/projects/myproject/main/tsconfig.json Version: 2 structureChanged: false structureIsReused:: Not Elapsed:: *ms Info 83 [16:03:02.000] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls/FnS.d.ts.map 500 undefined WatchType: Closed Script info +After request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -912,6 +924,7 @@ Info 85 [16:03:04.000] request: "seq": 4, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -947,6 +960,7 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +After request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -1030,6 +1044,7 @@ Info 87 [16:03:06.000] request: "seq": 5, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -1065,6 +1080,7 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +After request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -1148,6 +1164,7 @@ Info 89 [16:03:08.000] request: "seq": 6, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -1183,6 +1200,7 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +After request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -1266,6 +1284,7 @@ Info 91 [16:03:10.000] request: "seq": 7, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -1301,6 +1320,7 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +After request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -1384,6 +1404,7 @@ Info 93 [16:03:12.000] request: "seq": 8, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -1423,6 +1444,7 @@ Info 94 [16:03:13.000] Starting updateGraphWorker: Project: /user/username/pro Info 95 [16:03:14.000] Finishing updateGraphWorker: Project: /user/username/projects/myproject/dependency/tsconfig.json Version: 2 structureChanged: false structureIsReused:: Not Elapsed:: *ms Info 96 [16:03:15.000] Search path: /user/username/projects/myproject/dependency Info 97 [16:03:16.000] For info: /user/username/projects/myproject/dependency/FnS.ts :: Config file name: /user/username/projects/myproject/dependency/tsconfig.json +After request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -1550,6 +1572,7 @@ Info 99 [16:03:18.000] request: "seq": 9, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -1587,6 +1610,7 @@ FsWatchesRecursive:: Info 100 [16:03:19.000] Search path: /user/username/projects/myproject/dependency Info 101 [16:03:20.000] For info: /user/username/projects/myproject/dependency/FnS.ts :: Config file name: /user/username/projects/myproject/dependency/tsconfig.json +After request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -1714,6 +1738,7 @@ Info 103 [16:03:22.000] request: "seq": 10, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -1751,6 +1776,7 @@ FsWatchesRecursive:: Info 104 [16:03:23.000] Search path: /user/username/projects/myproject/dependency Info 105 [16:03:24.000] For info: /user/username/projects/myproject/dependency/FnS.ts :: Config file name: /user/username/projects/myproject/dependency/tsconfig.json +After request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -1878,6 +1904,7 @@ Info 107 [16:03:26.000] request: "seq": 11, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -1915,6 +1942,7 @@ FsWatchesRecursive:: Info 108 [16:03:27.000] Search path: /user/username/projects/myproject/dependency Info 109 [16:03:28.000] For info: /user/username/projects/myproject/dependency/FnS.ts :: Config file name: /user/username/projects/myproject/dependency/tsconfig.json +After request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -2042,6 +2070,7 @@ Info 111 [16:03:30.000] request: "seq": 12, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -2079,6 +2108,7 @@ FsWatchesRecursive:: Info 112 [16:03:31.000] Search path: /user/username/projects/myproject/dependency Info 113 [16:03:32.000] For info: /user/username/projects/myproject/dependency/FnS.ts :: Config file name: /user/username/projects/myproject/dependency/tsconfig.json +After request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -2204,6 +2234,7 @@ Info 115 [16:03:34.000] request: "file": "/user/username/projects/myproject/random/random.ts" } } +Before request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -2257,6 +2288,7 @@ Info 117 [16:03:46.000] FileName: /user/username/projects/myproject/main/main. Info 117 [16:03:47.000] Projects: /user/username/projects/myproject/main/tsconfig.json Info 117 [16:03:48.000] FileName: /user/username/projects/myproject/dependency/FnS.ts ProjectRootPath: undefined Info 117 [16:03:49.000] Projects: /user/username/projects/myproject/dependency/tsconfig.json +After request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -2307,6 +2339,7 @@ Info 118 [16:03:51.000] request: "file": "/user/username/projects/myproject/random/random.ts" } } +Before request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -2366,6 +2399,7 @@ Info 122 [16:04:07.000] FileName: /user/username/projects/myproject/dependency Info 122 [16:04:08.000] Projects: /user/username/projects/myproject/dependency/tsconfig.json Info 122 [16:04:09.000] FileName: /user/username/projects/myproject/random/random.ts ProjectRootPath: undefined Info 122 [16:04:10.000] Projects: /user/username/projects/myproject/random/tsconfig.json +After request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -2414,6 +2448,7 @@ Info 123 [16:04:12.000] request: "file": "/user/username/projects/myproject/main/main.ts" } } +Before request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -2467,6 +2502,7 @@ Info 125 [16:04:24.000] FileName: /user/username/projects/myproject/dependency Info 125 [16:04:25.000] Projects: /user/username/projects/myproject/dependency/tsconfig.json Info 125 [16:04:26.000] FileName: /user/username/projects/myproject/random/random.ts ProjectRootPath: undefined Info 125 [16:04:27.000] Projects: /user/username/projects/myproject/random/tsconfig.json +After request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -2517,6 +2553,7 @@ Info 126 [16:04:29.000] request: "file": "/user/username/projects/myproject/dependency/FnS.ts" } } +Before request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -2570,6 +2607,7 @@ Info 128 [16:04:39.000] ----------------------------------------------- Info 128 [16:04:40.000] Open files: Info 128 [16:04:41.000] FileName: /user/username/projects/myproject/random/random.ts ProjectRootPath: undefined Info 128 [16:04:42.000] Projects: /user/username/projects/myproject/random/tsconfig.json +After request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -2622,6 +2660,7 @@ Info 129 [16:04:44.000] request: "file": "/user/username/projects/myproject/random/random.ts" } } +Before request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -2675,6 +2714,7 @@ Info 131 [16:04:53.000] Files (2) Info 131 [16:04:54.000] ----------------------------------------------- Info 131 [16:04:55.000] Open files: +After request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -2729,6 +2769,7 @@ Info 132 [16:04:57.000] request: "file": "/user/username/projects/myproject/random/random.ts" } } +Before request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -2829,6 +2870,7 @@ Info 164 [16:05:31.000] ----------------------------------------------- Info 164 [16:05:32.000] Open files: Info 164 [16:05:33.000] FileName: /user/username/projects/myproject/random/random.ts ProjectRootPath: undefined Info 164 [16:05:34.000] Projects: /user/username/projects/myproject/random/tsconfig.json +After request PolledWatches:: /user/username/projects/myproject/node_modules/@types: diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/disabledSourceRef/dependency-dtsMap-deleted.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/disabledSourceRef/dependency-dtsMap-deleted.js index 114fa9937a366..a4e2fe2c4be47 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/disabledSourceRef/dependency-dtsMap-deleted.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/disabledSourceRef/dependency-dtsMap-deleted.js @@ -8,6 +8,7 @@ Info 1 [16:01:04.000] request: "file": "/user/username/projects/myproject/main/main.ts" } } +Before request //// [/user/username/projects/myproject/dependency/FnS.ts] export function fn1() { } export function fn2() { } @@ -271,6 +272,7 @@ Info 29 [16:01:34.000] ----------------------------------------------- Info 29 [16:01:35.000] Open files: Info 29 [16:01:36.000] FileName: /user/username/projects/myproject/main/main.ts ProjectRootPath: undefined Info 29 [16:01:37.000] Projects: /user/username/projects/myproject/main/tsconfig.json +After request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -309,6 +311,7 @@ Info 30 [16:01:39.000] request: "file": "/user/username/projects/myproject/dependency/FnS.ts" } } +Before request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -371,6 +374,7 @@ Info 46 [16:02:02.000] FileName: /user/username/projects/myproject/main/main. Info 46 [16:02:03.000] Projects: /user/username/projects/myproject/main/tsconfig.json Info 46 [16:02:04.000] FileName: /user/username/projects/myproject/dependency/FnS.ts ProjectRootPath: undefined Info 46 [16:02:05.000] Projects: /user/username/projects/myproject/dependency/tsconfig.json +After request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -411,6 +415,7 @@ Info 47 [16:02:07.000] request: "file": "/user/username/projects/myproject/random/random.ts" } } +Before request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -490,6 +495,7 @@ Info 65 [16:02:37.000] FileName: /user/username/projects/myproject/dependency Info 65 [16:02:38.000] Projects: /user/username/projects/myproject/dependency/tsconfig.json Info 65 [16:02:39.000] FileName: /user/username/projects/myproject/random/random.ts ProjectRootPath: undefined Info 65 [16:02:40.000] Projects: /user/username/projects/myproject/random/tsconfig.json +After request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -538,6 +544,7 @@ Info 66 [16:02:42.000] request: "seq": 1, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -572,6 +579,7 @@ FsWatchesRecursive:: {} Info 67 [16:02:43.000] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls/FnS.d.ts.map 500 undefined WatchType: Closed Script info +After request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -655,6 +663,7 @@ Info 69 [16:02:45.000] request: "seq": 2, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -692,6 +701,7 @@ FsWatchesRecursive:: Info 70 [16:02:46.000] Search path: /user/username/projects/myproject/dependency Info 71 [16:02:47.000] For info: /user/username/projects/myproject/dependency/FnS.ts :: Config file name: /user/username/projects/myproject/dependency/tsconfig.json +After request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -828,6 +838,7 @@ Info 82 [16:02:59.000] request: "seq": 3, "type": "request" } +Before request //// [/user/username/projects/myproject/decls/FnS.d.ts.map] deleted PolledWatches:: @@ -865,6 +876,7 @@ FsWatchesRecursive:: Info 83 [16:03:00.000] Starting updateGraphWorker: Project: /user/username/projects/myproject/main/tsconfig.json Info 84 [16:03:01.000] Finishing updateGraphWorker: Project: /user/username/projects/myproject/main/tsconfig.json Version: 2 structureChanged: false structureIsReused:: Not Elapsed:: *ms Info 85 [16:03:02.000] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls/FnS.d.ts.map 2000 undefined WatchType: Missing source map file +After request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -948,6 +960,7 @@ Info 87 [16:03:04.000] request: "seq": 4, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -983,6 +996,7 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +After request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -1066,6 +1080,7 @@ Info 89 [16:03:06.000] request: "seq": 5, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -1101,6 +1116,7 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +After request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -1184,6 +1200,7 @@ Info 91 [16:03:08.000] request: "seq": 6, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -1219,6 +1236,7 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +After request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -1302,6 +1320,7 @@ Info 93 [16:03:10.000] request: "seq": 7, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -1337,6 +1356,7 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +After request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -1420,6 +1440,7 @@ Info 95 [16:03:12.000] request: "seq": 8, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -1457,6 +1478,7 @@ FsWatchesRecursive:: Info 96 [16:03:13.000] Starting updateGraphWorker: Project: /user/username/projects/myproject/dependency/tsconfig.json Info 97 [16:03:14.000] Finishing updateGraphWorker: Project: /user/username/projects/myproject/dependency/tsconfig.json Version: 2 structureChanged: false structureIsReused:: Not Elapsed:: *ms +After request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -1551,6 +1573,7 @@ Info 99 [16:03:16.000] request: "seq": 9, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -1586,6 +1609,7 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +After request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -1680,6 +1704,7 @@ Info 101 [16:03:18.000] request: "seq": 10, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -1715,6 +1740,7 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +After request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -1809,6 +1835,7 @@ Info 103 [16:03:20.000] request: "seq": 11, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -1844,6 +1871,7 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +After request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -1938,6 +1966,7 @@ Info 105 [16:03:22.000] request: "seq": 12, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -1973,6 +2002,7 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +After request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -2065,6 +2095,7 @@ Info 107 [16:03:24.000] request: "file": "/user/username/projects/myproject/random/random.ts" } } +Before request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -2118,6 +2149,7 @@ Info 109 [16:03:36.000] FileName: /user/username/projects/myproject/main/main. Info 109 [16:03:37.000] Projects: /user/username/projects/myproject/main/tsconfig.json Info 109 [16:03:38.000] FileName: /user/username/projects/myproject/dependency/FnS.ts ProjectRootPath: undefined Info 109 [16:03:39.000] Projects: /user/username/projects/myproject/dependency/tsconfig.json +After request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -2168,6 +2200,7 @@ Info 110 [16:03:41.000] request: "file": "/user/username/projects/myproject/random/random.ts" } } +Before request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -2227,6 +2260,7 @@ Info 114 [16:03:57.000] FileName: /user/username/projects/myproject/dependency Info 114 [16:03:58.000] Projects: /user/username/projects/myproject/dependency/tsconfig.json Info 114 [16:03:59.000] FileName: /user/username/projects/myproject/random/random.ts ProjectRootPath: undefined Info 114 [16:04:00.000] Projects: /user/username/projects/myproject/random/tsconfig.json +After request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -2275,6 +2309,7 @@ Info 115 [16:04:02.000] request: "file": "/user/username/projects/myproject/main/main.ts" } } +Before request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -2328,6 +2363,7 @@ Info 117 [16:04:14.000] FileName: /user/username/projects/myproject/dependency Info 117 [16:04:15.000] Projects: /user/username/projects/myproject/dependency/tsconfig.json Info 117 [16:04:16.000] FileName: /user/username/projects/myproject/random/random.ts ProjectRootPath: undefined Info 117 [16:04:17.000] Projects: /user/username/projects/myproject/random/tsconfig.json +After request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -2378,6 +2414,7 @@ Info 118 [16:04:19.000] request: "file": "/user/username/projects/myproject/dependency/FnS.ts" } } +Before request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -2431,6 +2468,7 @@ Info 120 [16:04:29.000] ----------------------------------------------- Info 120 [16:04:30.000] Open files: Info 120 [16:04:31.000] FileName: /user/username/projects/myproject/random/random.ts ProjectRootPath: undefined Info 120 [16:04:32.000] Projects: /user/username/projects/myproject/random/tsconfig.json +After request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -2483,6 +2521,7 @@ Info 121 [16:04:34.000] request: "file": "/user/username/projects/myproject/random/random.ts" } } +Before request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -2536,6 +2575,7 @@ Info 123 [16:04:43.000] Files (2) Info 123 [16:04:44.000] ----------------------------------------------- Info 123 [16:04:45.000] Open files: +After request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -2590,6 +2630,7 @@ Info 124 [16:04:47.000] request: "file": "/user/username/projects/myproject/random/random.ts" } } +Before request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -2690,6 +2731,7 @@ Info 156 [16:05:21.000] ----------------------------------------------- Info 156 [16:05:22.000] Open files: Info 156 [16:05:23.000] FileName: /user/username/projects/myproject/random/random.ts ProjectRootPath: undefined Info 156 [16:05:24.000] Projects: /user/username/projects/myproject/random/tsconfig.json +After request PolledWatches:: /user/username/projects/myproject/node_modules/@types: diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/disabledSourceRef/dependency-dtsMap-not-present.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/disabledSourceRef/dependency-dtsMap-not-present.js index f0638c00c05d0..c683836b1737c 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/disabledSourceRef/dependency-dtsMap-not-present.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/disabledSourceRef/dependency-dtsMap-not-present.js @@ -8,6 +8,7 @@ Info 1 [16:01:05.000] request: "file": "/user/username/projects/myproject/main/main.ts" } } +Before request //// [/user/username/projects/myproject/dependency/FnS.ts] export function fn1() { } export function fn2() { } @@ -268,6 +269,7 @@ Info 29 [16:01:35.000] ----------------------------------------------- Info 29 [16:01:36.000] Open files: Info 29 [16:01:37.000] FileName: /user/username/projects/myproject/main/main.ts ProjectRootPath: undefined Info 29 [16:01:38.000] Projects: /user/username/projects/myproject/main/tsconfig.json +After request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -306,6 +308,7 @@ Info 30 [16:01:40.000] request: "file": "/user/username/projects/myproject/dependency/FnS.ts" } } +Before request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -368,6 +371,7 @@ Info 46 [16:02:03.000] FileName: /user/username/projects/myproject/main/main. Info 46 [16:02:04.000] Projects: /user/username/projects/myproject/main/tsconfig.json Info 46 [16:02:05.000] FileName: /user/username/projects/myproject/dependency/FnS.ts ProjectRootPath: undefined Info 46 [16:02:06.000] Projects: /user/username/projects/myproject/dependency/tsconfig.json +After request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -408,6 +412,7 @@ Info 47 [16:02:08.000] request: "file": "/user/username/projects/myproject/random/random.ts" } } +Before request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -487,6 +492,7 @@ Info 65 [16:02:38.000] FileName: /user/username/projects/myproject/dependency Info 65 [16:02:39.000] Projects: /user/username/projects/myproject/dependency/tsconfig.json Info 65 [16:02:40.000] FileName: /user/username/projects/myproject/random/random.ts ProjectRootPath: undefined Info 65 [16:02:41.000] Projects: /user/username/projects/myproject/random/tsconfig.json +After request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -535,6 +541,7 @@ Info 66 [16:02:43.000] request: "seq": 1, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -569,6 +576,7 @@ FsWatchesRecursive:: {} Info 67 [16:02:44.000] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls/FnS.d.ts.map 2000 undefined WatchType: Missing source map file +After request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -652,6 +660,7 @@ Info 69 [16:02:46.000] request: "seq": 2, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -687,6 +696,7 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +After request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -770,6 +780,7 @@ Info 71 [16:02:48.000] request: "seq": 3, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -805,6 +816,7 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +After request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -888,6 +900,7 @@ Info 73 [16:02:50.000] request: "seq": 4, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -923,6 +936,7 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +After request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -1006,6 +1020,7 @@ Info 75 [16:02:52.000] request: "seq": 5, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -1041,6 +1056,7 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +After request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -1124,6 +1140,7 @@ Info 77 [16:02:54.000] request: "seq": 6, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -1159,6 +1176,7 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +After request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -1253,6 +1271,7 @@ Info 79 [16:02:56.000] request: "seq": 7, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -1288,6 +1307,7 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +After request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -1382,6 +1402,7 @@ Info 81 [16:02:58.000] request: "seq": 8, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -1417,6 +1438,7 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +After request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -1511,6 +1533,7 @@ Info 83 [16:03:00.000] request: "seq": 9, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -1546,6 +1569,7 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +After request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -1640,6 +1664,7 @@ Info 85 [16:03:02.000] request: "seq": 10, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -1675,6 +1700,7 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +After request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -1767,6 +1793,7 @@ Info 87 [16:03:04.000] request: "file": "/user/username/projects/myproject/random/random.ts" } } +Before request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -1820,6 +1847,7 @@ Info 89 [16:03:16.000] FileName: /user/username/projects/myproject/main/main. Info 89 [16:03:17.000] Projects: /user/username/projects/myproject/main/tsconfig.json Info 89 [16:03:18.000] FileName: /user/username/projects/myproject/dependency/FnS.ts ProjectRootPath: undefined Info 89 [16:03:19.000] Projects: /user/username/projects/myproject/dependency/tsconfig.json +After request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -1870,6 +1898,7 @@ Info 90 [16:03:21.000] request: "file": "/user/username/projects/myproject/random/random.ts" } } +Before request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -1929,6 +1958,7 @@ Info 94 [16:03:37.000] FileName: /user/username/projects/myproject/dependency Info 94 [16:03:38.000] Projects: /user/username/projects/myproject/dependency/tsconfig.json Info 94 [16:03:39.000] FileName: /user/username/projects/myproject/random/random.ts ProjectRootPath: undefined Info 94 [16:03:40.000] Projects: /user/username/projects/myproject/random/tsconfig.json +After request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -1977,6 +2007,7 @@ Info 95 [16:03:42.000] request: "file": "/user/username/projects/myproject/main/main.ts" } } +Before request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -2030,6 +2061,7 @@ Info 97 [16:03:54.000] FileName: /user/username/projects/myproject/dependency Info 97 [16:03:55.000] Projects: /user/username/projects/myproject/dependency/tsconfig.json Info 97 [16:03:56.000] FileName: /user/username/projects/myproject/random/random.ts ProjectRootPath: undefined Info 97 [16:03:57.000] Projects: /user/username/projects/myproject/random/tsconfig.json +After request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -2080,6 +2112,7 @@ Info 98 [16:03:59.000] request: "file": "/user/username/projects/myproject/dependency/FnS.ts" } } +Before request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -2133,6 +2166,7 @@ Info 100 [16:04:09.000] ----------------------------------------------- Info 100 [16:04:10.000] Open files: Info 100 [16:04:11.000] FileName: /user/username/projects/myproject/random/random.ts ProjectRootPath: undefined Info 100 [16:04:12.000] Projects: /user/username/projects/myproject/random/tsconfig.json +After request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -2185,6 +2219,7 @@ Info 101 [16:04:14.000] request: "file": "/user/username/projects/myproject/random/random.ts" } } +Before request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -2238,6 +2273,7 @@ Info 103 [16:04:23.000] Files (2) Info 103 [16:04:24.000] ----------------------------------------------- Info 103 [16:04:25.000] Open files: +After request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -2292,6 +2328,7 @@ Info 104 [16:04:27.000] request: "file": "/user/username/projects/myproject/random/random.ts" } } +Before request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -2392,6 +2429,7 @@ Info 136 [16:05:01.000] ----------------------------------------------- Info 136 [16:05:02.000] Open files: Info 136 [16:05:03.000] FileName: /user/username/projects/myproject/random/random.ts ProjectRootPath: undefined Info 136 [16:05:04.000] Projects: /user/username/projects/myproject/random/tsconfig.json +After request PolledWatches:: /user/username/projects/myproject/node_modules/@types: diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/disabledSourceRef/gotoDef-and-rename-locations.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/disabledSourceRef/gotoDef-and-rename-locations.js index 9a599ef5335a5..c4aee4c2e1dee 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/disabledSourceRef/gotoDef-and-rename-locations.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/disabledSourceRef/gotoDef-and-rename-locations.js @@ -8,6 +8,7 @@ Info 1 [16:01:04.000] request: "file": "/user/username/projects/myproject/main/main.ts" } } +Before request //// [/user/username/projects/myproject/dependency/FnS.ts] export function fn1() { } export function fn2() { } @@ -271,6 +272,7 @@ Info 29 [16:01:34.000] ----------------------------------------------- Info 29 [16:01:35.000] Open files: Info 29 [16:01:36.000] FileName: /user/username/projects/myproject/main/main.ts ProjectRootPath: undefined Info 29 [16:01:37.000] Projects: /user/username/projects/myproject/main/tsconfig.json +After request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -309,6 +311,7 @@ Info 30 [16:01:39.000] request: "file": "/user/username/projects/myproject/dependency/FnS.ts" } } +Before request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -371,6 +374,7 @@ Info 46 [16:02:02.000] FileName: /user/username/projects/myproject/main/main. Info 46 [16:02:03.000] Projects: /user/username/projects/myproject/main/tsconfig.json Info 46 [16:02:04.000] FileName: /user/username/projects/myproject/dependency/FnS.ts ProjectRootPath: undefined Info 46 [16:02:05.000] Projects: /user/username/projects/myproject/dependency/tsconfig.json +After request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -411,6 +415,7 @@ Info 47 [16:02:07.000] request: "file": "/user/username/projects/myproject/random/random.ts" } } +Before request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -490,6 +495,7 @@ Info 65 [16:02:37.000] FileName: /user/username/projects/myproject/dependency Info 65 [16:02:38.000] Projects: /user/username/projects/myproject/dependency/tsconfig.json Info 65 [16:02:39.000] FileName: /user/username/projects/myproject/random/random.ts ProjectRootPath: undefined Info 65 [16:02:40.000] Projects: /user/username/projects/myproject/random/tsconfig.json +After request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -538,6 +544,7 @@ Info 66 [16:02:42.000] request: "seq": 1, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -572,6 +579,7 @@ FsWatchesRecursive:: {} Info 67 [16:02:43.000] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls/FnS.d.ts.map 500 undefined WatchType: Closed Script info +After request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -655,6 +663,7 @@ Info 69 [16:02:45.000] request: "seq": 2, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -690,6 +699,7 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +After request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -773,6 +783,7 @@ Info 71 [16:02:47.000] request: "seq": 3, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -808,6 +819,7 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +After request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -891,6 +903,7 @@ Info 73 [16:02:49.000] request: "seq": 4, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -926,6 +939,7 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +After request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -1009,6 +1023,7 @@ Info 75 [16:02:51.000] request: "seq": 5, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -1044,6 +1059,7 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +After request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -1127,6 +1143,7 @@ Info 77 [16:02:53.000] request: "seq": 6, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -1164,6 +1181,7 @@ FsWatchesRecursive:: Info 78 [16:02:54.000] Search path: /user/username/projects/myproject/dependency Info 79 [16:02:55.000] For info: /user/username/projects/myproject/dependency/FnS.ts :: Config file name: /user/username/projects/myproject/dependency/tsconfig.json +After request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -1291,6 +1309,7 @@ Info 81 [16:02:57.000] request: "seq": 7, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -1328,6 +1347,7 @@ FsWatchesRecursive:: Info 82 [16:02:58.000] Search path: /user/username/projects/myproject/dependency Info 83 [16:02:59.000] For info: /user/username/projects/myproject/dependency/FnS.ts :: Config file name: /user/username/projects/myproject/dependency/tsconfig.json +After request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -1455,6 +1475,7 @@ Info 85 [16:03:01.000] request: "seq": 8, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -1492,6 +1513,7 @@ FsWatchesRecursive:: Info 86 [16:03:02.000] Search path: /user/username/projects/myproject/dependency Info 87 [16:03:03.000] For info: /user/username/projects/myproject/dependency/FnS.ts :: Config file name: /user/username/projects/myproject/dependency/tsconfig.json +After request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -1619,6 +1641,7 @@ Info 89 [16:03:05.000] request: "seq": 9, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -1656,6 +1679,7 @@ FsWatchesRecursive:: Info 90 [16:03:06.000] Search path: /user/username/projects/myproject/dependency Info 91 [16:03:07.000] For info: /user/username/projects/myproject/dependency/FnS.ts :: Config file name: /user/username/projects/myproject/dependency/tsconfig.json +After request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -1783,6 +1807,7 @@ Info 93 [16:03:09.000] request: "seq": 10, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -1820,6 +1845,7 @@ FsWatchesRecursive:: Info 94 [16:03:10.000] Search path: /user/username/projects/myproject/dependency Info 95 [16:03:11.000] For info: /user/username/projects/myproject/dependency/FnS.ts :: Config file name: /user/username/projects/myproject/dependency/tsconfig.json +After request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -1945,6 +1971,7 @@ Info 97 [16:03:13.000] request: "file": "/user/username/projects/myproject/random/random.ts" } } +Before request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -1998,6 +2025,7 @@ Info 99 [16:03:25.000] FileName: /user/username/projects/myproject/main/main. Info 99 [16:03:26.000] Projects: /user/username/projects/myproject/main/tsconfig.json Info 99 [16:03:27.000] FileName: /user/username/projects/myproject/dependency/FnS.ts ProjectRootPath: undefined Info 99 [16:03:28.000] Projects: /user/username/projects/myproject/dependency/tsconfig.json +After request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -2048,6 +2076,7 @@ Info 100 [16:03:30.000] request: "file": "/user/username/projects/myproject/random/random.ts" } } +Before request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -2107,6 +2136,7 @@ Info 104 [16:03:46.000] FileName: /user/username/projects/myproject/dependency Info 104 [16:03:47.000] Projects: /user/username/projects/myproject/dependency/tsconfig.json Info 104 [16:03:48.000] FileName: /user/username/projects/myproject/random/random.ts ProjectRootPath: undefined Info 104 [16:03:49.000] Projects: /user/username/projects/myproject/random/tsconfig.json +After request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -2155,6 +2185,7 @@ Info 105 [16:03:51.000] request: "file": "/user/username/projects/myproject/main/main.ts" } } +Before request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -2208,6 +2239,7 @@ Info 107 [16:04:03.000] FileName: /user/username/projects/myproject/dependency Info 107 [16:04:04.000] Projects: /user/username/projects/myproject/dependency/tsconfig.json Info 107 [16:04:05.000] FileName: /user/username/projects/myproject/random/random.ts ProjectRootPath: undefined Info 107 [16:04:06.000] Projects: /user/username/projects/myproject/random/tsconfig.json +After request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -2258,6 +2290,7 @@ Info 108 [16:04:08.000] request: "file": "/user/username/projects/myproject/dependency/FnS.ts" } } +Before request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -2311,6 +2344,7 @@ Info 110 [16:04:18.000] ----------------------------------------------- Info 110 [16:04:19.000] Open files: Info 110 [16:04:20.000] FileName: /user/username/projects/myproject/random/random.ts ProjectRootPath: undefined Info 110 [16:04:21.000] Projects: /user/username/projects/myproject/random/tsconfig.json +After request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -2363,6 +2397,7 @@ Info 111 [16:04:23.000] request: "file": "/user/username/projects/myproject/random/random.ts" } } +Before request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -2416,6 +2451,7 @@ Info 113 [16:04:32.000] Files (2) Info 113 [16:04:33.000] ----------------------------------------------- Info 113 [16:04:34.000] Open files: +After request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -2470,6 +2506,7 @@ Info 114 [16:04:36.000] request: "file": "/user/username/projects/myproject/random/random.ts" } } +Before request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -2570,6 +2607,7 @@ Info 146 [16:05:10.000] ----------------------------------------------- Info 146 [16:05:11.000] Open files: Info 146 [16:05:12.000] FileName: /user/username/projects/myproject/random/random.ts ProjectRootPath: undefined Info 146 [16:05:13.000] Projects: /user/username/projects/myproject/random/tsconfig.json +After request PolledWatches:: /user/username/projects/myproject/node_modules/@types: diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/disabledSourceRef/usage-file-changes-with-timeout-before-request.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/disabledSourceRef/usage-file-changes-with-timeout-before-request.js index 8ea747c7ea664..3103dd540811e 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/disabledSourceRef/usage-file-changes-with-timeout-before-request.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/disabledSourceRef/usage-file-changes-with-timeout-before-request.js @@ -8,6 +8,7 @@ Info 1 [16:01:04.000] request: "file": "/user/username/projects/myproject/main/main.ts" } } +Before request //// [/user/username/projects/myproject/dependency/FnS.ts] export function fn1() { } export function fn2() { } @@ -271,6 +272,7 @@ Info 29 [16:01:34.000] ----------------------------------------------- Info 29 [16:01:35.000] Open files: Info 29 [16:01:36.000] FileName: /user/username/projects/myproject/main/main.ts ProjectRootPath: undefined Info 29 [16:01:37.000] Projects: /user/username/projects/myproject/main/tsconfig.json +After request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -309,6 +311,7 @@ Info 30 [16:01:39.000] request: "file": "/user/username/projects/myproject/dependency/FnS.ts" } } +Before request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -371,6 +374,7 @@ Info 46 [16:02:02.000] FileName: /user/username/projects/myproject/main/main. Info 46 [16:02:03.000] Projects: /user/username/projects/myproject/main/tsconfig.json Info 46 [16:02:04.000] FileName: /user/username/projects/myproject/dependency/FnS.ts ProjectRootPath: undefined Info 46 [16:02:05.000] Projects: /user/username/projects/myproject/dependency/tsconfig.json +After request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -411,6 +415,7 @@ Info 47 [16:02:07.000] request: "file": "/user/username/projects/myproject/random/random.ts" } } +Before request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -490,6 +495,7 @@ Info 65 [16:02:37.000] FileName: /user/username/projects/myproject/dependency Info 65 [16:02:38.000] Projects: /user/username/projects/myproject/dependency/tsconfig.json Info 65 [16:02:39.000] FileName: /user/username/projects/myproject/random/random.ts ProjectRootPath: undefined Info 65 [16:02:40.000] Projects: /user/username/projects/myproject/random/tsconfig.json +After request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -538,6 +544,7 @@ Info 66 [16:02:42.000] request: "seq": 1, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -572,6 +579,7 @@ FsWatchesRecursive:: {} Info 67 [16:02:43.000] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls/FnS.d.ts.map 500 undefined WatchType: Closed Script info +After request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -655,6 +663,7 @@ Info 69 [16:02:45.000] request: "seq": 2, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -692,6 +701,7 @@ FsWatchesRecursive:: Info 70 [16:02:46.000] Search path: /user/username/projects/myproject/dependency Info 71 [16:02:47.000] For info: /user/username/projects/myproject/dependency/FnS.ts :: Config file name: /user/username/projects/myproject/dependency/tsconfig.json +After request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -822,6 +832,7 @@ Info 73 [16:02:49.000] request: "seq": 3, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -857,6 +868,7 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +After request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -910,6 +922,7 @@ Info 75 [16:02:51.000] request: "seq": 4, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -945,6 +958,7 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +After request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -984,6 +998,78 @@ Info 76 [16:02:52.000] response: { "responseRequired": false } +Before running timeout callbacks + +PolledWatches:: +/user/username/projects/myproject/main/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/myproject/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/myproject/dependency/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/myproject/random/node_modules/@types: + {"pollingInterval":500} + +FsWatches:: +/user/username/projects/myproject/main/tsconfig.json: + {} +/user/username/projects/myproject/dependency/tsconfig.json: + {} +/user/username/projects/myproject/decls/fns.d.ts: + {} +/a/lib/lib.d.ts: + {} +/user/username/projects/myproject/random/tsconfig.json: + {} +/user/username/projects/myproject/decls/fns.d.ts.map: + {} + +FsWatchesRecursive:: +/user/username/projects/myproject/main: + {} +/user/username/projects/myproject/dependency: + {} +/user/username/projects/myproject/decls: + {} +/user/username/projects/myproject/random: + {} + +After running timeout callbacks + +PolledWatches:: +/user/username/projects/myproject/main/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/myproject/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/myproject/dependency/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/myproject/random/node_modules/@types: + {"pollingInterval":500} + +FsWatches:: +/user/username/projects/myproject/main/tsconfig.json: + {} +/user/username/projects/myproject/dependency/tsconfig.json: + {} +/user/username/projects/myproject/decls/fns.d.ts: + {} +/a/lib/lib.d.ts: + {} +/user/username/projects/myproject/random/tsconfig.json: + {} +/user/username/projects/myproject/decls/fns.d.ts.map: + {} + +FsWatchesRecursive:: +/user/username/projects/myproject/main: + {} +/user/username/projects/myproject/dependency: + {} +/user/username/projects/myproject/decls: + {} +/user/username/projects/myproject/random: + {} + Info 77 [16:02:53.000] request: { "command": "definitionAndBoundSpan", @@ -995,6 +1081,7 @@ Info 77 [16:02:53.000] request: "seq": 5, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -1033,6 +1120,7 @@ FsWatchesRecursive:: Info 78 [16:02:54.000] Starting updateGraphWorker: Project: /user/username/projects/myproject/main/tsconfig.json Info 79 [16:02:55.000] Finishing updateGraphWorker: Project: /user/username/projects/myproject/main/tsconfig.json Version: 2 structureChanged: false structureIsReused:: Completely Elapsed:: *ms Info 80 [16:02:56.000] Different program with same set of files +After request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -1116,6 +1204,7 @@ Info 82 [16:02:58.000] request: "seq": 6, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -1151,6 +1240,7 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +After request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -1234,6 +1324,7 @@ Info 84 [16:03:00.000] request: "seq": 7, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -1269,6 +1360,7 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +After request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -1352,6 +1444,7 @@ Info 86 [16:03:02.000] request: "seq": 8, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -1387,6 +1480,7 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +After request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -1470,6 +1564,7 @@ Info 88 [16:03:04.000] request: "seq": 9, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -1505,6 +1600,7 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +After request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -1588,6 +1684,7 @@ Info 90 [16:03:06.000] request: "seq": 10, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -1628,6 +1725,7 @@ Info 92 [16:03:08.000] Finishing updateGraphWorker: Project: /user/username/pr Info 93 [16:03:09.000] Different program with same set of files Info 94 [16:03:10.000] Search path: /user/username/projects/myproject/dependency Info 95 [16:03:11.000] For info: /user/username/projects/myproject/dependency/FnS.ts :: Config file name: /user/username/projects/myproject/dependency/tsconfig.json +After request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -1755,6 +1853,7 @@ Info 97 [16:03:13.000] request: "seq": 11, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -1792,6 +1891,7 @@ FsWatchesRecursive:: Info 98 [16:03:14.000] Search path: /user/username/projects/myproject/dependency Info 99 [16:03:15.000] For info: /user/username/projects/myproject/dependency/FnS.ts :: Config file name: /user/username/projects/myproject/dependency/tsconfig.json +After request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -1919,6 +2019,7 @@ Info 101 [16:03:17.000] request: "seq": 12, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -1956,6 +2057,7 @@ FsWatchesRecursive:: Info 102 [16:03:18.000] Search path: /user/username/projects/myproject/dependency Info 103 [16:03:19.000] For info: /user/username/projects/myproject/dependency/FnS.ts :: Config file name: /user/username/projects/myproject/dependency/tsconfig.json +After request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -2083,6 +2185,7 @@ Info 105 [16:03:21.000] request: "seq": 13, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -2120,6 +2223,7 @@ FsWatchesRecursive:: Info 106 [16:03:22.000] Search path: /user/username/projects/myproject/dependency Info 107 [16:03:23.000] For info: /user/username/projects/myproject/dependency/FnS.ts :: Config file name: /user/username/projects/myproject/dependency/tsconfig.json +After request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -2247,6 +2351,7 @@ Info 109 [16:03:25.000] request: "seq": 14, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -2284,6 +2389,7 @@ FsWatchesRecursive:: Info 110 [16:03:26.000] Search path: /user/username/projects/myproject/dependency Info 111 [16:03:27.000] For info: /user/username/projects/myproject/dependency/FnS.ts :: Config file name: /user/username/projects/myproject/dependency/tsconfig.json +After request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/disabledSourceRef/usage-file-changes.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/disabledSourceRef/usage-file-changes.js index 8ea747c7ea664..69b8b65a1dd5c 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/disabledSourceRef/usage-file-changes.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/dependencyAndUsage/disabledSourceRef/usage-file-changes.js @@ -8,6 +8,7 @@ Info 1 [16:01:04.000] request: "file": "/user/username/projects/myproject/main/main.ts" } } +Before request //// [/user/username/projects/myproject/dependency/FnS.ts] export function fn1() { } export function fn2() { } @@ -271,6 +272,7 @@ Info 29 [16:01:34.000] ----------------------------------------------- Info 29 [16:01:35.000] Open files: Info 29 [16:01:36.000] FileName: /user/username/projects/myproject/main/main.ts ProjectRootPath: undefined Info 29 [16:01:37.000] Projects: /user/username/projects/myproject/main/tsconfig.json +After request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -309,6 +311,7 @@ Info 30 [16:01:39.000] request: "file": "/user/username/projects/myproject/dependency/FnS.ts" } } +Before request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -371,6 +374,7 @@ Info 46 [16:02:02.000] FileName: /user/username/projects/myproject/main/main. Info 46 [16:02:03.000] Projects: /user/username/projects/myproject/main/tsconfig.json Info 46 [16:02:04.000] FileName: /user/username/projects/myproject/dependency/FnS.ts ProjectRootPath: undefined Info 46 [16:02:05.000] Projects: /user/username/projects/myproject/dependency/tsconfig.json +After request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -411,6 +415,7 @@ Info 47 [16:02:07.000] request: "file": "/user/username/projects/myproject/random/random.ts" } } +Before request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -490,6 +495,7 @@ Info 65 [16:02:37.000] FileName: /user/username/projects/myproject/dependency Info 65 [16:02:38.000] Projects: /user/username/projects/myproject/dependency/tsconfig.json Info 65 [16:02:39.000] FileName: /user/username/projects/myproject/random/random.ts ProjectRootPath: undefined Info 65 [16:02:40.000] Projects: /user/username/projects/myproject/random/tsconfig.json +After request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -538,6 +544,7 @@ Info 66 [16:02:42.000] request: "seq": 1, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -572,6 +579,7 @@ FsWatchesRecursive:: {} Info 67 [16:02:43.000] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls/FnS.d.ts.map 500 undefined WatchType: Closed Script info +After request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -655,6 +663,7 @@ Info 69 [16:02:45.000] request: "seq": 2, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -692,6 +701,7 @@ FsWatchesRecursive:: Info 70 [16:02:46.000] Search path: /user/username/projects/myproject/dependency Info 71 [16:02:47.000] For info: /user/username/projects/myproject/dependency/FnS.ts :: Config file name: /user/username/projects/myproject/dependency/tsconfig.json +After request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -822,6 +832,7 @@ Info 73 [16:02:49.000] request: "seq": 3, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -857,6 +868,7 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +After request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -910,6 +922,7 @@ Info 75 [16:02:51.000] request: "seq": 4, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -945,6 +958,7 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +After request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -995,6 +1009,7 @@ Info 77 [16:02:53.000] request: "seq": 5, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -1033,6 +1048,7 @@ FsWatchesRecursive:: Info 78 [16:02:54.000] Starting updateGraphWorker: Project: /user/username/projects/myproject/main/tsconfig.json Info 79 [16:02:55.000] Finishing updateGraphWorker: Project: /user/username/projects/myproject/main/tsconfig.json Version: 2 structureChanged: false structureIsReused:: Completely Elapsed:: *ms Info 80 [16:02:56.000] Different program with same set of files +After request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -1116,6 +1132,7 @@ Info 82 [16:02:58.000] request: "seq": 6, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -1151,6 +1168,7 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +After request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -1234,6 +1252,7 @@ Info 84 [16:03:00.000] request: "seq": 7, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -1269,6 +1288,7 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +After request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -1352,6 +1372,7 @@ Info 86 [16:03:02.000] request: "seq": 8, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -1387,6 +1408,7 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +After request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -1470,6 +1492,7 @@ Info 88 [16:03:04.000] request: "seq": 9, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -1505,6 +1528,7 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +After request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -1588,6 +1612,7 @@ Info 90 [16:03:06.000] request: "seq": 10, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -1628,6 +1653,7 @@ Info 92 [16:03:08.000] Finishing updateGraphWorker: Project: /user/username/pr Info 93 [16:03:09.000] Different program with same set of files Info 94 [16:03:10.000] Search path: /user/username/projects/myproject/dependency Info 95 [16:03:11.000] For info: /user/username/projects/myproject/dependency/FnS.ts :: Config file name: /user/username/projects/myproject/dependency/tsconfig.json +After request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -1755,6 +1781,7 @@ Info 97 [16:03:13.000] request: "seq": 11, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -1792,6 +1819,7 @@ FsWatchesRecursive:: Info 98 [16:03:14.000] Search path: /user/username/projects/myproject/dependency Info 99 [16:03:15.000] For info: /user/username/projects/myproject/dependency/FnS.ts :: Config file name: /user/username/projects/myproject/dependency/tsconfig.json +After request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -1919,6 +1947,7 @@ Info 101 [16:03:17.000] request: "seq": 12, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -1956,6 +1985,7 @@ FsWatchesRecursive:: Info 102 [16:03:18.000] Search path: /user/username/projects/myproject/dependency Info 103 [16:03:19.000] For info: /user/username/projects/myproject/dependency/FnS.ts :: Config file name: /user/username/projects/myproject/dependency/tsconfig.json +After request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -2083,6 +2113,7 @@ Info 105 [16:03:21.000] request: "seq": 13, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -2120,6 +2151,7 @@ FsWatchesRecursive:: Info 106 [16:03:22.000] Search path: /user/username/projects/myproject/dependency Info 107 [16:03:23.000] For info: /user/username/projects/myproject/dependency/FnS.ts :: Config file name: /user/username/projects/myproject/dependency/tsconfig.json +After request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -2247,6 +2279,7 @@ Info 109 [16:03:25.000] request: "seq": 14, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -2284,6 +2317,7 @@ FsWatchesRecursive:: Info 110 [16:03:26.000] Search path: /user/username/projects/myproject/dependency Info 111 [16:03:27.000] For info: /user/username/projects/myproject/dependency/FnS.ts :: Config file name: /user/username/projects/myproject/dependency/tsconfig.json +After request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/configHasNoReference/can-go-to-definition-correctly.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/configHasNoReference/can-go-to-definition-correctly.js index 4480c852e8e74..c744bc3f9d2c7 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/configHasNoReference/can-go-to-definition-correctly.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/configHasNoReference/can-go-to-definition-correctly.js @@ -8,6 +8,7 @@ Info 1 [16:01:04.000] request: "file": "/user/username/projects/myproject/main/main.ts" } } +Before request //// [/user/username/projects/myproject/dependency/FnS.ts] export function fn1() { } export function fn2() { } @@ -250,6 +251,7 @@ Info 25 [16:01:30.000] ----------------------------------------------- Info 25 [16:01:31.000] Open files: Info 25 [16:01:32.000] FileName: /user/username/projects/myproject/main/main.ts ProjectRootPath: undefined Info 25 [16:01:33.000] Projects: /user/username/projects/myproject/main/tsconfig.json +After request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -284,6 +286,7 @@ Info 26 [16:01:35.000] request: "file": "/user/username/projects/myproject/random/random.ts" } } +Before request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -351,6 +354,7 @@ Info 44 [16:02:00.000] FileName: /user/username/projects/myproject/main/main. Info 44 [16:02:01.000] Projects: /user/username/projects/myproject/main/tsconfig.json Info 44 [16:02:02.000] FileName: /user/username/projects/myproject/random/random.ts ProjectRootPath: undefined Info 44 [16:02:03.000] Projects: /user/username/projects/myproject/random/tsconfig.json +After request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -393,6 +397,7 @@ Info 45 [16:02:05.000] request: "seq": 1, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -422,6 +427,7 @@ FsWatchesRecursive:: Info 46 [16:02:06.000] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls/FnS.d.ts.map 500 undefined WatchType: Closed Script info Info 47 [16:02:07.000] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/FnS.ts 500 undefined WatchType: Closed Script info +After request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -501,6 +507,7 @@ Info 49 [16:02:09.000] request: "seq": 2, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -532,6 +539,7 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +After request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -611,6 +619,7 @@ Info 51 [16:02:11.000] request: "seq": 3, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -642,6 +651,7 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +After request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -721,6 +731,7 @@ Info 53 [16:02:13.000] request: "seq": 4, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -752,6 +763,7 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +After request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -831,6 +843,7 @@ Info 55 [16:02:15.000] request: "seq": 5, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -862,6 +875,7 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +After request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -939,6 +953,7 @@ Info 57 [16:02:17.000] request: "file": "/user/username/projects/myproject/random/random.ts" } } +Before request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -982,6 +997,7 @@ Info 59 [16:02:24.000] ----------------------------------------------- Info 59 [16:02:25.000] Open files: Info 59 [16:02:26.000] FileName: /user/username/projects/myproject/main/main.ts ProjectRootPath: undefined Info 59 [16:02:27.000] Projects: /user/username/projects/myproject/main/tsconfig.json +After request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -1028,6 +1044,7 @@ Info 60 [16:02:29.000] request: "file": "/user/username/projects/myproject/random/random.ts" } } +Before request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -1077,6 +1094,7 @@ Info 64 [16:02:40.000] FileName: /user/username/projects/myproject/main/main. Info 64 [16:02:41.000] Projects: /user/username/projects/myproject/main/tsconfig.json Info 64 [16:02:42.000] FileName: /user/username/projects/myproject/random/random.ts ProjectRootPath: undefined Info 64 [16:02:43.000] Projects: /user/username/projects/myproject/random/tsconfig.json +After request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -1121,6 +1139,7 @@ Info 65 [16:02:45.000] request: "file": "/user/username/projects/myproject/main/main.ts" } } +Before request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -1164,6 +1183,7 @@ Info 67 [16:02:52.000] ----------------------------------------------- Info 67 [16:02:53.000] Open files: Info 67 [16:02:54.000] FileName: /user/username/projects/myproject/random/random.ts ProjectRootPath: undefined Info 67 [16:02:55.000] Projects: /user/username/projects/myproject/random/tsconfig.json +After request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -1210,6 +1230,7 @@ Info 68 [16:02:57.000] request: "file": "/user/username/projects/myproject/random/random.ts" } } +Before request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -1253,6 +1274,7 @@ Info 70 [16:03:03.000] Files (2) Info 70 [16:03:04.000] ----------------------------------------------- Info 70 [16:03:05.000] Open files: +After request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -1301,6 +1323,7 @@ Info 71 [16:03:07.000] request: "file": "/user/username/projects/myproject/random/random.ts" } } +Before request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -1375,6 +1398,7 @@ Info 92 [16:03:30.000] ----------------------------------------------- Info 92 [16:03:31.000] Open files: Info 92 [16:03:32.000] FileName: /user/username/projects/myproject/random/random.ts ProjectRootPath: undefined Info 92 [16:03:33.000] Projects: /user/username/projects/myproject/random/tsconfig.json +After request PolledWatches:: /user/username/projects/myproject/node_modules/@types: diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/configHasNoReference/dependency-dts-changes-with-timeout-before-request.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/configHasNoReference/dependency-dts-changes-with-timeout-before-request.js index 492418f7e36d0..ae678a01a4495 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/configHasNoReference/dependency-dts-changes-with-timeout-before-request.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/configHasNoReference/dependency-dts-changes-with-timeout-before-request.js @@ -8,6 +8,7 @@ Info 1 [16:01:04.000] request: "file": "/user/username/projects/myproject/main/main.ts" } } +Before request //// [/user/username/projects/myproject/dependency/FnS.ts] export function fn1() { } export function fn2() { } @@ -250,6 +251,7 @@ Info 25 [16:01:30.000] ----------------------------------------------- Info 25 [16:01:31.000] Open files: Info 25 [16:01:32.000] FileName: /user/username/projects/myproject/main/main.ts ProjectRootPath: undefined Info 25 [16:01:33.000] Projects: /user/username/projects/myproject/main/tsconfig.json +After request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -284,6 +286,7 @@ Info 26 [16:01:35.000] request: "file": "/user/username/projects/myproject/random/random.ts" } } +Before request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -351,6 +354,7 @@ Info 44 [16:02:00.000] FileName: /user/username/projects/myproject/main/main. Info 44 [16:02:01.000] Projects: /user/username/projects/myproject/main/tsconfig.json Info 44 [16:02:02.000] FileName: /user/username/projects/myproject/random/random.ts ProjectRootPath: undefined Info 44 [16:02:03.000] Projects: /user/username/projects/myproject/random/tsconfig.json +After request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -393,6 +397,7 @@ Info 45 [16:02:05.000] request: "seq": 1, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -422,6 +427,7 @@ FsWatchesRecursive:: Info 46 [16:02:06.000] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls/FnS.d.ts.map 500 undefined WatchType: Closed Script info Info 47 [16:02:07.000] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/FnS.ts 500 undefined WatchType: Closed Script info +After request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -494,6 +500,47 @@ Info 49 [16:02:12.000] FileWatcher:: Triggered with /user/username/projects/my Info 50 [16:02:13.000] Scheduled: /user/username/projects/myproject/main/tsconfig.json Info 51 [16:02:14.000] Scheduled: *ensureProjectForOpenFiles* Info 52 [16:02:15.000] Elapsed:: *ms FileWatcher:: Triggered with /user/username/projects/myproject/decls/fns.d.ts 1:: WatchInfo: /user/username/projects/myproject/decls/fns.d.ts 500 undefined WatchType: Closed Script info +Before running timeout callbacks +//// [/user/username/projects/myproject/decls/FnS.d.ts] +export declare function fn1(): void; +export declare function fn2(): void; +export declare function fn3(): void; +export declare function fn4(): void; +export declare function fn5(): void; +export declare function fn6(): void; +//# sourceMappingURL=FnS.d.ts.map + + +PolledWatches:: +/user/username/projects/myproject/main/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/myproject/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/myproject/random/node_modules/@types: + {"pollingInterval":500} + +FsWatches:: +/user/username/projects/myproject/main/tsconfig.json: + {} +/user/username/projects/myproject/decls/fns.d.ts: + {} +/a/lib/lib.d.ts: + {} +/user/username/projects/myproject/random/tsconfig.json: + {} +/user/username/projects/myproject/decls/fns.d.ts.map: + {} +/user/username/projects/myproject/dependency/fns.ts: + {} + +FsWatchesRecursive:: +/user/username/projects/myproject/main: + {} +/user/username/projects/myproject/decls: + {} +/user/username/projects/myproject/random: + {} + Info 53 [16:02:16.000] Running: /user/username/projects/myproject/main/tsconfig.json Info 54 [16:02:17.000] Starting updateGraphWorker: Project: /user/username/projects/myproject/main/tsconfig.json Info 55 [16:02:18.000] Finishing updateGraphWorker: Project: /user/username/projects/myproject/main/tsconfig.json Version: 2 structureChanged: false structureIsReused:: Completely Elapsed:: *ms @@ -527,6 +574,38 @@ Info 60 [16:02:41.000] FileName: /user/username/projects/myproject/main/main. Info 60 [16:02:42.000] Projects: /user/username/projects/myproject/main/tsconfig.json Info 60 [16:02:43.000] FileName: /user/username/projects/myproject/random/random.ts ProjectRootPath: undefined Info 60 [16:02:44.000] Projects: /user/username/projects/myproject/random/tsconfig.json +After running timeout callbacks + +PolledWatches:: +/user/username/projects/myproject/main/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/myproject/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/myproject/random/node_modules/@types: + {"pollingInterval":500} + +FsWatches:: +/user/username/projects/myproject/main/tsconfig.json: + {} +/user/username/projects/myproject/decls/fns.d.ts: + {} +/a/lib/lib.d.ts: + {} +/user/username/projects/myproject/random/tsconfig.json: + {} +/user/username/projects/myproject/decls/fns.d.ts.map: + {} +/user/username/projects/myproject/dependency/fns.ts: + {} + +FsWatchesRecursive:: +/user/username/projects/myproject/main: + {} +/user/username/projects/myproject/decls: + {} +/user/username/projects/myproject/random: + {} + Info 60 [16:02:45.000] request: { "command": "definitionAndBoundSpan", @@ -538,15 +617,7 @@ Info 60 [16:02:45.000] request: "seq": 2, "type": "request" } -//// [/user/username/projects/myproject/decls/FnS.d.ts] -export declare function fn1(): void; -export declare function fn2(): void; -export declare function fn3(): void; -export declare function fn4(): void; -export declare function fn5(): void; -export declare function fn6(): void; -//# sourceMappingURL=FnS.d.ts.map - +Before request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -578,6 +649,7 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +After request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -657,6 +729,7 @@ Info 62 [16:02:47.000] request: "seq": 3, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -688,6 +761,7 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +After request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -767,6 +841,7 @@ Info 64 [16:02:49.000] request: "seq": 4, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -798,6 +873,7 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +After request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -877,6 +953,7 @@ Info 66 [16:02:51.000] request: "seq": 5, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -908,6 +985,7 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +After request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -987,6 +1065,7 @@ Info 68 [16:02:53.000] request: "seq": 6, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -1018,6 +1097,7 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +After request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/configHasNoReference/dependency-dts-changes.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/configHasNoReference/dependency-dts-changes.js index a164a1ac86e71..60e688c1cfa33 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/configHasNoReference/dependency-dts-changes.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/configHasNoReference/dependency-dts-changes.js @@ -8,6 +8,7 @@ Info 1 [16:01:04.000] request: "file": "/user/username/projects/myproject/main/main.ts" } } +Before request //// [/user/username/projects/myproject/dependency/FnS.ts] export function fn1() { } export function fn2() { } @@ -250,6 +251,7 @@ Info 25 [16:01:30.000] ----------------------------------------------- Info 25 [16:01:31.000] Open files: Info 25 [16:01:32.000] FileName: /user/username/projects/myproject/main/main.ts ProjectRootPath: undefined Info 25 [16:01:33.000] Projects: /user/username/projects/myproject/main/tsconfig.json +After request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -284,6 +286,7 @@ Info 26 [16:01:35.000] request: "file": "/user/username/projects/myproject/random/random.ts" } } +Before request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -351,6 +354,7 @@ Info 44 [16:02:00.000] FileName: /user/username/projects/myproject/main/main. Info 44 [16:02:01.000] Projects: /user/username/projects/myproject/main/tsconfig.json Info 44 [16:02:02.000] FileName: /user/username/projects/myproject/random/random.ts ProjectRootPath: undefined Info 44 [16:02:03.000] Projects: /user/username/projects/myproject/random/tsconfig.json +After request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -393,6 +397,7 @@ Info 45 [16:02:05.000] request: "seq": 1, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -422,6 +427,7 @@ FsWatchesRecursive:: Info 46 [16:02:06.000] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls/FnS.d.ts.map 500 undefined WatchType: Closed Script info Info 47 [16:02:07.000] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/FnS.ts 500 undefined WatchType: Closed Script info +After request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -505,6 +511,7 @@ Info 53 [16:02:16.000] request: "seq": 2, "type": "request" } +Before request //// [/user/username/projects/myproject/decls/FnS.d.ts] export declare function fn1(): void; export declare function fn2(): void; @@ -548,6 +555,7 @@ FsWatchesRecursive:: Info 54 [16:02:17.000] Starting updateGraphWorker: Project: /user/username/projects/myproject/main/tsconfig.json Info 55 [16:02:18.000] Finishing updateGraphWorker: Project: /user/username/projects/myproject/main/tsconfig.json Version: 2 structureChanged: false structureIsReused:: Completely Elapsed:: *ms Info 56 [16:02:19.000] Different program with same set of files +After request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -627,6 +635,7 @@ Info 58 [16:02:21.000] request: "seq": 3, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -658,6 +667,7 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +After request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -737,6 +747,7 @@ Info 60 [16:02:23.000] request: "seq": 4, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -768,6 +779,7 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +After request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -847,6 +859,7 @@ Info 62 [16:02:25.000] request: "seq": 5, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -878,6 +891,7 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +After request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -957,6 +971,7 @@ Info 64 [16:02:27.000] request: "seq": 6, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -988,6 +1003,7 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +After request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/configHasNoReference/dependency-dts-created.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/configHasNoReference/dependency-dts-created.js index 559af67147048..6b4df2cf9f15e 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/configHasNoReference/dependency-dts-created.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/configHasNoReference/dependency-dts-created.js @@ -8,6 +8,7 @@ Info 1 [16:01:05.000] request: "file": "/user/username/projects/myproject/main/main.ts" } } +Before request //// [/user/username/projects/myproject/dependency/FnS.ts] export function fn1() { } export function fn2() { } @@ -238,6 +239,7 @@ Info 24 [16:01:30.000] ----------------------------------------------- Info 24 [16:01:31.000] Open files: Info 24 [16:01:32.000] FileName: /user/username/projects/myproject/main/main.ts ProjectRootPath: undefined Info 24 [16:01:33.000] Projects: /user/username/projects/myproject/main/tsconfig.json +After request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -270,6 +272,7 @@ Info 25 [16:01:35.000] request: "file": "/user/username/projects/myproject/random/random.ts" } } +Before request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -335,6 +338,7 @@ Info 43 [16:02:00.000] FileName: /user/username/projects/myproject/main/main. Info 43 [16:02:01.000] Projects: /user/username/projects/myproject/main/tsconfig.json Info 43 [16:02:02.000] FileName: /user/username/projects/myproject/random/random.ts ProjectRootPath: undefined Info 43 [16:02:03.000] Projects: /user/username/projects/myproject/random/tsconfig.json +After request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -375,6 +379,7 @@ Info 44 [16:02:05.000] request: "seq": 1, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -400,6 +405,7 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +After request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -476,6 +482,7 @@ Info 49 [16:02:12.000] request: "seq": 2, "type": "request" } +Before request //// [/user/username/projects/myproject/decls/FnS.d.ts] export declare function fn1(): void; export declare function fn2(): void; @@ -530,6 +537,7 @@ Info 55 [16:02:18.000] Files (3) Info 56 [16:02:19.000] ----------------------------------------------- Info 57 [16:02:20.000] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls/FnS.d.ts.map 500 undefined WatchType: Closed Script info Info 58 [16:02:21.000] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/FnS.ts 500 undefined WatchType: Closed Script info +After request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -609,6 +617,7 @@ Info 60 [16:02:23.000] request: "seq": 3, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -640,6 +649,7 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +After request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -719,6 +729,7 @@ Info 62 [16:02:25.000] request: "seq": 4, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -750,6 +761,7 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +After request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -829,6 +841,7 @@ Info 64 [16:02:27.000] request: "seq": 5, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -860,6 +873,7 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +After request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -939,6 +953,7 @@ Info 66 [16:02:29.000] request: "seq": 6, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -970,6 +985,7 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +After request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -1047,6 +1063,7 @@ Info 68 [16:02:31.000] request: "file": "/user/username/projects/myproject/random/random.ts" } } +Before request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -1090,6 +1107,7 @@ Info 70 [16:02:38.000] ----------------------------------------------- Info 70 [16:02:39.000] Open files: Info 70 [16:02:40.000] FileName: /user/username/projects/myproject/main/main.ts ProjectRootPath: undefined Info 70 [16:02:41.000] Projects: /user/username/projects/myproject/main/tsconfig.json +After request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -1136,6 +1154,7 @@ Info 71 [16:02:43.000] request: "file": "/user/username/projects/myproject/random/random.ts" } } +Before request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -1185,6 +1204,7 @@ Info 75 [16:02:54.000] FileName: /user/username/projects/myproject/main/main. Info 75 [16:02:55.000] Projects: /user/username/projects/myproject/main/tsconfig.json Info 75 [16:02:56.000] FileName: /user/username/projects/myproject/random/random.ts ProjectRootPath: undefined Info 75 [16:02:57.000] Projects: /user/username/projects/myproject/random/tsconfig.json +After request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -1229,6 +1249,7 @@ Info 76 [16:02:59.000] request: "file": "/user/username/projects/myproject/main/main.ts" } } +Before request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -1272,6 +1293,7 @@ Info 78 [16:03:06.000] ----------------------------------------------- Info 78 [16:03:07.000] Open files: Info 78 [16:03:08.000] FileName: /user/username/projects/myproject/random/random.ts ProjectRootPath: undefined Info 78 [16:03:09.000] Projects: /user/username/projects/myproject/random/tsconfig.json +After request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -1318,6 +1340,7 @@ Info 79 [16:03:11.000] request: "file": "/user/username/projects/myproject/random/random.ts" } } +Before request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -1361,6 +1384,7 @@ Info 81 [16:03:17.000] Files (2) Info 81 [16:03:18.000] ----------------------------------------------- Info 81 [16:03:19.000] Open files: +After request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -1409,6 +1433,7 @@ Info 82 [16:03:21.000] request: "file": "/user/username/projects/myproject/random/random.ts" } } +Before request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -1483,6 +1508,7 @@ Info 103 [16:03:44.000] ----------------------------------------------- Info 103 [16:03:45.000] Open files: Info 103 [16:03:46.000] FileName: /user/username/projects/myproject/random/random.ts ProjectRootPath: undefined Info 103 [16:03:47.000] Projects: /user/username/projects/myproject/random/tsconfig.json +After request PolledWatches:: /user/username/projects/myproject/node_modules/@types: diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/configHasNoReference/dependency-dts-deleted.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/configHasNoReference/dependency-dts-deleted.js index b447a5d34fdca..6c404224a7091 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/configHasNoReference/dependency-dts-deleted.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/configHasNoReference/dependency-dts-deleted.js @@ -8,6 +8,7 @@ Info 1 [16:01:04.000] request: "file": "/user/username/projects/myproject/main/main.ts" } } +Before request //// [/user/username/projects/myproject/dependency/FnS.ts] export function fn1() { } export function fn2() { } @@ -250,6 +251,7 @@ Info 25 [16:01:30.000] ----------------------------------------------- Info 25 [16:01:31.000] Open files: Info 25 [16:01:32.000] FileName: /user/username/projects/myproject/main/main.ts ProjectRootPath: undefined Info 25 [16:01:33.000] Projects: /user/username/projects/myproject/main/tsconfig.json +After request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -284,6 +286,7 @@ Info 26 [16:01:35.000] request: "file": "/user/username/projects/myproject/random/random.ts" } } +Before request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -351,6 +354,7 @@ Info 44 [16:02:00.000] FileName: /user/username/projects/myproject/main/main. Info 44 [16:02:01.000] Projects: /user/username/projects/myproject/main/tsconfig.json Info 44 [16:02:02.000] FileName: /user/username/projects/myproject/random/random.ts ProjectRootPath: undefined Info 44 [16:02:03.000] Projects: /user/username/projects/myproject/random/tsconfig.json +After request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -393,6 +397,7 @@ Info 45 [16:02:05.000] request: "seq": 1, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -422,6 +427,7 @@ FsWatchesRecursive:: Info 46 [16:02:06.000] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls/FnS.d.ts.map 500 undefined WatchType: Closed Script info Info 47 [16:02:07.000] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/FnS.ts 500 undefined WatchType: Closed Script info +After request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -509,6 +515,7 @@ Info 57 [16:02:18.000] request: "seq": 2, "type": "request" } +Before request //// [/user/username/projects/myproject/decls/FnS.d.ts] deleted PolledWatches:: @@ -553,6 +560,7 @@ Info 61 [16:02:22.000] Files (2) Matched by default include pattern '**/*' Info 62 [16:02:23.000] ----------------------------------------------- +After request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -630,6 +638,7 @@ Info 64 [16:02:25.000] request: "seq": 3, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -659,6 +668,7 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +After request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -736,6 +746,7 @@ Info 66 [16:02:27.000] request: "seq": 4, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -765,6 +776,7 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +After request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -842,6 +854,7 @@ Info 68 [16:02:29.000] request: "seq": 5, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -871,6 +884,7 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +After request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -948,6 +962,7 @@ Info 70 [16:02:31.000] request: "seq": 6, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -977,6 +992,7 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +After request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -1052,6 +1068,7 @@ Info 72 [16:02:33.000] request: "file": "/user/username/projects/myproject/random/random.ts" } } +Before request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -1093,6 +1110,7 @@ Info 74 [16:02:40.000] ----------------------------------------------- Info 74 [16:02:41.000] Open files: Info 74 [16:02:42.000] FileName: /user/username/projects/myproject/main/main.ts ProjectRootPath: undefined Info 74 [16:02:43.000] Projects: /user/username/projects/myproject/main/tsconfig.json +After request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -1137,6 +1155,7 @@ Info 75 [16:02:45.000] request: "file": "/user/username/projects/myproject/random/random.ts" } } +Before request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -1186,6 +1205,7 @@ Info 81 [16:02:58.000] FileName: /user/username/projects/myproject/main/main. Info 81 [16:02:59.000] Projects: /user/username/projects/myproject/main/tsconfig.json Info 81 [16:03:00.000] FileName: /user/username/projects/myproject/random/random.ts ProjectRootPath: undefined Info 81 [16:03:01.000] Projects: /user/username/projects/myproject/random/tsconfig.json +After request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -1224,6 +1244,7 @@ Info 82 [16:03:03.000] request: "file": "/user/username/projects/myproject/main/main.ts" } } +Before request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -1261,6 +1282,7 @@ Info 84 [16:03:10.000] ----------------------------------------------- Info 84 [16:03:11.000] Open files: Info 84 [16:03:12.000] FileName: /user/username/projects/myproject/random/random.ts ProjectRootPath: undefined Info 84 [16:03:13.000] Projects: /user/username/projects/myproject/random/tsconfig.json +After request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -1301,6 +1323,7 @@ Info 85 [16:03:15.000] request: "file": "/user/username/projects/myproject/random/random.ts" } } +Before request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -1338,6 +1361,7 @@ Info 87 [16:03:21.000] Files (2) Info 87 [16:03:22.000] ----------------------------------------------- Info 87 [16:03:23.000] Open files: +After request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -1380,6 +1404,7 @@ Info 88 [16:03:25.000] request: "file": "/user/username/projects/myproject/random/random.ts" } } +Before request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -1442,6 +1467,7 @@ Info 106 [16:03:45.000] ----------------------------------------------- Info 106 [16:03:46.000] Open files: Info 106 [16:03:47.000] FileName: /user/username/projects/myproject/random/random.ts ProjectRootPath: undefined Info 106 [16:03:48.000] Projects: /user/username/projects/myproject/random/tsconfig.json +After request PolledWatches:: /user/username/projects/myproject/node_modules/@types: diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/configHasNoReference/dependency-dts-not-present.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/configHasNoReference/dependency-dts-not-present.js index f865875a8b8b5..e18b31b8492a1 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/configHasNoReference/dependency-dts-not-present.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/configHasNoReference/dependency-dts-not-present.js @@ -8,6 +8,7 @@ Info 1 [16:01:05.000] request: "file": "/user/username/projects/myproject/main/main.ts" } } +Before request //// [/user/username/projects/myproject/dependency/FnS.ts] export function fn1() { } export function fn2() { } @@ -238,6 +239,7 @@ Info 24 [16:01:30.000] ----------------------------------------------- Info 24 [16:01:31.000] Open files: Info 24 [16:01:32.000] FileName: /user/username/projects/myproject/main/main.ts ProjectRootPath: undefined Info 24 [16:01:33.000] Projects: /user/username/projects/myproject/main/tsconfig.json +After request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -270,6 +272,7 @@ Info 25 [16:01:35.000] request: "file": "/user/username/projects/myproject/random/random.ts" } } +Before request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -335,6 +338,7 @@ Info 43 [16:02:00.000] FileName: /user/username/projects/myproject/main/main. Info 43 [16:02:01.000] Projects: /user/username/projects/myproject/main/tsconfig.json Info 43 [16:02:02.000] FileName: /user/username/projects/myproject/random/random.ts ProjectRootPath: undefined Info 43 [16:02:03.000] Projects: /user/username/projects/myproject/random/tsconfig.json +After request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -375,6 +379,7 @@ Info 44 [16:02:05.000] request: "seq": 1, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -400,6 +405,7 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +After request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -473,6 +479,7 @@ Info 46 [16:02:07.000] request: "seq": 2, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -498,6 +505,7 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +After request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -571,6 +579,7 @@ Info 48 [16:02:09.000] request: "seq": 3, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -596,6 +605,7 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +After request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -669,6 +679,7 @@ Info 50 [16:02:11.000] request: "seq": 4, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -694,6 +705,7 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +After request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -767,6 +779,7 @@ Info 52 [16:02:13.000] request: "seq": 5, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -792,6 +805,7 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +After request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -863,6 +877,7 @@ Info 54 [16:02:15.000] request: "file": "/user/username/projects/myproject/random/random.ts" } } +Before request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -900,6 +915,7 @@ Info 56 [16:02:22.000] ----------------------------------------------- Info 56 [16:02:23.000] Open files: Info 56 [16:02:24.000] FileName: /user/username/projects/myproject/main/main.ts ProjectRootPath: undefined Info 56 [16:02:25.000] Projects: /user/username/projects/myproject/main/tsconfig.json +After request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -940,6 +956,7 @@ Info 57 [16:02:27.000] request: "file": "/user/username/projects/myproject/random/random.ts" } } +Before request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -983,6 +1000,7 @@ Info 61 [16:02:38.000] FileName: /user/username/projects/myproject/main/main. Info 61 [16:02:39.000] Projects: /user/username/projects/myproject/main/tsconfig.json Info 61 [16:02:40.000] FileName: /user/username/projects/myproject/random/random.ts ProjectRootPath: undefined Info 61 [16:02:41.000] Projects: /user/username/projects/myproject/random/tsconfig.json +After request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -1021,6 +1039,7 @@ Info 62 [16:02:43.000] request: "file": "/user/username/projects/myproject/main/main.ts" } } +Before request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -1058,6 +1077,7 @@ Info 64 [16:02:50.000] ----------------------------------------------- Info 64 [16:02:51.000] Open files: Info 64 [16:02:52.000] FileName: /user/username/projects/myproject/random/random.ts ProjectRootPath: undefined Info 64 [16:02:53.000] Projects: /user/username/projects/myproject/random/tsconfig.json +After request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -1098,6 +1118,7 @@ Info 65 [16:02:55.000] request: "file": "/user/username/projects/myproject/random/random.ts" } } +Before request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -1135,6 +1156,7 @@ Info 67 [16:03:01.000] Files (2) Info 67 [16:03:02.000] ----------------------------------------------- Info 67 [16:03:03.000] Open files: +After request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -1177,6 +1199,7 @@ Info 68 [16:03:05.000] request: "file": "/user/username/projects/myproject/random/random.ts" } } +Before request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -1239,6 +1262,7 @@ Info 86 [16:03:25.000] ----------------------------------------------- Info 86 [16:03:26.000] Open files: Info 86 [16:03:27.000] FileName: /user/username/projects/myproject/random/random.ts ProjectRootPath: undefined Info 86 [16:03:28.000] Projects: /user/username/projects/myproject/random/tsconfig.json +After request PolledWatches:: /user/username/projects/myproject/node_modules/@types: diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/configHasNoReference/dependency-dtsMap-changes-with-timeout-before-request.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/configHasNoReference/dependency-dtsMap-changes-with-timeout-before-request.js index 2c7706b2cdee9..fe634f9aac42a 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/configHasNoReference/dependency-dtsMap-changes-with-timeout-before-request.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/configHasNoReference/dependency-dtsMap-changes-with-timeout-before-request.js @@ -8,6 +8,7 @@ Info 1 [16:01:04.000] request: "file": "/user/username/projects/myproject/main/main.ts" } } +Before request //// [/user/username/projects/myproject/dependency/FnS.ts] export function fn1() { } export function fn2() { } @@ -250,6 +251,7 @@ Info 25 [16:01:30.000] ----------------------------------------------- Info 25 [16:01:31.000] Open files: Info 25 [16:01:32.000] FileName: /user/username/projects/myproject/main/main.ts ProjectRootPath: undefined Info 25 [16:01:33.000] Projects: /user/username/projects/myproject/main/tsconfig.json +After request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -284,6 +286,7 @@ Info 26 [16:01:35.000] request: "file": "/user/username/projects/myproject/random/random.ts" } } +Before request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -351,6 +354,7 @@ Info 44 [16:02:00.000] FileName: /user/username/projects/myproject/main/main. Info 44 [16:02:01.000] Projects: /user/username/projects/myproject/main/tsconfig.json Info 44 [16:02:02.000] FileName: /user/username/projects/myproject/random/random.ts ProjectRootPath: undefined Info 44 [16:02:03.000] Projects: /user/username/projects/myproject/random/tsconfig.json +After request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -393,6 +397,7 @@ Info 45 [16:02:05.000] request: "seq": 1, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -422,6 +427,7 @@ FsWatchesRecursive:: Info 46 [16:02:06.000] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls/FnS.d.ts.map 500 undefined WatchType: Closed Script info Info 47 [16:02:07.000] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/FnS.ts 500 undefined WatchType: Closed Script info +After request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -494,6 +500,41 @@ Info 49 [16:02:12.000] FileWatcher:: Triggered with /user/username/projects/my Info 50 [16:02:13.000] Scheduled: /user/username/projects/myproject/main/tsconfig.json Info 51 [16:02:14.000] Scheduled: *ensureProjectForOpenFiles* Info 52 [16:02:15.000] Elapsed:: *ms FileWatcher:: Triggered with /user/username/projects/myproject/decls/FnS.d.ts.map 1:: WatchInfo: /user/username/projects/myproject/decls/FnS.d.ts.map 500 undefined WatchType: Closed Script info +Before running timeout callbacks +//// [/user/username/projects/myproject/decls/FnS.d.ts.map] +{"version":3,"file":"FnS.d.ts","sourceRoot":"","sources":["../dependency/FnS.ts"],"names":[],"mappings":"AAAA,wBAAgB,GAAG,SAAM;AACzB,wBAAgB,GAAG,SAAM;AACzB,wBAAgB,GAAG,SAAM;AACzB,wBAAgB,GAAG,SAAM;AACzB,wBAAgB,GAAG,SAAM;AACzB,eAAO,MAAM,CAAC,KAAK,CAAC"} + + +PolledWatches:: +/user/username/projects/myproject/main/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/myproject/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/myproject/random/node_modules/@types: + {"pollingInterval":500} + +FsWatches:: +/user/username/projects/myproject/main/tsconfig.json: + {} +/user/username/projects/myproject/decls/fns.d.ts: + {} +/a/lib/lib.d.ts: + {} +/user/username/projects/myproject/random/tsconfig.json: + {} +/user/username/projects/myproject/decls/fns.d.ts.map: + {} +/user/username/projects/myproject/dependency/fns.ts: + {} + +FsWatchesRecursive:: +/user/username/projects/myproject/main: + {} +/user/username/projects/myproject/decls: + {} +/user/username/projects/myproject/random: + {} + Info 53 [16:02:16.000] Running: /user/username/projects/myproject/main/tsconfig.json Info 54 [16:02:17.000] Starting updateGraphWorker: Project: /user/username/projects/myproject/main/tsconfig.json Info 55 [16:02:18.000] Finishing updateGraphWorker: Project: /user/username/projects/myproject/main/tsconfig.json Version: 2 structureChanged: false structureIsReused:: Not Elapsed:: *ms @@ -526,6 +567,38 @@ Info 59 [16:02:40.000] FileName: /user/username/projects/myproject/main/main. Info 59 [16:02:41.000] Projects: /user/username/projects/myproject/main/tsconfig.json Info 59 [16:02:42.000] FileName: /user/username/projects/myproject/random/random.ts ProjectRootPath: undefined Info 59 [16:02:43.000] Projects: /user/username/projects/myproject/random/tsconfig.json +After running timeout callbacks + +PolledWatches:: +/user/username/projects/myproject/main/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/myproject/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/myproject/random/node_modules/@types: + {"pollingInterval":500} + +FsWatches:: +/user/username/projects/myproject/main/tsconfig.json: + {} +/user/username/projects/myproject/decls/fns.d.ts: + {} +/a/lib/lib.d.ts: + {} +/user/username/projects/myproject/random/tsconfig.json: + {} +/user/username/projects/myproject/decls/fns.d.ts.map: + {} +/user/username/projects/myproject/dependency/fns.ts: + {} + +FsWatchesRecursive:: +/user/username/projects/myproject/main: + {} +/user/username/projects/myproject/decls: + {} +/user/username/projects/myproject/random: + {} + Info 59 [16:02:44.000] request: { "command": "definitionAndBoundSpan", @@ -537,9 +610,7 @@ Info 59 [16:02:44.000] request: "seq": 2, "type": "request" } -//// [/user/username/projects/myproject/decls/FnS.d.ts.map] -{"version":3,"file":"FnS.d.ts","sourceRoot":"","sources":["../dependency/FnS.ts"],"names":[],"mappings":"AAAA,wBAAgB,GAAG,SAAM;AACzB,wBAAgB,GAAG,SAAM;AACzB,wBAAgB,GAAG,SAAM;AACzB,wBAAgB,GAAG,SAAM;AACzB,wBAAgB,GAAG,SAAM;AACzB,eAAO,MAAM,CAAC,KAAK,CAAC"} - +Before request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -571,6 +642,7 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +After request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -650,6 +722,7 @@ Info 61 [16:02:46.000] request: "seq": 3, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -681,6 +754,7 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +After request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -760,6 +834,7 @@ Info 63 [16:02:48.000] request: "seq": 4, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -791,6 +866,7 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +After request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -870,6 +946,7 @@ Info 65 [16:02:50.000] request: "seq": 5, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -901,6 +978,7 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +After request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -980,6 +1058,7 @@ Info 67 [16:02:52.000] request: "seq": 6, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -1011,6 +1090,7 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +After request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/configHasNoReference/dependency-dtsMap-changes.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/configHasNoReference/dependency-dtsMap-changes.js index ce7d083150911..bd50e3c3f022c 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/configHasNoReference/dependency-dtsMap-changes.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/configHasNoReference/dependency-dtsMap-changes.js @@ -8,6 +8,7 @@ Info 1 [16:01:04.000] request: "file": "/user/username/projects/myproject/main/main.ts" } } +Before request //// [/user/username/projects/myproject/dependency/FnS.ts] export function fn1() { } export function fn2() { } @@ -250,6 +251,7 @@ Info 25 [16:01:30.000] ----------------------------------------------- Info 25 [16:01:31.000] Open files: Info 25 [16:01:32.000] FileName: /user/username/projects/myproject/main/main.ts ProjectRootPath: undefined Info 25 [16:01:33.000] Projects: /user/username/projects/myproject/main/tsconfig.json +After request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -284,6 +286,7 @@ Info 26 [16:01:35.000] request: "file": "/user/username/projects/myproject/random/random.ts" } } +Before request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -351,6 +354,7 @@ Info 44 [16:02:00.000] FileName: /user/username/projects/myproject/main/main. Info 44 [16:02:01.000] Projects: /user/username/projects/myproject/main/tsconfig.json Info 44 [16:02:02.000] FileName: /user/username/projects/myproject/random/random.ts ProjectRootPath: undefined Info 44 [16:02:03.000] Projects: /user/username/projects/myproject/random/tsconfig.json +After request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -393,6 +397,7 @@ Info 45 [16:02:05.000] request: "seq": 1, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -422,6 +427,7 @@ FsWatchesRecursive:: Info 46 [16:02:06.000] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls/FnS.d.ts.map 500 undefined WatchType: Closed Script info Info 47 [16:02:07.000] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/FnS.ts 500 undefined WatchType: Closed Script info +After request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -505,6 +511,7 @@ Info 53 [16:02:16.000] request: "seq": 2, "type": "request" } +Before request //// [/user/username/projects/myproject/decls/FnS.d.ts.map] {"version":3,"file":"FnS.d.ts","sourceRoot":"","sources":["../dependency/FnS.ts"],"names":[],"mappings":"AAAA,wBAAgB,GAAG,SAAM;AACzB,wBAAgB,GAAG,SAAM;AACzB,wBAAgB,GAAG,SAAM;AACzB,wBAAgB,GAAG,SAAM;AACzB,wBAAgB,GAAG,SAAM;AACzB,eAAO,MAAM,CAAC,KAAK,CAAC"} @@ -541,6 +548,7 @@ FsWatchesRecursive:: Info 54 [16:02:17.000] Starting updateGraphWorker: Project: /user/username/projects/myproject/main/tsconfig.json Info 55 [16:02:18.000] Finishing updateGraphWorker: Project: /user/username/projects/myproject/main/tsconfig.json Version: 2 structureChanged: false structureIsReused:: Not Elapsed:: *ms +After request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -620,6 +628,7 @@ Info 57 [16:02:20.000] request: "seq": 3, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -651,6 +660,7 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +After request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -730,6 +740,7 @@ Info 59 [16:02:22.000] request: "seq": 4, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -761,6 +772,7 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +After request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -840,6 +852,7 @@ Info 61 [16:02:24.000] request: "seq": 5, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -871,6 +884,7 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +After request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -950,6 +964,7 @@ Info 63 [16:02:26.000] request: "seq": 6, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -981,6 +996,7 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +After request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/configHasNoReference/dependency-dtsMap-created.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/configHasNoReference/dependency-dtsMap-created.js index b497a921eaa52..65862b63576e9 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/configHasNoReference/dependency-dtsMap-created.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/configHasNoReference/dependency-dtsMap-created.js @@ -8,6 +8,7 @@ Info 1 [16:01:05.000] request: "file": "/user/username/projects/myproject/main/main.ts" } } +Before request //// [/user/username/projects/myproject/dependency/FnS.ts] export function fn1() { } export function fn2() { } @@ -247,6 +248,7 @@ Info 25 [16:01:31.000] ----------------------------------------------- Info 25 [16:01:32.000] Open files: Info 25 [16:01:33.000] FileName: /user/username/projects/myproject/main/main.ts ProjectRootPath: undefined Info 25 [16:01:34.000] Projects: /user/username/projects/myproject/main/tsconfig.json +After request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -281,6 +283,7 @@ Info 26 [16:01:36.000] request: "file": "/user/username/projects/myproject/random/random.ts" } } +Before request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -348,6 +351,7 @@ Info 44 [16:02:01.000] FileName: /user/username/projects/myproject/main/main. Info 44 [16:02:02.000] Projects: /user/username/projects/myproject/main/tsconfig.json Info 44 [16:02:03.000] FileName: /user/username/projects/myproject/random/random.ts ProjectRootPath: undefined Info 44 [16:02:04.000] Projects: /user/username/projects/myproject/random/tsconfig.json +After request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -390,6 +394,7 @@ Info 45 [16:02:06.000] request: "seq": 1, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -418,6 +423,7 @@ FsWatchesRecursive:: {} Info 46 [16:02:07.000] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls/FnS.d.ts.map 2000 undefined WatchType: Missing source map file +After request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -502,6 +508,7 @@ Info 55 [16:02:18.000] request: "seq": 2, "type": "request" } +Before request //// [/user/username/projects/myproject/decls/FnS.d.ts.map] {"version":3,"file":"FnS.d.ts","sourceRoot":"","sources":["../dependency/FnS.ts"],"names":[],"mappings":"AAAA,wBAAgB,GAAG,SAAM;AACzB,wBAAgB,GAAG,SAAM;AACzB,wBAAgB,GAAG,SAAM;AACzB,wBAAgB,GAAG,SAAM;AACzB,wBAAgB,GAAG,SAAM"} @@ -536,6 +543,7 @@ Info 56 [16:02:19.000] Starting updateGraphWorker: Project: /user/username/pro Info 57 [16:02:20.000] Finishing updateGraphWorker: Project: /user/username/projects/myproject/main/tsconfig.json Version: 2 structureChanged: false structureIsReused:: Not Elapsed:: *ms Info 58 [16:02:21.000] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls/FnS.d.ts.map 500 undefined WatchType: Closed Script info Info 59 [16:02:22.000] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/FnS.ts 500 undefined WatchType: Closed Script info +After request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -615,6 +623,7 @@ Info 61 [16:02:24.000] request: "seq": 3, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -646,6 +655,7 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +After request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -725,6 +735,7 @@ Info 63 [16:02:26.000] request: "seq": 4, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -756,6 +767,7 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +After request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -835,6 +847,7 @@ Info 65 [16:02:28.000] request: "seq": 5, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -866,6 +879,7 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +After request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -945,6 +959,7 @@ Info 67 [16:02:30.000] request: "seq": 6, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -976,6 +991,7 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +After request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -1053,6 +1069,7 @@ Info 69 [16:02:32.000] request: "file": "/user/username/projects/myproject/random/random.ts" } } +Before request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -1096,6 +1113,7 @@ Info 71 [16:02:39.000] ----------------------------------------------- Info 71 [16:02:40.000] Open files: Info 71 [16:02:41.000] FileName: /user/username/projects/myproject/main/main.ts ProjectRootPath: undefined Info 71 [16:02:42.000] Projects: /user/username/projects/myproject/main/tsconfig.json +After request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -1142,6 +1160,7 @@ Info 72 [16:02:44.000] request: "file": "/user/username/projects/myproject/random/random.ts" } } +Before request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -1191,6 +1210,7 @@ Info 76 [16:02:55.000] FileName: /user/username/projects/myproject/main/main. Info 76 [16:02:56.000] Projects: /user/username/projects/myproject/main/tsconfig.json Info 76 [16:02:57.000] FileName: /user/username/projects/myproject/random/random.ts ProjectRootPath: undefined Info 76 [16:02:58.000] Projects: /user/username/projects/myproject/random/tsconfig.json +After request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -1235,6 +1255,7 @@ Info 77 [16:03:00.000] request: "file": "/user/username/projects/myproject/main/main.ts" } } +Before request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -1278,6 +1299,7 @@ Info 79 [16:03:07.000] ----------------------------------------------- Info 79 [16:03:08.000] Open files: Info 79 [16:03:09.000] FileName: /user/username/projects/myproject/random/random.ts ProjectRootPath: undefined Info 79 [16:03:10.000] Projects: /user/username/projects/myproject/random/tsconfig.json +After request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -1324,6 +1346,7 @@ Info 80 [16:03:12.000] request: "file": "/user/username/projects/myproject/random/random.ts" } } +Before request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -1367,6 +1390,7 @@ Info 82 [16:03:18.000] Files (2) Info 82 [16:03:19.000] ----------------------------------------------- Info 82 [16:03:20.000] Open files: +After request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -1415,6 +1439,7 @@ Info 83 [16:03:22.000] request: "file": "/user/username/projects/myproject/random/random.ts" } } +Before request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -1489,6 +1514,7 @@ Info 104 [16:03:45.000] ----------------------------------------------- Info 104 [16:03:46.000] Open files: Info 104 [16:03:47.000] FileName: /user/username/projects/myproject/random/random.ts ProjectRootPath: undefined Info 104 [16:03:48.000] Projects: /user/username/projects/myproject/random/tsconfig.json +After request PolledWatches:: /user/username/projects/myproject/node_modules/@types: diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/configHasNoReference/dependency-dtsMap-deleted.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/configHasNoReference/dependency-dtsMap-deleted.js index 412178f02b15b..8ed48c1d00b1a 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/configHasNoReference/dependency-dtsMap-deleted.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/configHasNoReference/dependency-dtsMap-deleted.js @@ -8,6 +8,7 @@ Info 1 [16:01:04.000] request: "file": "/user/username/projects/myproject/main/main.ts" } } +Before request //// [/user/username/projects/myproject/dependency/FnS.ts] export function fn1() { } export function fn2() { } @@ -250,6 +251,7 @@ Info 25 [16:01:30.000] ----------------------------------------------- Info 25 [16:01:31.000] Open files: Info 25 [16:01:32.000] FileName: /user/username/projects/myproject/main/main.ts ProjectRootPath: undefined Info 25 [16:01:33.000] Projects: /user/username/projects/myproject/main/tsconfig.json +After request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -284,6 +286,7 @@ Info 26 [16:01:35.000] request: "file": "/user/username/projects/myproject/random/random.ts" } } +Before request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -351,6 +354,7 @@ Info 44 [16:02:00.000] FileName: /user/username/projects/myproject/main/main. Info 44 [16:02:01.000] Projects: /user/username/projects/myproject/main/tsconfig.json Info 44 [16:02:02.000] FileName: /user/username/projects/myproject/random/random.ts ProjectRootPath: undefined Info 44 [16:02:03.000] Projects: /user/username/projects/myproject/random/tsconfig.json +After request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -393,6 +397,7 @@ Info 45 [16:02:05.000] request: "seq": 1, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -422,6 +427,7 @@ FsWatchesRecursive:: Info 46 [16:02:06.000] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls/FnS.d.ts.map 500 undefined WatchType: Closed Script info Info 47 [16:02:07.000] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/FnS.ts 500 undefined WatchType: Closed Script info +After request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -508,6 +514,7 @@ Info 56 [16:02:17.000] request: "seq": 2, "type": "request" } +Before request //// [/user/username/projects/myproject/decls/FnS.d.ts.map] deleted PolledWatches:: @@ -541,6 +548,7 @@ FsWatchesRecursive:: Info 57 [16:02:18.000] Starting updateGraphWorker: Project: /user/username/projects/myproject/main/tsconfig.json Info 58 [16:02:19.000] Finishing updateGraphWorker: Project: /user/username/projects/myproject/main/tsconfig.json Version: 2 structureChanged: false structureIsReused:: Not Elapsed:: *ms Info 59 [16:02:20.000] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls/FnS.d.ts.map 2000 undefined WatchType: Missing source map file +After request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -620,6 +628,7 @@ Info 61 [16:02:22.000] request: "seq": 3, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -651,6 +660,7 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +After request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -730,6 +740,7 @@ Info 63 [16:02:24.000] request: "seq": 4, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -761,6 +772,7 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +After request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -840,6 +852,7 @@ Info 65 [16:02:26.000] request: "seq": 5, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -871,6 +884,7 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +After request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -950,6 +964,7 @@ Info 67 [16:02:28.000] request: "seq": 6, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -981,6 +996,7 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +After request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -1058,6 +1074,7 @@ Info 69 [16:02:30.000] request: "file": "/user/username/projects/myproject/random/random.ts" } } +Before request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -1101,6 +1118,7 @@ Info 71 [16:02:37.000] ----------------------------------------------- Info 71 [16:02:38.000] Open files: Info 71 [16:02:39.000] FileName: /user/username/projects/myproject/main/main.ts ProjectRootPath: undefined Info 71 [16:02:40.000] Projects: /user/username/projects/myproject/main/tsconfig.json +After request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -1147,6 +1165,7 @@ Info 72 [16:02:42.000] request: "file": "/user/username/projects/myproject/random/random.ts" } } +Before request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -1197,6 +1216,7 @@ Info 77 [16:02:54.000] FileName: /user/username/projects/myproject/main/main. Info 77 [16:02:55.000] Projects: /user/username/projects/myproject/main/tsconfig.json Info 77 [16:02:56.000] FileName: /user/username/projects/myproject/random/random.ts ProjectRootPath: undefined Info 77 [16:02:57.000] Projects: /user/username/projects/myproject/random/tsconfig.json +After request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -1239,6 +1259,7 @@ Info 78 [16:02:59.000] request: "file": "/user/username/projects/myproject/main/main.ts" } } +Before request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -1280,6 +1301,7 @@ Info 80 [16:03:06.000] ----------------------------------------------- Info 80 [16:03:07.000] Open files: Info 80 [16:03:08.000] FileName: /user/username/projects/myproject/random/random.ts ProjectRootPath: undefined Info 80 [16:03:09.000] Projects: /user/username/projects/myproject/random/tsconfig.json +After request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -1324,6 +1346,7 @@ Info 81 [16:03:11.000] request: "file": "/user/username/projects/myproject/random/random.ts" } } +Before request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -1365,6 +1388,7 @@ Info 83 [16:03:17.000] Files (2) Info 83 [16:03:18.000] ----------------------------------------------- Info 83 [16:03:19.000] Open files: +After request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -1411,6 +1435,7 @@ Info 84 [16:03:21.000] request: "file": "/user/username/projects/myproject/random/random.ts" } } +Before request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -1482,6 +1507,7 @@ Info 104 [16:03:43.000] ----------------------------------------------- Info 104 [16:03:44.000] Open files: Info 104 [16:03:45.000] FileName: /user/username/projects/myproject/random/random.ts ProjectRootPath: undefined Info 104 [16:03:46.000] Projects: /user/username/projects/myproject/random/tsconfig.json +After request PolledWatches:: /user/username/projects/myproject/node_modules/@types: diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/configHasNoReference/dependency-dtsMap-not-present.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/configHasNoReference/dependency-dtsMap-not-present.js index 99b9b468e1372..1d1bbb5657b0d 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/configHasNoReference/dependency-dtsMap-not-present.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/configHasNoReference/dependency-dtsMap-not-present.js @@ -8,6 +8,7 @@ Info 1 [16:01:05.000] request: "file": "/user/username/projects/myproject/main/main.ts" } } +Before request //// [/user/username/projects/myproject/dependency/FnS.ts] export function fn1() { } export function fn2() { } @@ -247,6 +248,7 @@ Info 25 [16:01:31.000] ----------------------------------------------- Info 25 [16:01:32.000] Open files: Info 25 [16:01:33.000] FileName: /user/username/projects/myproject/main/main.ts ProjectRootPath: undefined Info 25 [16:01:34.000] Projects: /user/username/projects/myproject/main/tsconfig.json +After request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -281,6 +283,7 @@ Info 26 [16:01:36.000] request: "file": "/user/username/projects/myproject/random/random.ts" } } +Before request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -348,6 +351,7 @@ Info 44 [16:02:01.000] FileName: /user/username/projects/myproject/main/main. Info 44 [16:02:02.000] Projects: /user/username/projects/myproject/main/tsconfig.json Info 44 [16:02:03.000] FileName: /user/username/projects/myproject/random/random.ts ProjectRootPath: undefined Info 44 [16:02:04.000] Projects: /user/username/projects/myproject/random/tsconfig.json +After request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -390,6 +394,7 @@ Info 45 [16:02:06.000] request: "seq": 1, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -418,6 +423,7 @@ FsWatchesRecursive:: {} Info 46 [16:02:07.000] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls/FnS.d.ts.map 2000 undefined WatchType: Missing source map file +After request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -495,6 +501,7 @@ Info 48 [16:02:09.000] request: "seq": 2, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -524,6 +531,7 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +After request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -601,6 +609,7 @@ Info 50 [16:02:11.000] request: "seq": 3, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -630,6 +639,7 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +After request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -707,6 +717,7 @@ Info 52 [16:02:13.000] request: "seq": 4, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -736,6 +747,7 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +After request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -813,6 +825,7 @@ Info 54 [16:02:15.000] request: "seq": 5, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -842,6 +855,7 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +After request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -917,6 +931,7 @@ Info 56 [16:02:17.000] request: "file": "/user/username/projects/myproject/random/random.ts" } } +Before request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -958,6 +973,7 @@ Info 58 [16:02:24.000] ----------------------------------------------- Info 58 [16:02:25.000] Open files: Info 58 [16:02:26.000] FileName: /user/username/projects/myproject/main/main.ts ProjectRootPath: undefined Info 58 [16:02:27.000] Projects: /user/username/projects/myproject/main/tsconfig.json +After request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -1002,6 +1018,7 @@ Info 59 [16:02:29.000] request: "file": "/user/username/projects/myproject/random/random.ts" } } +Before request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -1049,6 +1066,7 @@ Info 63 [16:02:40.000] FileName: /user/username/projects/myproject/main/main. Info 63 [16:02:41.000] Projects: /user/username/projects/myproject/main/tsconfig.json Info 63 [16:02:42.000] FileName: /user/username/projects/myproject/random/random.ts ProjectRootPath: undefined Info 63 [16:02:43.000] Projects: /user/username/projects/myproject/random/tsconfig.json +After request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -1091,6 +1109,7 @@ Info 64 [16:02:45.000] request: "file": "/user/username/projects/myproject/main/main.ts" } } +Before request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -1132,6 +1151,7 @@ Info 66 [16:02:52.000] ----------------------------------------------- Info 66 [16:02:53.000] Open files: Info 66 [16:02:54.000] FileName: /user/username/projects/myproject/random/random.ts ProjectRootPath: undefined Info 66 [16:02:55.000] Projects: /user/username/projects/myproject/random/tsconfig.json +After request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -1176,6 +1196,7 @@ Info 67 [16:02:57.000] request: "file": "/user/username/projects/myproject/random/random.ts" } } +Before request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -1217,6 +1238,7 @@ Info 69 [16:03:03.000] Files (2) Info 69 [16:03:04.000] ----------------------------------------------- Info 69 [16:03:05.000] Open files: +After request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -1263,6 +1285,7 @@ Info 70 [16:03:07.000] request: "file": "/user/username/projects/myproject/random/random.ts" } } +Before request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -1334,6 +1357,7 @@ Info 90 [16:03:29.000] ----------------------------------------------- Info 90 [16:03:30.000] Open files: Info 90 [16:03:31.000] FileName: /user/username/projects/myproject/random/random.ts ProjectRootPath: undefined Info 90 [16:03:32.000] Projects: /user/username/projects/myproject/random/tsconfig.json +After request PolledWatches:: /user/username/projects/myproject/node_modules/@types: diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/configHasNoReference/usage-file-changes-with-timeout-before-request.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/configHasNoReference/usage-file-changes-with-timeout-before-request.js index 09ccc6bcd7d1f..dad4a553d567c 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/configHasNoReference/usage-file-changes-with-timeout-before-request.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/configHasNoReference/usage-file-changes-with-timeout-before-request.js @@ -8,6 +8,7 @@ Info 1 [16:01:04.000] request: "file": "/user/username/projects/myproject/main/main.ts" } } +Before request //// [/user/username/projects/myproject/dependency/FnS.ts] export function fn1() { } export function fn2() { } @@ -250,6 +251,7 @@ Info 25 [16:01:30.000] ----------------------------------------------- Info 25 [16:01:31.000] Open files: Info 25 [16:01:32.000] FileName: /user/username/projects/myproject/main/main.ts ProjectRootPath: undefined Info 25 [16:01:33.000] Projects: /user/username/projects/myproject/main/tsconfig.json +After request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -284,6 +286,7 @@ Info 26 [16:01:35.000] request: "file": "/user/username/projects/myproject/random/random.ts" } } +Before request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -351,6 +354,7 @@ Info 44 [16:02:00.000] FileName: /user/username/projects/myproject/main/main. Info 44 [16:02:01.000] Projects: /user/username/projects/myproject/main/tsconfig.json Info 44 [16:02:02.000] FileName: /user/username/projects/myproject/random/random.ts ProjectRootPath: undefined Info 44 [16:02:03.000] Projects: /user/username/projects/myproject/random/tsconfig.json +After request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -393,6 +397,7 @@ Info 45 [16:02:05.000] request: "seq": 1, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -422,6 +427,7 @@ FsWatchesRecursive:: Info 46 [16:02:06.000] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls/FnS.d.ts.map 500 undefined WatchType: Closed Script info Info 47 [16:02:07.000] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/FnS.ts 500 undefined WatchType: Closed Script info +After request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -504,6 +510,7 @@ Info 49 [16:02:09.000] request: "seq": 2, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -535,6 +542,7 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +After request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -570,6 +578,70 @@ Info 50 [16:02:10.000] response: { "responseRequired": false } +Before running timeout callbacks + +PolledWatches:: +/user/username/projects/myproject/main/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/myproject/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/myproject/random/node_modules/@types: + {"pollingInterval":500} + +FsWatches:: +/user/username/projects/myproject/main/tsconfig.json: + {} +/user/username/projects/myproject/decls/fns.d.ts: + {} +/a/lib/lib.d.ts: + {} +/user/username/projects/myproject/random/tsconfig.json: + {} +/user/username/projects/myproject/decls/fns.d.ts.map: + {} +/user/username/projects/myproject/dependency/fns.ts: + {} + +FsWatchesRecursive:: +/user/username/projects/myproject/main: + {} +/user/username/projects/myproject/decls: + {} +/user/username/projects/myproject/random: + {} + +After running timeout callbacks + +PolledWatches:: +/user/username/projects/myproject/main/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/myproject/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/myproject/random/node_modules/@types: + {"pollingInterval":500} + +FsWatches:: +/user/username/projects/myproject/main/tsconfig.json: + {} +/user/username/projects/myproject/decls/fns.d.ts: + {} +/a/lib/lib.d.ts: + {} +/user/username/projects/myproject/random/tsconfig.json: + {} +/user/username/projects/myproject/decls/fns.d.ts.map: + {} +/user/username/projects/myproject/dependency/fns.ts: + {} + +FsWatchesRecursive:: +/user/username/projects/myproject/main: + {} +/user/username/projects/myproject/decls: + {} +/user/username/projects/myproject/random: + {} + Info 51 [16:02:11.000] request: { "command": "definitionAndBoundSpan", @@ -581,6 +653,7 @@ Info 51 [16:02:11.000] request: "seq": 3, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -615,6 +688,7 @@ FsWatchesRecursive:: Info 52 [16:02:12.000] Starting updateGraphWorker: Project: /user/username/projects/myproject/main/tsconfig.json Info 53 [16:02:13.000] Finishing updateGraphWorker: Project: /user/username/projects/myproject/main/tsconfig.json Version: 2 structureChanged: false structureIsReused:: Completely Elapsed:: *ms Info 54 [16:02:14.000] Different program with same set of files +After request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -694,6 +768,7 @@ Info 56 [16:02:16.000] request: "seq": 4, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -725,6 +800,7 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +After request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -804,6 +880,7 @@ Info 58 [16:02:18.000] request: "seq": 5, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -835,6 +912,7 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +After request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -914,6 +992,7 @@ Info 60 [16:02:20.000] request: "seq": 6, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -945,6 +1024,7 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +After request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -1024,6 +1104,7 @@ Info 62 [16:02:22.000] request: "seq": 7, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -1055,6 +1136,7 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +After request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/configHasNoReference/usage-file-changes.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/configHasNoReference/usage-file-changes.js index 09ccc6bcd7d1f..7d9f66bbe6ff8 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/configHasNoReference/usage-file-changes.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/configHasNoReference/usage-file-changes.js @@ -8,6 +8,7 @@ Info 1 [16:01:04.000] request: "file": "/user/username/projects/myproject/main/main.ts" } } +Before request //// [/user/username/projects/myproject/dependency/FnS.ts] export function fn1() { } export function fn2() { } @@ -250,6 +251,7 @@ Info 25 [16:01:30.000] ----------------------------------------------- Info 25 [16:01:31.000] Open files: Info 25 [16:01:32.000] FileName: /user/username/projects/myproject/main/main.ts ProjectRootPath: undefined Info 25 [16:01:33.000] Projects: /user/username/projects/myproject/main/tsconfig.json +After request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -284,6 +286,7 @@ Info 26 [16:01:35.000] request: "file": "/user/username/projects/myproject/random/random.ts" } } +Before request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -351,6 +354,7 @@ Info 44 [16:02:00.000] FileName: /user/username/projects/myproject/main/main. Info 44 [16:02:01.000] Projects: /user/username/projects/myproject/main/tsconfig.json Info 44 [16:02:02.000] FileName: /user/username/projects/myproject/random/random.ts ProjectRootPath: undefined Info 44 [16:02:03.000] Projects: /user/username/projects/myproject/random/tsconfig.json +After request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -393,6 +397,7 @@ Info 45 [16:02:05.000] request: "seq": 1, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -422,6 +427,7 @@ FsWatchesRecursive:: Info 46 [16:02:06.000] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls/FnS.d.ts.map 500 undefined WatchType: Closed Script info Info 47 [16:02:07.000] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/FnS.ts 500 undefined WatchType: Closed Script info +After request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -504,6 +510,7 @@ Info 49 [16:02:09.000] request: "seq": 2, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -535,6 +542,7 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +After request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -581,6 +589,7 @@ Info 51 [16:02:11.000] request: "seq": 3, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -615,6 +624,7 @@ FsWatchesRecursive:: Info 52 [16:02:12.000] Starting updateGraphWorker: Project: /user/username/projects/myproject/main/tsconfig.json Info 53 [16:02:13.000] Finishing updateGraphWorker: Project: /user/username/projects/myproject/main/tsconfig.json Version: 2 structureChanged: false structureIsReused:: Completely Elapsed:: *ms Info 54 [16:02:14.000] Different program with same set of files +After request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -694,6 +704,7 @@ Info 56 [16:02:16.000] request: "seq": 4, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -725,6 +736,7 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +After request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -804,6 +816,7 @@ Info 58 [16:02:18.000] request: "seq": 5, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -835,6 +848,7 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +After request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -914,6 +928,7 @@ Info 60 [16:02:20.000] request: "seq": 6, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -945,6 +960,7 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +After request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -1024,6 +1040,7 @@ Info 62 [16:02:22.000] request: "seq": 7, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -1055,6 +1072,7 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +After request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/configWithReference/can-go-to-definition-correctly.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/configWithReference/can-go-to-definition-correctly.js index 22f195e71c28d..5044e61f64e83 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/configWithReference/can-go-to-definition-correctly.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/configWithReference/can-go-to-definition-correctly.js @@ -8,6 +8,7 @@ Info 1 [16:01:01.000] request: "file": "/user/username/projects/myproject/main/main.ts" } } +Before request //// [/user/username/projects/myproject/dependency/FnS.ts] export function fn1() { } export function fn2() { } @@ -270,6 +271,7 @@ Info 29 [16:01:31.000] ----------------------------------------------- Info 29 [16:01:32.000] Open files: Info 29 [16:01:33.000] FileName: /user/username/projects/myproject/main/main.ts ProjectRootPath: undefined Info 29 [16:01:34.000] Projects: /user/username/projects/myproject/main/tsconfig.json +After request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -308,6 +310,7 @@ Info 30 [16:01:36.000] request: "file": "/user/username/projects/myproject/random/random.ts" } } +Before request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -379,6 +382,7 @@ Info 48 [16:02:01.000] FileName: /user/username/projects/myproject/main/main. Info 48 [16:02:02.000] Projects: /user/username/projects/myproject/main/tsconfig.json Info 48 [16:02:03.000] FileName: /user/username/projects/myproject/random/random.ts ProjectRootPath: undefined Info 48 [16:02:04.000] Projects: /user/username/projects/myproject/random/tsconfig.json +After request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -425,6 +429,7 @@ Info 49 [16:02:06.000] request: "seq": 1, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -456,6 +461,7 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +After request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -535,6 +541,7 @@ Info 51 [16:02:08.000] request: "seq": 2, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -566,6 +573,7 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +After request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -645,6 +653,7 @@ Info 53 [16:02:10.000] request: "seq": 3, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -676,6 +685,7 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +After request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -755,6 +765,7 @@ Info 55 [16:02:12.000] request: "seq": 4, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -786,6 +797,7 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +After request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -865,6 +877,7 @@ Info 57 [16:02:14.000] request: "seq": 5, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -896,6 +909,7 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +After request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -973,6 +987,7 @@ Info 59 [16:02:16.000] request: "file": "/user/username/projects/myproject/random/random.ts" } } +Before request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -1016,6 +1031,7 @@ Info 61 [16:02:23.000] ----------------------------------------------- Info 61 [16:02:24.000] Open files: Info 61 [16:02:25.000] FileName: /user/username/projects/myproject/main/main.ts ProjectRootPath: undefined Info 61 [16:02:26.000] Projects: /user/username/projects/myproject/main/tsconfig.json +After request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -1062,6 +1078,7 @@ Info 62 [16:02:28.000] request: "file": "/user/username/projects/myproject/random/random.ts" } } +Before request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -1111,6 +1128,7 @@ Info 66 [16:02:39.000] FileName: /user/username/projects/myproject/main/main. Info 66 [16:02:40.000] Projects: /user/username/projects/myproject/main/tsconfig.json Info 66 [16:02:41.000] FileName: /user/username/projects/myproject/random/random.ts ProjectRootPath: undefined Info 66 [16:02:42.000] Projects: /user/username/projects/myproject/random/tsconfig.json +After request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -1155,6 +1173,7 @@ Info 67 [16:02:44.000] request: "file": "/user/username/projects/myproject/main/main.ts" } } +Before request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -1198,6 +1217,7 @@ Info 69 [16:02:51.000] ----------------------------------------------- Info 69 [16:02:52.000] Open files: Info 69 [16:02:53.000] FileName: /user/username/projects/myproject/random/random.ts ProjectRootPath: undefined Info 69 [16:02:54.000] Projects: /user/username/projects/myproject/random/tsconfig.json +After request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -1244,6 +1264,7 @@ Info 70 [16:02:56.000] request: "file": "/user/username/projects/myproject/random/random.ts" } } +Before request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -1287,6 +1308,7 @@ Info 72 [16:03:02.000] Files (2) Info 72 [16:03:03.000] ----------------------------------------------- Info 72 [16:03:04.000] Open files: +After request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -1335,6 +1357,7 @@ Info 73 [16:03:06.000] request: "file": "/user/username/projects/myproject/random/random.ts" } } +Before request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -1410,6 +1433,7 @@ Info 95 [16:03:30.000] ----------------------------------------------- Info 95 [16:03:31.000] Open files: Info 95 [16:03:32.000] FileName: /user/username/projects/myproject/random/random.ts ProjectRootPath: undefined Info 95 [16:03:33.000] Projects: /user/username/projects/myproject/random/tsconfig.json +After request PolledWatches:: /user/username/projects/myproject/node_modules/@types: diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/configWithReference/dependency-dts-changes-with-timeout-before-request.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/configWithReference/dependency-dts-changes-with-timeout-before-request.js index f601d0b2fcb50..be85ca1451765 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/configWithReference/dependency-dts-changes-with-timeout-before-request.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/configWithReference/dependency-dts-changes-with-timeout-before-request.js @@ -8,6 +8,7 @@ Info 1 [16:01:01.000] request: "file": "/user/username/projects/myproject/main/main.ts" } } +Before request //// [/user/username/projects/myproject/dependency/FnS.ts] export function fn1() { } export function fn2() { } @@ -270,6 +271,7 @@ Info 29 [16:01:31.000] ----------------------------------------------- Info 29 [16:01:32.000] Open files: Info 29 [16:01:33.000] FileName: /user/username/projects/myproject/main/main.ts ProjectRootPath: undefined Info 29 [16:01:34.000] Projects: /user/username/projects/myproject/main/tsconfig.json +After request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -308,6 +310,7 @@ Info 30 [16:01:36.000] request: "file": "/user/username/projects/myproject/random/random.ts" } } +Before request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -379,6 +382,7 @@ Info 48 [16:02:01.000] FileName: /user/username/projects/myproject/main/main. Info 48 [16:02:02.000] Projects: /user/username/projects/myproject/main/tsconfig.json Info 48 [16:02:03.000] FileName: /user/username/projects/myproject/random/random.ts ProjectRootPath: undefined Info 48 [16:02:04.000] Projects: /user/username/projects/myproject/random/tsconfig.json +After request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -425,6 +429,7 @@ Info 49 [16:02:06.000] request: "seq": 1, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -456,6 +461,7 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +After request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -524,6 +530,79 @@ Info 50 [16:02:07.000] response: }, "responseRequired": true } +Before running timeout callbacks +//// [/user/username/projects/myproject/decls/FnS.d.ts] +export declare function fn1(): void; +export declare function fn2(): void; +export declare function fn3(): void; +export declare function fn4(): void; +export declare function fn5(): void; +export declare function fn6(): void; +//# sourceMappingURL=FnS.d.ts.map + + +PolledWatches:: +/user/username/projects/myproject/main/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/myproject/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/myproject/random/node_modules/@types: + {"pollingInterval":500} + +FsWatches:: +/user/username/projects/myproject/main/tsconfig.json: + {} +/user/username/projects/myproject/dependency/tsconfig.json: + {} +/user/username/projects/myproject/dependency/fns.ts: + {} +/a/lib/lib.d.ts: + {} +/user/username/projects/myproject/random/tsconfig.json: + {} + +FsWatchesRecursive:: +/user/username/projects/myproject/main: + {} +/user/username/projects/myproject/dependency: + {} +/user/username/projects/myproject/decls: + {} +/user/username/projects/myproject/random: + {} + +After running timeout callbacks + +PolledWatches:: +/user/username/projects/myproject/main/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/myproject/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/myproject/random/node_modules/@types: + {"pollingInterval":500} + +FsWatches:: +/user/username/projects/myproject/main/tsconfig.json: + {} +/user/username/projects/myproject/dependency/tsconfig.json: + {} +/user/username/projects/myproject/dependency/fns.ts: + {} +/a/lib/lib.d.ts: + {} +/user/username/projects/myproject/random/tsconfig.json: + {} + +FsWatchesRecursive:: +/user/username/projects/myproject/main: + {} +/user/username/projects/myproject/dependency: + {} +/user/username/projects/myproject/decls: + {} +/user/username/projects/myproject/random: + {} + Info 51 [16:02:11.000] request: { "command": "definitionAndBoundSpan", @@ -535,15 +614,7 @@ Info 51 [16:02:11.000] request: "seq": 2, "type": "request" } -//// [/user/username/projects/myproject/decls/FnS.d.ts] -export declare function fn1(): void; -export declare function fn2(): void; -export declare function fn3(): void; -export declare function fn4(): void; -export declare function fn5(): void; -export declare function fn6(): void; -//# sourceMappingURL=FnS.d.ts.map - +Before request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -575,6 +646,7 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +After request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -654,6 +726,7 @@ Info 53 [16:02:13.000] request: "seq": 3, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -685,6 +758,7 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +After request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -764,6 +838,7 @@ Info 55 [16:02:15.000] request: "seq": 4, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -795,6 +870,7 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +After request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -874,6 +950,7 @@ Info 57 [16:02:17.000] request: "seq": 5, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -905,6 +982,7 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +After request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -984,6 +1062,7 @@ Info 59 [16:02:19.000] request: "seq": 6, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -1015,6 +1094,7 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +After request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/configWithReference/dependency-dts-changes.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/configWithReference/dependency-dts-changes.js index f601d0b2fcb50..ca5f9519a1415 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/configWithReference/dependency-dts-changes.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/configWithReference/dependency-dts-changes.js @@ -8,6 +8,7 @@ Info 1 [16:01:01.000] request: "file": "/user/username/projects/myproject/main/main.ts" } } +Before request //// [/user/username/projects/myproject/dependency/FnS.ts] export function fn1() { } export function fn2() { } @@ -270,6 +271,7 @@ Info 29 [16:01:31.000] ----------------------------------------------- Info 29 [16:01:32.000] Open files: Info 29 [16:01:33.000] FileName: /user/username/projects/myproject/main/main.ts ProjectRootPath: undefined Info 29 [16:01:34.000] Projects: /user/username/projects/myproject/main/tsconfig.json +After request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -308,6 +310,7 @@ Info 30 [16:01:36.000] request: "file": "/user/username/projects/myproject/random/random.ts" } } +Before request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -379,6 +382,7 @@ Info 48 [16:02:01.000] FileName: /user/username/projects/myproject/main/main. Info 48 [16:02:02.000] Projects: /user/username/projects/myproject/main/tsconfig.json Info 48 [16:02:03.000] FileName: /user/username/projects/myproject/random/random.ts ProjectRootPath: undefined Info 48 [16:02:04.000] Projects: /user/username/projects/myproject/random/tsconfig.json +After request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -425,6 +429,7 @@ Info 49 [16:02:06.000] request: "seq": 1, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -456,6 +461,7 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +After request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -535,6 +541,7 @@ Info 51 [16:02:11.000] request: "seq": 2, "type": "request" } +Before request //// [/user/username/projects/myproject/decls/FnS.d.ts] export declare function fn1(): void; export declare function fn2(): void; @@ -575,6 +582,7 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +After request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -654,6 +662,7 @@ Info 53 [16:02:13.000] request: "seq": 3, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -685,6 +694,7 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +After request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -764,6 +774,7 @@ Info 55 [16:02:15.000] request: "seq": 4, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -795,6 +806,7 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +After request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -874,6 +886,7 @@ Info 57 [16:02:17.000] request: "seq": 5, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -905,6 +918,7 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +After request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -984,6 +998,7 @@ Info 59 [16:02:19.000] request: "seq": 6, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -1015,6 +1030,7 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +After request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/configWithReference/dependency-dts-created.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/configWithReference/dependency-dts-created.js index c1e588e31c82c..c50bb127ebf1e 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/configWithReference/dependency-dts-created.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/configWithReference/dependency-dts-created.js @@ -8,6 +8,7 @@ Info 1 [16:01:02.000] request: "file": "/user/username/projects/myproject/main/main.ts" } } +Before request //// [/user/username/projects/myproject/dependency/FnS.ts] export function fn1() { } export function fn2() { } @@ -262,6 +263,7 @@ Info 29 [16:01:32.000] ----------------------------------------------- Info 29 [16:01:33.000] Open files: Info 29 [16:01:34.000] FileName: /user/username/projects/myproject/main/main.ts ProjectRootPath: undefined Info 29 [16:01:35.000] Projects: /user/username/projects/myproject/main/tsconfig.json +After request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -300,6 +302,7 @@ Info 30 [16:01:37.000] request: "file": "/user/username/projects/myproject/random/random.ts" } } +Before request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -371,6 +374,7 @@ Info 48 [16:02:02.000] FileName: /user/username/projects/myproject/main/main. Info 48 [16:02:03.000] Projects: /user/username/projects/myproject/main/tsconfig.json Info 48 [16:02:04.000] FileName: /user/username/projects/myproject/random/random.ts ProjectRootPath: undefined Info 48 [16:02:05.000] Projects: /user/username/projects/myproject/random/tsconfig.json +After request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -417,6 +421,7 @@ Info 49 [16:02:07.000] request: "seq": 1, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -448,6 +453,7 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +After request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -530,6 +536,7 @@ Info 54 [16:02:14.000] request: "seq": 2, "type": "request" } +Before request //// [/user/username/projects/myproject/decls/FnS.d.ts] export declare function fn1(): void; export declare function fn2(): void; @@ -569,6 +576,7 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +After request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -648,6 +656,7 @@ Info 56 [16:02:16.000] request: "seq": 3, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -679,6 +688,7 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +After request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -758,6 +768,7 @@ Info 58 [16:02:18.000] request: "seq": 4, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -789,6 +800,7 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +After request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -868,6 +880,7 @@ Info 60 [16:02:20.000] request: "seq": 5, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -899,6 +912,7 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +After request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -978,6 +992,7 @@ Info 62 [16:02:22.000] request: "seq": 6, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -1009,6 +1024,7 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +After request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -1086,6 +1102,7 @@ Info 64 [16:02:24.000] request: "file": "/user/username/projects/myproject/random/random.ts" } } +Before request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -1129,6 +1146,7 @@ Info 66 [16:02:31.000] ----------------------------------------------- Info 66 [16:02:32.000] Open files: Info 66 [16:02:33.000] FileName: /user/username/projects/myproject/main/main.ts ProjectRootPath: undefined Info 66 [16:02:34.000] Projects: /user/username/projects/myproject/main/tsconfig.json +After request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -1175,6 +1193,7 @@ Info 67 [16:02:36.000] request: "file": "/user/username/projects/myproject/random/random.ts" } } +Before request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -1224,6 +1243,7 @@ Info 71 [16:02:47.000] FileName: /user/username/projects/myproject/main/main. Info 71 [16:02:48.000] Projects: /user/username/projects/myproject/main/tsconfig.json Info 71 [16:02:49.000] FileName: /user/username/projects/myproject/random/random.ts ProjectRootPath: undefined Info 71 [16:02:50.000] Projects: /user/username/projects/myproject/random/tsconfig.json +After request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -1268,6 +1288,7 @@ Info 72 [16:02:52.000] request: "file": "/user/username/projects/myproject/main/main.ts" } } +Before request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -1311,6 +1332,7 @@ Info 74 [16:02:59.000] ----------------------------------------------- Info 74 [16:03:00.000] Open files: Info 74 [16:03:01.000] FileName: /user/username/projects/myproject/random/random.ts ProjectRootPath: undefined Info 74 [16:03:02.000] Projects: /user/username/projects/myproject/random/tsconfig.json +After request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -1357,6 +1379,7 @@ Info 75 [16:03:04.000] request: "file": "/user/username/projects/myproject/random/random.ts" } } +Before request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -1400,6 +1423,7 @@ Info 77 [16:03:10.000] Files (2) Info 77 [16:03:11.000] ----------------------------------------------- Info 77 [16:03:12.000] Open files: +After request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -1448,6 +1472,7 @@ Info 78 [16:03:14.000] request: "file": "/user/username/projects/myproject/random/random.ts" } } +Before request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -1523,6 +1548,7 @@ Info 100 [16:03:38.000] ----------------------------------------------- Info 100 [16:03:39.000] Open files: Info 100 [16:03:40.000] FileName: /user/username/projects/myproject/random/random.ts ProjectRootPath: undefined Info 100 [16:03:41.000] Projects: /user/username/projects/myproject/random/tsconfig.json +After request PolledWatches:: /user/username/projects/myproject/node_modules/@types: diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/configWithReference/dependency-dts-deleted.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/configWithReference/dependency-dts-deleted.js index b88918e64020a..ea10299b24660 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/configWithReference/dependency-dts-deleted.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/configWithReference/dependency-dts-deleted.js @@ -8,6 +8,7 @@ Info 1 [16:01:01.000] request: "file": "/user/username/projects/myproject/main/main.ts" } } +Before request //// [/user/username/projects/myproject/dependency/FnS.ts] export function fn1() { } export function fn2() { } @@ -270,6 +271,7 @@ Info 29 [16:01:31.000] ----------------------------------------------- Info 29 [16:01:32.000] Open files: Info 29 [16:01:33.000] FileName: /user/username/projects/myproject/main/main.ts ProjectRootPath: undefined Info 29 [16:01:34.000] Projects: /user/username/projects/myproject/main/tsconfig.json +After request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -308,6 +310,7 @@ Info 30 [16:01:36.000] request: "file": "/user/username/projects/myproject/random/random.ts" } } +Before request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -379,6 +382,7 @@ Info 48 [16:02:01.000] FileName: /user/username/projects/myproject/main/main. Info 48 [16:02:02.000] Projects: /user/username/projects/myproject/main/tsconfig.json Info 48 [16:02:03.000] FileName: /user/username/projects/myproject/random/random.ts ProjectRootPath: undefined Info 48 [16:02:04.000] Projects: /user/username/projects/myproject/random/tsconfig.json +After request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -425,6 +429,7 @@ Info 49 [16:02:06.000] request: "seq": 1, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -456,6 +461,7 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +After request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -538,6 +544,7 @@ Info 54 [16:02:12.000] request: "seq": 2, "type": "request" } +Before request //// [/user/username/projects/myproject/decls/FnS.d.ts] deleted PolledWatches:: @@ -570,6 +577,7 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +After request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -649,6 +657,7 @@ Info 56 [16:02:14.000] request: "seq": 3, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -680,6 +689,7 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +After request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -759,6 +769,7 @@ Info 58 [16:02:16.000] request: "seq": 4, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -790,6 +801,7 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +After request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -869,6 +881,7 @@ Info 60 [16:02:18.000] request: "seq": 5, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -900,6 +913,7 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +After request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -979,6 +993,7 @@ Info 62 [16:02:20.000] request: "seq": 6, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -1010,6 +1025,7 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +After request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -1087,6 +1103,7 @@ Info 64 [16:02:22.000] request: "file": "/user/username/projects/myproject/random/random.ts" } } +Before request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -1130,6 +1147,7 @@ Info 66 [16:02:29.000] ----------------------------------------------- Info 66 [16:02:30.000] Open files: Info 66 [16:02:31.000] FileName: /user/username/projects/myproject/main/main.ts ProjectRootPath: undefined Info 66 [16:02:32.000] Projects: /user/username/projects/myproject/main/tsconfig.json +After request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -1176,6 +1194,7 @@ Info 67 [16:02:34.000] request: "file": "/user/username/projects/myproject/random/random.ts" } } +Before request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -1225,6 +1244,7 @@ Info 71 [16:02:45.000] FileName: /user/username/projects/myproject/main/main. Info 71 [16:02:46.000] Projects: /user/username/projects/myproject/main/tsconfig.json Info 71 [16:02:47.000] FileName: /user/username/projects/myproject/random/random.ts ProjectRootPath: undefined Info 71 [16:02:48.000] Projects: /user/username/projects/myproject/random/tsconfig.json +After request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -1269,6 +1289,7 @@ Info 72 [16:02:50.000] request: "file": "/user/username/projects/myproject/main/main.ts" } } +Before request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -1312,6 +1333,7 @@ Info 74 [16:02:57.000] ----------------------------------------------- Info 74 [16:02:58.000] Open files: Info 74 [16:02:59.000] FileName: /user/username/projects/myproject/random/random.ts ProjectRootPath: undefined Info 74 [16:03:00.000] Projects: /user/username/projects/myproject/random/tsconfig.json +After request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -1358,6 +1380,7 @@ Info 75 [16:03:02.000] request: "file": "/user/username/projects/myproject/random/random.ts" } } +Before request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -1401,6 +1424,7 @@ Info 77 [16:03:08.000] Files (2) Info 77 [16:03:09.000] ----------------------------------------------- Info 77 [16:03:10.000] Open files: +After request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -1449,6 +1473,7 @@ Info 78 [16:03:12.000] request: "file": "/user/username/projects/myproject/random/random.ts" } } +Before request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -1524,6 +1549,7 @@ Info 100 [16:03:36.000] ----------------------------------------------- Info 100 [16:03:37.000] Open files: Info 100 [16:03:38.000] FileName: /user/username/projects/myproject/random/random.ts ProjectRootPath: undefined Info 100 [16:03:39.000] Projects: /user/username/projects/myproject/random/tsconfig.json +After request PolledWatches:: /user/username/projects/myproject/node_modules/@types: diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/configWithReference/dependency-dts-not-present.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/configWithReference/dependency-dts-not-present.js index 1faf21af4bdc1..1d5211b7d1485 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/configWithReference/dependency-dts-not-present.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/configWithReference/dependency-dts-not-present.js @@ -8,6 +8,7 @@ Info 1 [16:01:02.000] request: "file": "/user/username/projects/myproject/main/main.ts" } } +Before request //// [/user/username/projects/myproject/dependency/FnS.ts] export function fn1() { } export function fn2() { } @@ -262,6 +263,7 @@ Info 29 [16:01:32.000] ----------------------------------------------- Info 29 [16:01:33.000] Open files: Info 29 [16:01:34.000] FileName: /user/username/projects/myproject/main/main.ts ProjectRootPath: undefined Info 29 [16:01:35.000] Projects: /user/username/projects/myproject/main/tsconfig.json +After request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -300,6 +302,7 @@ Info 30 [16:01:37.000] request: "file": "/user/username/projects/myproject/random/random.ts" } } +Before request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -371,6 +374,7 @@ Info 48 [16:02:02.000] FileName: /user/username/projects/myproject/main/main. Info 48 [16:02:03.000] Projects: /user/username/projects/myproject/main/tsconfig.json Info 48 [16:02:04.000] FileName: /user/username/projects/myproject/random/random.ts ProjectRootPath: undefined Info 48 [16:02:05.000] Projects: /user/username/projects/myproject/random/tsconfig.json +After request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -417,6 +421,7 @@ Info 49 [16:02:07.000] request: "seq": 1, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -448,6 +453,7 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +After request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -527,6 +533,7 @@ Info 51 [16:02:09.000] request: "seq": 2, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -558,6 +565,7 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +After request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -637,6 +645,7 @@ Info 53 [16:02:11.000] request: "seq": 3, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -668,6 +677,7 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +After request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -747,6 +757,7 @@ Info 55 [16:02:13.000] request: "seq": 4, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -778,6 +789,7 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +After request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -857,6 +869,7 @@ Info 57 [16:02:15.000] request: "seq": 5, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -888,6 +901,7 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +After request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -965,6 +979,7 @@ Info 59 [16:02:17.000] request: "file": "/user/username/projects/myproject/random/random.ts" } } +Before request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -1008,6 +1023,7 @@ Info 61 [16:02:24.000] ----------------------------------------------- Info 61 [16:02:25.000] Open files: Info 61 [16:02:26.000] FileName: /user/username/projects/myproject/main/main.ts ProjectRootPath: undefined Info 61 [16:02:27.000] Projects: /user/username/projects/myproject/main/tsconfig.json +After request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -1054,6 +1070,7 @@ Info 62 [16:02:29.000] request: "file": "/user/username/projects/myproject/random/random.ts" } } +Before request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -1103,6 +1120,7 @@ Info 66 [16:02:40.000] FileName: /user/username/projects/myproject/main/main. Info 66 [16:02:41.000] Projects: /user/username/projects/myproject/main/tsconfig.json Info 66 [16:02:42.000] FileName: /user/username/projects/myproject/random/random.ts ProjectRootPath: undefined Info 66 [16:02:43.000] Projects: /user/username/projects/myproject/random/tsconfig.json +After request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -1147,6 +1165,7 @@ Info 67 [16:02:45.000] request: "file": "/user/username/projects/myproject/main/main.ts" } } +Before request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -1190,6 +1209,7 @@ Info 69 [16:02:52.000] ----------------------------------------------- Info 69 [16:02:53.000] Open files: Info 69 [16:02:54.000] FileName: /user/username/projects/myproject/random/random.ts ProjectRootPath: undefined Info 69 [16:02:55.000] Projects: /user/username/projects/myproject/random/tsconfig.json +After request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -1236,6 +1256,7 @@ Info 70 [16:02:57.000] request: "file": "/user/username/projects/myproject/random/random.ts" } } +Before request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -1279,6 +1300,7 @@ Info 72 [16:03:03.000] Files (2) Info 72 [16:03:04.000] ----------------------------------------------- Info 72 [16:03:05.000] Open files: +After request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -1327,6 +1349,7 @@ Info 73 [16:03:07.000] request: "file": "/user/username/projects/myproject/random/random.ts" } } +Before request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -1402,6 +1425,7 @@ Info 95 [16:03:31.000] ----------------------------------------------- Info 95 [16:03:32.000] Open files: Info 95 [16:03:33.000] FileName: /user/username/projects/myproject/random/random.ts ProjectRootPath: undefined Info 95 [16:03:34.000] Projects: /user/username/projects/myproject/random/tsconfig.json +After request PolledWatches:: /user/username/projects/myproject/node_modules/@types: diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/configWithReference/dependency-dtsMap-changes-with-timeout-before-request.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/configWithReference/dependency-dtsMap-changes-with-timeout-before-request.js index 4905d928e47c0..117039d584dd1 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/configWithReference/dependency-dtsMap-changes-with-timeout-before-request.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/configWithReference/dependency-dtsMap-changes-with-timeout-before-request.js @@ -8,6 +8,7 @@ Info 1 [16:01:01.000] request: "file": "/user/username/projects/myproject/main/main.ts" } } +Before request //// [/user/username/projects/myproject/dependency/FnS.ts] export function fn1() { } export function fn2() { } @@ -270,6 +271,7 @@ Info 29 [16:01:31.000] ----------------------------------------------- Info 29 [16:01:32.000] Open files: Info 29 [16:01:33.000] FileName: /user/username/projects/myproject/main/main.ts ProjectRootPath: undefined Info 29 [16:01:34.000] Projects: /user/username/projects/myproject/main/tsconfig.json +After request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -308,6 +310,7 @@ Info 30 [16:01:36.000] request: "file": "/user/username/projects/myproject/random/random.ts" } } +Before request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -379,6 +382,7 @@ Info 48 [16:02:01.000] FileName: /user/username/projects/myproject/main/main. Info 48 [16:02:02.000] Projects: /user/username/projects/myproject/main/tsconfig.json Info 48 [16:02:03.000] FileName: /user/username/projects/myproject/random/random.ts ProjectRootPath: undefined Info 48 [16:02:04.000] Projects: /user/username/projects/myproject/random/tsconfig.json +After request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -425,6 +429,7 @@ Info 49 [16:02:06.000] request: "seq": 1, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -456,6 +461,7 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +After request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -524,6 +530,73 @@ Info 50 [16:02:07.000] response: }, "responseRequired": true } +Before running timeout callbacks +//// [/user/username/projects/myproject/decls/FnS.d.ts.map] +{"version":3,"file":"FnS.d.ts","sourceRoot":"","sources":["../dependency/FnS.ts"],"names":[],"mappings":"AAAA,wBAAgB,GAAG,SAAM;AACzB,wBAAgB,GAAG,SAAM;AACzB,wBAAgB,GAAG,SAAM;AACzB,wBAAgB,GAAG,SAAM;AACzB,wBAAgB,GAAG,SAAM;AACzB,eAAO,MAAM,CAAC,KAAK,CAAC"} + + +PolledWatches:: +/user/username/projects/myproject/main/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/myproject/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/myproject/random/node_modules/@types: + {"pollingInterval":500} + +FsWatches:: +/user/username/projects/myproject/main/tsconfig.json: + {} +/user/username/projects/myproject/dependency/tsconfig.json: + {} +/user/username/projects/myproject/dependency/fns.ts: + {} +/a/lib/lib.d.ts: + {} +/user/username/projects/myproject/random/tsconfig.json: + {} + +FsWatchesRecursive:: +/user/username/projects/myproject/main: + {} +/user/username/projects/myproject/dependency: + {} +/user/username/projects/myproject/decls: + {} +/user/username/projects/myproject/random: + {} + +After running timeout callbacks + +PolledWatches:: +/user/username/projects/myproject/main/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/myproject/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/myproject/random/node_modules/@types: + {"pollingInterval":500} + +FsWatches:: +/user/username/projects/myproject/main/tsconfig.json: + {} +/user/username/projects/myproject/dependency/tsconfig.json: + {} +/user/username/projects/myproject/dependency/fns.ts: + {} +/a/lib/lib.d.ts: + {} +/user/username/projects/myproject/random/tsconfig.json: + {} + +FsWatchesRecursive:: +/user/username/projects/myproject/main: + {} +/user/username/projects/myproject/dependency: + {} +/user/username/projects/myproject/decls: + {} +/user/username/projects/myproject/random: + {} + Info 51 [16:02:11.000] request: { "command": "definitionAndBoundSpan", @@ -535,9 +608,7 @@ Info 51 [16:02:11.000] request: "seq": 2, "type": "request" } -//// [/user/username/projects/myproject/decls/FnS.d.ts.map] -{"version":3,"file":"FnS.d.ts","sourceRoot":"","sources":["../dependency/FnS.ts"],"names":[],"mappings":"AAAA,wBAAgB,GAAG,SAAM;AACzB,wBAAgB,GAAG,SAAM;AACzB,wBAAgB,GAAG,SAAM;AACzB,wBAAgB,GAAG,SAAM;AACzB,wBAAgB,GAAG,SAAM;AACzB,eAAO,MAAM,CAAC,KAAK,CAAC"} - +Before request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -569,6 +640,7 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +After request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -648,6 +720,7 @@ Info 53 [16:02:13.000] request: "seq": 3, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -679,6 +752,7 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +After request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -758,6 +832,7 @@ Info 55 [16:02:15.000] request: "seq": 4, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -789,6 +864,7 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +After request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -868,6 +944,7 @@ Info 57 [16:02:17.000] request: "seq": 5, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -899,6 +976,7 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +After request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -978,6 +1056,7 @@ Info 59 [16:02:19.000] request: "seq": 6, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -1009,6 +1088,7 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +After request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/configWithReference/dependency-dtsMap-changes.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/configWithReference/dependency-dtsMap-changes.js index 4905d928e47c0..ab91c409f696e 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/configWithReference/dependency-dtsMap-changes.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/configWithReference/dependency-dtsMap-changes.js @@ -8,6 +8,7 @@ Info 1 [16:01:01.000] request: "file": "/user/username/projects/myproject/main/main.ts" } } +Before request //// [/user/username/projects/myproject/dependency/FnS.ts] export function fn1() { } export function fn2() { } @@ -270,6 +271,7 @@ Info 29 [16:01:31.000] ----------------------------------------------- Info 29 [16:01:32.000] Open files: Info 29 [16:01:33.000] FileName: /user/username/projects/myproject/main/main.ts ProjectRootPath: undefined Info 29 [16:01:34.000] Projects: /user/username/projects/myproject/main/tsconfig.json +After request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -308,6 +310,7 @@ Info 30 [16:01:36.000] request: "file": "/user/username/projects/myproject/random/random.ts" } } +Before request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -379,6 +382,7 @@ Info 48 [16:02:01.000] FileName: /user/username/projects/myproject/main/main. Info 48 [16:02:02.000] Projects: /user/username/projects/myproject/main/tsconfig.json Info 48 [16:02:03.000] FileName: /user/username/projects/myproject/random/random.ts ProjectRootPath: undefined Info 48 [16:02:04.000] Projects: /user/username/projects/myproject/random/tsconfig.json +After request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -425,6 +429,7 @@ Info 49 [16:02:06.000] request: "seq": 1, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -456,6 +461,7 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +After request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -535,6 +541,7 @@ Info 51 [16:02:11.000] request: "seq": 2, "type": "request" } +Before request //// [/user/username/projects/myproject/decls/FnS.d.ts.map] {"version":3,"file":"FnS.d.ts","sourceRoot":"","sources":["../dependency/FnS.ts"],"names":[],"mappings":"AAAA,wBAAgB,GAAG,SAAM;AACzB,wBAAgB,GAAG,SAAM;AACzB,wBAAgB,GAAG,SAAM;AACzB,wBAAgB,GAAG,SAAM;AACzB,wBAAgB,GAAG,SAAM;AACzB,eAAO,MAAM,CAAC,KAAK,CAAC"} @@ -569,6 +576,7 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +After request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -648,6 +656,7 @@ Info 53 [16:02:13.000] request: "seq": 3, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -679,6 +688,7 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +After request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -758,6 +768,7 @@ Info 55 [16:02:15.000] request: "seq": 4, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -789,6 +800,7 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +After request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -868,6 +880,7 @@ Info 57 [16:02:17.000] request: "seq": 5, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -899,6 +912,7 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +After request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -978,6 +992,7 @@ Info 59 [16:02:19.000] request: "seq": 6, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -1009,6 +1024,7 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +After request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/configWithReference/dependency-dtsMap-created.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/configWithReference/dependency-dtsMap-created.js index 27335971ad452..479147a709989 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/configWithReference/dependency-dtsMap-created.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/configWithReference/dependency-dtsMap-created.js @@ -8,6 +8,7 @@ Info 1 [16:01:02.000] request: "file": "/user/username/projects/myproject/main/main.ts" } } +Before request //// [/user/username/projects/myproject/dependency/FnS.ts] export function fn1() { } export function fn2() { } @@ -267,6 +268,7 @@ Info 29 [16:01:32.000] ----------------------------------------------- Info 29 [16:01:33.000] Open files: Info 29 [16:01:34.000] FileName: /user/username/projects/myproject/main/main.ts ProjectRootPath: undefined Info 29 [16:01:35.000] Projects: /user/username/projects/myproject/main/tsconfig.json +After request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -305,6 +307,7 @@ Info 30 [16:01:37.000] request: "file": "/user/username/projects/myproject/random/random.ts" } } +Before request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -376,6 +379,7 @@ Info 48 [16:02:02.000] FileName: /user/username/projects/myproject/main/main. Info 48 [16:02:03.000] Projects: /user/username/projects/myproject/main/tsconfig.json Info 48 [16:02:04.000] FileName: /user/username/projects/myproject/random/random.ts ProjectRootPath: undefined Info 48 [16:02:05.000] Projects: /user/username/projects/myproject/random/tsconfig.json +After request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -422,6 +426,7 @@ Info 49 [16:02:07.000] request: "seq": 1, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -453,6 +458,7 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +After request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -534,6 +540,7 @@ Info 53 [16:02:13.000] request: "seq": 2, "type": "request" } +Before request //// [/user/username/projects/myproject/decls/FnS.d.ts.map] {"version":3,"file":"FnS.d.ts","sourceRoot":"","sources":["../dependency/FnS.ts"],"names":[],"mappings":"AAAA,wBAAgB,GAAG,SAAM;AACzB,wBAAgB,GAAG,SAAM;AACzB,wBAAgB,GAAG,SAAM;AACzB,wBAAgB,GAAG,SAAM;AACzB,wBAAgB,GAAG,SAAM"} @@ -568,6 +575,7 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +After request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -647,6 +655,7 @@ Info 55 [16:02:15.000] request: "seq": 3, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -678,6 +687,7 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +After request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -757,6 +767,7 @@ Info 57 [16:02:17.000] request: "seq": 4, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -788,6 +799,7 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +After request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -867,6 +879,7 @@ Info 59 [16:02:19.000] request: "seq": 5, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -898,6 +911,7 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +After request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -977,6 +991,7 @@ Info 61 [16:02:21.000] request: "seq": 6, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -1008,6 +1023,7 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +After request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -1085,6 +1101,7 @@ Info 63 [16:02:23.000] request: "file": "/user/username/projects/myproject/random/random.ts" } } +Before request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -1128,6 +1145,7 @@ Info 65 [16:02:30.000] ----------------------------------------------- Info 65 [16:02:31.000] Open files: Info 65 [16:02:32.000] FileName: /user/username/projects/myproject/main/main.ts ProjectRootPath: undefined Info 65 [16:02:33.000] Projects: /user/username/projects/myproject/main/tsconfig.json +After request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -1174,6 +1192,7 @@ Info 66 [16:02:35.000] request: "file": "/user/username/projects/myproject/random/random.ts" } } +Before request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -1223,6 +1242,7 @@ Info 70 [16:02:46.000] FileName: /user/username/projects/myproject/main/main. Info 70 [16:02:47.000] Projects: /user/username/projects/myproject/main/tsconfig.json Info 70 [16:02:48.000] FileName: /user/username/projects/myproject/random/random.ts ProjectRootPath: undefined Info 70 [16:02:49.000] Projects: /user/username/projects/myproject/random/tsconfig.json +After request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -1267,6 +1287,7 @@ Info 71 [16:02:51.000] request: "file": "/user/username/projects/myproject/main/main.ts" } } +Before request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -1310,6 +1331,7 @@ Info 73 [16:02:58.000] ----------------------------------------------- Info 73 [16:02:59.000] Open files: Info 73 [16:03:00.000] FileName: /user/username/projects/myproject/random/random.ts ProjectRootPath: undefined Info 73 [16:03:01.000] Projects: /user/username/projects/myproject/random/tsconfig.json +After request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -1356,6 +1378,7 @@ Info 74 [16:03:03.000] request: "file": "/user/username/projects/myproject/random/random.ts" } } +Before request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -1399,6 +1422,7 @@ Info 76 [16:03:09.000] Files (2) Info 76 [16:03:10.000] ----------------------------------------------- Info 76 [16:03:11.000] Open files: +After request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -1447,6 +1471,7 @@ Info 77 [16:03:13.000] request: "file": "/user/username/projects/myproject/random/random.ts" } } +Before request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -1522,6 +1547,7 @@ Info 99 [16:03:37.000] ----------------------------------------------- Info 99 [16:03:38.000] Open files: Info 99 [16:03:39.000] FileName: /user/username/projects/myproject/random/random.ts ProjectRootPath: undefined Info 99 [16:03:40.000] Projects: /user/username/projects/myproject/random/tsconfig.json +After request PolledWatches:: /user/username/projects/myproject/node_modules/@types: diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/configWithReference/dependency-dtsMap-deleted.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/configWithReference/dependency-dtsMap-deleted.js index 6b0abeffddf6b..a84a06fc786fa 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/configWithReference/dependency-dtsMap-deleted.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/configWithReference/dependency-dtsMap-deleted.js @@ -8,6 +8,7 @@ Info 1 [16:01:01.000] request: "file": "/user/username/projects/myproject/main/main.ts" } } +Before request //// [/user/username/projects/myproject/dependency/FnS.ts] export function fn1() { } export function fn2() { } @@ -270,6 +271,7 @@ Info 29 [16:01:31.000] ----------------------------------------------- Info 29 [16:01:32.000] Open files: Info 29 [16:01:33.000] FileName: /user/username/projects/myproject/main/main.ts ProjectRootPath: undefined Info 29 [16:01:34.000] Projects: /user/username/projects/myproject/main/tsconfig.json +After request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -308,6 +310,7 @@ Info 30 [16:01:36.000] request: "file": "/user/username/projects/myproject/random/random.ts" } } +Before request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -379,6 +382,7 @@ Info 48 [16:02:01.000] FileName: /user/username/projects/myproject/main/main. Info 48 [16:02:02.000] Projects: /user/username/projects/myproject/main/tsconfig.json Info 48 [16:02:03.000] FileName: /user/username/projects/myproject/random/random.ts ProjectRootPath: undefined Info 48 [16:02:04.000] Projects: /user/username/projects/myproject/random/tsconfig.json +After request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -425,6 +429,7 @@ Info 49 [16:02:06.000] request: "seq": 1, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -456,6 +461,7 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +After request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -537,6 +543,7 @@ Info 53 [16:02:11.000] request: "seq": 2, "type": "request" } +Before request //// [/user/username/projects/myproject/decls/FnS.d.ts.map] deleted PolledWatches:: @@ -569,6 +576,7 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +After request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -648,6 +656,7 @@ Info 55 [16:02:13.000] request: "seq": 3, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -679,6 +688,7 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +After request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -758,6 +768,7 @@ Info 57 [16:02:15.000] request: "seq": 4, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -789,6 +800,7 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +After request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -868,6 +880,7 @@ Info 59 [16:02:17.000] request: "seq": 5, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -899,6 +912,7 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +After request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -978,6 +992,7 @@ Info 61 [16:02:19.000] request: "seq": 6, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -1009,6 +1024,7 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +After request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -1086,6 +1102,7 @@ Info 63 [16:02:21.000] request: "file": "/user/username/projects/myproject/random/random.ts" } } +Before request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -1129,6 +1146,7 @@ Info 65 [16:02:28.000] ----------------------------------------------- Info 65 [16:02:29.000] Open files: Info 65 [16:02:30.000] FileName: /user/username/projects/myproject/main/main.ts ProjectRootPath: undefined Info 65 [16:02:31.000] Projects: /user/username/projects/myproject/main/tsconfig.json +After request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -1175,6 +1193,7 @@ Info 66 [16:02:33.000] request: "file": "/user/username/projects/myproject/random/random.ts" } } +Before request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -1224,6 +1243,7 @@ Info 70 [16:02:44.000] FileName: /user/username/projects/myproject/main/main. Info 70 [16:02:45.000] Projects: /user/username/projects/myproject/main/tsconfig.json Info 70 [16:02:46.000] FileName: /user/username/projects/myproject/random/random.ts ProjectRootPath: undefined Info 70 [16:02:47.000] Projects: /user/username/projects/myproject/random/tsconfig.json +After request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -1268,6 +1288,7 @@ Info 71 [16:02:49.000] request: "file": "/user/username/projects/myproject/main/main.ts" } } +Before request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -1311,6 +1332,7 @@ Info 73 [16:02:56.000] ----------------------------------------------- Info 73 [16:02:57.000] Open files: Info 73 [16:02:58.000] FileName: /user/username/projects/myproject/random/random.ts ProjectRootPath: undefined Info 73 [16:02:59.000] Projects: /user/username/projects/myproject/random/tsconfig.json +After request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -1357,6 +1379,7 @@ Info 74 [16:03:01.000] request: "file": "/user/username/projects/myproject/random/random.ts" } } +Before request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -1400,6 +1423,7 @@ Info 76 [16:03:07.000] Files (2) Info 76 [16:03:08.000] ----------------------------------------------- Info 76 [16:03:09.000] Open files: +After request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -1448,6 +1472,7 @@ Info 77 [16:03:11.000] request: "file": "/user/username/projects/myproject/random/random.ts" } } +Before request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -1523,6 +1548,7 @@ Info 99 [16:03:35.000] ----------------------------------------------- Info 99 [16:03:36.000] Open files: Info 99 [16:03:37.000] FileName: /user/username/projects/myproject/random/random.ts ProjectRootPath: undefined Info 99 [16:03:38.000] Projects: /user/username/projects/myproject/random/tsconfig.json +After request PolledWatches:: /user/username/projects/myproject/node_modules/@types: diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/configWithReference/dependency-dtsMap-not-present.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/configWithReference/dependency-dtsMap-not-present.js index aa3614313397c..e090fa8886859 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/configWithReference/dependency-dtsMap-not-present.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/configWithReference/dependency-dtsMap-not-present.js @@ -8,6 +8,7 @@ Info 1 [16:01:02.000] request: "file": "/user/username/projects/myproject/main/main.ts" } } +Before request //// [/user/username/projects/myproject/dependency/FnS.ts] export function fn1() { } export function fn2() { } @@ -267,6 +268,7 @@ Info 29 [16:01:32.000] ----------------------------------------------- Info 29 [16:01:33.000] Open files: Info 29 [16:01:34.000] FileName: /user/username/projects/myproject/main/main.ts ProjectRootPath: undefined Info 29 [16:01:35.000] Projects: /user/username/projects/myproject/main/tsconfig.json +After request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -305,6 +307,7 @@ Info 30 [16:01:37.000] request: "file": "/user/username/projects/myproject/random/random.ts" } } +Before request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -376,6 +379,7 @@ Info 48 [16:02:02.000] FileName: /user/username/projects/myproject/main/main. Info 48 [16:02:03.000] Projects: /user/username/projects/myproject/main/tsconfig.json Info 48 [16:02:04.000] FileName: /user/username/projects/myproject/random/random.ts ProjectRootPath: undefined Info 48 [16:02:05.000] Projects: /user/username/projects/myproject/random/tsconfig.json +After request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -422,6 +426,7 @@ Info 49 [16:02:07.000] request: "seq": 1, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -453,6 +458,7 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +After request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -532,6 +538,7 @@ Info 51 [16:02:09.000] request: "seq": 2, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -563,6 +570,7 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +After request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -642,6 +650,7 @@ Info 53 [16:02:11.000] request: "seq": 3, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -673,6 +682,7 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +After request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -752,6 +762,7 @@ Info 55 [16:02:13.000] request: "seq": 4, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -783,6 +794,7 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +After request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -862,6 +874,7 @@ Info 57 [16:02:15.000] request: "seq": 5, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -893,6 +906,7 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +After request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -970,6 +984,7 @@ Info 59 [16:02:17.000] request: "file": "/user/username/projects/myproject/random/random.ts" } } +Before request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -1013,6 +1028,7 @@ Info 61 [16:02:24.000] ----------------------------------------------- Info 61 [16:02:25.000] Open files: Info 61 [16:02:26.000] FileName: /user/username/projects/myproject/main/main.ts ProjectRootPath: undefined Info 61 [16:02:27.000] Projects: /user/username/projects/myproject/main/tsconfig.json +After request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -1059,6 +1075,7 @@ Info 62 [16:02:29.000] request: "file": "/user/username/projects/myproject/random/random.ts" } } +Before request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -1108,6 +1125,7 @@ Info 66 [16:02:40.000] FileName: /user/username/projects/myproject/main/main. Info 66 [16:02:41.000] Projects: /user/username/projects/myproject/main/tsconfig.json Info 66 [16:02:42.000] FileName: /user/username/projects/myproject/random/random.ts ProjectRootPath: undefined Info 66 [16:02:43.000] Projects: /user/username/projects/myproject/random/tsconfig.json +After request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -1152,6 +1170,7 @@ Info 67 [16:02:45.000] request: "file": "/user/username/projects/myproject/main/main.ts" } } +Before request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -1195,6 +1214,7 @@ Info 69 [16:02:52.000] ----------------------------------------------- Info 69 [16:02:53.000] Open files: Info 69 [16:02:54.000] FileName: /user/username/projects/myproject/random/random.ts ProjectRootPath: undefined Info 69 [16:02:55.000] Projects: /user/username/projects/myproject/random/tsconfig.json +After request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -1241,6 +1261,7 @@ Info 70 [16:02:57.000] request: "file": "/user/username/projects/myproject/random/random.ts" } } +Before request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -1284,6 +1305,7 @@ Info 72 [16:03:03.000] Files (2) Info 72 [16:03:04.000] ----------------------------------------------- Info 72 [16:03:05.000] Open files: +After request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -1332,6 +1354,7 @@ Info 73 [16:03:07.000] request: "file": "/user/username/projects/myproject/random/random.ts" } } +Before request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -1407,6 +1430,7 @@ Info 95 [16:03:31.000] ----------------------------------------------- Info 95 [16:03:32.000] Open files: Info 95 [16:03:33.000] FileName: /user/username/projects/myproject/random/random.ts ProjectRootPath: undefined Info 95 [16:03:34.000] Projects: /user/username/projects/myproject/random/tsconfig.json +After request PolledWatches:: /user/username/projects/myproject/node_modules/@types: diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/configWithReference/dependency-source-changes-with-timeout-before-request.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/configWithReference/dependency-source-changes-with-timeout-before-request.js index ff96fd7926cd1..fc4fc71be2606 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/configWithReference/dependency-source-changes-with-timeout-before-request.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/configWithReference/dependency-source-changes-with-timeout-before-request.js @@ -8,6 +8,7 @@ Info 1 [16:01:01.000] request: "file": "/user/username/projects/myproject/main/main.ts" } } +Before request //// [/user/username/projects/myproject/dependency/FnS.ts] export function fn1() { } export function fn2() { } @@ -270,6 +271,7 @@ Info 29 [16:01:31.000] ----------------------------------------------- Info 29 [16:01:32.000] Open files: Info 29 [16:01:33.000] FileName: /user/username/projects/myproject/main/main.ts ProjectRootPath: undefined Info 29 [16:01:34.000] Projects: /user/username/projects/myproject/main/tsconfig.json +After request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -308,6 +310,7 @@ Info 30 [16:01:36.000] request: "file": "/user/username/projects/myproject/random/random.ts" } } +Before request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -379,6 +382,7 @@ Info 48 [16:02:01.000] FileName: /user/username/projects/myproject/main/main. Info 48 [16:02:02.000] Projects: /user/username/projects/myproject/main/tsconfig.json Info 48 [16:02:03.000] FileName: /user/username/projects/myproject/random/random.ts ProjectRootPath: undefined Info 48 [16:02:04.000] Projects: /user/username/projects/myproject/random/tsconfig.json +After request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -425,6 +429,7 @@ Info 49 [16:02:06.000] request: "seq": 1, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -456,6 +461,7 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +After request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -528,6 +534,47 @@ Info 51 [16:02:11.000] FileWatcher:: Triggered with /user/username/projects/my Info 52 [16:02:12.000] Scheduled: /user/username/projects/myproject/main/tsconfig.json Info 53 [16:02:13.000] Scheduled: *ensureProjectForOpenFiles* Info 54 [16:02:14.000] Elapsed:: *ms FileWatcher:: Triggered with /user/username/projects/myproject/dependency/FnS.ts 1:: WatchInfo: /user/username/projects/myproject/dependency/FnS.ts 500 undefined WatchType: Closed Script info +Before running timeout callbacks +//// [/user/username/projects/myproject/dependency/FnS.ts] +function fooBar() { } +export function fn1() { } +export function fn2() { } +export function fn3() { } +export function fn4() { } +export function fn5() { } + + + +PolledWatches:: +/user/username/projects/myproject/main/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/myproject/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/myproject/random/node_modules/@types: + {"pollingInterval":500} + +FsWatches:: +/user/username/projects/myproject/main/tsconfig.json: + {} +/user/username/projects/myproject/dependency/tsconfig.json: + {} +/user/username/projects/myproject/dependency/fns.ts: + {} +/a/lib/lib.d.ts: + {} +/user/username/projects/myproject/random/tsconfig.json: + {} + +FsWatchesRecursive:: +/user/username/projects/myproject/main: + {} +/user/username/projects/myproject/dependency: + {} +/user/username/projects/myproject/decls: + {} +/user/username/projects/myproject/random: + {} + Info 55 [16:02:15.000] Running: /user/username/projects/myproject/main/tsconfig.json Info 56 [16:02:16.000] Starting updateGraphWorker: Project: /user/username/projects/myproject/main/tsconfig.json Info 57 [16:02:17.000] Finishing updateGraphWorker: Project: /user/username/projects/myproject/main/tsconfig.json Version: 2 structureChanged: false structureIsReused:: Completely Elapsed:: *ms @@ -561,6 +608,38 @@ Info 62 [16:02:40.000] FileName: /user/username/projects/myproject/main/main. Info 62 [16:02:41.000] Projects: /user/username/projects/myproject/main/tsconfig.json Info 62 [16:02:42.000] FileName: /user/username/projects/myproject/random/random.ts ProjectRootPath: undefined Info 62 [16:02:43.000] Projects: /user/username/projects/myproject/random/tsconfig.json +After running timeout callbacks + +PolledWatches:: +/user/username/projects/myproject/main/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/myproject/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/myproject/random/node_modules/@types: + {"pollingInterval":500} + +FsWatches:: +/user/username/projects/myproject/main/tsconfig.json: + {} +/user/username/projects/myproject/dependency/tsconfig.json: + {} +/user/username/projects/myproject/dependency/fns.ts: + {} +/a/lib/lib.d.ts: + {} +/user/username/projects/myproject/random/tsconfig.json: + {} + +FsWatchesRecursive:: +/user/username/projects/myproject/main: + {} +/user/username/projects/myproject/dependency: + {} +/user/username/projects/myproject/decls: + {} +/user/username/projects/myproject/random: + {} + Info 62 [16:02:44.000] request: { "command": "definitionAndBoundSpan", @@ -572,15 +651,7 @@ Info 62 [16:02:44.000] request: "seq": 2, "type": "request" } -//// [/user/username/projects/myproject/dependency/FnS.ts] -function fooBar() { } -export function fn1() { } -export function fn2() { } -export function fn3() { } -export function fn4() { } -export function fn5() { } - - +Before request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -612,6 +683,7 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +After request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -691,6 +763,7 @@ Info 64 [16:02:46.000] request: "seq": 3, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -722,6 +795,7 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +After request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -801,6 +875,7 @@ Info 66 [16:02:48.000] request: "seq": 4, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -832,6 +907,7 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +After request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -911,6 +987,7 @@ Info 68 [16:02:50.000] request: "seq": 5, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -942,6 +1019,7 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +After request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -1021,6 +1099,7 @@ Info 70 [16:02:52.000] request: "seq": 6, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -1052,6 +1131,7 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +After request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/configWithReference/dependency-source-changes.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/configWithReference/dependency-source-changes.js index 85b828a177da2..80e75dd94590d 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/configWithReference/dependency-source-changes.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/configWithReference/dependency-source-changes.js @@ -8,6 +8,7 @@ Info 1 [16:01:01.000] request: "file": "/user/username/projects/myproject/main/main.ts" } } +Before request //// [/user/username/projects/myproject/dependency/FnS.ts] export function fn1() { } export function fn2() { } @@ -270,6 +271,7 @@ Info 29 [16:01:31.000] ----------------------------------------------- Info 29 [16:01:32.000] Open files: Info 29 [16:01:33.000] FileName: /user/username/projects/myproject/main/main.ts ProjectRootPath: undefined Info 29 [16:01:34.000] Projects: /user/username/projects/myproject/main/tsconfig.json +After request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -308,6 +310,7 @@ Info 30 [16:01:36.000] request: "file": "/user/username/projects/myproject/random/random.ts" } } +Before request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -379,6 +382,7 @@ Info 48 [16:02:01.000] FileName: /user/username/projects/myproject/main/main. Info 48 [16:02:02.000] Projects: /user/username/projects/myproject/main/tsconfig.json Info 48 [16:02:03.000] FileName: /user/username/projects/myproject/random/random.ts ProjectRootPath: undefined Info 48 [16:02:04.000] Projects: /user/username/projects/myproject/random/tsconfig.json +After request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -425,6 +429,7 @@ Info 49 [16:02:06.000] request: "seq": 1, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -456,6 +461,7 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +After request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -539,6 +545,7 @@ Info 55 [16:02:15.000] request: "seq": 2, "type": "request" } +Before request //// [/user/username/projects/myproject/dependency/FnS.ts] function fooBar() { } export function fn1() { } @@ -582,6 +589,7 @@ FsWatchesRecursive:: Info 56 [16:02:16.000] Starting updateGraphWorker: Project: /user/username/projects/myproject/main/tsconfig.json Info 57 [16:02:17.000] Finishing updateGraphWorker: Project: /user/username/projects/myproject/main/tsconfig.json Version: 2 structureChanged: false structureIsReused:: Completely Elapsed:: *ms Info 58 [16:02:18.000] Different program with same set of files +After request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -661,6 +669,7 @@ Info 60 [16:02:20.000] request: "seq": 3, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -692,6 +701,7 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +After request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -771,6 +781,7 @@ Info 62 [16:02:22.000] request: "seq": 4, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -802,6 +813,7 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +After request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -881,6 +893,7 @@ Info 64 [16:02:24.000] request: "seq": 5, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -912,6 +925,7 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +After request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -991,6 +1005,7 @@ Info 66 [16:02:26.000] request: "seq": 6, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -1022,6 +1037,7 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +After request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/configWithReference/usage-file-changes-with-timeout-before-request.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/configWithReference/usage-file-changes-with-timeout-before-request.js index f2783de875965..684f296785057 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/configWithReference/usage-file-changes-with-timeout-before-request.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/configWithReference/usage-file-changes-with-timeout-before-request.js @@ -8,6 +8,7 @@ Info 1 [16:01:01.000] request: "file": "/user/username/projects/myproject/main/main.ts" } } +Before request //// [/user/username/projects/myproject/dependency/FnS.ts] export function fn1() { } export function fn2() { } @@ -270,6 +271,7 @@ Info 29 [16:01:31.000] ----------------------------------------------- Info 29 [16:01:32.000] Open files: Info 29 [16:01:33.000] FileName: /user/username/projects/myproject/main/main.ts ProjectRootPath: undefined Info 29 [16:01:34.000] Projects: /user/username/projects/myproject/main/tsconfig.json +After request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -308,6 +310,7 @@ Info 30 [16:01:36.000] request: "file": "/user/username/projects/myproject/random/random.ts" } } +Before request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -379,6 +382,7 @@ Info 48 [16:02:01.000] FileName: /user/username/projects/myproject/main/main. Info 48 [16:02:02.000] Projects: /user/username/projects/myproject/main/tsconfig.json Info 48 [16:02:03.000] FileName: /user/username/projects/myproject/random/random.ts ProjectRootPath: undefined Info 48 [16:02:04.000] Projects: /user/username/projects/myproject/random/tsconfig.json +After request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -425,6 +429,7 @@ Info 49 [16:02:06.000] request: "seq": 1, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -456,6 +461,7 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +After request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -538,6 +544,7 @@ Info 51 [16:02:08.000] request: "seq": 2, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -569,6 +576,7 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +After request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -604,6 +612,70 @@ Info 52 [16:02:09.000] response: { "responseRequired": false } +Before running timeout callbacks + +PolledWatches:: +/user/username/projects/myproject/main/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/myproject/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/myproject/random/node_modules/@types: + {"pollingInterval":500} + +FsWatches:: +/user/username/projects/myproject/main/tsconfig.json: + {} +/user/username/projects/myproject/dependency/tsconfig.json: + {} +/user/username/projects/myproject/dependency/fns.ts: + {} +/a/lib/lib.d.ts: + {} +/user/username/projects/myproject/random/tsconfig.json: + {} + +FsWatchesRecursive:: +/user/username/projects/myproject/main: + {} +/user/username/projects/myproject/dependency: + {} +/user/username/projects/myproject/decls: + {} +/user/username/projects/myproject/random: + {} + +After running timeout callbacks + +PolledWatches:: +/user/username/projects/myproject/main/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/myproject/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/myproject/random/node_modules/@types: + {"pollingInterval":500} + +FsWatches:: +/user/username/projects/myproject/main/tsconfig.json: + {} +/user/username/projects/myproject/dependency/tsconfig.json: + {} +/user/username/projects/myproject/dependency/fns.ts: + {} +/a/lib/lib.d.ts: + {} +/user/username/projects/myproject/random/tsconfig.json: + {} + +FsWatchesRecursive:: +/user/username/projects/myproject/main: + {} +/user/username/projects/myproject/dependency: + {} +/user/username/projects/myproject/decls: + {} +/user/username/projects/myproject/random: + {} + Info 53 [16:02:10.000] request: { "command": "definitionAndBoundSpan", @@ -615,6 +687,7 @@ Info 53 [16:02:10.000] request: "seq": 3, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -649,6 +722,7 @@ FsWatchesRecursive:: Info 54 [16:02:11.000] Starting updateGraphWorker: Project: /user/username/projects/myproject/main/tsconfig.json Info 55 [16:02:12.000] Finishing updateGraphWorker: Project: /user/username/projects/myproject/main/tsconfig.json Version: 2 structureChanged: false structureIsReused:: Completely Elapsed:: *ms Info 56 [16:02:13.000] Different program with same set of files +After request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -728,6 +802,7 @@ Info 58 [16:02:15.000] request: "seq": 4, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -759,6 +834,7 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +After request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -838,6 +914,7 @@ Info 60 [16:02:17.000] request: "seq": 5, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -869,6 +946,7 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +After request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -948,6 +1026,7 @@ Info 62 [16:02:19.000] request: "seq": 6, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -979,6 +1058,7 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +After request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -1058,6 +1138,7 @@ Info 64 [16:02:21.000] request: "seq": 7, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -1089,6 +1170,7 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +After request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/configWithReference/usage-file-changes.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/configWithReference/usage-file-changes.js index f2783de875965..9b4024423bf60 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/configWithReference/usage-file-changes.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/configWithReference/usage-file-changes.js @@ -8,6 +8,7 @@ Info 1 [16:01:01.000] request: "file": "/user/username/projects/myproject/main/main.ts" } } +Before request //// [/user/username/projects/myproject/dependency/FnS.ts] export function fn1() { } export function fn2() { } @@ -270,6 +271,7 @@ Info 29 [16:01:31.000] ----------------------------------------------- Info 29 [16:01:32.000] Open files: Info 29 [16:01:33.000] FileName: /user/username/projects/myproject/main/main.ts ProjectRootPath: undefined Info 29 [16:01:34.000] Projects: /user/username/projects/myproject/main/tsconfig.json +After request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -308,6 +310,7 @@ Info 30 [16:01:36.000] request: "file": "/user/username/projects/myproject/random/random.ts" } } +Before request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -379,6 +382,7 @@ Info 48 [16:02:01.000] FileName: /user/username/projects/myproject/main/main. Info 48 [16:02:02.000] Projects: /user/username/projects/myproject/main/tsconfig.json Info 48 [16:02:03.000] FileName: /user/username/projects/myproject/random/random.ts ProjectRootPath: undefined Info 48 [16:02:04.000] Projects: /user/username/projects/myproject/random/tsconfig.json +After request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -425,6 +429,7 @@ Info 49 [16:02:06.000] request: "seq": 1, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -456,6 +461,7 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +After request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -538,6 +544,7 @@ Info 51 [16:02:08.000] request: "seq": 2, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -569,6 +576,7 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +After request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -615,6 +623,7 @@ Info 53 [16:02:10.000] request: "seq": 3, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -649,6 +658,7 @@ FsWatchesRecursive:: Info 54 [16:02:11.000] Starting updateGraphWorker: Project: /user/username/projects/myproject/main/tsconfig.json Info 55 [16:02:12.000] Finishing updateGraphWorker: Project: /user/username/projects/myproject/main/tsconfig.json Version: 2 structureChanged: false structureIsReused:: Completely Elapsed:: *ms Info 56 [16:02:13.000] Different program with same set of files +After request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -728,6 +738,7 @@ Info 58 [16:02:15.000] request: "seq": 4, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -759,6 +770,7 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +After request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -838,6 +850,7 @@ Info 60 [16:02:17.000] request: "seq": 5, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -869,6 +882,7 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +After request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -948,6 +962,7 @@ Info 62 [16:02:19.000] request: "seq": 6, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -979,6 +994,7 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +After request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -1058,6 +1074,7 @@ Info 64 [16:02:21.000] request: "seq": 7, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -1089,6 +1106,7 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +After request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/configWithReference/when-projects-are-not-built.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/configWithReference/when-projects-are-not-built.js index 0040a8c6d7370..040f8d29cbdec 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/configWithReference/when-projects-are-not-built.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/configWithReference/when-projects-are-not-built.js @@ -8,6 +8,7 @@ Info 1 [16:00:36.000] request: "file": "/user/username/projects/myproject/main/main.ts" } } +Before request //// [/user/username/projects/myproject/dependency/FnS.ts] export function fn1() { } export function fn2() { } @@ -135,6 +136,7 @@ Info 29 [16:01:06.000] ----------------------------------------------- Info 29 [16:01:07.000] Open files: Info 29 [16:01:08.000] FileName: /user/username/projects/myproject/main/main.ts ProjectRootPath: undefined Info 29 [16:01:09.000] Projects: /user/username/projects/myproject/main/tsconfig.json +After request PolledWatches:: /user/username/projects/myproject/decls: @@ -173,6 +175,7 @@ Info 30 [16:01:11.000] request: "file": "/user/username/projects/myproject/random/random.ts" } } +Before request PolledWatches:: /user/username/projects/myproject/decls: @@ -244,6 +247,7 @@ Info 48 [16:01:36.000] FileName: /user/username/projects/myproject/main/main. Info 48 [16:01:37.000] Projects: /user/username/projects/myproject/main/tsconfig.json Info 48 [16:01:38.000] FileName: /user/username/projects/myproject/random/random.ts ProjectRootPath: undefined Info 48 [16:01:39.000] Projects: /user/username/projects/myproject/random/tsconfig.json +After request PolledWatches:: /user/username/projects/myproject/decls: @@ -290,6 +294,7 @@ Info 49 [16:01:41.000] request: "seq": 1, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/decls: @@ -321,6 +326,7 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +After request PolledWatches:: /user/username/projects/myproject/decls: @@ -400,6 +406,7 @@ Info 51 [16:01:43.000] request: "seq": 2, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/decls: @@ -431,6 +438,7 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +After request PolledWatches:: /user/username/projects/myproject/decls: @@ -510,6 +518,7 @@ Info 53 [16:01:45.000] request: "seq": 3, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/decls: @@ -541,6 +550,7 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +After request PolledWatches:: /user/username/projects/myproject/decls: @@ -620,6 +630,7 @@ Info 55 [16:01:47.000] request: "seq": 4, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/decls: @@ -651,6 +662,7 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +After request PolledWatches:: /user/username/projects/myproject/decls: @@ -730,6 +742,7 @@ Info 57 [16:01:49.000] request: "seq": 5, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/decls: @@ -761,6 +774,7 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +After request PolledWatches:: /user/username/projects/myproject/decls: @@ -838,6 +852,7 @@ Info 59 [16:01:51.000] request: "file": "/user/username/projects/myproject/random/random.ts" } } +Before request PolledWatches:: /user/username/projects/myproject/decls: @@ -881,6 +896,7 @@ Info 61 [16:01:58.000] ----------------------------------------------- Info 61 [16:01:59.000] Open files: Info 61 [16:02:00.000] FileName: /user/username/projects/myproject/main/main.ts ProjectRootPath: undefined Info 61 [16:02:01.000] Projects: /user/username/projects/myproject/main/tsconfig.json +After request PolledWatches:: /user/username/projects/myproject/decls: @@ -927,6 +943,7 @@ Info 62 [16:02:03.000] request: "file": "/user/username/projects/myproject/random/random.ts" } } +Before request PolledWatches:: /user/username/projects/myproject/decls: @@ -976,6 +993,7 @@ Info 66 [16:02:14.000] FileName: /user/username/projects/myproject/main/main. Info 66 [16:02:15.000] Projects: /user/username/projects/myproject/main/tsconfig.json Info 66 [16:02:16.000] FileName: /user/username/projects/myproject/random/random.ts ProjectRootPath: undefined Info 66 [16:02:17.000] Projects: /user/username/projects/myproject/random/tsconfig.json +After request PolledWatches:: /user/username/projects/myproject/decls: @@ -1020,6 +1038,7 @@ Info 67 [16:02:19.000] request: "file": "/user/username/projects/myproject/main/main.ts" } } +Before request PolledWatches:: /user/username/projects/myproject/decls: @@ -1063,6 +1082,7 @@ Info 69 [16:02:26.000] ----------------------------------------------- Info 69 [16:02:27.000] Open files: Info 69 [16:02:28.000] FileName: /user/username/projects/myproject/random/random.ts ProjectRootPath: undefined Info 69 [16:02:29.000] Projects: /user/username/projects/myproject/random/tsconfig.json +After request PolledWatches:: /user/username/projects/myproject/decls: @@ -1109,6 +1129,7 @@ Info 70 [16:02:31.000] request: "file": "/user/username/projects/myproject/random/random.ts" } } +Before request PolledWatches:: /user/username/projects/myproject/decls: @@ -1152,6 +1173,7 @@ Info 72 [16:02:37.000] Files (2) Info 72 [16:02:38.000] ----------------------------------------------- Info 72 [16:02:39.000] Open files: +After request PolledWatches:: /user/username/projects/myproject/decls: @@ -1200,6 +1222,7 @@ Info 73 [16:02:41.000] request: "file": "/user/username/projects/myproject/random/random.ts" } } +Before request PolledWatches:: /user/username/projects/myproject/decls: @@ -1275,6 +1298,7 @@ Info 95 [16:03:05.000] ----------------------------------------------- Info 95 [16:03:06.000] Open files: Info 95 [16:03:07.000] FileName: /user/username/projects/myproject/random/random.ts ProjectRootPath: undefined Info 95 [16:03:08.000] Projects: /user/username/projects/myproject/random/tsconfig.json +After request PolledWatches:: /user/username/projects/myproject/node_modules/@types: diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/disabledSourceRef/can-go-to-definition-correctly.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/disabledSourceRef/can-go-to-definition-correctly.js index c15507af28808..d13e945204a84 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/disabledSourceRef/can-go-to-definition-correctly.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/disabledSourceRef/can-go-to-definition-correctly.js @@ -8,6 +8,7 @@ Info 1 [16:01:04.000] request: "file": "/user/username/projects/myproject/main/main.ts" } } +Before request //// [/user/username/projects/myproject/dependency/FnS.ts] export function fn1() { } export function fn2() { } @@ -271,6 +272,7 @@ Info 29 [16:01:34.000] ----------------------------------------------- Info 29 [16:01:35.000] Open files: Info 29 [16:01:36.000] FileName: /user/username/projects/myproject/main/main.ts ProjectRootPath: undefined Info 29 [16:01:37.000] Projects: /user/username/projects/myproject/main/tsconfig.json +After request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -309,6 +311,7 @@ Info 30 [16:01:39.000] request: "file": "/user/username/projects/myproject/random/random.ts" } } +Before request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -380,6 +383,7 @@ Info 48 [16:02:04.000] FileName: /user/username/projects/myproject/main/main. Info 48 [16:02:05.000] Projects: /user/username/projects/myproject/main/tsconfig.json Info 48 [16:02:06.000] FileName: /user/username/projects/myproject/random/random.ts ProjectRootPath: undefined Info 48 [16:02:07.000] Projects: /user/username/projects/myproject/random/tsconfig.json +After request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -426,6 +430,7 @@ Info 49 [16:02:09.000] request: "seq": 1, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -459,6 +464,7 @@ FsWatchesRecursive:: Info 50 [16:02:10.000] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls/FnS.d.ts.map 500 undefined WatchType: Closed Script info Info 51 [16:02:11.000] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/FnS.ts 500 undefined WatchType: Closed Script info +After request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -542,6 +548,7 @@ Info 53 [16:02:13.000] request: "seq": 2, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -577,6 +584,7 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +After request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -660,6 +668,7 @@ Info 55 [16:02:15.000] request: "seq": 3, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -695,6 +704,7 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +After request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -778,6 +788,7 @@ Info 57 [16:02:17.000] request: "seq": 4, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -813,6 +824,7 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +After request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -896,6 +908,7 @@ Info 59 [16:02:19.000] request: "seq": 5, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -931,6 +944,7 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +After request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -1012,6 +1026,7 @@ Info 61 [16:02:21.000] request: "file": "/user/username/projects/myproject/random/random.ts" } } +Before request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -1059,6 +1074,7 @@ Info 63 [16:02:28.000] ----------------------------------------------- Info 63 [16:02:29.000] Open files: Info 63 [16:02:30.000] FileName: /user/username/projects/myproject/main/main.ts ProjectRootPath: undefined Info 63 [16:02:31.000] Projects: /user/username/projects/myproject/main/tsconfig.json +After request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -1109,6 +1125,7 @@ Info 64 [16:02:33.000] request: "file": "/user/username/projects/myproject/random/random.ts" } } +Before request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -1162,6 +1179,7 @@ Info 68 [16:02:44.000] FileName: /user/username/projects/myproject/main/main. Info 68 [16:02:45.000] Projects: /user/username/projects/myproject/main/tsconfig.json Info 68 [16:02:46.000] FileName: /user/username/projects/myproject/random/random.ts ProjectRootPath: undefined Info 68 [16:02:47.000] Projects: /user/username/projects/myproject/random/tsconfig.json +After request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -1210,6 +1228,7 @@ Info 69 [16:02:49.000] request: "file": "/user/username/projects/myproject/main/main.ts" } } +Before request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -1257,6 +1276,7 @@ Info 71 [16:02:56.000] ----------------------------------------------- Info 71 [16:02:57.000] Open files: Info 71 [16:02:58.000] FileName: /user/username/projects/myproject/random/random.ts ProjectRootPath: undefined Info 71 [16:02:59.000] Projects: /user/username/projects/myproject/random/tsconfig.json +After request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -1307,6 +1327,7 @@ Info 72 [16:03:01.000] request: "file": "/user/username/projects/myproject/random/random.ts" } } +Before request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -1354,6 +1375,7 @@ Info 74 [16:03:07.000] Files (2) Info 74 [16:03:08.000] ----------------------------------------------- Info 74 [16:03:09.000] Open files: +After request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -1406,6 +1428,7 @@ Info 75 [16:03:11.000] request: "file": "/user/username/projects/myproject/random/random.ts" } } +Before request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -1487,6 +1510,7 @@ Info 99 [16:03:37.000] ----------------------------------------------- Info 99 [16:03:38.000] Open files: Info 99 [16:03:39.000] FileName: /user/username/projects/myproject/random/random.ts ProjectRootPath: undefined Info 99 [16:03:40.000] Projects: /user/username/projects/myproject/random/tsconfig.json +After request PolledWatches:: /user/username/projects/myproject/node_modules/@types: diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/disabledSourceRef/dependency-dts-changes-with-timeout-before-request.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/disabledSourceRef/dependency-dts-changes-with-timeout-before-request.js index d9b994b5e2d82..efd7085291434 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/disabledSourceRef/dependency-dts-changes-with-timeout-before-request.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/disabledSourceRef/dependency-dts-changes-with-timeout-before-request.js @@ -8,6 +8,7 @@ Info 1 [16:01:04.000] request: "file": "/user/username/projects/myproject/main/main.ts" } } +Before request //// [/user/username/projects/myproject/dependency/FnS.ts] export function fn1() { } export function fn2() { } @@ -271,6 +272,7 @@ Info 29 [16:01:34.000] ----------------------------------------------- Info 29 [16:01:35.000] Open files: Info 29 [16:01:36.000] FileName: /user/username/projects/myproject/main/main.ts ProjectRootPath: undefined Info 29 [16:01:37.000] Projects: /user/username/projects/myproject/main/tsconfig.json +After request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -309,6 +311,7 @@ Info 30 [16:01:39.000] request: "file": "/user/username/projects/myproject/random/random.ts" } } +Before request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -380,6 +383,7 @@ Info 48 [16:02:04.000] FileName: /user/username/projects/myproject/main/main. Info 48 [16:02:05.000] Projects: /user/username/projects/myproject/main/tsconfig.json Info 48 [16:02:06.000] FileName: /user/username/projects/myproject/random/random.ts ProjectRootPath: undefined Info 48 [16:02:07.000] Projects: /user/username/projects/myproject/random/tsconfig.json +After request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -426,6 +430,7 @@ Info 49 [16:02:09.000] request: "seq": 1, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -459,6 +464,7 @@ FsWatchesRecursive:: Info 50 [16:02:10.000] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls/FnS.d.ts.map 500 undefined WatchType: Closed Script info Info 51 [16:02:11.000] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/FnS.ts 500 undefined WatchType: Closed Script info +After request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -535,6 +541,51 @@ Info 53 [16:02:16.000] FileWatcher:: Triggered with /user/username/projects/my Info 54 [16:02:17.000] Scheduled: /user/username/projects/myproject/main/tsconfig.json Info 55 [16:02:18.000] Scheduled: *ensureProjectForOpenFiles* Info 56 [16:02:19.000] Elapsed:: *ms FileWatcher:: Triggered with /user/username/projects/myproject/decls/fns.d.ts 1:: WatchInfo: /user/username/projects/myproject/decls/fns.d.ts 500 undefined WatchType: Closed Script info +Before running timeout callbacks +//// [/user/username/projects/myproject/decls/FnS.d.ts] +export declare function fn1(): void; +export declare function fn2(): void; +export declare function fn3(): void; +export declare function fn4(): void; +export declare function fn5(): void; +export declare function fn6(): void; +//# sourceMappingURL=FnS.d.ts.map + + +PolledWatches:: +/user/username/projects/myproject/main/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/myproject/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/myproject/random/node_modules/@types: + {"pollingInterval":500} + +FsWatches:: +/user/username/projects/myproject/main/tsconfig.json: + {} +/user/username/projects/myproject/dependency/tsconfig.json: + {} +/user/username/projects/myproject/decls/fns.d.ts: + {} +/a/lib/lib.d.ts: + {} +/user/username/projects/myproject/random/tsconfig.json: + {} +/user/username/projects/myproject/decls/fns.d.ts.map: + {} +/user/username/projects/myproject/dependency/fns.ts: + {} + +FsWatchesRecursive:: +/user/username/projects/myproject/main: + {} +/user/username/projects/myproject/dependency: + {} +/user/username/projects/myproject/decls: + {} +/user/username/projects/myproject/random: + {} + Info 57 [16:02:20.000] Running: /user/username/projects/myproject/main/tsconfig.json Info 58 [16:02:21.000] Starting updateGraphWorker: Project: /user/username/projects/myproject/main/tsconfig.json Info 59 [16:02:22.000] Finishing updateGraphWorker: Project: /user/username/projects/myproject/main/tsconfig.json Version: 2 structureChanged: false structureIsReused:: Completely Elapsed:: *ms @@ -568,6 +619,42 @@ Info 64 [16:02:45.000] FileName: /user/username/projects/myproject/main/main. Info 64 [16:02:46.000] Projects: /user/username/projects/myproject/main/tsconfig.json Info 64 [16:02:47.000] FileName: /user/username/projects/myproject/random/random.ts ProjectRootPath: undefined Info 64 [16:02:48.000] Projects: /user/username/projects/myproject/random/tsconfig.json +After running timeout callbacks + +PolledWatches:: +/user/username/projects/myproject/main/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/myproject/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/myproject/random/node_modules/@types: + {"pollingInterval":500} + +FsWatches:: +/user/username/projects/myproject/main/tsconfig.json: + {} +/user/username/projects/myproject/dependency/tsconfig.json: + {} +/user/username/projects/myproject/decls/fns.d.ts: + {} +/a/lib/lib.d.ts: + {} +/user/username/projects/myproject/random/tsconfig.json: + {} +/user/username/projects/myproject/decls/fns.d.ts.map: + {} +/user/username/projects/myproject/dependency/fns.ts: + {} + +FsWatchesRecursive:: +/user/username/projects/myproject/main: + {} +/user/username/projects/myproject/dependency: + {} +/user/username/projects/myproject/decls: + {} +/user/username/projects/myproject/random: + {} + Info 64 [16:02:49.000] request: { "command": "definitionAndBoundSpan", @@ -579,15 +666,7 @@ Info 64 [16:02:49.000] request: "seq": 2, "type": "request" } -//// [/user/username/projects/myproject/decls/FnS.d.ts] -export declare function fn1(): void; -export declare function fn2(): void; -export declare function fn3(): void; -export declare function fn4(): void; -export declare function fn5(): void; -export declare function fn6(): void; -//# sourceMappingURL=FnS.d.ts.map - +Before request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -623,6 +702,7 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +After request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -706,6 +786,7 @@ Info 66 [16:02:51.000] request: "seq": 3, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -741,6 +822,7 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +After request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -824,6 +906,7 @@ Info 68 [16:02:53.000] request: "seq": 4, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -859,6 +942,7 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +After request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -942,6 +1026,7 @@ Info 70 [16:02:55.000] request: "seq": 5, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -977,6 +1062,7 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +After request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -1060,6 +1146,7 @@ Info 72 [16:02:57.000] request: "seq": 6, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -1095,6 +1182,7 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +After request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/disabledSourceRef/dependency-dts-changes.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/disabledSourceRef/dependency-dts-changes.js index 2a338580477ad..166a40f6234ff 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/disabledSourceRef/dependency-dts-changes.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/disabledSourceRef/dependency-dts-changes.js @@ -8,6 +8,7 @@ Info 1 [16:01:04.000] request: "file": "/user/username/projects/myproject/main/main.ts" } } +Before request //// [/user/username/projects/myproject/dependency/FnS.ts] export function fn1() { } export function fn2() { } @@ -271,6 +272,7 @@ Info 29 [16:01:34.000] ----------------------------------------------- Info 29 [16:01:35.000] Open files: Info 29 [16:01:36.000] FileName: /user/username/projects/myproject/main/main.ts ProjectRootPath: undefined Info 29 [16:01:37.000] Projects: /user/username/projects/myproject/main/tsconfig.json +After request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -309,6 +311,7 @@ Info 30 [16:01:39.000] request: "file": "/user/username/projects/myproject/random/random.ts" } } +Before request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -380,6 +383,7 @@ Info 48 [16:02:04.000] FileName: /user/username/projects/myproject/main/main. Info 48 [16:02:05.000] Projects: /user/username/projects/myproject/main/tsconfig.json Info 48 [16:02:06.000] FileName: /user/username/projects/myproject/random/random.ts ProjectRootPath: undefined Info 48 [16:02:07.000] Projects: /user/username/projects/myproject/random/tsconfig.json +After request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -426,6 +430,7 @@ Info 49 [16:02:09.000] request: "seq": 1, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -459,6 +464,7 @@ FsWatchesRecursive:: Info 50 [16:02:10.000] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls/FnS.d.ts.map 500 undefined WatchType: Closed Script info Info 51 [16:02:11.000] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/FnS.ts 500 undefined WatchType: Closed Script info +After request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -546,6 +552,7 @@ Info 57 [16:02:20.000] request: "seq": 2, "type": "request" } +Before request //// [/user/username/projects/myproject/decls/FnS.d.ts] export declare function fn1(): void; export declare function fn2(): void; @@ -593,6 +600,7 @@ FsWatchesRecursive:: Info 58 [16:02:21.000] Starting updateGraphWorker: Project: /user/username/projects/myproject/main/tsconfig.json Info 59 [16:02:22.000] Finishing updateGraphWorker: Project: /user/username/projects/myproject/main/tsconfig.json Version: 2 structureChanged: false structureIsReused:: Completely Elapsed:: *ms Info 60 [16:02:23.000] Different program with same set of files +After request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -676,6 +684,7 @@ Info 62 [16:02:25.000] request: "seq": 3, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -711,6 +720,7 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +After request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -794,6 +804,7 @@ Info 64 [16:02:27.000] request: "seq": 4, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -829,6 +840,7 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +After request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -912,6 +924,7 @@ Info 66 [16:02:29.000] request: "seq": 5, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -947,6 +960,7 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +After request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -1030,6 +1044,7 @@ Info 68 [16:02:31.000] request: "seq": 6, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -1065,6 +1080,7 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +After request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/disabledSourceRef/dependency-dts-created.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/disabledSourceRef/dependency-dts-created.js index 82e1f48e89550..914282ca2f10b 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/disabledSourceRef/dependency-dts-created.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/disabledSourceRef/dependency-dts-created.js @@ -8,6 +8,7 @@ Info 1 [16:01:05.000] request: "file": "/user/username/projects/myproject/main/main.ts" } } +Before request //// [/user/username/projects/myproject/dependency/FnS.ts] export function fn1() { } export function fn2() { } @@ -259,6 +260,7 @@ Info 28 [16:01:34.000] ----------------------------------------------- Info 28 [16:01:35.000] Open files: Info 28 [16:01:36.000] FileName: /user/username/projects/myproject/main/main.ts ProjectRootPath: undefined Info 28 [16:01:37.000] Projects: /user/username/projects/myproject/main/tsconfig.json +After request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -295,6 +297,7 @@ Info 29 [16:01:39.000] request: "file": "/user/username/projects/myproject/random/random.ts" } } +Before request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -364,6 +367,7 @@ Info 47 [16:02:04.000] FileName: /user/username/projects/myproject/main/main. Info 47 [16:02:05.000] Projects: /user/username/projects/myproject/main/tsconfig.json Info 47 [16:02:06.000] FileName: /user/username/projects/myproject/random/random.ts ProjectRootPath: undefined Info 47 [16:02:07.000] Projects: /user/username/projects/myproject/random/tsconfig.json +After request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -408,6 +412,7 @@ Info 48 [16:02:09.000] request: "seq": 1, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -437,6 +442,7 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +After request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -517,6 +523,7 @@ Info 53 [16:02:16.000] request: "seq": 2, "type": "request" } +Before request //// [/user/username/projects/myproject/decls/FnS.d.ts] export declare function fn1(): void; export declare function fn2(): void; @@ -575,6 +582,7 @@ Info 59 [16:02:22.000] Files (3) Info 60 [16:02:23.000] ----------------------------------------------- Info 61 [16:02:24.000] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls/FnS.d.ts.map 500 undefined WatchType: Closed Script info Info 62 [16:02:25.000] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/FnS.ts 500 undefined WatchType: Closed Script info +After request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -658,6 +666,7 @@ Info 64 [16:02:27.000] request: "seq": 3, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -693,6 +702,7 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +After request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -776,6 +786,7 @@ Info 66 [16:02:29.000] request: "seq": 4, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -811,6 +822,7 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +After request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -894,6 +906,7 @@ Info 68 [16:02:31.000] request: "seq": 5, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -929,6 +942,7 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +After request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -1012,6 +1026,7 @@ Info 70 [16:02:33.000] request: "seq": 6, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -1047,6 +1062,7 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +After request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -1128,6 +1144,7 @@ Info 72 [16:02:35.000] request: "file": "/user/username/projects/myproject/random/random.ts" } } +Before request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -1175,6 +1192,7 @@ Info 74 [16:02:42.000] ----------------------------------------------- Info 74 [16:02:43.000] Open files: Info 74 [16:02:44.000] FileName: /user/username/projects/myproject/main/main.ts ProjectRootPath: undefined Info 74 [16:02:45.000] Projects: /user/username/projects/myproject/main/tsconfig.json +After request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -1225,6 +1243,7 @@ Info 75 [16:02:47.000] request: "file": "/user/username/projects/myproject/random/random.ts" } } +Before request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -1278,6 +1297,7 @@ Info 79 [16:02:58.000] FileName: /user/username/projects/myproject/main/main. Info 79 [16:02:59.000] Projects: /user/username/projects/myproject/main/tsconfig.json Info 79 [16:03:00.000] FileName: /user/username/projects/myproject/random/random.ts ProjectRootPath: undefined Info 79 [16:03:01.000] Projects: /user/username/projects/myproject/random/tsconfig.json +After request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -1326,6 +1346,7 @@ Info 80 [16:03:03.000] request: "file": "/user/username/projects/myproject/main/main.ts" } } +Before request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -1373,6 +1394,7 @@ Info 82 [16:03:10.000] ----------------------------------------------- Info 82 [16:03:11.000] Open files: Info 82 [16:03:12.000] FileName: /user/username/projects/myproject/random/random.ts ProjectRootPath: undefined Info 82 [16:03:13.000] Projects: /user/username/projects/myproject/random/tsconfig.json +After request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -1423,6 +1445,7 @@ Info 83 [16:03:15.000] request: "file": "/user/username/projects/myproject/random/random.ts" } } +Before request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -1470,6 +1493,7 @@ Info 85 [16:03:21.000] Files (2) Info 85 [16:03:22.000] ----------------------------------------------- Info 85 [16:03:23.000] Open files: +After request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -1522,6 +1546,7 @@ Info 86 [16:03:25.000] request: "file": "/user/username/projects/myproject/random/random.ts" } } +Before request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -1603,6 +1628,7 @@ Info 110 [16:03:51.000] ----------------------------------------------- Info 110 [16:03:52.000] Open files: Info 110 [16:03:53.000] FileName: /user/username/projects/myproject/random/random.ts ProjectRootPath: undefined Info 110 [16:03:54.000] Projects: /user/username/projects/myproject/random/tsconfig.json +After request PolledWatches:: /user/username/projects/myproject/node_modules/@types: diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/disabledSourceRef/dependency-dts-deleted.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/disabledSourceRef/dependency-dts-deleted.js index 5998fafcd037f..3b386356b33a7 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/disabledSourceRef/dependency-dts-deleted.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/disabledSourceRef/dependency-dts-deleted.js @@ -8,6 +8,7 @@ Info 1 [16:01:04.000] request: "file": "/user/username/projects/myproject/main/main.ts" } } +Before request //// [/user/username/projects/myproject/dependency/FnS.ts] export function fn1() { } export function fn2() { } @@ -271,6 +272,7 @@ Info 29 [16:01:34.000] ----------------------------------------------- Info 29 [16:01:35.000] Open files: Info 29 [16:01:36.000] FileName: /user/username/projects/myproject/main/main.ts ProjectRootPath: undefined Info 29 [16:01:37.000] Projects: /user/username/projects/myproject/main/tsconfig.json +After request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -309,6 +311,7 @@ Info 30 [16:01:39.000] request: "file": "/user/username/projects/myproject/random/random.ts" } } +Before request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -380,6 +383,7 @@ Info 48 [16:02:04.000] FileName: /user/username/projects/myproject/main/main. Info 48 [16:02:05.000] Projects: /user/username/projects/myproject/main/tsconfig.json Info 48 [16:02:06.000] FileName: /user/username/projects/myproject/random/random.ts ProjectRootPath: undefined Info 48 [16:02:07.000] Projects: /user/username/projects/myproject/random/tsconfig.json +After request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -426,6 +430,7 @@ Info 49 [16:02:09.000] request: "seq": 1, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -459,6 +464,7 @@ FsWatchesRecursive:: Info 50 [16:02:10.000] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls/FnS.d.ts.map 500 undefined WatchType: Closed Script info Info 51 [16:02:11.000] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/FnS.ts 500 undefined WatchType: Closed Script info +After request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -550,6 +556,7 @@ Info 61 [16:02:22.000] request: "seq": 2, "type": "request" } +Before request //// [/user/username/projects/myproject/decls/FnS.d.ts] deleted PolledWatches:: @@ -598,6 +605,7 @@ Info 65 [16:02:26.000] Files (2) Matched by default include pattern '**/*' Info 66 [16:02:27.000] ----------------------------------------------- +After request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -679,6 +687,7 @@ Info 68 [16:02:29.000] request: "seq": 3, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -712,6 +721,7 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +After request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -793,6 +803,7 @@ Info 70 [16:02:31.000] request: "seq": 4, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -826,6 +837,7 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +After request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -907,6 +919,7 @@ Info 72 [16:02:33.000] request: "seq": 5, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -940,6 +953,7 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +After request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -1021,6 +1035,7 @@ Info 74 [16:02:35.000] request: "seq": 6, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -1054,6 +1069,7 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +After request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -1133,6 +1149,7 @@ Info 76 [16:02:37.000] request: "file": "/user/username/projects/myproject/random/random.ts" } } +Before request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -1178,6 +1195,7 @@ Info 78 [16:02:44.000] ----------------------------------------------- Info 78 [16:02:45.000] Open files: Info 78 [16:02:46.000] FileName: /user/username/projects/myproject/main/main.ts ProjectRootPath: undefined Info 78 [16:02:47.000] Projects: /user/username/projects/myproject/main/tsconfig.json +After request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -1226,6 +1244,7 @@ Info 79 [16:02:49.000] request: "file": "/user/username/projects/myproject/random/random.ts" } } +Before request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -1279,6 +1298,7 @@ Info 85 [16:03:02.000] FileName: /user/username/projects/myproject/main/main. Info 85 [16:03:03.000] Projects: /user/username/projects/myproject/main/tsconfig.json Info 85 [16:03:04.000] FileName: /user/username/projects/myproject/random/random.ts ProjectRootPath: undefined Info 85 [16:03:05.000] Projects: /user/username/projects/myproject/random/tsconfig.json +After request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -1321,6 +1341,7 @@ Info 86 [16:03:07.000] request: "file": "/user/username/projects/myproject/main/main.ts" } } +Before request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -1362,6 +1383,7 @@ Info 88 [16:03:14.000] ----------------------------------------------- Info 88 [16:03:15.000] Open files: Info 88 [16:03:16.000] FileName: /user/username/projects/myproject/random/random.ts ProjectRootPath: undefined Info 88 [16:03:17.000] Projects: /user/username/projects/myproject/random/tsconfig.json +After request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -1406,6 +1428,7 @@ Info 89 [16:03:19.000] request: "file": "/user/username/projects/myproject/random/random.ts" } } +Before request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -1447,6 +1470,7 @@ Info 91 [16:03:25.000] Files (2) Info 91 [16:03:26.000] ----------------------------------------------- Info 91 [16:03:27.000] Open files: +After request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -1493,6 +1517,7 @@ Info 92 [16:03:29.000] request: "file": "/user/username/projects/myproject/random/random.ts" } } +Before request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -1562,6 +1587,7 @@ Info 113 [16:03:52.000] ----------------------------------------------- Info 113 [16:03:53.000] Open files: Info 113 [16:03:54.000] FileName: /user/username/projects/myproject/random/random.ts ProjectRootPath: undefined Info 113 [16:03:55.000] Projects: /user/username/projects/myproject/random/tsconfig.json +After request PolledWatches:: /user/username/projects/myproject/node_modules/@types: diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/disabledSourceRef/dependency-dts-not-present.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/disabledSourceRef/dependency-dts-not-present.js index bedd2291c116a..9502bc6c5702e 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/disabledSourceRef/dependency-dts-not-present.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/disabledSourceRef/dependency-dts-not-present.js @@ -8,6 +8,7 @@ Info 1 [16:01:05.000] request: "file": "/user/username/projects/myproject/main/main.ts" } } +Before request //// [/user/username/projects/myproject/dependency/FnS.ts] export function fn1() { } export function fn2() { } @@ -259,6 +260,7 @@ Info 28 [16:01:34.000] ----------------------------------------------- Info 28 [16:01:35.000] Open files: Info 28 [16:01:36.000] FileName: /user/username/projects/myproject/main/main.ts ProjectRootPath: undefined Info 28 [16:01:37.000] Projects: /user/username/projects/myproject/main/tsconfig.json +After request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -295,6 +297,7 @@ Info 29 [16:01:39.000] request: "file": "/user/username/projects/myproject/random/random.ts" } } +Before request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -364,6 +367,7 @@ Info 47 [16:02:04.000] FileName: /user/username/projects/myproject/main/main. Info 47 [16:02:05.000] Projects: /user/username/projects/myproject/main/tsconfig.json Info 47 [16:02:06.000] FileName: /user/username/projects/myproject/random/random.ts ProjectRootPath: undefined Info 47 [16:02:07.000] Projects: /user/username/projects/myproject/random/tsconfig.json +After request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -408,6 +412,7 @@ Info 48 [16:02:09.000] request: "seq": 1, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -437,6 +442,7 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +After request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -514,6 +520,7 @@ Info 50 [16:02:11.000] request: "seq": 2, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -543,6 +550,7 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +After request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -620,6 +628,7 @@ Info 52 [16:02:13.000] request: "seq": 3, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -649,6 +658,7 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +After request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -726,6 +736,7 @@ Info 54 [16:02:15.000] request: "seq": 4, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -755,6 +766,7 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +After request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -832,6 +844,7 @@ Info 56 [16:02:17.000] request: "seq": 5, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -861,6 +874,7 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +After request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -936,6 +950,7 @@ Info 58 [16:02:19.000] request: "file": "/user/username/projects/myproject/random/random.ts" } } +Before request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -977,6 +992,7 @@ Info 60 [16:02:26.000] ----------------------------------------------- Info 60 [16:02:27.000] Open files: Info 60 [16:02:28.000] FileName: /user/username/projects/myproject/main/main.ts ProjectRootPath: undefined Info 60 [16:02:29.000] Projects: /user/username/projects/myproject/main/tsconfig.json +After request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -1021,6 +1037,7 @@ Info 61 [16:02:31.000] request: "file": "/user/username/projects/myproject/random/random.ts" } } +Before request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -1068,6 +1085,7 @@ Info 65 [16:02:42.000] FileName: /user/username/projects/myproject/main/main. Info 65 [16:02:43.000] Projects: /user/username/projects/myproject/main/tsconfig.json Info 65 [16:02:44.000] FileName: /user/username/projects/myproject/random/random.ts ProjectRootPath: undefined Info 65 [16:02:45.000] Projects: /user/username/projects/myproject/random/tsconfig.json +After request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -1110,6 +1128,7 @@ Info 66 [16:02:47.000] request: "file": "/user/username/projects/myproject/main/main.ts" } } +Before request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -1151,6 +1170,7 @@ Info 68 [16:02:54.000] ----------------------------------------------- Info 68 [16:02:55.000] Open files: Info 68 [16:02:56.000] FileName: /user/username/projects/myproject/random/random.ts ProjectRootPath: undefined Info 68 [16:02:57.000] Projects: /user/username/projects/myproject/random/tsconfig.json +After request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -1195,6 +1215,7 @@ Info 69 [16:02:59.000] request: "file": "/user/username/projects/myproject/random/random.ts" } } +Before request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -1236,6 +1257,7 @@ Info 71 [16:03:05.000] Files (2) Info 71 [16:03:06.000] ----------------------------------------------- Info 71 [16:03:07.000] Open files: +After request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -1282,6 +1304,7 @@ Info 72 [16:03:09.000] request: "file": "/user/username/projects/myproject/random/random.ts" } } +Before request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -1351,6 +1374,7 @@ Info 93 [16:03:32.000] ----------------------------------------------- Info 93 [16:03:33.000] Open files: Info 93 [16:03:34.000] FileName: /user/username/projects/myproject/random/random.ts ProjectRootPath: undefined Info 93 [16:03:35.000] Projects: /user/username/projects/myproject/random/tsconfig.json +After request PolledWatches:: /user/username/projects/myproject/node_modules/@types: diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/disabledSourceRef/dependency-dtsMap-changes-with-timeout-before-request.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/disabledSourceRef/dependency-dtsMap-changes-with-timeout-before-request.js index 786dda5b6ce00..68129ac767263 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/disabledSourceRef/dependency-dtsMap-changes-with-timeout-before-request.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/disabledSourceRef/dependency-dtsMap-changes-with-timeout-before-request.js @@ -8,6 +8,7 @@ Info 1 [16:01:04.000] request: "file": "/user/username/projects/myproject/main/main.ts" } } +Before request //// [/user/username/projects/myproject/dependency/FnS.ts] export function fn1() { } export function fn2() { } @@ -271,6 +272,7 @@ Info 29 [16:01:34.000] ----------------------------------------------- Info 29 [16:01:35.000] Open files: Info 29 [16:01:36.000] FileName: /user/username/projects/myproject/main/main.ts ProjectRootPath: undefined Info 29 [16:01:37.000] Projects: /user/username/projects/myproject/main/tsconfig.json +After request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -309,6 +311,7 @@ Info 30 [16:01:39.000] request: "file": "/user/username/projects/myproject/random/random.ts" } } +Before request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -380,6 +383,7 @@ Info 48 [16:02:04.000] FileName: /user/username/projects/myproject/main/main. Info 48 [16:02:05.000] Projects: /user/username/projects/myproject/main/tsconfig.json Info 48 [16:02:06.000] FileName: /user/username/projects/myproject/random/random.ts ProjectRootPath: undefined Info 48 [16:02:07.000] Projects: /user/username/projects/myproject/random/tsconfig.json +After request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -426,6 +430,7 @@ Info 49 [16:02:09.000] request: "seq": 1, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -459,6 +464,7 @@ FsWatchesRecursive:: Info 50 [16:02:10.000] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls/FnS.d.ts.map 500 undefined WatchType: Closed Script info Info 51 [16:02:11.000] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/FnS.ts 500 undefined WatchType: Closed Script info +After request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -535,6 +541,45 @@ Info 53 [16:02:16.000] FileWatcher:: Triggered with /user/username/projects/my Info 54 [16:02:17.000] Scheduled: /user/username/projects/myproject/main/tsconfig.json Info 55 [16:02:18.000] Scheduled: *ensureProjectForOpenFiles* Info 56 [16:02:19.000] Elapsed:: *ms FileWatcher:: Triggered with /user/username/projects/myproject/decls/FnS.d.ts.map 1:: WatchInfo: /user/username/projects/myproject/decls/FnS.d.ts.map 500 undefined WatchType: Closed Script info +Before running timeout callbacks +//// [/user/username/projects/myproject/decls/FnS.d.ts.map] +{"version":3,"file":"FnS.d.ts","sourceRoot":"","sources":["../dependency/FnS.ts"],"names":[],"mappings":"AAAA,wBAAgB,GAAG,SAAM;AACzB,wBAAgB,GAAG,SAAM;AACzB,wBAAgB,GAAG,SAAM;AACzB,wBAAgB,GAAG,SAAM;AACzB,wBAAgB,GAAG,SAAM;AACzB,eAAO,MAAM,CAAC,KAAK,CAAC"} + + +PolledWatches:: +/user/username/projects/myproject/main/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/myproject/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/myproject/random/node_modules/@types: + {"pollingInterval":500} + +FsWatches:: +/user/username/projects/myproject/main/tsconfig.json: + {} +/user/username/projects/myproject/dependency/tsconfig.json: + {} +/user/username/projects/myproject/decls/fns.d.ts: + {} +/a/lib/lib.d.ts: + {} +/user/username/projects/myproject/random/tsconfig.json: + {} +/user/username/projects/myproject/decls/fns.d.ts.map: + {} +/user/username/projects/myproject/dependency/fns.ts: + {} + +FsWatchesRecursive:: +/user/username/projects/myproject/main: + {} +/user/username/projects/myproject/dependency: + {} +/user/username/projects/myproject/decls: + {} +/user/username/projects/myproject/random: + {} + Info 57 [16:02:20.000] Running: /user/username/projects/myproject/main/tsconfig.json Info 58 [16:02:21.000] Starting updateGraphWorker: Project: /user/username/projects/myproject/main/tsconfig.json Info 59 [16:02:22.000] Finishing updateGraphWorker: Project: /user/username/projects/myproject/main/tsconfig.json Version: 2 structureChanged: false structureIsReused:: Not Elapsed:: *ms @@ -567,6 +612,42 @@ Info 63 [16:02:44.000] FileName: /user/username/projects/myproject/main/main. Info 63 [16:02:45.000] Projects: /user/username/projects/myproject/main/tsconfig.json Info 63 [16:02:46.000] FileName: /user/username/projects/myproject/random/random.ts ProjectRootPath: undefined Info 63 [16:02:47.000] Projects: /user/username/projects/myproject/random/tsconfig.json +After running timeout callbacks + +PolledWatches:: +/user/username/projects/myproject/main/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/myproject/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/myproject/random/node_modules/@types: + {"pollingInterval":500} + +FsWatches:: +/user/username/projects/myproject/main/tsconfig.json: + {} +/user/username/projects/myproject/dependency/tsconfig.json: + {} +/user/username/projects/myproject/decls/fns.d.ts: + {} +/a/lib/lib.d.ts: + {} +/user/username/projects/myproject/random/tsconfig.json: + {} +/user/username/projects/myproject/decls/fns.d.ts.map: + {} +/user/username/projects/myproject/dependency/fns.ts: + {} + +FsWatchesRecursive:: +/user/username/projects/myproject/main: + {} +/user/username/projects/myproject/dependency: + {} +/user/username/projects/myproject/decls: + {} +/user/username/projects/myproject/random: + {} + Info 63 [16:02:48.000] request: { "command": "definitionAndBoundSpan", @@ -578,9 +659,7 @@ Info 63 [16:02:48.000] request: "seq": 2, "type": "request" } -//// [/user/username/projects/myproject/decls/FnS.d.ts.map] -{"version":3,"file":"FnS.d.ts","sourceRoot":"","sources":["../dependency/FnS.ts"],"names":[],"mappings":"AAAA,wBAAgB,GAAG,SAAM;AACzB,wBAAgB,GAAG,SAAM;AACzB,wBAAgB,GAAG,SAAM;AACzB,wBAAgB,GAAG,SAAM;AACzB,wBAAgB,GAAG,SAAM;AACzB,eAAO,MAAM,CAAC,KAAK,CAAC"} - +Before request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -616,6 +695,7 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +After request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -699,6 +779,7 @@ Info 65 [16:02:50.000] request: "seq": 3, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -734,6 +815,7 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +After request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -817,6 +899,7 @@ Info 67 [16:02:52.000] request: "seq": 4, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -852,6 +935,7 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +After request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -935,6 +1019,7 @@ Info 69 [16:02:54.000] request: "seq": 5, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -970,6 +1055,7 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +After request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -1053,6 +1139,7 @@ Info 71 [16:02:56.000] request: "seq": 6, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -1088,6 +1175,7 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +After request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/disabledSourceRef/dependency-dtsMap-changes.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/disabledSourceRef/dependency-dtsMap-changes.js index 44d19b3db5ef7..5e04119c97924 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/disabledSourceRef/dependency-dtsMap-changes.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/disabledSourceRef/dependency-dtsMap-changes.js @@ -8,6 +8,7 @@ Info 1 [16:01:04.000] request: "file": "/user/username/projects/myproject/main/main.ts" } } +Before request //// [/user/username/projects/myproject/dependency/FnS.ts] export function fn1() { } export function fn2() { } @@ -271,6 +272,7 @@ Info 29 [16:01:34.000] ----------------------------------------------- Info 29 [16:01:35.000] Open files: Info 29 [16:01:36.000] FileName: /user/username/projects/myproject/main/main.ts ProjectRootPath: undefined Info 29 [16:01:37.000] Projects: /user/username/projects/myproject/main/tsconfig.json +After request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -309,6 +311,7 @@ Info 30 [16:01:39.000] request: "file": "/user/username/projects/myproject/random/random.ts" } } +Before request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -380,6 +383,7 @@ Info 48 [16:02:04.000] FileName: /user/username/projects/myproject/main/main. Info 48 [16:02:05.000] Projects: /user/username/projects/myproject/main/tsconfig.json Info 48 [16:02:06.000] FileName: /user/username/projects/myproject/random/random.ts ProjectRootPath: undefined Info 48 [16:02:07.000] Projects: /user/username/projects/myproject/random/tsconfig.json +After request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -426,6 +430,7 @@ Info 49 [16:02:09.000] request: "seq": 1, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -459,6 +464,7 @@ FsWatchesRecursive:: Info 50 [16:02:10.000] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls/FnS.d.ts.map 500 undefined WatchType: Closed Script info Info 51 [16:02:11.000] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/FnS.ts 500 undefined WatchType: Closed Script info +After request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -546,6 +552,7 @@ Info 57 [16:02:20.000] request: "seq": 2, "type": "request" } +Before request //// [/user/username/projects/myproject/decls/FnS.d.ts.map] {"version":3,"file":"FnS.d.ts","sourceRoot":"","sources":["../dependency/FnS.ts"],"names":[],"mappings":"AAAA,wBAAgB,GAAG,SAAM;AACzB,wBAAgB,GAAG,SAAM;AACzB,wBAAgB,GAAG,SAAM;AACzB,wBAAgB,GAAG,SAAM;AACzB,wBAAgB,GAAG,SAAM;AACzB,eAAO,MAAM,CAAC,KAAK,CAAC"} @@ -586,6 +593,7 @@ FsWatchesRecursive:: Info 58 [16:02:21.000] Starting updateGraphWorker: Project: /user/username/projects/myproject/main/tsconfig.json Info 59 [16:02:22.000] Finishing updateGraphWorker: Project: /user/username/projects/myproject/main/tsconfig.json Version: 2 structureChanged: false structureIsReused:: Not Elapsed:: *ms +After request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -669,6 +677,7 @@ Info 61 [16:02:24.000] request: "seq": 3, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -704,6 +713,7 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +After request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -787,6 +797,7 @@ Info 63 [16:02:26.000] request: "seq": 4, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -822,6 +833,7 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +After request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -905,6 +917,7 @@ Info 65 [16:02:28.000] request: "seq": 5, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -940,6 +953,7 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +After request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -1023,6 +1037,7 @@ Info 67 [16:02:30.000] request: "seq": 6, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -1058,6 +1073,7 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +After request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/disabledSourceRef/dependency-dtsMap-created.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/disabledSourceRef/dependency-dtsMap-created.js index 636a02f64cdc9..b2a9cfcd530e1 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/disabledSourceRef/dependency-dtsMap-created.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/disabledSourceRef/dependency-dtsMap-created.js @@ -8,6 +8,7 @@ Info 1 [16:01:05.000] request: "file": "/user/username/projects/myproject/main/main.ts" } } +Before request //// [/user/username/projects/myproject/dependency/FnS.ts] export function fn1() { } export function fn2() { } @@ -268,6 +269,7 @@ Info 29 [16:01:35.000] ----------------------------------------------- Info 29 [16:01:36.000] Open files: Info 29 [16:01:37.000] FileName: /user/username/projects/myproject/main/main.ts ProjectRootPath: undefined Info 29 [16:01:38.000] Projects: /user/username/projects/myproject/main/tsconfig.json +After request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -306,6 +308,7 @@ Info 30 [16:01:40.000] request: "file": "/user/username/projects/myproject/random/random.ts" } } +Before request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -377,6 +380,7 @@ Info 48 [16:02:05.000] FileName: /user/username/projects/myproject/main/main. Info 48 [16:02:06.000] Projects: /user/username/projects/myproject/main/tsconfig.json Info 48 [16:02:07.000] FileName: /user/username/projects/myproject/random/random.ts ProjectRootPath: undefined Info 48 [16:02:08.000] Projects: /user/username/projects/myproject/random/tsconfig.json +After request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -423,6 +427,7 @@ Info 49 [16:02:10.000] request: "seq": 1, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -455,6 +460,7 @@ FsWatchesRecursive:: {} Info 50 [16:02:11.000] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls/FnS.d.ts.map 2000 undefined WatchType: Missing source map file +After request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -543,6 +549,7 @@ Info 59 [16:02:22.000] request: "seq": 2, "type": "request" } +Before request //// [/user/username/projects/myproject/decls/FnS.d.ts.map] {"version":3,"file":"FnS.d.ts","sourceRoot":"","sources":["../dependency/FnS.ts"],"names":[],"mappings":"AAAA,wBAAgB,GAAG,SAAM;AACzB,wBAAgB,GAAG,SAAM;AACzB,wBAAgB,GAAG,SAAM;AACzB,wBAAgB,GAAG,SAAM;AACzB,wBAAgB,GAAG,SAAM"} @@ -581,6 +588,7 @@ Info 60 [16:02:23.000] Starting updateGraphWorker: Project: /user/username/pro Info 61 [16:02:24.000] Finishing updateGraphWorker: Project: /user/username/projects/myproject/main/tsconfig.json Version: 2 structureChanged: false structureIsReused:: Not Elapsed:: *ms Info 62 [16:02:25.000] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls/FnS.d.ts.map 500 undefined WatchType: Closed Script info Info 63 [16:02:26.000] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/FnS.ts 500 undefined WatchType: Closed Script info +After request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -664,6 +672,7 @@ Info 65 [16:02:28.000] request: "seq": 3, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -699,6 +708,7 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +After request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -782,6 +792,7 @@ Info 67 [16:02:30.000] request: "seq": 4, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -817,6 +828,7 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +After request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -900,6 +912,7 @@ Info 69 [16:02:32.000] request: "seq": 5, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -935,6 +948,7 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +After request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -1018,6 +1032,7 @@ Info 71 [16:02:34.000] request: "seq": 6, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -1053,6 +1068,7 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +After request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -1134,6 +1150,7 @@ Info 73 [16:02:36.000] request: "file": "/user/username/projects/myproject/random/random.ts" } } +Before request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -1181,6 +1198,7 @@ Info 75 [16:02:43.000] ----------------------------------------------- Info 75 [16:02:44.000] Open files: Info 75 [16:02:45.000] FileName: /user/username/projects/myproject/main/main.ts ProjectRootPath: undefined Info 75 [16:02:46.000] Projects: /user/username/projects/myproject/main/tsconfig.json +After request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -1231,6 +1249,7 @@ Info 76 [16:02:48.000] request: "file": "/user/username/projects/myproject/random/random.ts" } } +Before request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -1284,6 +1303,7 @@ Info 80 [16:02:59.000] FileName: /user/username/projects/myproject/main/main. Info 80 [16:03:00.000] Projects: /user/username/projects/myproject/main/tsconfig.json Info 80 [16:03:01.000] FileName: /user/username/projects/myproject/random/random.ts ProjectRootPath: undefined Info 80 [16:03:02.000] Projects: /user/username/projects/myproject/random/tsconfig.json +After request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -1332,6 +1352,7 @@ Info 81 [16:03:04.000] request: "file": "/user/username/projects/myproject/main/main.ts" } } +Before request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -1379,6 +1400,7 @@ Info 83 [16:03:11.000] ----------------------------------------------- Info 83 [16:03:12.000] Open files: Info 83 [16:03:13.000] FileName: /user/username/projects/myproject/random/random.ts ProjectRootPath: undefined Info 83 [16:03:14.000] Projects: /user/username/projects/myproject/random/tsconfig.json +After request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -1429,6 +1451,7 @@ Info 84 [16:03:16.000] request: "file": "/user/username/projects/myproject/random/random.ts" } } +Before request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -1476,6 +1499,7 @@ Info 86 [16:03:22.000] Files (2) Info 86 [16:03:23.000] ----------------------------------------------- Info 86 [16:03:24.000] Open files: +After request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -1528,6 +1552,7 @@ Info 87 [16:03:26.000] request: "file": "/user/username/projects/myproject/random/random.ts" } } +Before request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -1609,6 +1634,7 @@ Info 111 [16:03:52.000] ----------------------------------------------- Info 111 [16:03:53.000] Open files: Info 111 [16:03:54.000] FileName: /user/username/projects/myproject/random/random.ts ProjectRootPath: undefined Info 111 [16:03:55.000] Projects: /user/username/projects/myproject/random/tsconfig.json +After request PolledWatches:: /user/username/projects/myproject/node_modules/@types: diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/disabledSourceRef/dependency-dtsMap-deleted.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/disabledSourceRef/dependency-dtsMap-deleted.js index 3ff09e83679b6..038a8ffe086dd 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/disabledSourceRef/dependency-dtsMap-deleted.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/disabledSourceRef/dependency-dtsMap-deleted.js @@ -8,6 +8,7 @@ Info 1 [16:01:04.000] request: "file": "/user/username/projects/myproject/main/main.ts" } } +Before request //// [/user/username/projects/myproject/dependency/FnS.ts] export function fn1() { } export function fn2() { } @@ -271,6 +272,7 @@ Info 29 [16:01:34.000] ----------------------------------------------- Info 29 [16:01:35.000] Open files: Info 29 [16:01:36.000] FileName: /user/username/projects/myproject/main/main.ts ProjectRootPath: undefined Info 29 [16:01:37.000] Projects: /user/username/projects/myproject/main/tsconfig.json +After request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -309,6 +311,7 @@ Info 30 [16:01:39.000] request: "file": "/user/username/projects/myproject/random/random.ts" } } +Before request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -380,6 +383,7 @@ Info 48 [16:02:04.000] FileName: /user/username/projects/myproject/main/main. Info 48 [16:02:05.000] Projects: /user/username/projects/myproject/main/tsconfig.json Info 48 [16:02:06.000] FileName: /user/username/projects/myproject/random/random.ts ProjectRootPath: undefined Info 48 [16:02:07.000] Projects: /user/username/projects/myproject/random/tsconfig.json +After request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -426,6 +430,7 @@ Info 49 [16:02:09.000] request: "seq": 1, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -459,6 +464,7 @@ FsWatchesRecursive:: Info 50 [16:02:10.000] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls/FnS.d.ts.map 500 undefined WatchType: Closed Script info Info 51 [16:02:11.000] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/FnS.ts 500 undefined WatchType: Closed Script info +After request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -549,6 +555,7 @@ Info 60 [16:02:21.000] request: "seq": 2, "type": "request" } +Before request //// [/user/username/projects/myproject/decls/FnS.d.ts.map] deleted PolledWatches:: @@ -586,6 +593,7 @@ FsWatchesRecursive:: Info 61 [16:02:22.000] Starting updateGraphWorker: Project: /user/username/projects/myproject/main/tsconfig.json Info 62 [16:02:23.000] Finishing updateGraphWorker: Project: /user/username/projects/myproject/main/tsconfig.json Version: 2 structureChanged: false structureIsReused:: Not Elapsed:: *ms Info 63 [16:02:24.000] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls/FnS.d.ts.map 2000 undefined WatchType: Missing source map file +After request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -669,6 +677,7 @@ Info 65 [16:02:26.000] request: "seq": 3, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -704,6 +713,7 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +After request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -787,6 +797,7 @@ Info 67 [16:02:28.000] request: "seq": 4, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -822,6 +833,7 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +After request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -905,6 +917,7 @@ Info 69 [16:02:30.000] request: "seq": 5, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -940,6 +953,7 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +After request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -1023,6 +1037,7 @@ Info 71 [16:02:32.000] request: "seq": 6, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -1058,6 +1073,7 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +After request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -1139,6 +1155,7 @@ Info 73 [16:02:34.000] request: "file": "/user/username/projects/myproject/random/random.ts" } } +Before request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -1186,6 +1203,7 @@ Info 75 [16:02:41.000] ----------------------------------------------- Info 75 [16:02:42.000] Open files: Info 75 [16:02:43.000] FileName: /user/username/projects/myproject/main/main.ts ProjectRootPath: undefined Info 75 [16:02:44.000] Projects: /user/username/projects/myproject/main/tsconfig.json +After request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -1236,6 +1254,7 @@ Info 76 [16:02:46.000] request: "file": "/user/username/projects/myproject/random/random.ts" } } +Before request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -1290,6 +1309,7 @@ Info 81 [16:02:58.000] FileName: /user/username/projects/myproject/main/main. Info 81 [16:02:59.000] Projects: /user/username/projects/myproject/main/tsconfig.json Info 81 [16:03:00.000] FileName: /user/username/projects/myproject/random/random.ts ProjectRootPath: undefined Info 81 [16:03:01.000] Projects: /user/username/projects/myproject/random/tsconfig.json +After request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -1336,6 +1356,7 @@ Info 82 [16:03:03.000] request: "file": "/user/username/projects/myproject/main/main.ts" } } +Before request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -1381,6 +1402,7 @@ Info 84 [16:03:10.000] ----------------------------------------------- Info 84 [16:03:11.000] Open files: Info 84 [16:03:12.000] FileName: /user/username/projects/myproject/random/random.ts ProjectRootPath: undefined Info 84 [16:03:13.000] Projects: /user/username/projects/myproject/random/tsconfig.json +After request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -1429,6 +1451,7 @@ Info 85 [16:03:15.000] request: "file": "/user/username/projects/myproject/random/random.ts" } } +Before request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -1474,6 +1497,7 @@ Info 87 [16:03:21.000] Files (2) Info 87 [16:03:22.000] ----------------------------------------------- Info 87 [16:03:23.000] Open files: +After request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -1524,6 +1548,7 @@ Info 88 [16:03:25.000] request: "file": "/user/username/projects/myproject/random/random.ts" } } +Before request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -1602,6 +1627,7 @@ Info 111 [16:03:50.000] ----------------------------------------------- Info 111 [16:03:51.000] Open files: Info 111 [16:03:52.000] FileName: /user/username/projects/myproject/random/random.ts ProjectRootPath: undefined Info 111 [16:03:53.000] Projects: /user/username/projects/myproject/random/tsconfig.json +After request PolledWatches:: /user/username/projects/myproject/node_modules/@types: diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/disabledSourceRef/dependency-dtsMap-not-present.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/disabledSourceRef/dependency-dtsMap-not-present.js index 8e30011615689..027c962a8ea69 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/disabledSourceRef/dependency-dtsMap-not-present.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/disabledSourceRef/dependency-dtsMap-not-present.js @@ -8,6 +8,7 @@ Info 1 [16:01:05.000] request: "file": "/user/username/projects/myproject/main/main.ts" } } +Before request //// [/user/username/projects/myproject/dependency/FnS.ts] export function fn1() { } export function fn2() { } @@ -268,6 +269,7 @@ Info 29 [16:01:35.000] ----------------------------------------------- Info 29 [16:01:36.000] Open files: Info 29 [16:01:37.000] FileName: /user/username/projects/myproject/main/main.ts ProjectRootPath: undefined Info 29 [16:01:38.000] Projects: /user/username/projects/myproject/main/tsconfig.json +After request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -306,6 +308,7 @@ Info 30 [16:01:40.000] request: "file": "/user/username/projects/myproject/random/random.ts" } } +Before request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -377,6 +380,7 @@ Info 48 [16:02:05.000] FileName: /user/username/projects/myproject/main/main. Info 48 [16:02:06.000] Projects: /user/username/projects/myproject/main/tsconfig.json Info 48 [16:02:07.000] FileName: /user/username/projects/myproject/random/random.ts ProjectRootPath: undefined Info 48 [16:02:08.000] Projects: /user/username/projects/myproject/random/tsconfig.json +After request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -423,6 +427,7 @@ Info 49 [16:02:10.000] request: "seq": 1, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -455,6 +460,7 @@ FsWatchesRecursive:: {} Info 50 [16:02:11.000] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls/FnS.d.ts.map 2000 undefined WatchType: Missing source map file +After request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -536,6 +542,7 @@ Info 52 [16:02:13.000] request: "seq": 2, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -569,6 +576,7 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +After request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -650,6 +658,7 @@ Info 54 [16:02:15.000] request: "seq": 3, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -683,6 +692,7 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +After request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -764,6 +774,7 @@ Info 56 [16:02:17.000] request: "seq": 4, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -797,6 +808,7 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +After request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -878,6 +890,7 @@ Info 58 [16:02:19.000] request: "seq": 5, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -911,6 +924,7 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +After request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -990,6 +1004,7 @@ Info 60 [16:02:21.000] request: "file": "/user/username/projects/myproject/random/random.ts" } } +Before request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -1035,6 +1050,7 @@ Info 62 [16:02:28.000] ----------------------------------------------- Info 62 [16:02:29.000] Open files: Info 62 [16:02:30.000] FileName: /user/username/projects/myproject/main/main.ts ProjectRootPath: undefined Info 62 [16:02:31.000] Projects: /user/username/projects/myproject/main/tsconfig.json +After request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -1083,6 +1099,7 @@ Info 63 [16:02:33.000] request: "file": "/user/username/projects/myproject/random/random.ts" } } +Before request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -1134,6 +1151,7 @@ Info 67 [16:02:44.000] FileName: /user/username/projects/myproject/main/main. Info 67 [16:02:45.000] Projects: /user/username/projects/myproject/main/tsconfig.json Info 67 [16:02:46.000] FileName: /user/username/projects/myproject/random/random.ts ProjectRootPath: undefined Info 67 [16:02:47.000] Projects: /user/username/projects/myproject/random/tsconfig.json +After request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -1180,6 +1198,7 @@ Info 68 [16:02:49.000] request: "file": "/user/username/projects/myproject/main/main.ts" } } +Before request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -1225,6 +1244,7 @@ Info 70 [16:02:56.000] ----------------------------------------------- Info 70 [16:02:57.000] Open files: Info 70 [16:02:58.000] FileName: /user/username/projects/myproject/random/random.ts ProjectRootPath: undefined Info 70 [16:02:59.000] Projects: /user/username/projects/myproject/random/tsconfig.json +After request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -1273,6 +1293,7 @@ Info 71 [16:03:01.000] request: "file": "/user/username/projects/myproject/random/random.ts" } } +Before request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -1318,6 +1339,7 @@ Info 73 [16:03:07.000] Files (2) Info 73 [16:03:08.000] ----------------------------------------------- Info 73 [16:03:09.000] Open files: +After request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -1368,6 +1390,7 @@ Info 74 [16:03:11.000] request: "file": "/user/username/projects/myproject/random/random.ts" } } +Before request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -1446,6 +1469,7 @@ Info 97 [16:03:36.000] ----------------------------------------------- Info 97 [16:03:37.000] Open files: Info 97 [16:03:38.000] FileName: /user/username/projects/myproject/random/random.ts ProjectRootPath: undefined Info 97 [16:03:39.000] Projects: /user/username/projects/myproject/random/tsconfig.json +After request PolledWatches:: /user/username/projects/myproject/node_modules/@types: diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/disabledSourceRef/usage-file-changes-with-timeout-before-request.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/disabledSourceRef/usage-file-changes-with-timeout-before-request.js index 24f3fc48434da..de10974947fff 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/disabledSourceRef/usage-file-changes-with-timeout-before-request.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/disabledSourceRef/usage-file-changes-with-timeout-before-request.js @@ -8,6 +8,7 @@ Info 1 [16:01:04.000] request: "file": "/user/username/projects/myproject/main/main.ts" } } +Before request //// [/user/username/projects/myproject/dependency/FnS.ts] export function fn1() { } export function fn2() { } @@ -271,6 +272,7 @@ Info 29 [16:01:34.000] ----------------------------------------------- Info 29 [16:01:35.000] Open files: Info 29 [16:01:36.000] FileName: /user/username/projects/myproject/main/main.ts ProjectRootPath: undefined Info 29 [16:01:37.000] Projects: /user/username/projects/myproject/main/tsconfig.json +After request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -309,6 +311,7 @@ Info 30 [16:01:39.000] request: "file": "/user/username/projects/myproject/random/random.ts" } } +Before request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -380,6 +383,7 @@ Info 48 [16:02:04.000] FileName: /user/username/projects/myproject/main/main. Info 48 [16:02:05.000] Projects: /user/username/projects/myproject/main/tsconfig.json Info 48 [16:02:06.000] FileName: /user/username/projects/myproject/random/random.ts ProjectRootPath: undefined Info 48 [16:02:07.000] Projects: /user/username/projects/myproject/random/tsconfig.json +After request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -426,6 +430,7 @@ Info 49 [16:02:09.000] request: "seq": 1, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -459,6 +464,7 @@ FsWatchesRecursive:: Info 50 [16:02:10.000] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls/FnS.d.ts.map 500 undefined WatchType: Closed Script info Info 51 [16:02:11.000] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/FnS.ts 500 undefined WatchType: Closed Script info +After request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -545,6 +551,7 @@ Info 53 [16:02:13.000] request: "seq": 2, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -580,6 +587,7 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +After request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -619,6 +627,78 @@ Info 54 [16:02:14.000] response: { "responseRequired": false } +Before running timeout callbacks + +PolledWatches:: +/user/username/projects/myproject/main/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/myproject/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/myproject/random/node_modules/@types: + {"pollingInterval":500} + +FsWatches:: +/user/username/projects/myproject/main/tsconfig.json: + {} +/user/username/projects/myproject/dependency/tsconfig.json: + {} +/user/username/projects/myproject/decls/fns.d.ts: + {} +/a/lib/lib.d.ts: + {} +/user/username/projects/myproject/random/tsconfig.json: + {} +/user/username/projects/myproject/decls/fns.d.ts.map: + {} +/user/username/projects/myproject/dependency/fns.ts: + {} + +FsWatchesRecursive:: +/user/username/projects/myproject/main: + {} +/user/username/projects/myproject/dependency: + {} +/user/username/projects/myproject/decls: + {} +/user/username/projects/myproject/random: + {} + +After running timeout callbacks + +PolledWatches:: +/user/username/projects/myproject/main/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/myproject/node_modules/@types: + {"pollingInterval":500} +/user/username/projects/myproject/random/node_modules/@types: + {"pollingInterval":500} + +FsWatches:: +/user/username/projects/myproject/main/tsconfig.json: + {} +/user/username/projects/myproject/dependency/tsconfig.json: + {} +/user/username/projects/myproject/decls/fns.d.ts: + {} +/a/lib/lib.d.ts: + {} +/user/username/projects/myproject/random/tsconfig.json: + {} +/user/username/projects/myproject/decls/fns.d.ts.map: + {} +/user/username/projects/myproject/dependency/fns.ts: + {} + +FsWatchesRecursive:: +/user/username/projects/myproject/main: + {} +/user/username/projects/myproject/dependency: + {} +/user/username/projects/myproject/decls: + {} +/user/username/projects/myproject/random: + {} + Info 55 [16:02:15.000] request: { "command": "definitionAndBoundSpan", @@ -630,6 +710,7 @@ Info 55 [16:02:15.000] request: "seq": 3, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -668,6 +749,7 @@ FsWatchesRecursive:: Info 56 [16:02:16.000] Starting updateGraphWorker: Project: /user/username/projects/myproject/main/tsconfig.json Info 57 [16:02:17.000] Finishing updateGraphWorker: Project: /user/username/projects/myproject/main/tsconfig.json Version: 2 structureChanged: false structureIsReused:: Completely Elapsed:: *ms Info 58 [16:02:18.000] Different program with same set of files +After request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -751,6 +833,7 @@ Info 60 [16:02:20.000] request: "seq": 4, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -786,6 +869,7 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +After request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -869,6 +953,7 @@ Info 62 [16:02:22.000] request: "seq": 5, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -904,6 +989,7 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +After request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -987,6 +1073,7 @@ Info 64 [16:02:24.000] request: "seq": 6, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -1022,6 +1109,7 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +After request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -1105,6 +1193,7 @@ Info 66 [16:02:26.000] request: "seq": 7, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -1140,6 +1229,7 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +After request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: diff --git a/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/disabledSourceRef/usage-file-changes.js b/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/disabledSourceRef/usage-file-changes.js index 24f3fc48434da..04a93e42e40e2 100644 --- a/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/disabledSourceRef/usage-file-changes.js +++ b/tests/baselines/reference/tsserver/projectReferencesSourcemap/usageProject/disabledSourceRef/usage-file-changes.js @@ -8,6 +8,7 @@ Info 1 [16:01:04.000] request: "file": "/user/username/projects/myproject/main/main.ts" } } +Before request //// [/user/username/projects/myproject/dependency/FnS.ts] export function fn1() { } export function fn2() { } @@ -271,6 +272,7 @@ Info 29 [16:01:34.000] ----------------------------------------------- Info 29 [16:01:35.000] Open files: Info 29 [16:01:36.000] FileName: /user/username/projects/myproject/main/main.ts ProjectRootPath: undefined Info 29 [16:01:37.000] Projects: /user/username/projects/myproject/main/tsconfig.json +After request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -309,6 +311,7 @@ Info 30 [16:01:39.000] request: "file": "/user/username/projects/myproject/random/random.ts" } } +Before request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -380,6 +383,7 @@ Info 48 [16:02:04.000] FileName: /user/username/projects/myproject/main/main. Info 48 [16:02:05.000] Projects: /user/username/projects/myproject/main/tsconfig.json Info 48 [16:02:06.000] FileName: /user/username/projects/myproject/random/random.ts ProjectRootPath: undefined Info 48 [16:02:07.000] Projects: /user/username/projects/myproject/random/tsconfig.json +After request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -426,6 +430,7 @@ Info 49 [16:02:09.000] request: "seq": 1, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -459,6 +464,7 @@ FsWatchesRecursive:: Info 50 [16:02:10.000] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/decls/FnS.d.ts.map 500 undefined WatchType: Closed Script info Info 51 [16:02:11.000] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/dependency/FnS.ts 500 undefined WatchType: Closed Script info +After request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -545,6 +551,7 @@ Info 53 [16:02:13.000] request: "seq": 2, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -580,6 +587,7 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +After request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -630,6 +638,7 @@ Info 55 [16:02:15.000] request: "seq": 3, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -668,6 +677,7 @@ FsWatchesRecursive:: Info 56 [16:02:16.000] Starting updateGraphWorker: Project: /user/username/projects/myproject/main/tsconfig.json Info 57 [16:02:17.000] Finishing updateGraphWorker: Project: /user/username/projects/myproject/main/tsconfig.json Version: 2 structureChanged: false structureIsReused:: Completely Elapsed:: *ms Info 58 [16:02:18.000] Different program with same set of files +After request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -751,6 +761,7 @@ Info 60 [16:02:20.000] request: "seq": 4, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -786,6 +797,7 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +After request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -869,6 +881,7 @@ Info 62 [16:02:22.000] request: "seq": 5, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -904,6 +917,7 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +After request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -987,6 +1001,7 @@ Info 64 [16:02:24.000] request: "seq": 6, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -1022,6 +1037,7 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +After request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -1105,6 +1121,7 @@ Info 66 [16:02:26.000] request: "seq": 7, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: @@ -1140,6 +1157,7 @@ FsWatchesRecursive:: /user/username/projects/myproject/random: {} +After request PolledWatches:: /user/username/projects/myproject/main/node_modules/@types: diff --git a/tests/baselines/reference/tsserver/projectUpdatedInBackground/when-event-handler-is-set-in-the-session-and-project-is-at-root-level.js b/tests/baselines/reference/tsserver/projectUpdatedInBackground/when-event-handler-is-set-in-the-session-and-project-is-at-root-level.js index e36742fd51ada..bddaad27cd1dd 100644 --- a/tests/baselines/reference/tsserver/projectUpdatedInBackground/when-event-handler-is-set-in-the-session-and-project-is-at-root-level.js +++ b/tests/baselines/reference/tsserver/projectUpdatedInBackground/when-event-handler-is-set-in-the-session-and-project-is-at-root-level.js @@ -8,6 +8,7 @@ Info 1 [16:00:20.000] request: "seq": 1, "type": "request" } +Before request //// [/a/b/project/file1.ts] import a from "file2" @@ -82,6 +83,7 @@ Info 19 [16:00:40.000] ----------------------------------------------- Info 19 [16:00:41.000] Open files: Info 19 [16:00:42.000] FileName: /a/b/project/file1.ts ProjectRootPath: undefined Info 19 [16:00:43.000] Projects: /a/b/project/tsconfig.json +After request PolledWatches:: /a/b/project/node_modules: @@ -107,6 +109,27 @@ Info 20 [16:00:48.000] FileWatcher:: Triggered with /a/b/project/file3.ts 1:: Info 21 [16:00:49.000] Scheduled: /a/b/project/tsconfig.json Info 22 [16:00:50.000] Scheduled: *ensureProjectForOpenFiles* Info 23 [16:00:51.000] Elapsed:: *ms FileWatcher:: Triggered with /a/b/project/file3.ts 1:: WatchInfo: /a/b/project/file3.ts 500 undefined WatchType: Closed Script info +Before checking timeout queue length (2) and running +//// [/a/b/project/file3.ts] +export class c { }export class d {} + + +PolledWatches:: +/a/b/project/node_modules: + {"pollingInterval":500} + +FsWatches:: +/a/b/project/tsconfig.json: + {} +/a/b/project/file3.ts: + {} +/a/lib/lib.d.ts: + {} + +FsWatchesRecursive:: +/a/b/project: + {} + Info 24 [16:00:52.000] Running: /a/b/project/tsconfig.json Info 25 [16:00:53.000] Starting updateGraphWorker: Project: /a/b/project/tsconfig.json Info 26 [16:00:54.000] Finishing updateGraphWorker: Project: /a/b/project/tsconfig.json Version: 2 structureChanged: false structureIsReused:: Completely Elapsed:: *ms @@ -127,4 +150,96 @@ Info 31 [16:01:06.000] Files (3) Info 31 [16:01:07.000] ----------------------------------------------- Info 31 [16:01:08.000] Open files: Info 31 [16:01:09.000] FileName: /a/b/project/file1.ts ProjectRootPath: undefined -Info 31 [16:01:10.000] Projects: /a/b/project/tsconfig.json \ No newline at end of file +Info 31 [16:01:10.000] Projects: /a/b/project/tsconfig.json +After checking timeout queue length (2) and running + +PolledWatches:: +/a/b/project/node_modules: + {"pollingInterval":500} + +FsWatches:: +/a/b/project/tsconfig.json: + {} +/a/b/project/file3.ts: + {} +/a/lib/lib.d.ts: + {} + +FsWatchesRecursive:: +/a/b/project: + {} + +Before running timeout callbacks +//// [/a/b/node_modules/file2.d.ts] +export class a { } + + +PolledWatches:: +/a/b/project/node_modules: + {"pollingInterval":500} + +FsWatches:: +/a/b/project/tsconfig.json: + {} +/a/b/project/file3.ts: + {} +/a/lib/lib.d.ts: + {} + +FsWatchesRecursive:: +/a/b/project: + {} + +After running timeout callbacks + +PolledWatches:: +/a/b/project/node_modules: + {"pollingInterval":500} + +FsWatches:: +/a/b/project/tsconfig.json: + {} +/a/b/project/file3.ts: + {} +/a/lib/lib.d.ts: + {} + +FsWatchesRecursive:: +/a/b/project: + {} + +Before running timeout callbacks + +PolledWatches:: +/a/b/project/node_modules: + {"pollingInterval":500} + +FsWatches:: +/a/b/project/tsconfig.json: + {} +/a/b/project/file3.ts: + {} +/a/lib/lib.d.ts: + {} + +FsWatchesRecursive:: +/a/b/project: + {} + +After running timeout callbacks + +PolledWatches:: +/a/b/project/node_modules: + {"pollingInterval":500} + +FsWatches:: +/a/b/project/tsconfig.json: + {} +/a/b/project/file3.ts: + {} +/a/lib/lib.d.ts: + {} + +FsWatchesRecursive:: +/a/b/project: + {} diff --git a/tests/baselines/reference/tsserver/projectUpdatedInBackground/when-event-handler-is-set-in-the-session-and-project-is-not-at-root-level.js b/tests/baselines/reference/tsserver/projectUpdatedInBackground/when-event-handler-is-set-in-the-session-and-project-is-not-at-root-level.js index 0b863aa9a266b..5887dc2a06f91 100644 --- a/tests/baselines/reference/tsserver/projectUpdatedInBackground/when-event-handler-is-set-in-the-session-and-project-is-not-at-root-level.js +++ b/tests/baselines/reference/tsserver/projectUpdatedInBackground/when-event-handler-is-set-in-the-session-and-project-is-not-at-root-level.js @@ -8,6 +8,7 @@ Info 1 [16:00:30.000] request: "seq": 1, "type": "request" } +Before request //// [/user/username/rootfolder/otherfolder/a/b/project/file1.ts] import a from "file2" @@ -88,6 +89,7 @@ Info 25 [16:00:56.000] ----------------------------------------------- Info 25 [16:00:57.000] Open files: Info 25 [16:00:58.000] FileName: /user/username/rootfolder/otherfolder/a/b/project/file1.ts ProjectRootPath: undefined Info 25 [16:00:59.000] Projects: /user/username/rootfolder/otherfolder/a/b/project/tsconfig.json +After request PolledWatches:: /user/username/rootfolder/otherfolder/a/b/project/node_modules: @@ -119,6 +121,33 @@ Info 26 [16:01:04.000] FileWatcher:: Triggered with /user/username/rootfolder/ Info 27 [16:01:05.000] Scheduled: /user/username/rootfolder/otherfolder/a/b/project/tsconfig.json Info 28 [16:01:06.000] Scheduled: *ensureProjectForOpenFiles* Info 29 [16:01:07.000] Elapsed:: *ms FileWatcher:: Triggered with /user/username/rootfolder/otherfolder/a/b/project/file3.ts 1:: WatchInfo: /user/username/rootfolder/otherfolder/a/b/project/file3.ts 500 undefined WatchType: Closed Script info +Before checking timeout queue length (2) and running +//// [/user/username/rootfolder/otherfolder/a/b/project/file3.ts] +export class c { }export class d {} + + +PolledWatches:: +/user/username/rootfolder/otherfolder/a/b/project/node_modules: + {"pollingInterval":500} +/user/username/rootfolder/otherfolder/a/b/node_modules: + {"pollingInterval":500} +/user/username/rootfolder/otherfolder/a/node_modules: + {"pollingInterval":500} +/user/username/rootfolder/otherfolder/node_modules: + {"pollingInterval":500} + +FsWatches:: +/user/username/rootfolder/otherfolder/a/b/project/tsconfig.json: + {} +/user/username/rootfolder/otherfolder/a/b/project/file3.ts: + {} +/a/lib/lib.d.ts: + {} + +FsWatchesRecursive:: +/user/username/rootfolder/otherfolder/a/b/project: + {} + Info 30 [16:01:08.000] Running: /user/username/rootfolder/otherfolder/a/b/project/tsconfig.json Info 31 [16:01:09.000] Starting updateGraphWorker: Project: /user/username/rootfolder/otherfolder/a/b/project/tsconfig.json Info 32 [16:01:10.000] Finishing updateGraphWorker: Project: /user/username/rootfolder/otherfolder/a/b/project/tsconfig.json Version: 2 structureChanged: false structureIsReused:: Completely Elapsed:: *ms @@ -140,6 +169,30 @@ Info 37 [16:01:23.000] ----------------------------------------------- Info 37 [16:01:24.000] Open files: Info 37 [16:01:25.000] FileName: /user/username/rootfolder/otherfolder/a/b/project/file1.ts ProjectRootPath: undefined Info 37 [16:01:26.000] Projects: /user/username/rootfolder/otherfolder/a/b/project/tsconfig.json +After checking timeout queue length (2) and running + +PolledWatches:: +/user/username/rootfolder/otherfolder/a/b/project/node_modules: + {"pollingInterval":500} +/user/username/rootfolder/otherfolder/a/b/node_modules: + {"pollingInterval":500} +/user/username/rootfolder/otherfolder/a/node_modules: + {"pollingInterval":500} +/user/username/rootfolder/otherfolder/node_modules: + {"pollingInterval":500} + +FsWatches:: +/user/username/rootfolder/otherfolder/a/b/project/tsconfig.json: + {} +/user/username/rootfolder/otherfolder/a/b/project/file3.ts: + {} +/a/lib/lib.d.ts: + {} + +FsWatchesRecursive:: +/user/username/rootfolder/otherfolder/a/b/project: + {} + Info 37 [16:01:30.000] DirectoryWatcher:: Triggered with /user/username/rootfolder/otherfolder/a/b/node_modules :: WatchInfo: /user/username/rootfolder/otherfolder/a/b/node_modules 1 undefined Project: /user/username/rootfolder/otherfolder/a/b/project/tsconfig.json WatchType: Failed Lookup Locations Info 38 [16:01:31.000] Scheduled: /user/username/rootfolder/otherfolder/a/b/project/tsconfig.jsonFailedLookupInvalidation Info 39 [16:01:32.000] Elapsed:: *ms DirectoryWatcher:: Triggered with /user/username/rootfolder/otherfolder/a/b/node_modules :: WatchInfo: /user/username/rootfolder/otherfolder/a/b/node_modules 1 undefined Project: /user/username/rootfolder/otherfolder/a/b/project/tsconfig.json WatchType: Failed Lookup Locations @@ -149,9 +202,84 @@ Info 42 [16:01:35.000] Elapsed:: *ms DirectoryWatcher:: Triggered with /user/u Info 43 [16:01:38.000] DirectoryWatcher:: Triggered with /user/username/rootfolder/otherfolder/a/b/node_modules/file2.d.ts :: WatchInfo: /user/username/rootfolder/otherfolder/a/b/node_modules 1 undefined Project: /user/username/rootfolder/otherfolder/a/b/project/tsconfig.json WatchType: Failed Lookup Locations Info 44 [16:01:39.000] Scheduled: /user/username/rootfolder/otherfolder/a/b/project/tsconfig.jsonFailedLookupInvalidation, Cancelled earlier one Info 45 [16:01:40.000] Elapsed:: *ms DirectoryWatcher:: Triggered with /user/username/rootfolder/otherfolder/a/b/node_modules/file2.d.ts :: WatchInfo: /user/username/rootfolder/otherfolder/a/b/node_modules 1 undefined Project: /user/username/rootfolder/otherfolder/a/b/project/tsconfig.json WatchType: Failed Lookup Locations +Before running timeout callbacks +//// [/user/username/rootfolder/otherfolder/a/b/node_modules/file2.d.ts] +export class a { } + + +PolledWatches:: +/user/username/rootfolder/otherfolder/a/b/project/node_modules: + {"pollingInterval":500} +/user/username/rootfolder/otherfolder/a/node_modules: + {"pollingInterval":500} +/user/username/rootfolder/otherfolder/node_modules: + {"pollingInterval":500} + +FsWatches:: +/user/username/rootfolder/otherfolder/a/b/project/tsconfig.json: + {} +/user/username/rootfolder/otherfolder/a/b/project/file3.ts: + {} +/a/lib/lib.d.ts: + {} + +FsWatchesRecursive:: +/user/username/rootfolder/otherfolder/a/b/project: + {} +/user/username/rootfolder/otherfolder/a/b/node_modules: + {} + Info 46 [16:01:41.000] Running: /user/username/rootfolder/otherfolder/a/b/project/tsconfig.jsonFailedLookupInvalidation Info 47 [16:01:42.000] Scheduled: /user/username/rootfolder/otherfolder/a/b/project/tsconfig.json Info 48 [16:01:43.000] Scheduled: *ensureProjectForOpenFiles* +After running timeout callbacks + +PolledWatches:: +/user/username/rootfolder/otherfolder/a/b/project/node_modules: + {"pollingInterval":500} +/user/username/rootfolder/otherfolder/a/node_modules: + {"pollingInterval":500} +/user/username/rootfolder/otherfolder/node_modules: + {"pollingInterval":500} + +FsWatches:: +/user/username/rootfolder/otherfolder/a/b/project/tsconfig.json: + {} +/user/username/rootfolder/otherfolder/a/b/project/file3.ts: + {} +/a/lib/lib.d.ts: + {} + +FsWatchesRecursive:: +/user/username/rootfolder/otherfolder/a/b/project: + {} +/user/username/rootfolder/otherfolder/a/b/node_modules: + {} + +Before running timeout callbacks + +PolledWatches:: +/user/username/rootfolder/otherfolder/a/b/project/node_modules: + {"pollingInterval":500} +/user/username/rootfolder/otherfolder/a/node_modules: + {"pollingInterval":500} +/user/username/rootfolder/otherfolder/node_modules: + {"pollingInterval":500} + +FsWatches:: +/user/username/rootfolder/otherfolder/a/b/project/tsconfig.json: + {} +/user/username/rootfolder/otherfolder/a/b/project/file3.ts: + {} +/a/lib/lib.d.ts: + {} + +FsWatchesRecursive:: +/user/username/rootfolder/otherfolder/a/b/project: + {} +/user/username/rootfolder/otherfolder/a/b/node_modules: + {} + Info 49 [16:01:44.000] Running: /user/username/rootfolder/otherfolder/a/b/project/tsconfig.json Info 50 [16:01:45.000] Starting updateGraphWorker: Project: /user/username/rootfolder/otherfolder/a/b/project/tsconfig.json Info 51 [16:01:46.000] DirectoryWatcher:: Added:: WatchInfo: /user/username/rootfolder/otherfolder/a/b/node_modules 1 undefined WatchType: node_modules for closed script infos and package.jsons affecting module specifier cache @@ -195,4 +323,23 @@ Info 64 [16:02:06.000] Files (4) Info 64 [16:02:07.000] ----------------------------------------------- Info 64 [16:02:08.000] Open files: Info 64 [16:02:09.000] FileName: /user/username/rootfolder/otherfolder/a/b/project/file1.ts ProjectRootPath: undefined -Info 64 [16:02:10.000] Projects: /user/username/rootfolder/otherfolder/a/b/project/tsconfig.json \ No newline at end of file +Info 64 [16:02:10.000] Projects: /user/username/rootfolder/otherfolder/a/b/project/tsconfig.json +After running timeout callbacks + +PolledWatches:: +/user/username/rootfolder/otherfolder/a/b/project/node_modules: + {"pollingInterval":500} + +FsWatches:: +/user/username/rootfolder/otherfolder/a/b/project/tsconfig.json: + {} +/user/username/rootfolder/otherfolder/a/b/project/file3.ts: + {} +/a/lib/lib.d.ts: + {} + +FsWatchesRecursive:: +/user/username/rootfolder/otherfolder/a/b/project: + {} +/user/username/rootfolder/otherfolder/a/b/node_modules: + {} diff --git a/tests/baselines/reference/tsserver/projectUpdatedInBackground/with-noGetErrOnBackgroundUpdate-and-project-is-at-root-level.js b/tests/baselines/reference/tsserver/projectUpdatedInBackground/with-noGetErrOnBackgroundUpdate-and-project-is-at-root-level.js index 5457a44ae9061..94a7c61d7d242 100644 --- a/tests/baselines/reference/tsserver/projectUpdatedInBackground/with-noGetErrOnBackgroundUpdate-and-project-is-at-root-level.js +++ b/tests/baselines/reference/tsserver/projectUpdatedInBackground/with-noGetErrOnBackgroundUpdate-and-project-is-at-root-level.js @@ -8,6 +8,7 @@ Info 1 [16:00:20.000] request: "seq": 1, "type": "request" } +Before request //// [/a/b/project/file1.ts] import a from "file2" @@ -90,6 +91,7 @@ Info 23 [16:00:44.000] ----------------------------------------------- Info 23 [16:00:45.000] Open files: Info 23 [16:00:46.000] FileName: /a/b/project/file1.ts ProjectRootPath: undefined Info 23 [16:00:47.000] Projects: /a/b/project/tsconfig.json +After request PolledWatches:: /a/b/project/node_modules: @@ -115,6 +117,27 @@ Info 24 [16:00:52.000] FileWatcher:: Triggered with /a/b/project/file3.ts 1:: Info 25 [16:00:53.000] Scheduled: /a/b/project/tsconfig.json Info 26 [16:00:54.000] Scheduled: *ensureProjectForOpenFiles* Info 27 [16:00:55.000] Elapsed:: *ms FileWatcher:: Triggered with /a/b/project/file3.ts 1:: WatchInfo: /a/b/project/file3.ts 500 undefined WatchType: Closed Script info +Before checking timeout queue length (2) and running +//// [/a/b/project/file3.ts] +export class c { }export class d {} + + +PolledWatches:: +/a/b/project/node_modules: + {"pollingInterval":500} + +FsWatches:: +/a/b/project/tsconfig.json: + {} +/a/b/project/file3.ts: + {} +/a/lib/lib.d.ts: + {} + +FsWatchesRecursive:: +/a/b/project: + {} + Info 28 [16:00:56.000] Running: /a/b/project/tsconfig.json Info 29 [16:00:57.000] Starting updateGraphWorker: Project: /a/b/project/tsconfig.json Info 30 [16:00:58.000] Finishing updateGraphWorker: Project: /a/b/project/tsconfig.json Version: 2 structureChanged: false structureIsReused:: Completely Elapsed:: *ms @@ -138,4 +161,96 @@ Info 35 [16:01:13.000] FileName: /a/b/project/file1.ts ProjectRootPath: undef Info 35 [16:01:14.000] Projects: /a/b/project/tsconfig.json Info 35 [16:01:15.000] got projects updated in background, updating diagnostics for /a/b/project/file1.ts Info 36 [16:01:16.000] event: - {"seq":0,"type":"event","event":"projectsUpdatedInBackground","body":{"openFiles":["/a/b/project/file1.ts"]}} \ No newline at end of file + {"seq":0,"type":"event","event":"projectsUpdatedInBackground","body":{"openFiles":["/a/b/project/file1.ts"]}} +After checking timeout queue length (2) and running + +PolledWatches:: +/a/b/project/node_modules: + {"pollingInterval":500} + +FsWatches:: +/a/b/project/tsconfig.json: + {} +/a/b/project/file3.ts: + {} +/a/lib/lib.d.ts: + {} + +FsWatchesRecursive:: +/a/b/project: + {} + +Before running timeout callbacks +//// [/a/b/node_modules/file2.d.ts] +export class a { } + + +PolledWatches:: +/a/b/project/node_modules: + {"pollingInterval":500} + +FsWatches:: +/a/b/project/tsconfig.json: + {} +/a/b/project/file3.ts: + {} +/a/lib/lib.d.ts: + {} + +FsWatchesRecursive:: +/a/b/project: + {} + +After running timeout callbacks + +PolledWatches:: +/a/b/project/node_modules: + {"pollingInterval":500} + +FsWatches:: +/a/b/project/tsconfig.json: + {} +/a/b/project/file3.ts: + {} +/a/lib/lib.d.ts: + {} + +FsWatchesRecursive:: +/a/b/project: + {} + +Before running timeout callbacks + +PolledWatches:: +/a/b/project/node_modules: + {"pollingInterval":500} + +FsWatches:: +/a/b/project/tsconfig.json: + {} +/a/b/project/file3.ts: + {} +/a/lib/lib.d.ts: + {} + +FsWatchesRecursive:: +/a/b/project: + {} + +After running timeout callbacks + +PolledWatches:: +/a/b/project/node_modules: + {"pollingInterval":500} + +FsWatches:: +/a/b/project/tsconfig.json: + {} +/a/b/project/file3.ts: + {} +/a/lib/lib.d.ts: + {} + +FsWatchesRecursive:: +/a/b/project: + {} diff --git a/tests/baselines/reference/tsserver/projectUpdatedInBackground/with-noGetErrOnBackgroundUpdate-and-project-is-not-at-root-level.js b/tests/baselines/reference/tsserver/projectUpdatedInBackground/with-noGetErrOnBackgroundUpdate-and-project-is-not-at-root-level.js index 931bcc33d965f..7cab15d7d62c1 100644 --- a/tests/baselines/reference/tsserver/projectUpdatedInBackground/with-noGetErrOnBackgroundUpdate-and-project-is-not-at-root-level.js +++ b/tests/baselines/reference/tsserver/projectUpdatedInBackground/with-noGetErrOnBackgroundUpdate-and-project-is-not-at-root-level.js @@ -8,6 +8,7 @@ Info 1 [16:00:30.000] request: "seq": 1, "type": "request" } +Before request //// [/user/username/rootfolder/otherfolder/a/b/project/file1.ts] import a from "file2" @@ -96,6 +97,7 @@ Info 29 [16:01:00.000] ----------------------------------------------- Info 29 [16:01:01.000] Open files: Info 29 [16:01:02.000] FileName: /user/username/rootfolder/otherfolder/a/b/project/file1.ts ProjectRootPath: undefined Info 29 [16:01:03.000] Projects: /user/username/rootfolder/otherfolder/a/b/project/tsconfig.json +After request PolledWatches:: /user/username/rootfolder/otherfolder/a/b/project/node_modules: @@ -127,6 +129,33 @@ Info 30 [16:01:08.000] FileWatcher:: Triggered with /user/username/rootfolder/ Info 31 [16:01:09.000] Scheduled: /user/username/rootfolder/otherfolder/a/b/project/tsconfig.json Info 32 [16:01:10.000] Scheduled: *ensureProjectForOpenFiles* Info 33 [16:01:11.000] Elapsed:: *ms FileWatcher:: Triggered with /user/username/rootfolder/otherfolder/a/b/project/file3.ts 1:: WatchInfo: /user/username/rootfolder/otherfolder/a/b/project/file3.ts 500 undefined WatchType: Closed Script info +Before checking timeout queue length (2) and running +//// [/user/username/rootfolder/otherfolder/a/b/project/file3.ts] +export class c { }export class d {} + + +PolledWatches:: +/user/username/rootfolder/otherfolder/a/b/project/node_modules: + {"pollingInterval":500} +/user/username/rootfolder/otherfolder/a/b/node_modules: + {"pollingInterval":500} +/user/username/rootfolder/otherfolder/a/node_modules: + {"pollingInterval":500} +/user/username/rootfolder/otherfolder/node_modules: + {"pollingInterval":500} + +FsWatches:: +/user/username/rootfolder/otherfolder/a/b/project/tsconfig.json: + {} +/user/username/rootfolder/otherfolder/a/b/project/file3.ts: + {} +/a/lib/lib.d.ts: + {} + +FsWatchesRecursive:: +/user/username/rootfolder/otherfolder/a/b/project: + {} + Info 34 [16:01:12.000] Running: /user/username/rootfolder/otherfolder/a/b/project/tsconfig.json Info 35 [16:01:13.000] Starting updateGraphWorker: Project: /user/username/rootfolder/otherfolder/a/b/project/tsconfig.json Info 36 [16:01:14.000] Finishing updateGraphWorker: Project: /user/username/rootfolder/otherfolder/a/b/project/tsconfig.json Version: 2 structureChanged: false structureIsReused:: Completely Elapsed:: *ms @@ -151,6 +180,30 @@ Info 41 [16:01:30.000] Projects: /user/username/rootfolder/otherfolder/a/b/p Info 41 [16:01:31.000] got projects updated in background, updating diagnostics for /user/username/rootfolder/otherfolder/a/b/project/file1.ts Info 42 [16:01:32.000] event: {"seq":0,"type":"event","event":"projectsUpdatedInBackground","body":{"openFiles":["/user/username/rootfolder/otherfolder/a/b/project/file1.ts"]}} +After checking timeout queue length (2) and running + +PolledWatches:: +/user/username/rootfolder/otherfolder/a/b/project/node_modules: + {"pollingInterval":500} +/user/username/rootfolder/otherfolder/a/b/node_modules: + {"pollingInterval":500} +/user/username/rootfolder/otherfolder/a/node_modules: + {"pollingInterval":500} +/user/username/rootfolder/otherfolder/node_modules: + {"pollingInterval":500} + +FsWatches:: +/user/username/rootfolder/otherfolder/a/b/project/tsconfig.json: + {} +/user/username/rootfolder/otherfolder/a/b/project/file3.ts: + {} +/a/lib/lib.d.ts: + {} + +FsWatchesRecursive:: +/user/username/rootfolder/otherfolder/a/b/project: + {} + Info 43 [16:01:36.000] DirectoryWatcher:: Triggered with /user/username/rootfolder/otherfolder/a/b/node_modules :: WatchInfo: /user/username/rootfolder/otherfolder/a/b/node_modules 1 undefined Project: /user/username/rootfolder/otherfolder/a/b/project/tsconfig.json WatchType: Failed Lookup Locations Info 44 [16:01:37.000] Scheduled: /user/username/rootfolder/otherfolder/a/b/project/tsconfig.jsonFailedLookupInvalidation Info 45 [16:01:38.000] Elapsed:: *ms DirectoryWatcher:: Triggered with /user/username/rootfolder/otherfolder/a/b/node_modules :: WatchInfo: /user/username/rootfolder/otherfolder/a/b/node_modules 1 undefined Project: /user/username/rootfolder/otherfolder/a/b/project/tsconfig.json WatchType: Failed Lookup Locations @@ -160,9 +213,84 @@ Info 48 [16:01:41.000] Elapsed:: *ms DirectoryWatcher:: Triggered with /user/u Info 49 [16:01:44.000] DirectoryWatcher:: Triggered with /user/username/rootfolder/otherfolder/a/b/node_modules/file2.d.ts :: WatchInfo: /user/username/rootfolder/otherfolder/a/b/node_modules 1 undefined Project: /user/username/rootfolder/otherfolder/a/b/project/tsconfig.json WatchType: Failed Lookup Locations Info 50 [16:01:45.000] Scheduled: /user/username/rootfolder/otherfolder/a/b/project/tsconfig.jsonFailedLookupInvalidation, Cancelled earlier one Info 51 [16:01:46.000] Elapsed:: *ms DirectoryWatcher:: Triggered with /user/username/rootfolder/otherfolder/a/b/node_modules/file2.d.ts :: WatchInfo: /user/username/rootfolder/otherfolder/a/b/node_modules 1 undefined Project: /user/username/rootfolder/otherfolder/a/b/project/tsconfig.json WatchType: Failed Lookup Locations +Before running timeout callbacks +//// [/user/username/rootfolder/otherfolder/a/b/node_modules/file2.d.ts] +export class a { } + + +PolledWatches:: +/user/username/rootfolder/otherfolder/a/b/project/node_modules: + {"pollingInterval":500} +/user/username/rootfolder/otherfolder/a/node_modules: + {"pollingInterval":500} +/user/username/rootfolder/otherfolder/node_modules: + {"pollingInterval":500} + +FsWatches:: +/user/username/rootfolder/otherfolder/a/b/project/tsconfig.json: + {} +/user/username/rootfolder/otherfolder/a/b/project/file3.ts: + {} +/a/lib/lib.d.ts: + {} + +FsWatchesRecursive:: +/user/username/rootfolder/otherfolder/a/b/project: + {} +/user/username/rootfolder/otherfolder/a/b/node_modules: + {} + Info 52 [16:01:47.000] Running: /user/username/rootfolder/otherfolder/a/b/project/tsconfig.jsonFailedLookupInvalidation Info 53 [16:01:48.000] Scheduled: /user/username/rootfolder/otherfolder/a/b/project/tsconfig.json Info 54 [16:01:49.000] Scheduled: *ensureProjectForOpenFiles* +After running timeout callbacks + +PolledWatches:: +/user/username/rootfolder/otherfolder/a/b/project/node_modules: + {"pollingInterval":500} +/user/username/rootfolder/otherfolder/a/node_modules: + {"pollingInterval":500} +/user/username/rootfolder/otherfolder/node_modules: + {"pollingInterval":500} + +FsWatches:: +/user/username/rootfolder/otherfolder/a/b/project/tsconfig.json: + {} +/user/username/rootfolder/otherfolder/a/b/project/file3.ts: + {} +/a/lib/lib.d.ts: + {} + +FsWatchesRecursive:: +/user/username/rootfolder/otherfolder/a/b/project: + {} +/user/username/rootfolder/otherfolder/a/b/node_modules: + {} + +Before running timeout callbacks + +PolledWatches:: +/user/username/rootfolder/otherfolder/a/b/project/node_modules: + {"pollingInterval":500} +/user/username/rootfolder/otherfolder/a/node_modules: + {"pollingInterval":500} +/user/username/rootfolder/otherfolder/node_modules: + {"pollingInterval":500} + +FsWatches:: +/user/username/rootfolder/otherfolder/a/b/project/tsconfig.json: + {} +/user/username/rootfolder/otherfolder/a/b/project/file3.ts: + {} +/a/lib/lib.d.ts: + {} + +FsWatchesRecursive:: +/user/username/rootfolder/otherfolder/a/b/project: + {} +/user/username/rootfolder/otherfolder/a/b/node_modules: + {} + Info 55 [16:01:50.000] Running: /user/username/rootfolder/otherfolder/a/b/project/tsconfig.json Info 56 [16:01:51.000] Starting updateGraphWorker: Project: /user/username/rootfolder/otherfolder/a/b/project/tsconfig.json Info 57 [16:01:52.000] DirectoryWatcher:: Added:: WatchInfo: /user/username/rootfolder/otherfolder/a/b/node_modules 1 undefined WatchType: node_modules for closed script infos and package.jsons affecting module specifier cache @@ -209,4 +337,23 @@ Info 70 [16:02:15.000] FileName: /user/username/rootfolder/otherfolder/a/b/pr Info 70 [16:02:16.000] Projects: /user/username/rootfolder/otherfolder/a/b/project/tsconfig.json Info 70 [16:02:17.000] got projects updated in background, updating diagnostics for /user/username/rootfolder/otherfolder/a/b/project/file1.ts Info 71 [16:02:18.000] event: - {"seq":0,"type":"event","event":"projectsUpdatedInBackground","body":{"openFiles":["/user/username/rootfolder/otherfolder/a/b/project/file1.ts"]}} \ No newline at end of file + {"seq":0,"type":"event","event":"projectsUpdatedInBackground","body":{"openFiles":["/user/username/rootfolder/otherfolder/a/b/project/file1.ts"]}} +After running timeout callbacks + +PolledWatches:: +/user/username/rootfolder/otherfolder/a/b/project/node_modules: + {"pollingInterval":500} + +FsWatches:: +/user/username/rootfolder/otherfolder/a/b/project/tsconfig.json: + {} +/user/username/rootfolder/otherfolder/a/b/project/file3.ts: + {} +/a/lib/lib.d.ts: + {} + +FsWatchesRecursive:: +/user/username/rootfolder/otherfolder/a/b/project: + {} +/user/username/rootfolder/otherfolder/a/b/node_modules: + {} diff --git a/tests/baselines/reference/tsserver/projectUpdatedInBackground/without-noGetErrOnBackgroundUpdate-and-project-is-at-root-level.js b/tests/baselines/reference/tsserver/projectUpdatedInBackground/without-noGetErrOnBackgroundUpdate-and-project-is-at-root-level.js index e3b921cdeda89..157b618737600 100644 --- a/tests/baselines/reference/tsserver/projectUpdatedInBackground/without-noGetErrOnBackgroundUpdate-and-project-is-at-root-level.js +++ b/tests/baselines/reference/tsserver/projectUpdatedInBackground/without-noGetErrOnBackgroundUpdate-and-project-is-at-root-level.js @@ -8,6 +8,7 @@ Info 1 [16:00:20.000] request: "seq": 1, "type": "request" } +Before request //// [/a/b/project/file1.ts] import a from "file2" @@ -90,6 +91,7 @@ Info 23 [16:00:44.000] ----------------------------------------------- Info 23 [16:00:45.000] Open files: Info 23 [16:00:46.000] FileName: /a/b/project/file1.ts ProjectRootPath: undefined Info 23 [16:00:47.000] Projects: /a/b/project/tsconfig.json +After request PolledWatches:: /a/b/project/node_modules: @@ -115,6 +117,27 @@ Info 24 [16:00:52.000] FileWatcher:: Triggered with /a/b/project/file3.ts 1:: Info 25 [16:00:53.000] Scheduled: /a/b/project/tsconfig.json Info 26 [16:00:54.000] Scheduled: *ensureProjectForOpenFiles* Info 27 [16:00:55.000] Elapsed:: *ms FileWatcher:: Triggered with /a/b/project/file3.ts 1:: WatchInfo: /a/b/project/file3.ts 500 undefined WatchType: Closed Script info +Before checking timeout queue length (2) and running +//// [/a/b/project/file3.ts] +export class c { }export class d {} + + +PolledWatches:: +/a/b/project/node_modules: + {"pollingInterval":500} + +FsWatches:: +/a/b/project/tsconfig.json: + {} +/a/b/project/file3.ts: + {} +/a/lib/lib.d.ts: + {} + +FsWatchesRecursive:: +/a/b/project: + {} + Info 28 [16:00:56.000] Running: /a/b/project/tsconfig.json Info 29 [16:00:57.000] Starting updateGraphWorker: Project: /a/b/project/tsconfig.json Info 30 [16:00:58.000] Finishing updateGraphWorker: Project: /a/b/project/tsconfig.json Version: 2 structureChanged: false structureIsReused:: Completely Elapsed:: *ms @@ -139,5 +162,97 @@ Info 35 [16:01:14.000] Projects: /a/b/project/tsconfig.json Info 35 [16:01:15.000] got projects updated in background, updating diagnostics for /a/b/project/file1.ts Info 36 [16:01:16.000] event: {"seq":0,"type":"event","event":"projectsUpdatedInBackground","body":{"openFiles":["/a/b/project/file1.ts"]}} +After checking timeout queue length (2) and running + +PolledWatches:: +/a/b/project/node_modules: + {"pollingInterval":500} + +FsWatches:: +/a/b/project/tsconfig.json: + {} +/a/b/project/file3.ts: + {} +/a/lib/lib.d.ts: + {} + +FsWatchesRecursive:: +/a/b/project: + {} + +Before running timeout callbacks +//// [/a/b/node_modules/file2.d.ts] +export class a { } + + +PolledWatches:: +/a/b/project/node_modules: + {"pollingInterval":500} + +FsWatches:: +/a/b/project/tsconfig.json: + {} +/a/b/project/file3.ts: + {} +/a/lib/lib.d.ts: + {} + +FsWatchesRecursive:: +/a/b/project: + {} + Info 37 [16:01:22.000] event: - {"seq":0,"type":"event","event":"syntaxDiag","body":{"file":"/a/b/project/file1.ts","diagnostics":[]}} \ No newline at end of file + {"seq":0,"type":"event","event":"syntaxDiag","body":{"file":"/a/b/project/file1.ts","diagnostics":[]}} +After running timeout callbacks + +PolledWatches:: +/a/b/project/node_modules: + {"pollingInterval":500} + +FsWatches:: +/a/b/project/tsconfig.json: + {} +/a/b/project/file3.ts: + {} +/a/lib/lib.d.ts: + {} + +FsWatchesRecursive:: +/a/b/project: + {} + +Before running timeout callbacks + +PolledWatches:: +/a/b/project/node_modules: + {"pollingInterval":500} + +FsWatches:: +/a/b/project/tsconfig.json: + {} +/a/b/project/file3.ts: + {} +/a/lib/lib.d.ts: + {} + +FsWatchesRecursive:: +/a/b/project: + {} + +After running timeout callbacks + +PolledWatches:: +/a/b/project/node_modules: + {"pollingInterval":500} + +FsWatches:: +/a/b/project/tsconfig.json: + {} +/a/b/project/file3.ts: + {} +/a/lib/lib.d.ts: + {} + +FsWatchesRecursive:: +/a/b/project: + {} diff --git a/tests/baselines/reference/tsserver/projectUpdatedInBackground/without-noGetErrOnBackgroundUpdate-and-project-is-not-at-root-level.js b/tests/baselines/reference/tsserver/projectUpdatedInBackground/without-noGetErrOnBackgroundUpdate-and-project-is-not-at-root-level.js index 33824c7520bf9..f60cd8a3a4c46 100644 --- a/tests/baselines/reference/tsserver/projectUpdatedInBackground/without-noGetErrOnBackgroundUpdate-and-project-is-not-at-root-level.js +++ b/tests/baselines/reference/tsserver/projectUpdatedInBackground/without-noGetErrOnBackgroundUpdate-and-project-is-not-at-root-level.js @@ -8,6 +8,7 @@ Info 1 [16:00:30.000] request: "seq": 1, "type": "request" } +Before request //// [/user/username/rootfolder/otherfolder/a/b/project/file1.ts] import a from "file2" @@ -96,6 +97,7 @@ Info 29 [16:01:00.000] ----------------------------------------------- Info 29 [16:01:01.000] Open files: Info 29 [16:01:02.000] FileName: /user/username/rootfolder/otherfolder/a/b/project/file1.ts ProjectRootPath: undefined Info 29 [16:01:03.000] Projects: /user/username/rootfolder/otherfolder/a/b/project/tsconfig.json +After request PolledWatches:: /user/username/rootfolder/otherfolder/a/b/project/node_modules: @@ -127,6 +129,33 @@ Info 30 [16:01:08.000] FileWatcher:: Triggered with /user/username/rootfolder/ Info 31 [16:01:09.000] Scheduled: /user/username/rootfolder/otherfolder/a/b/project/tsconfig.json Info 32 [16:01:10.000] Scheduled: *ensureProjectForOpenFiles* Info 33 [16:01:11.000] Elapsed:: *ms FileWatcher:: Triggered with /user/username/rootfolder/otherfolder/a/b/project/file3.ts 1:: WatchInfo: /user/username/rootfolder/otherfolder/a/b/project/file3.ts 500 undefined WatchType: Closed Script info +Before checking timeout queue length (2) and running +//// [/user/username/rootfolder/otherfolder/a/b/project/file3.ts] +export class c { }export class d {} + + +PolledWatches:: +/user/username/rootfolder/otherfolder/a/b/project/node_modules: + {"pollingInterval":500} +/user/username/rootfolder/otherfolder/a/b/node_modules: + {"pollingInterval":500} +/user/username/rootfolder/otherfolder/a/node_modules: + {"pollingInterval":500} +/user/username/rootfolder/otherfolder/node_modules: + {"pollingInterval":500} + +FsWatches:: +/user/username/rootfolder/otherfolder/a/b/project/tsconfig.json: + {} +/user/username/rootfolder/otherfolder/a/b/project/file3.ts: + {} +/a/lib/lib.d.ts: + {} + +FsWatchesRecursive:: +/user/username/rootfolder/otherfolder/a/b/project: + {} + Info 34 [16:01:12.000] Running: /user/username/rootfolder/otherfolder/a/b/project/tsconfig.json Info 35 [16:01:13.000] Starting updateGraphWorker: Project: /user/username/rootfolder/otherfolder/a/b/project/tsconfig.json Info 36 [16:01:14.000] Finishing updateGraphWorker: Project: /user/username/rootfolder/otherfolder/a/b/project/tsconfig.json Version: 2 structureChanged: false structureIsReused:: Completely Elapsed:: *ms @@ -151,6 +180,30 @@ Info 41 [16:01:30.000] Projects: /user/username/rootfolder/otherfolder/a/b/p Info 41 [16:01:31.000] got projects updated in background, updating diagnostics for /user/username/rootfolder/otherfolder/a/b/project/file1.ts Info 42 [16:01:32.000] event: {"seq":0,"type":"event","event":"projectsUpdatedInBackground","body":{"openFiles":["/user/username/rootfolder/otherfolder/a/b/project/file1.ts"]}} +After checking timeout queue length (2) and running + +PolledWatches:: +/user/username/rootfolder/otherfolder/a/b/project/node_modules: + {"pollingInterval":500} +/user/username/rootfolder/otherfolder/a/b/node_modules: + {"pollingInterval":500} +/user/username/rootfolder/otherfolder/a/node_modules: + {"pollingInterval":500} +/user/username/rootfolder/otherfolder/node_modules: + {"pollingInterval":500} + +FsWatches:: +/user/username/rootfolder/otherfolder/a/b/project/tsconfig.json: + {} +/user/username/rootfolder/otherfolder/a/b/project/file3.ts: + {} +/a/lib/lib.d.ts: + {} + +FsWatchesRecursive:: +/user/username/rootfolder/otherfolder/a/b/project: + {} + Info 43 [16:01:36.000] DirectoryWatcher:: Triggered with /user/username/rootfolder/otherfolder/a/b/node_modules :: WatchInfo: /user/username/rootfolder/otherfolder/a/b/node_modules 1 undefined Project: /user/username/rootfolder/otherfolder/a/b/project/tsconfig.json WatchType: Failed Lookup Locations Info 44 [16:01:37.000] Scheduled: /user/username/rootfolder/otherfolder/a/b/project/tsconfig.jsonFailedLookupInvalidation Info 45 [16:01:38.000] Elapsed:: *ms DirectoryWatcher:: Triggered with /user/username/rootfolder/otherfolder/a/b/node_modules :: WatchInfo: /user/username/rootfolder/otherfolder/a/b/node_modules 1 undefined Project: /user/username/rootfolder/otherfolder/a/b/project/tsconfig.json WatchType: Failed Lookup Locations @@ -160,6 +213,33 @@ Info 48 [16:01:41.000] Elapsed:: *ms DirectoryWatcher:: Triggered with /user/u Info 49 [16:01:44.000] DirectoryWatcher:: Triggered with /user/username/rootfolder/otherfolder/a/b/node_modules/file2.d.ts :: WatchInfo: /user/username/rootfolder/otherfolder/a/b/node_modules 1 undefined Project: /user/username/rootfolder/otherfolder/a/b/project/tsconfig.json WatchType: Failed Lookup Locations Info 50 [16:01:45.000] Scheduled: /user/username/rootfolder/otherfolder/a/b/project/tsconfig.jsonFailedLookupInvalidation, Cancelled earlier one Info 51 [16:01:46.000] Elapsed:: *ms DirectoryWatcher:: Triggered with /user/username/rootfolder/otherfolder/a/b/node_modules/file2.d.ts :: WatchInfo: /user/username/rootfolder/otherfolder/a/b/node_modules 1 undefined Project: /user/username/rootfolder/otherfolder/a/b/project/tsconfig.json WatchType: Failed Lookup Locations +Before running timeout callbacks +//// [/user/username/rootfolder/otherfolder/a/b/node_modules/file2.d.ts] +export class a { } + + +PolledWatches:: +/user/username/rootfolder/otherfolder/a/b/project/node_modules: + {"pollingInterval":500} +/user/username/rootfolder/otherfolder/a/node_modules: + {"pollingInterval":500} +/user/username/rootfolder/otherfolder/node_modules: + {"pollingInterval":500} + +FsWatches:: +/user/username/rootfolder/otherfolder/a/b/project/tsconfig.json: + {} +/user/username/rootfolder/otherfolder/a/b/project/file3.ts: + {} +/a/lib/lib.d.ts: + {} + +FsWatchesRecursive:: +/user/username/rootfolder/otherfolder/a/b/project: + {} +/user/username/rootfolder/otherfolder/a/b/node_modules: + {} + Info 52 [16:01:47.000] Scheduled: *ensureProjectForOpenFiles* Info 53 [16:01:48.000] Starting updateGraphWorker: Project: /user/username/rootfolder/otherfolder/a/b/project/tsconfig.json Info 54 [16:01:49.000] DirectoryWatcher:: Added:: WatchInfo: /user/username/rootfolder/otherfolder/a/b/node_modules 1 undefined WatchType: node_modules for closed script infos and package.jsons affecting module specifier cache @@ -189,6 +269,46 @@ Info 62 [16:01:57.000] Files (4) Info 63 [16:01:58.000] ----------------------------------------------- Info 64 [16:01:59.000] event: {"seq":0,"type":"event","event":"syntaxDiag","body":{"file":"/user/username/rootfolder/otherfolder/a/b/project/file1.ts","diagnostics":[]}} +After running timeout callbacks + +PolledWatches:: +/user/username/rootfolder/otherfolder/a/b/project/node_modules: + {"pollingInterval":500} + +FsWatches:: +/user/username/rootfolder/otherfolder/a/b/project/tsconfig.json: + {} +/user/username/rootfolder/otherfolder/a/b/project/file3.ts: + {} +/a/lib/lib.d.ts: + {} + +FsWatchesRecursive:: +/user/username/rootfolder/otherfolder/a/b/project: + {} +/user/username/rootfolder/otherfolder/a/b/node_modules: + {} + +Before running timeout callbacks + +PolledWatches:: +/user/username/rootfolder/otherfolder/a/b/project/node_modules: + {"pollingInterval":500} + +FsWatches:: +/user/username/rootfolder/otherfolder/a/b/project/tsconfig.json: + {} +/user/username/rootfolder/otherfolder/a/b/project/file3.ts: + {} +/a/lib/lib.d.ts: + {} + +FsWatchesRecursive:: +/user/username/rootfolder/otherfolder/a/b/project: + {} +/user/username/rootfolder/otherfolder/a/b/node_modules: + {} + Info 65 [16:02:00.000] Running: *ensureProjectForOpenFiles* Info 66 [16:02:01.000] Before ensureProjectForOpenFiles: Info 67 [16:02:02.000] Project '/user/username/rootfolder/otherfolder/a/b/project/tsconfig.json' (Configured) @@ -208,4 +328,23 @@ Info 68 [16:02:13.000] FileName: /user/username/rootfolder/otherfolder/a/b/pr Info 68 [16:02:14.000] Projects: /user/username/rootfolder/otherfolder/a/b/project/tsconfig.json Info 68 [16:02:15.000] got projects updated in background, updating diagnostics for /user/username/rootfolder/otherfolder/a/b/project/file1.ts Info 69 [16:02:16.000] event: - {"seq":0,"type":"event","event":"projectsUpdatedInBackground","body":{"openFiles":["/user/username/rootfolder/otherfolder/a/b/project/file1.ts"]}} \ No newline at end of file + {"seq":0,"type":"event","event":"projectsUpdatedInBackground","body":{"openFiles":["/user/username/rootfolder/otherfolder/a/b/project/file1.ts"]}} +After running timeout callbacks + +PolledWatches:: +/user/username/rootfolder/otherfolder/a/b/project/node_modules: + {"pollingInterval":500} + +FsWatches:: +/user/username/rootfolder/otherfolder/a/b/project/tsconfig.json: + {} +/user/username/rootfolder/otherfolder/a/b/project/file3.ts: + {} +/a/lib/lib.d.ts: + {} + +FsWatchesRecursive:: +/user/username/rootfolder/otherfolder/a/b/project: + {} +/user/username/rootfolder/otherfolder/a/b/node_modules: + {} 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 628579b4a28ec..5315529cca5ce 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 @@ -8,6 +8,7 @@ Info 1 [16:00:36.000] request: "file": "/user/username/projects/myproject/playground/tests.ts" } } +Before request //// [/user/username/projects/myproject/playground/tsconfig.json] {} @@ -94,6 +95,7 @@ Info 22 [16:00:59.000] ----------------------------------------------- Info 22 [16:01:00.000] Open files: Info 22 [16:01:01.000] FileName: /user/username/projects/myproject/playground/tests.ts ProjectRootPath: undefined Info 22 [16:01:02.000] Projects: /user/username/projects/myproject/playground/tsconfig.json +After request PolledWatches:: /user/username/projects/myproject/playground/node_modules/@types: @@ -128,6 +130,7 @@ Info 23 [16:01:04.000] request: "file": "/user/username/projects/myproject/playground/tests.ts" } } +Before request PolledWatches:: /user/username/projects/myproject/playground/node_modules/@types: @@ -155,6 +158,7 @@ Info 25 [16:01:07.000] Files (4) Info 25 [16:01:08.000] ----------------------------------------------- Info 25 [16:01:09.000] Open files: +After request PolledWatches:: /user/username/projects/myproject/playground/node_modules/@types: @@ -191,6 +195,7 @@ Info 26 [16:01:11.000] request: "file": "/user/username/projects/myproject/playground/tsconfig-json/tests/spec.ts" } } +Before request PolledWatches:: /user/username/projects/myproject/playground/node_modules/@types: @@ -284,6 +289,7 @@ Info 59 [16:01:46.000] ----------------------------------------------- Info 59 [16:01:47.000] Open files: Info 59 [16:01:48.000] FileName: /user/username/projects/myproject/playground/tsconfig-json/tests/spec.ts ProjectRootPath: undefined Info 59 [16:01:49.000] Projects: +After request PolledWatches:: /user/username/projects/myproject/playground/node_modules/@types: @@ -318,6 +324,7 @@ Info 60 [16:01:51.000] request: "seq": 1, "type": "request" } +Before request PolledWatches:: /user/username/projects/myproject/playground/node_modules/@types: @@ -389,6 +396,7 @@ Info 84 [16:02:26.000] ----------------------------------------------- Info 84 [16:02:27.000] Open files: Info 84 [16:02:28.000] FileName: /user/username/projects/myproject/playground/tsconfig-json/tests/spec.ts ProjectRootPath: undefined Info 84 [16:02:29.000] Projects: /dev/null/inferredProject1* +After request PolledWatches:: /user/username/projects/myproject/playground/node_modules/@types: 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 dc8399c5b8c56..5831dfd053bd0 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 @@ -8,6 +8,7 @@ Info 1 [16:00:26.000] request: "seq": 1, "type": "request" } +Before request //// [/a/b/projects/config/tsconfig.json] @@ -83,6 +84,7 @@ Info 19 [16:00:46.000] ----------------------------------------------- Info 19 [16:00:47.000] Open files: Info 19 [16:00:48.000] FileName: /a/b/projects/config/file.ts ProjectRootPath: undefined Info 19 [16:00:49.000] Projects: /a/b/projects/config/tsconfig.json +After request PolledWatches:: /a/b/projects/config/node_modules/@types: @@ -113,6 +115,7 @@ Info 20 [16:00:51.000] request: "seq": 2, "type": "request" } +Before request PolledWatches:: /a/b/projects/config/node_modules/@types: @@ -142,6 +145,7 @@ Info 24 [16:00:59.000] FileName: /a/b/projects/config/file.ts ProjectRootPath Info 24 [16:01:00.000] Projects: /a/b/projects/config/tsconfig.json Info 24 [16:01:01.000] FileName: /a/b/projects/files/file1.ts ProjectRootPath: undefined Info 24 [16:01:02.000] Projects: /a/b/projects/config/tsconfig.json +After request PolledWatches:: /a/b/projects/config/node_modules/@types: @@ -170,6 +174,7 @@ Info 25 [16:01:04.000] request: "seq": 3, "type": "request" } +Before request PolledWatches:: /a/b/projects/config/node_modules/@types: @@ -193,6 +198,7 @@ Info 27 [16:01:08.000] ----------------------------------------------- Info 27 [16:01:09.000] Open files: Info 27 [16:01:10.000] FileName: /a/b/projects/files/file1.ts ProjectRootPath: undefined Info 27 [16:01:11.000] Projects: /a/b/projects/config/tsconfig.json +After request PolledWatches:: /a/b/projects/config/node_modules/@types: @@ -223,6 +229,7 @@ Info 28 [16:01:13.000] request: "seq": 4, "type": "request" } +Before request PolledWatches:: /a/b/projects/config/node_modules/@types: @@ -292,6 +299,7 @@ Info 51 [16:01:40.000] FileName: /a/b/projects/files/file1.ts ProjectRootPath Info 51 [16:01:41.000] Projects: Info 51 [16:01:42.000] FileName: /a/b/projects/files/file2.ts ProjectRootPath: undefined Info 51 [16:01:43.000] Projects: /dev/null/inferredProject1* +After request PolledWatches:: /a/b/projects/files/tsconfig.json: @@ -322,6 +330,7 @@ Info 52 [16:01:45.000] request: "seq": 5, "type": "request" } +Before request PolledWatches:: /a/b/projects/files/tsconfig.json: @@ -378,6 +387,7 @@ Info 63 [16:02:11.000] FileName: /a/b/projects/files/file1.ts ProjectRootPath Info 63 [16:02:12.000] Projects: /dev/null/inferredProject2* Info 63 [16:02:13.000] FileName: /a/b/projects/files/file2.ts ProjectRootPath: undefined Info 63 [16:02:14.000] Projects: /dev/null/inferredProject1* +After request PolledWatches:: /a/b/projects/files/tsconfig.json: diff --git a/tests/baselines/reference/tsserver/projects/files-with-mixed-content-are-handled-correctly.js b/tests/baselines/reference/tsserver/projects/files-with-mixed-content-are-handled-correctly.js index 8b6262b5a2bfb..0aa7c30a7eb38 100644 --- a/tests/baselines/reference/tsserver/projects/files-with-mixed-content-are-handled-correctly.js +++ b/tests/baselines/reference/tsserver/projects/files-with-mixed-content-are-handled-correctly.js @@ -1,4 +1,15 @@ Info 0 [16:00:09.000] Provided types map file "/typesMap.json" doesn't exist +Creating project service +//// [/a/b/f1.html] +