From e1ba8a8d5f2f30cc039a89a1e8e4e6c64ba7c44d Mon Sep 17 00:00:00 2001 From: Sheetal Nandi Date: Mon, 23 May 2022 15:30:56 -0700 Subject: [PATCH] Some logging for debugging further --- src/compiler/sys.ts | 20 +- .../demo/updates-with-bad-reference.js | 2 + .../demo/updates-with-circular-reference.js | 2 + ...for-changes-to-package-json-main-fields.js | 5 + ...t-correctly-with-cts-and-mts-extensions.js | 21 ++ ...n-no-files-are-emitted-with-incremental.js | 6 + ...when-watching-when-no-files-are-emitted.js | 4 + ...mit-any-files-on-error-with-incremental.js | 41 +++ .../does-not-emit-any-files-on-error.js | 32 ++ .../incremental-updates-in-verbose-mode.js | 14 + .../when-file-with-no-error-changes.js | 4 + ...ing-errors-only-changed-file-is-emitted.js | 10 + .../when-file-with-no-error-changes.js | 2 + ...ixing-error-files-all-files-are-emitted.js | 14 + .../when-preserveWatchOutput-is-not-used.js | 8 + ...veWatchOutput-is-passed-on-command-line.js | 6 + ...e-of-program-emit-with-outDir-specified.js | 13 + ...r-recompilation-because-of-program-emit.js | 17 + ...tches-config-files-that-are-not-present.js | 10 + ...e-down-stream-project-and-then-fixes-it.js | 13 + ...ncing-project-even-for-non-local-change.js | 24 ++ ...le-is-added,-and-its-subsequent-updates.js | 31 ++ ...hanges-and-reports-found-errors-message.js | 40 +++ ...not-start-build-of-referencing-projects.js | 12 + ...le-is-added,-and-its-subsequent-updates.js | 38 +++ ...hanges-and-reports-found-errors-message.js | 46 +++ ...not-start-build-of-referencing-projects.js | 14 + ...hen-noUnusedParameters-changes-to-false.js | 4 + .../works-with-extended-source-files.js | 13 + ...hen-there-are-23-projects-in-a-solution.js | 303 ++++++++++++++++++ ...when-there-are-3-projects-in-a-solution.js | 24 ++ ...when-there-are-5-projects-in-a-solution.js | 36 +++ ...when-there-are-8-projects-in-a-solution.js | 102 ++++++ .../publicApi/with-custom-transformers.js | 9 + .../reexport/Reports-errors-correctly.js | 4 + ...e-projects-with-single-watcher-per-file.js | 7 + .../same-file-in-multiple-projects.js | 7 + .../createWatchOfConfigFile.js | 2 + ...Result-on-WatchCompilerHostOfConfigFile.js | 2 + ...s-deleted-and-created-as-part-of-change.js | 6 + .../should-emit-specified-file.js | 9 + ...elf-if-'--isolatedModules'-is-specified.js | 3 + ...-if-'--out'-or-'--outFile'-is-specified.js | 3 + ...should-be-up-to-date-with-deleted-files.js | 6 + ...-be-up-to-date-with-newly-created-files.js | 9 + ...-to-date-with-the-reference-map-changes.js | 21 ++ ...les-referencing-it-if-its-shape-changed.js | 8 + .../should-detect-non-existing-code-file.js | 9 + .../should-detect-removed-code-file.js | 4 + ...ll-files-if-a-global-file-changed-shape.js | 7 + ...ould-return-cascaded-affected-file-list.js | 16 + ...fine-for-files-with-circular-references.js | 4 + .../config-does-not-have-out-or-outFile.js | 8 + .../config-has-out.js | 6 + .../config-has-outFile.js | 6 + ...-recursive-directory-watcher-is-invoked.js | 2 + .../errors-for-.d.ts-change.js | 11 + .../errors-for-.ts-change.js | 13 + ...g-a-deep-multilevel-import-that-changes.js | 15 + .../with-noEmitOnError-with-incremental.js | 31 ++ .../with-noEmitOnError.js | 27 ++ .../errors-for-.d.ts-change.js | 13 + .../errors-for-.ts-change.js | 18 ++ ...g-a-deep-multilevel-import-that-changes.js | 18 ++ .../with-noEmitOnError-with-incremental.js | 38 +++ .../with-noEmitOnError.js | 34 ++ .../errors-for-.d.ts-change.js | 11 + .../errors-for-.ts-change.js | 13 + ...g-a-deep-multilevel-import-that-changes.js | 15 + .../with-noEmitOnError-with-incremental.js | 31 ++ .../default/with-noEmitOnError.js | 27 ++ .../errors-for-.d.ts-change.js | 19 ++ .../errors-for-.ts-change.js | 21 ++ ...g-a-deep-multilevel-import-that-changes.js | 24 ++ .../with-noEmitOnError-with-incremental.js | 38 +++ .../defaultAndD/with-noEmitOnError.js | 34 ++ .../errors-for-.d.ts-change.js | 27 ++ .../errors-for-.ts-change.js | 19 ++ ...g-a-deep-multilevel-import-that-changes.js | 21 ++ .../with-noEmitOnError-with-incremental.js | 31 ++ .../with-noEmitOnError.js | 31 ++ .../errors-for-.d.ts-change.js | 29 ++ .../errors-for-.ts-change.js | 24 ++ ...g-a-deep-multilevel-import-that-changes.js | 24 ++ .../with-noEmitOnError-with-incremental.js | 38 +++ .../with-noEmitOnError.js | 38 +++ .../errors-for-.d.ts-change.js | 27 ++ .../errors-for-.ts-change.js | 19 ++ ...g-a-deep-multilevel-import-that-changes.js | 21 ++ .../with-noEmitOnError-with-incremental.js | 31 ++ .../incremental/default/with-noEmitOnError.js | 31 ++ .../errors-for-.d.ts-change.js | 35 ++ .../errors-for-.ts-change.js | 27 ++ ...g-a-deep-multilevel-import-that-changes.js | 30 ++ .../with-noEmitOnError-with-incremental.js | 38 +++ .../defaultAndD/with-noEmitOnError.js | 38 +++ .../errors-for-.d.ts-change.js | 27 ++ .../errors-for-.ts-change.js | 15 + ...g-a-deep-multilevel-import-that-changes.js | 15 + .../with-noEmitOnError-with-incremental.js | 31 ++ .../isolatedModules/with-noEmitOnError.js | 31 ++ .../errors-for-.d.ts-change.js | 35 ++ .../errors-for-.ts-change.js | 24 ++ ...g-a-deep-multilevel-import-that-changes.js | 30 ++ .../with-noEmitOnError-with-incremental.js | 38 +++ .../isolatedModulesAndD/with-noEmitOnError.js | 38 +++ .../errors-for-.d.ts-change.js | 11 + .../errors-for-.ts-change.js | 9 + ...g-a-deep-multilevel-import-that-changes.js | 9 + .../with-noEmitOnError-with-incremental.js | 31 ++ .../isolatedModules/with-noEmitOnError.js | 27 ++ .../errors-for-.d.ts-change.js | 19 ++ .../errors-for-.ts-change.js | 18 ++ ...g-a-deep-multilevel-import-that-changes.js | 24 ++ .../with-noEmitOnError-with-incremental.js | 38 +++ .../isolatedModulesAndD/with-noEmitOnError.js | 34 ++ ...n-Windows-style-drive-root-is-lowercase.js | 4 + ...n-Windows-style-drive-root-is-uppercase.js | 4 + ...ry-symlink-target-and-import-match-disk.js | 3 + ...le-symlink-target-and-import-match-disk.js | 4 + ...nging-module-name-with-different-casing.js | 3 + ...target-matches-disk-but-import-does-not.js | 3 + ...target-matches-disk-but-import-does-not.js | 4 + ...link-target,-and-disk-are-all-different.js | 3 + ...link-target,-and-disk-are-all-different.js | 11 + ...link-target-agree-but-do-not-match-disk.js | 3 + ...link-target-agree-but-do-not-match-disk.js | 4 + ...k-but-directory-symlink-target-does-not.js | 3 + ...s-disk-but-file-symlink-target-does-not.js | 4 + ...ative-information-file-location-changes.js | 3 + ...hen-renaming-file-with-different-casing.js | 5 + .../editing-module-augmentation-watch.js | 3 + ...for-changes-to-package-json-main-fields.js | 4 + .../esm-mode-file-is-edited.js | 2 + ...configFile-contents-when-options-change.js | 2 + ...rts-errors-when-the-config-file-changes.js | 4 + ...nostics-when-'--noUnusedLabels'-changes.js | 4 + ...-a-configured-program-without-file-list.js | 6 + ...hould-remove-the-module-not-found-error.js | 5 + ...ot-files-has-changed-(new-file-on-disk).js | 6 + ...-root-files-has-changed-through-include.js | 5 + .../programUpdates/change-module-to-none.js | 3 + .../programUpdates/config-file-is-deleted.js | 2 + ...s-changes-in-lib-section-of-config-file.js | 3 + ...keys-differ-only-in-directory-seperator.js | 13 + .../create-watch-without-config-file.js | 2 + ...eleted-files-affect-project-structure-2.js | 1 + .../deleted-files-affect-project-structure.js | 1 + .../handle-recreated-files-correctly.js | 13 + ...tore-the-states-for-configured-projects.js | 25 ++ ...estore-the-states-for-inferred-projects.js | 6 + ...rors-correctly-with-file-not-in-rootDir.js | 3 + ...s-errors-correctly-with-isolatedModules.js | 3 + .../declarationDir-is-specified.js | 13 + ...-outDir-and-declarationDir-is-specified.js | 9 + .../when-outDir-is-specified.js | 7 + .../with-outFile.js | 6 + ...e-is-specified-with-declaration-enabled.js | 17 + .../without-outDir-or-outFile-is-specified.js | 11 + ...odule-resolution-changes-in-config-file.js | 1 + ...tes-diagnostics-and-emit-for-decorators.js | 6 + ...it-when-useDefineForClassFields-changes.js | 3 + .../updates-emit-on-jsx-option-change.js | 4 + ...mit-when-importsNotUsedAsValues-changes.js | 12 + ...on-emit-is-disabled-in-compiler-options.js | 8 + ...when-ambient-modules-of-program-changes.js | 10 + ...orceConsistentCasingInFileNames-changes.js | 2 + ...s-errors-when-noErrorTruncation-changes.js | 2 + ...es-errors-when-strictNullChecks-changes.js | 6 + ...solution-when-resolveJsonModule-changes.js | 7 + ...and-new-file-is-added-as-part-of-change.js | 7 + .../when-creating-extensionless-file.js | 2 + ...n-creating-new-file-in-symlinked-folder.js | 4 + ...file-is-added-to-the-referenced-project.js | 24 ++ ...ibCheck-and-skipDefaultLibCheck-changes.js | 12 + .../on-sample-project.js | 23 ++ ...-different-folders-with-no-files-clause.js | 51 +++ ...nsitive-references-in-different-folders.js | 32 ++ .../tscWatch/resolutionCache/caching-works.js | 14 + .../watch-with-configFile.js | 13 + .../watch-without-configFile.js | 9 + .../loads-missing-files-from-disk.js | 9 + ...module-goes-missing-and-then-comes-back.js | 11 + ...are-global-and-installed-at-later-point.js | 26 ++ ...-no-notification-from-fs-for-index-file.js | 78 +++++ ...le-resolution-changes-to-ambient-module.js | 20 ++ ...der-that-already-contains-@types-folder.js | 11 + ...rogram-with-files-from-external-library.js | 2 + .../extraFileExtensions-are-supported.js | 5 + ...createSemanticDiagnosticsBuilderProgram.js | 2 + ...ing-useSourceOfProjectReferenceRedirect.js | 24 ++ ...-host-implementing-getParsedCommandLine.js | 12 + ...-timesouts-on-host-program-gets-updated.js | 5 + ...inode-when-rename-event-ends-with-tilde.js | 32 ++ ...e-occurs-when-file-is-still-on-the-disk.js | 5 + ...when-using-file-watching-thats-on-inode.js | 20 ++ ...e-occurs-when-file-is-still-on-the-disk.js | 3 + ...rectory-when-renaming-file-in-subfolder.js | 10 + ...ymlinks-to-folders-in-recursive-folders.js | 2 + ...hronous-watch-directory-renaming-a-file.js | 11 + ...ory-with-outDir-and-declaration-enabled.js | 10 + .../with-non-synchronous-watch-directory.js | 25 ++ ...lt-as-fixed-chunk-size-watch-file-works.js | 4 + .../using-fixed-chunk-size-polling.js | 4 + ...eDirectories-option-extendedDiagnostics.js | 5 + ...-directory-watching-extendedDiagnostics.js | 4 + ...ption-with-recursive-directory-watching.js | 4 + .../with-excludeDirectories-option.js | 5 + ...excludeFiles-option-extendedDiagnostics.js | 5 + .../watchOptions/with-excludeFiles-option.js | 5 + 210 files changed, 3471 insertions(+), 3 deletions(-) diff --git a/src/compiler/sys.ts b/src/compiler/sys.ts index 2b38e36f96a..ae15b0d02b7 100644 --- a/src/compiler/sys.ts +++ b/src/compiler/sys.ts @@ -1120,10 +1120,15 @@ namespace ts { recursive, inodeWatching ? callbackChangingToMissingFileSystemEntry : - callback + (eventName, relativeFileName) => { + + sysLog(`sysLog:: watchPresentFileSystemEntry:: ${fileOrDirectory} ${entryKind} ${eventName}:: ${relativeFileName}`); + callback(eventName, relativeFileName); + } ); // Watch the missing file or directory or error presentWatcher.on("error", () => { + sysLog(`sysLog:: watchPresentFileSystemEntry:: on Error ${fileOrDirectory} ${entryKind} rename, ""`); callback("rename", ""); updateWatcher(watchMissingFileSystemEntry); }); @@ -1140,7 +1145,11 @@ namespace ts { } function callbackChangingToMissingFileSystemEntry(event: "rename" | "change", relativeName: string | undefined) { - if (relativeName && endsWith(relativeName, "~")) relativeName = relativeName.slice(0, relativeName.length - 1); + sysLog(`sysLog:: callbackChangingToMissingFileSystemEntry:: ${fileOrDirectory} ${entryKind} ${event}:: ${relativeName} ${inodeWatching} ${lastDirectoryPart} ${lastDirectoryPartWithDirectorySeparator}`); + if (relativeName && endsWith(relativeName, "~")) { + relativeName = relativeName.slice(0, relativeName.length - 1); + sysLog(`sysLog:: callbackChangingToMissingFileSystemEntry:: changed the relative name to ${relativeName}`); + } callback(event, relativeName); // because relativeName is not guaranteed to be correct we need to check on each rename with few combinations // Eg on ubuntu while watching app/node_modules the relativeName is "node_modules" which is neither relative nor full path @@ -1164,7 +1173,10 @@ namespace ts { function watchPresentFileSystemEntryWithFsWatchFile(): FileWatcher { return watchFile( fileOrDirectory, - createFileWatcherCallback(callback), + createFileWatcherCallback((eventName, relativeFileName) => { + sysLog(`sysLog:: watchPresentFileSystemEntryWithFsWatchFile:: ${fileOrDirectory} ${entryKind} ${eventName}:: ${relativeFileName}`); + callback(eventName, relativeFileName); + }), fallbackPollingInterval, fallbackOptions ); @@ -1178,7 +1190,9 @@ namespace ts { return watchFile( fileOrDirectory, (_fileName, eventKind) => { + sysLog(`sysLog:: watchMissingFileSystemEntry:: ${fileOrDirectory} ${entryKind} ${_fileName}:: ${eventKind}`); if (eventKind === FileWatcherEventKind.Created && fileSystemEntryExists(fileOrDirectory, entryKind)) { + sysLog(`sysLog:: watchMissingFileSystemEntry:: Callback :: rename, "" and will update the watcher`); callback("rename", ""); // Call the callback for current file or directory // For now it could be callback for the inner directory creation, diff --git a/tests/baselines/reference/tsbuildWatch/demo/updates-with-bad-reference.js b/tests/baselines/reference/tsbuildWatch/demo/updates-with-bad-reference.js index b36912f7aa3..7e24b0a5cde 100644 --- a/tests/baselines/reference/tsbuildWatch/demo/updates-with-bad-reference.js +++ b/tests/baselines/reference/tsbuildWatch/demo/updates-with-bad-reference.js @@ -433,6 +433,8 @@ export function lastElementOf(arr: T[]): T | undefined { Output:: +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/demo/core 1 change:: utilities.ts + >> Screen clear [12:01:07 AM] File change detected. Starting incremental compilation... diff --git a/tests/baselines/reference/tsbuildWatch/demo/updates-with-circular-reference.js b/tests/baselines/reference/tsbuildWatch/demo/updates-with-circular-reference.js index e8f43afdbba..be98b50cfe6 100644 --- a/tests/baselines/reference/tsbuildWatch/demo/updates-with-circular-reference.js +++ b/tests/baselines/reference/tsbuildWatch/demo/updates-with-circular-reference.js @@ -216,6 +216,8 @@ Input:: Output:: +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/demo/core 1 change:: tsconfig.json + >> Screen clear [12:00:52 AM] File change detected. Starting incremental compilation... diff --git a/tests/baselines/reference/tsbuildWatch/moduleResolution/build-mode-watches-for-changes-to-package-json-main-fields.js b/tests/baselines/reference/tsbuildWatch/moduleResolution/build-mode-watches-for-changes-to-package-json-main-fields.js index 757edf9d88c..fc9e9b9d460 100644 --- a/tests/baselines/reference/tsbuildWatch/moduleResolution/build-mode-watches-for-changes-to-package-json-main-fields.js +++ b/tests/baselines/reference/tsbuildWatch/moduleResolution/build-mode-watches-for-changes-to-package-json-main-fields.js @@ -278,6 +278,8 @@ Input:: Output:: +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject/packages/pkg2 1 change:: package.json + >> Screen clear [12:01:17 AM] File change detected. Starting incremental compilation... @@ -370,6 +372,8 @@ Input:: Output:: +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject/packages/pkg2 1 change:: package.json + >> Screen clear [12:01:24 AM] File change detected. Starting incremental compilation... @@ -414,6 +418,7 @@ File '/user/username/projects/myproject/packages/pkg2/build/const.ts' does not e File '/user/username/projects/myproject/packages/pkg2/build/const.tsx' does not exist. File '/user/username/projects/myproject/packages/pkg2/build/const.d.ts' exist - use it as a name resolution result. ======== Module name './const.js' was successfully resolved to '/user/username/projects/myproject/packages/pkg2/build/const.d.ts'. ======== +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject/packages/pkg1 1 change:: build/index.js [12:01:30 AM] Found 0 errors. Watching for file changes. diff --git a/tests/baselines/reference/tsbuildWatch/moduleResolution/resolves-specifier-in-output-declaration-file-from-referenced-project-correctly-with-cts-and-mts-extensions.js b/tests/baselines/reference/tsbuildWatch/moduleResolution/resolves-specifier-in-output-declaration-file-from-referenced-project-correctly-with-cts-and-mts-extensions.js index 6b9ecac620c..c288e686de0 100644 --- a/tests/baselines/reference/tsbuildWatch/moduleResolution/resolves-specifier-in-output-declaration-file-from-referenced-project-correctly-with-cts-and-mts-extensions.js +++ b/tests/baselines/reference/tsbuildWatch/moduleResolution/resolves-specifier-in-output-declaration-file-from-referenced-project-correctly-with-cts-and-mts-extensions.js @@ -269,6 +269,8 @@ Input:: Output:: +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject/packages/pkg1 1 change:: package.json + >> Screen clear [12:01:11 AM] File change detected. Starting incremental compilation... @@ -389,6 +391,8 @@ Input:: Output:: +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject/packages/pkg1 1 change:: package.json + >> Screen clear [12:01:18 AM] File change detected. Starting incremental compilation... @@ -432,6 +436,7 @@ File '/user/username/projects/myproject/packages/pkg2/build/const.d.cts' exist - File '/a/lib/package.json' does not exist. File '/a/package.json' does not exist. File '/package.json' does not exist. +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject/packages/pkg1 1 change:: build/index.js [12:01:24 AM] Found 0 errors. Watching for file changes. @@ -499,6 +504,8 @@ Input:: Output:: +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject/packages/pkg1 1 change:: package.json + >> Screen clear [12:01:28 AM] File change detected. Starting incremental compilation... @@ -623,6 +630,12 @@ export type { TheNum } from './const.cjs'; //// [/user/username/projects/myproject/packages/pkg2/index.ts] deleted Output:: +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject/packages/pkg2 1 change:: package.json +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject/packages/pkg2 1 rename:: index.ts +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject/packages/pkg2 1 change:: +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject/packages/pkg2 1 rename:: index.cts +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject/packages/pkg2 1 change:: + >> Screen clear [12:01:39 AM] File change detected. Starting incremental compilation... @@ -642,8 +655,16 @@ File '/user/username/projects/myproject/packages/pkg2/const.cts' exist - use it File '/a/lib/package.json' does not exist. File '/a/package.json' does not exist. File '/package.json' does not exist. +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject/packages/pkg2 1 rename:: build/index.cjs +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject/packages/pkg2 1 change:: build +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject/packages/pkg2 1 rename:: build/index.d.cts +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject/packages/pkg2 1 change:: build +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject/packages/pkg2 1 change:: build/tsconfig.tsbuildinfo [12:01:50 AM] Updating unchanged output timestamps of project '/user/username/projects/myproject/packages/pkg2/tsconfig.json'... +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject/packages/pkg2 1 change:: build/const.cjs +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject/packages/pkg2 1 change:: build/const.d.cts +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject/packages/pkg2 1 change:: build/tsconfig.tsbuildinfo.readable.baseline.txt Program root files: ["/user/username/projects/myproject/packages/pkg2/const.cts","/user/username/projects/myproject/packages/pkg2/index.cts"] diff --git a/tests/baselines/reference/tsbuildWatch/noEmit/does-not-go-in-loop-when-watching-when-no-files-are-emitted-with-incremental.js b/tests/baselines/reference/tsbuildWatch/noEmit/does-not-go-in-loop-when-watching-when-no-files-are-emitted-with-incremental.js index 02b66ff4809..7f821653738 100644 --- a/tests/baselines/reference/tsbuildWatch/noEmit/does-not-go-in-loop-when-watching-when-no-files-are-emitted-with-incremental.js +++ b/tests/baselines/reference/tsbuildWatch/noEmit/does-not-go-in-loop-when-watching-when-no-files-are-emitted-with-incremental.js @@ -129,6 +129,8 @@ Input:: //// [/user/username/projects/myproject/a.js] file written with same contents Output:: +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject 1 change:: a.js + >> Screen clear [12:00:35 AM] File change detected. Starting incremental compilation... @@ -177,6 +179,8 @@ const x = 10; Output:: +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject 1 change:: a.js + >> Screen clear [12:00:42 AM] File change detected. Starting incremental compilation... @@ -184,6 +188,8 @@ Output:: [12:00:44 AM] Building project '/user/username/projects/myproject/tsconfig.json'... +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject 1 change:: tsconfig.tsbuildinfo +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject 1 change:: tsconfig.tsbuildinfo.readable.baseline.txt [12:00:51 AM] Found 0 errors. Watching for file changes. diff --git a/tests/baselines/reference/tsbuildWatch/noEmit/does-not-go-in-loop-when-watching-when-no-files-are-emitted.js b/tests/baselines/reference/tsbuildWatch/noEmit/does-not-go-in-loop-when-watching-when-no-files-are-emitted.js index d2b736cdf81..1e6516c5fda 100644 --- a/tests/baselines/reference/tsbuildWatch/noEmit/does-not-go-in-loop-when-watching-when-no-files-are-emitted.js +++ b/tests/baselines/reference/tsbuildWatch/noEmit/does-not-go-in-loop-when-watching-when-no-files-are-emitted.js @@ -81,6 +81,8 @@ Input:: //// [/user/username/projects/myproject/a.js] file written with same contents Output:: +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject 1 change:: a.js + >> Screen clear [12:00:31 AM] File change detected. Starting incremental compilation... @@ -129,6 +131,8 @@ const x = 10; Output:: +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject 1 change:: a.js + >> Screen clear [12:00:38 AM] File change detected. Starting incremental compilation... diff --git a/tests/baselines/reference/tsbuildWatch/noEmitOnError/does-not-emit-any-files-on-error-with-incremental.js b/tests/baselines/reference/tsbuildWatch/noEmitOnError/does-not-emit-any-files-on-error-with-incremental.js index 45d8297c323..35395eee6a0 100644 --- a/tests/baselines/reference/tsbuildWatch/noEmitOnError/does-not-emit-any-files-on-error-with-incremental.js +++ b/tests/baselines/reference/tsbuildWatch/noEmitOnError/does-not-emit-any-files-on-error-with-incremental.js @@ -98,6 +98,8 @@ Input:: //// [/user/username/projects/noEmitOnError/src/main.ts] file written with same contents Output:: +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/noemitonerror 1 change:: src/main.ts + >> Screen clear [12:00:39 AM] File change detected. Starting incremental compilation... @@ -157,6 +159,8 @@ const a = { Output:: +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/noemitonerror 1 change:: src/main.ts + >> Screen clear [12:00:46 AM] File change detected. Starting incremental compilation... @@ -164,6 +168,24 @@ Output:: [12:00:48 AM] Building project '/user/username/projects/noEmitOnError/tsconfig.json'... +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/noemitonerror 1 rename:: dev-build +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/noemitonerror 1 change:: +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/noemitonerror 1 rename:: dev-build/shared +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/noemitonerror 1 change:: dev-build +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/noemitonerror 1 rename:: dev-build/shared/types +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/noemitonerror 1 change:: dev-build/shared +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/noemitonerror 1 rename:: dev-build/shared/types/db.js +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/noemitonerror 1 change:: dev-build/shared/types +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/noemitonerror 1 rename:: dev-build/src +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/noemitonerror 1 change:: dev-build +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/noemitonerror 1 rename:: dev-build/src/main.js +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/noemitonerror 1 change:: dev-build/src +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/noemitonerror 1 rename:: dev-build/src/other.js +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/noemitonerror 1 change:: dev-build/src +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/noemitonerror 1 rename:: dev-build/tsconfig.tsbuildinfo +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/noemitonerror 1 change:: dev-build +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/noemitonerror 1 rename:: dev-build/tsconfig.tsbuildinfo.readable.baseline.txt +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/noemitonerror 1 change:: dev-build [12:01:09 AM] Found 0 errors. Watching for file changes. @@ -293,6 +315,8 @@ const a: string = 10; Output:: +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/noemitonerror 1 change:: src/main.ts + >> Screen clear [12:01:13 AM] File change detected. Starting incremental compilation... @@ -305,6 +329,8 @@ Output:: 2 const a: string = 10;    ~ +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/noemitonerror 1 change:: dev-build/tsconfig.tsbuildinfo +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/noemitonerror 1 change:: dev-build/tsconfig.tsbuildinfo.readable.baseline.txt [12:01:22 AM] Found 1 error. Watching for file changes. @@ -424,6 +450,8 @@ Input:: //// [/user/username/projects/noEmitOnError/src/main.ts] file written with same contents Output:: +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/noemitonerror 1 change:: src/main.ts + >> Screen clear [12:01:27 AM] File change detected. Starting incremental compilation... @@ -481,6 +509,8 @@ const a: string = "hello"; Output:: +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/noemitonerror 1 change:: src/main.ts + >> Screen clear [12:01:34 AM] File change detected. Starting incremental compilation... @@ -488,8 +518,13 @@ Output:: [12:01:36 AM] Building project '/user/username/projects/noEmitOnError/tsconfig.json'... +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/noemitonerror 1 change:: dev-build/src/main.js +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/noemitonerror 1 change:: dev-build/tsconfig.tsbuildinfo [12:01:44 AM] Updating unchanged output timestamps of project '/user/username/projects/noEmitOnError/tsconfig.json'... +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/noemitonerror 1 change:: dev-build/shared/types/db.js +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/noemitonerror 1 change:: dev-build/src/other.js +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/noemitonerror 1 change:: dev-build/tsconfig.tsbuildinfo.readable.baseline.txt [12:01:48 AM] Found 0 errors. Watching for file changes. @@ -599,6 +634,8 @@ Input:: //// [/user/username/projects/noEmitOnError/src/main.ts] file written with same contents Output:: +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/noemitonerror 1 change:: src/main.ts + >> Screen clear [12:01:52 AM] File change detected. Starting incremental compilation... @@ -608,6 +645,10 @@ Output:: [12:01:56 AM] Updating unchanged output timestamps of project '/user/username/projects/noEmitOnError/tsconfig.json'... +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/noemitonerror 1 change:: dev-build/shared/types/db.js +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/noemitonerror 1 change:: dev-build/src/main.js +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/noemitonerror 1 change:: dev-build/src/other.js +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/noemitonerror 1 change:: dev-build/tsconfig.tsbuildinfo [12:01:57 AM] Found 0 errors. Watching for file changes. diff --git a/tests/baselines/reference/tsbuildWatch/noEmitOnError/does-not-emit-any-files-on-error.js b/tests/baselines/reference/tsbuildWatch/noEmitOnError/does-not-emit-any-files-on-error.js index c74f6d066f6..20b7ddc0224 100644 --- a/tests/baselines/reference/tsbuildWatch/noEmitOnError/does-not-emit-any-files-on-error.js +++ b/tests/baselines/reference/tsbuildWatch/noEmitOnError/does-not-emit-any-files-on-error.js @@ -98,6 +98,8 @@ Input:: //// [/user/username/projects/noEmitOnError/src/main.ts] file written with same contents Output:: +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/noemitonerror 1 change:: src/main.ts + >> Screen clear [12:00:39 AM] File change detected. Starting incremental compilation... @@ -157,6 +159,8 @@ const a = { Output:: +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/noemitonerror 1 change:: src/main.ts + >> Screen clear [12:00:46 AM] File change detected. Starting incremental compilation... @@ -164,6 +168,20 @@ Output:: [12:00:48 AM] Building project '/user/username/projects/noEmitOnError/tsconfig.json'... +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/noemitonerror 1 rename:: dev-build +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/noemitonerror 1 change:: +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/noemitonerror 1 rename:: dev-build/shared +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/noemitonerror 1 change:: dev-build +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/noemitonerror 1 rename:: dev-build/shared/types +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/noemitonerror 1 change:: dev-build/shared +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/noemitonerror 1 rename:: dev-build/shared/types/db.js +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/noemitonerror 1 change:: dev-build/shared/types +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/noemitonerror 1 rename:: dev-build/src +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/noemitonerror 1 change:: dev-build +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/noemitonerror 1 rename:: dev-build/src/main.js +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/noemitonerror 1 change:: dev-build/src +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/noemitonerror 1 rename:: dev-build/src/other.js +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/noemitonerror 1 change:: dev-build/src [12:01:05 AM] Found 0 errors. Watching for file changes. @@ -236,6 +254,8 @@ const a: string = 10; Output:: +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/noemitonerror 1 change:: src/main.ts + >> Screen clear [12:01:09 AM] File change detected. Starting incremental compilation... @@ -292,6 +312,8 @@ Input:: //// [/user/username/projects/noEmitOnError/src/main.ts] file written with same contents Output:: +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/noemitonerror 1 change:: src/main.ts + >> Screen clear [12:01:17 AM] File change detected. Starting incremental compilation... @@ -349,6 +371,8 @@ const a: string = "hello"; Output:: +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/noemitonerror 1 change:: src/main.ts + >> Screen clear [12:01:24 AM] File change detected. Starting incremental compilation... @@ -356,8 +380,11 @@ Output:: [12:01:26 AM] Building project '/user/username/projects/noEmitOnError/tsconfig.json'... +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/noemitonerror 1 change:: dev-build/src/main.js [12:01:31 AM] Updating unchanged output timestamps of project '/user/username/projects/noEmitOnError/tsconfig.json'... +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/noemitonerror 1 change:: dev-build/shared/types/db.js +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/noemitonerror 1 change:: dev-build/src/other.js [12:01:32 AM] Found 0 errors. Watching for file changes. @@ -410,6 +437,8 @@ Input:: //// [/user/username/projects/noEmitOnError/src/main.ts] file written with same contents Output:: +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/noemitonerror 1 change:: src/main.ts + >> Screen clear [12:01:36 AM] File change detected. Starting incremental compilation... @@ -419,6 +448,9 @@ Output:: [12:01:40 AM] Updating unchanged output timestamps of project '/user/username/projects/noEmitOnError/tsconfig.json'... +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/noemitonerror 1 change:: dev-build/shared/types/db.js +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/noemitonerror 1 change:: dev-build/src/main.js +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/noemitonerror 1 change:: dev-build/src/other.js [12:01:41 AM] Found 0 errors. Watching for file changes. diff --git a/tests/baselines/reference/tsbuildWatch/programUpdates/incremental-updates-in-verbose-mode.js b/tests/baselines/reference/tsbuildWatch/programUpdates/incremental-updates-in-verbose-mode.js index 9818a6cbf84..64dfa065bf6 100644 --- a/tests/baselines/reference/tsbuildWatch/programUpdates/incremental-updates-in-verbose-mode.js +++ b/tests/baselines/reference/tsbuildWatch/programUpdates/incremental-updates-in-verbose-mode.js @@ -499,6 +499,8 @@ function someFn() { } Output:: +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/sample1/logic 1 change:: index.ts + >> Screen clear [12:01:31 AM] File change detected. Starting incremental compilation... @@ -506,6 +508,11 @@ Output:: [12:01:33 AM] Building project '/user/username/projects/sample1/logic/tsconfig.json'... +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/sample1/logic 1 change:: index.js.map +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/sample1/logic 1 change:: index.js +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/sample1/logic 1 change:: index.d.ts +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/sample1/logic 1 change:: tsconfig.tsbuildinfo +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/sample1/logic 1 change:: tsconfig.tsbuildinfo.readable.baseline.txt [12:01:49 AM] Project 'sample1/tests/tsconfig.json' is up to date with .d.ts files from its dependencies [12:01:51 AM] Updating output timestamps of project '/user/username/projects/sample1/tests/tsconfig.json'... @@ -660,6 +667,8 @@ export function someFn() { } Output:: +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/sample1/logic 1 change:: index.ts + >> Screen clear [12:01:56 AM] File change detected. Starting incremental compilation... @@ -667,6 +676,11 @@ Output:: [12:01:58 AM] Building project '/user/username/projects/sample1/logic/tsconfig.json'... +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/sample1/logic 1 change:: index.js.map +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/sample1/logic 1 change:: index.js +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/sample1/logic 1 change:: index.d.ts +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/sample1/logic 1 change:: tsconfig.tsbuildinfo +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/sample1/logic 1 change:: tsconfig.tsbuildinfo.readable.baseline.txt [12:02:14 AM] Project 'sample1/tests/tsconfig.json' is out of date because oldest output 'sample1/tests/index.js' is older than newest input 'sample1/logic/tsconfig.json' [12:02:15 AM] Building project '/user/username/projects/sample1/tests/tsconfig.json'... diff --git a/tests/baselines/reference/tsbuildWatch/programUpdates/reportErrors/declarationEmitErrors/introduceError/when-file-with-no-error-changes.js b/tests/baselines/reference/tsbuildWatch/programUpdates/reportErrors/declarationEmitErrors/introduceError/when-file-with-no-error-changes.js index 191bed28c05..8dc3cbee77b 100644 --- a/tests/baselines/reference/tsbuildWatch/programUpdates/reportErrors/declarationEmitErrors/introduceError/when-file-with-no-error-changes.js +++ b/tests/baselines/reference/tsbuildWatch/programUpdates/reportErrors/declarationEmitErrors/introduceError/when-file-with-no-error-changes.js @@ -158,6 +158,8 @@ export var myClassWithError = class { Output:: +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/solution/app 1 change:: fileWithError.ts + >> Screen clear [12:00:42 AM] File change detected. Starting incremental compilation... @@ -209,6 +211,8 @@ export class myClass2 { } Output:: +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/solution/app 1 change:: fileWithoutError.ts + >> Screen clear [12:00:47 AM] File change detected. Starting incremental compilation... diff --git a/tests/baselines/reference/tsbuildWatch/programUpdates/reportErrors/declarationEmitErrors/introduceError/when-fixing-errors-only-changed-file-is-emitted.js b/tests/baselines/reference/tsbuildWatch/programUpdates/reportErrors/declarationEmitErrors/introduceError/when-fixing-errors-only-changed-file-is-emitted.js index b9b9221ded1..fec6520daa7 100644 --- a/tests/baselines/reference/tsbuildWatch/programUpdates/reportErrors/declarationEmitErrors/introduceError/when-fixing-errors-only-changed-file-is-emitted.js +++ b/tests/baselines/reference/tsbuildWatch/programUpdates/reportErrors/declarationEmitErrors/introduceError/when-fixing-errors-only-changed-file-is-emitted.js @@ -158,6 +158,8 @@ export var myClassWithError = class { Output:: +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/solution/app 1 change:: fileWithError.ts + >> Screen clear [12:00:42 AM] File change detected. Starting incremental compilation... @@ -212,9 +214,17 @@ export var myClassWithError = class { Output:: +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/solution/app 1 change:: fileWithError.ts + >> Screen clear [12:00:47 AM] File change detected. Starting incremental compilation... +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/solution/app 1 change:: fileWithError.js +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/solution/app 1 change:: fileWithError.d.ts +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/solution/app 1 change:: tsconfig.tsbuildinfo +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/solution/app 1 change:: fileWithoutError.js +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/solution/app 1 change:: fileWithoutError.d.ts +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/solution/app 1 change:: tsconfig.tsbuildinfo.readable.baseline.txt [12:01:01 AM] Found 0 errors. Watching for file changes. diff --git a/tests/baselines/reference/tsbuildWatch/programUpdates/reportErrors/declarationEmitErrors/when-file-with-no-error-changes.js b/tests/baselines/reference/tsbuildWatch/programUpdates/reportErrors/declarationEmitErrors/when-file-with-no-error-changes.js index b5611cbdf26..17cdd0f246f 100644 --- a/tests/baselines/reference/tsbuildWatch/programUpdates/reportErrors/declarationEmitErrors/when-file-with-no-error-changes.js +++ b/tests/baselines/reference/tsbuildWatch/programUpdates/reportErrors/declarationEmitErrors/when-file-with-no-error-changes.js @@ -82,6 +82,8 @@ export class myClass2 { } Output:: +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/solution/app 1 change:: fileWithoutError.ts + >> Screen clear [12:00:30 AM] File change detected. Starting incremental compilation... diff --git a/tests/baselines/reference/tsbuildWatch/programUpdates/reportErrors/declarationEmitErrors/when-fixing-error-files-all-files-are-emitted.js b/tests/baselines/reference/tsbuildWatch/programUpdates/reportErrors/declarationEmitErrors/when-fixing-error-files-all-files-are-emitted.js index b95e38e0059..68617fa5a81 100644 --- a/tests/baselines/reference/tsbuildWatch/programUpdates/reportErrors/declarationEmitErrors/when-fixing-error-files-all-files-are-emitted.js +++ b/tests/baselines/reference/tsbuildWatch/programUpdates/reportErrors/declarationEmitErrors/when-fixing-error-files-all-files-are-emitted.js @@ -85,9 +85,23 @@ export var myClassWithError = class { Output:: +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/solution/app 1 change:: fileWithError.ts + >> Screen clear [12:00:30 AM] File change detected. Starting incremental compilation... +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/solution/app 1 rename:: fileWithError.js +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/solution/app 1 change:: +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/solution/app 1 rename:: fileWithError.d.ts +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/solution/app 1 change:: +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/solution/app 1 rename:: fileWithoutError.js +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/solution/app 1 change:: +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/solution/app 1 rename:: fileWithoutError.d.ts +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/solution/app 1 change:: +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/solution/app 1 rename:: tsconfig.tsbuildinfo +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/solution/app 1 change:: +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/solution/app 1 rename:: tsconfig.tsbuildinfo.readable.baseline.txt +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/solution/app 1 change:: [12:00:43 AM] Found 0 errors. Watching for file changes. diff --git a/tests/baselines/reference/tsbuildWatch/programUpdates/reportErrors/when-preserveWatchOutput-is-not-used.js b/tests/baselines/reference/tsbuildWatch/programUpdates/reportErrors/when-preserveWatchOutput-is-not-used.js index 0ec3a1c545c..2150943719b 100644 --- a/tests/baselines/reference/tsbuildWatch/programUpdates/reportErrors/when-preserveWatchOutput-is-not-used.js +++ b/tests/baselines/reference/tsbuildWatch/programUpdates/reportErrors/when-preserveWatchOutput-is-not-used.js @@ -482,6 +482,8 @@ let y: string = 10; Output:: +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/sample1/logic 1 change:: index.ts + >> Screen clear [12:01:24 AM] File change detected. Starting incremental compilation... @@ -490,6 +492,8 @@ Output:: 8 let y: string = 10;    ~ +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/sample1/logic 1 change:: tsconfig.tsbuildinfo +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/sample1/logic 1 change:: tsconfig.tsbuildinfo.readable.baseline.txt [12:01:31 AM] Found 1 error. Watching for file changes. @@ -634,6 +638,8 @@ let x: string = 10; Output:: +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/sample1/core 1 change:: index.ts + >> Screen clear [12:01:35 AM] File change detected. Starting incremental compilation... @@ -642,6 +648,8 @@ Output:: 5 let x: string = 10;    ~ +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/sample1/core 1 change:: tsconfig.tsbuildinfo +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/sample1/core 1 change:: tsconfig.tsbuildinfo.readable.baseline.txt sample1/logic/index.ts:8:5 - error TS2322: Type 'number' is not assignable to type 'string'. 8 let y: string = 10; diff --git a/tests/baselines/reference/tsbuildWatch/programUpdates/reportErrors/when-preserveWatchOutput-is-passed-on-command-line.js b/tests/baselines/reference/tsbuildWatch/programUpdates/reportErrors/when-preserveWatchOutput-is-passed-on-command-line.js index 4ada4bc565f..fe1de9ac155 100644 --- a/tests/baselines/reference/tsbuildWatch/programUpdates/reportErrors/when-preserveWatchOutput-is-passed-on-command-line.js +++ b/tests/baselines/reference/tsbuildWatch/programUpdates/reportErrors/when-preserveWatchOutput-is-passed-on-command-line.js @@ -481,6 +481,7 @@ let y: string = 10; Output:: +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/sample1/logic 1 change:: index.ts [12:01:24 AM] File change detected. Starting incremental compilation... sample1/logic/index.ts:8:5 - error TS2322: Type 'number' is not assignable to type 'string'. @@ -488,6 +489,8 @@ Output:: 8 let y: string = 10;    ~ +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/sample1/logic 1 change:: tsconfig.tsbuildinfo +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/sample1/logic 1 change:: tsconfig.tsbuildinfo.readable.baseline.txt [12:01:31 AM] Found 1 error. Watching for file changes. @@ -632,6 +635,7 @@ let x: string = 10; Output:: +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/sample1/core 1 change:: index.ts [12:01:35 AM] File change detected. Starting incremental compilation... sample1/core/index.ts:5:5 - error TS2322: Type 'number' is not assignable to type 'string'. @@ -639,6 +643,8 @@ Output:: 5 let x: string = 10;    ~ +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/sample1/core 1 change:: tsconfig.tsbuildinfo +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/sample1/core 1 change:: tsconfig.tsbuildinfo.readable.baseline.txt sample1/logic/index.ts:8:5 - error TS2322: Type 'number' is not assignable to type 'string'. 8 let y: string = 10; diff --git a/tests/baselines/reference/tsbuildWatch/programUpdates/should-not-trigger-recompilation-because-of-program-emit-with-outDir-specified.js b/tests/baselines/reference/tsbuildWatch/programUpdates/should-not-trigger-recompilation-because-of-program-emit-with-outDir-specified.js index 826bc6fcd66..2083cf6ee2f 100644 --- a/tests/baselines/reference/tsbuildWatch/programUpdates/should-not-trigger-recompilation-because-of-program-emit-with-outDir-specified.js +++ b/tests/baselines/reference/tsbuildWatch/programUpdates/should-not-trigger-recompilation-because-of-program-emit-with-outDir-specified.js @@ -178,6 +178,9 @@ export const y = 10; Output:: +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/sample1/core 1 rename:: file3.ts +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/sample1/core 1 change:: + >> Screen clear [12:00:49 AM] File change detected. Starting incremental compilation... @@ -185,8 +188,18 @@ Output:: [12:00:51 AM] Building project '/user/username/projects/sample1/core/tsconfig.json'... +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/sample1/core 1 rename:: outDir/file3.js +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/sample1/core 1 change:: outDir +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/sample1/core 1 rename:: outDir/file3.d.ts +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/sample1/core 1 change:: outDir +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/sample1/core 1 change:: outDir/tsconfig.tsbuildinfo [12:01:00 AM] Updating unchanged output timestamps of project '/user/username/projects/sample1/core/tsconfig.json'... +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/sample1/core 1 change:: outDir/anotherModule.js +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/sample1/core 1 change:: outDir/anotherModule.d.ts +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/sample1/core 1 change:: outDir/index.js +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/sample1/core 1 change:: outDir/index.d.ts +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/sample1/core 1 change:: outDir/tsconfig.tsbuildinfo.readable.baseline.txt [12:01:04 AM] Found 0 errors. Watching for file changes. diff --git a/tests/baselines/reference/tsbuildWatch/programUpdates/should-not-trigger-recompilation-because-of-program-emit.js b/tests/baselines/reference/tsbuildWatch/programUpdates/should-not-trigger-recompilation-because-of-program-emit.js index 4f5076fc359..140331b70f4 100644 --- a/tests/baselines/reference/tsbuildWatch/programUpdates/should-not-trigger-recompilation-because-of-program-emit.js +++ b/tests/baselines/reference/tsbuildWatch/programUpdates/should-not-trigger-recompilation-because-of-program-emit.js @@ -193,6 +193,9 @@ export const y = 10; Output:: +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/sample1/core 1 rename:: file3.ts +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/sample1/core 1 change:: + >> Screen clear [12:00:50 AM] File change detected. Starting incremental compilation... @@ -200,8 +203,22 @@ Output:: [12:00:52 AM] Building project '/user/username/projects/sample1/core/tsconfig.json'... +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/sample1/core 1 rename:: file3.js +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/sample1/core 1 change:: +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/sample1/core 1 rename:: file3.d.ts.map +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/sample1/core 1 change:: +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/sample1/core 1 rename:: file3.d.ts +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/sample1/core 1 change:: +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/sample1/core 1 change:: tsconfig.tsbuildinfo [12:01:03 AM] Updating unchanged output timestamps of project '/user/username/projects/sample1/core/tsconfig.json'... +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/sample1/core 1 change:: anotherModule.js +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/sample1/core 1 change:: anotherModule.d.ts +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/sample1/core 1 change:: anotherModule.d.ts.map +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/sample1/core 1 change:: index.js +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/sample1/core 1 change:: index.d.ts +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/sample1/core 1 change:: index.d.ts.map +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/sample1/core 1 change:: tsconfig.tsbuildinfo.readable.baseline.txt [12:01:07 AM] Found 0 errors. Watching for file changes. diff --git a/tests/baselines/reference/tsbuildWatch/programUpdates/watches-config-files-that-are-not-present.js b/tests/baselines/reference/tsbuildWatch/programUpdates/watches-config-files-that-are-not-present.js index 9c056f58871..ea3ed9e6457 100644 --- a/tests/baselines/reference/tsbuildWatch/programUpdates/watches-config-files-that-are-not-present.js +++ b/tests/baselines/reference/tsbuildWatch/programUpdates/watches-config-files-that-are-not-present.js @@ -221,6 +221,16 @@ Output:: >> Screen clear [12:00:57 AM] File change detected. Starting incremental compilation... +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/sample1/logic 1 rename:: index.js.map +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/sample1/logic 1 change:: +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/sample1/logic 1 rename:: index.js +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/sample1/logic 1 change:: +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/sample1/logic 1 rename:: index.d.ts +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/sample1/logic 1 change:: +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/sample1/logic 1 rename:: tsconfig.tsbuildinfo +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/sample1/logic 1 change:: +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/sample1/logic 1 rename:: tsconfig.tsbuildinfo.readable.baseline.txt +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/sample1/logic 1 change:: Program root files: ["/user/username/projects/sample1/logic/index.ts"] diff --git a/tests/baselines/reference/tsbuildWatch/programUpdates/when-referenced-project-change-introduces-error-in-the-down-stream-project-and-then-fixes-it.js b/tests/baselines/reference/tsbuildWatch/programUpdates/when-referenced-project-change-introduces-error-in-the-down-stream-project-and-then-fixes-it.js index 8ee1d321ec2..e842fb48605 100644 --- a/tests/baselines/reference/tsbuildWatch/programUpdates/when-referenced-project-change-introduces-error-in-the-down-stream-project-and-then-fixes-it.js +++ b/tests/baselines/reference/tsbuildWatch/programUpdates/when-referenced-project-change-introduces-error-in-the-down-stream-project-and-then-fixes-it.js @@ -181,9 +181,15 @@ export function createSomeObject(): SomeObject Output:: +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/sample1/library 1 change:: library.ts + >> Screen clear [12:00:44 AM] File change detected. Starting incremental compilation... +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/sample1/library 1 change:: library.js +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/sample1/library 1 change:: library.d.ts +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/sample1/library 1 change:: tsconfig.tsbuildinfo +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/sample1/library 1 change:: tsconfig.tsbuildinfo.readable.baseline.txt App/app.ts:2:20 - error TS2551: Property 'message' does not exist on type 'SomeObject'. Did you mean 'message2'? 2 createSomeObject().message; @@ -322,9 +328,16 @@ export function createSomeObject(): SomeObject Output:: +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/sample1/library 1 change:: library.ts + >> Screen clear [12:01:01 AM] File change detected. Starting incremental compilation... +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/sample1/library 1 change:: library.js +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/sample1/library 1 change:: library.d.ts +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/sample1/library 1 change:: tsconfig.tsbuildinfo +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/sample1/library 1 change:: tsconfig.tsbuildinfo.readable.baseline.txt +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/sample1/app 1 change:: app.js [12:01:17 AM] Found 0 errors. Watching for file changes. diff --git a/tests/baselines/reference/tsbuildWatch/programUpdates/when-referenced-using-prepend-builds-referencing-project-even-for-non-local-change.js b/tests/baselines/reference/tsbuildWatch/programUpdates/when-referenced-using-prepend-builds-referencing-project-even-for-non-local-change.js index 5788471efc1..77ca2e55b4c 100644 --- a/tests/baselines/reference/tsbuildWatch/programUpdates/when-referenced-using-prepend-builds-referencing-project-even-for-non-local-change.js +++ b/tests/baselines/reference/tsbuildWatch/programUpdates/when-referenced-using-prepend-builds-referencing-project-even-for-non-local-change.js @@ -243,9 +243,16 @@ function myFunc() { return 10; } Output:: +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/sample1/core 1 change:: index.ts + >> Screen clear [12:00:54 AM] File change detected. Starting incremental compilation... +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/sample1/core 1 change:: index.js +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/sample1/core 1 change:: index.d.ts +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/sample1/core 1 change:: index.tsbuildinfo +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/sample1/core 1 change:: index.tsbuildinfo.readable.baseline.txt +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/sample1/core 1 change:: index.tsbuildinfo.baseline.txt Program root files: ["/user/username/projects/sample1/core/index.ts"] @@ -346,6 +353,11 @@ Change:: Build logic Input:: Output:: +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/sample1/logic 1 change:: index.js +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/sample1/logic 1 change:: index.d.ts +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/sample1/logic 1 change:: index.tsbuildinfo +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/sample1/logic 1 change:: index.tsbuildinfo.readable.baseline.txt +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/sample1/logic 1 change:: index.tsbuildinfo.baseline.txt [12:01:25 AM] Found 0 errors. Watching for file changes. @@ -495,9 +507,16 @@ function myFunc() { return 100; } Output:: +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/sample1/core 1 change:: index.ts + >> Screen clear [12:01:29 AM] File change detected. Starting incremental compilation... +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/sample1/core 1 change:: index.js +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/sample1/core 1 change:: index.d.ts +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/sample1/core 1 change:: index.tsbuildinfo +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/sample1/core 1 change:: index.tsbuildinfo.readable.baseline.txt +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/sample1/core 1 change:: index.tsbuildinfo.baseline.txt Program root files: ["/user/username/projects/sample1/core/index.ts"] @@ -594,6 +613,11 @@ Change:: Build logic Input:: Output:: +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/sample1/logic 1 change:: index.js +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/sample1/logic 1 change:: index.tsbuildinfo +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/sample1/logic 1 change:: index.d.ts +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/sample1/logic 1 change:: index.tsbuildinfo.readable.baseline.txt +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/sample1/logic 1 change:: index.tsbuildinfo.baseline.txt [12:01:58 AM] Found 0 errors. Watching for file changes. diff --git a/tests/baselines/reference/tsbuildWatch/programUpdates/with-circular-project-reference/builds-when-new-file-is-added,-and-its-subsequent-updates.js b/tests/baselines/reference/tsbuildWatch/programUpdates/with-circular-project-reference/builds-when-new-file-is-added,-and-its-subsequent-updates.js index eb685e63ee0..a2b08a732c8 100644 --- a/tests/baselines/reference/tsbuildWatch/programUpdates/with-circular-project-reference/builds-when-new-file-is-added,-and-its-subsequent-updates.js +++ b/tests/baselines/reference/tsbuildWatch/programUpdates/with-circular-project-reference/builds-when-new-file-is-added,-and-its-subsequent-updates.js @@ -441,9 +441,22 @@ export const newFileConst = 30; Output:: +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/sample1/core 1 rename:: newfile.ts +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/sample1/core 1 change:: + >> Screen clear [12:01:13 AM] File change detected. Starting incremental compilation... +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/sample1/core 1 rename:: newfile.js +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/sample1/core 1 change:: +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/sample1/core 1 rename:: newfile.d.ts +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/sample1/core 1 change:: +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/sample1/core 1 change:: tsconfig.tsbuildinfo +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/sample1/core 1 change:: anotherModule.js +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/sample1/core 1 change:: anotherModule.d.ts +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/sample1/core 1 change:: index.js +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/sample1/core 1 change:: index.d.ts +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/sample1/core 1 change:: tsconfig.tsbuildinfo.readable.baseline.txt Program root files: ["/user/username/projects/sample1/core/anotherModule.ts","/user/username/projects/sample1/core/index.ts","/user/username/projects/sample1/core/newfile.ts"] @@ -558,6 +571,10 @@ Change:: Build logic and tests Input:: Output:: +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/sample1/logic 1 change:: index.js +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/sample1/logic 1 change:: index.js.map +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/sample1/logic 1 change:: index.d.ts +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/sample1/logic 1 change:: tsconfig.tsbuildinfo [12:01:27 AM] Found 0 errors. Watching for file changes. @@ -634,9 +651,19 @@ export class someClass2 { } Output:: +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/sample1/core 1 change:: newfile.ts + >> Screen clear [12:01:31 AM] File change detected. Starting incremental compilation... +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/sample1/core 1 change:: newfile.js +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/sample1/core 1 change:: newfile.d.ts +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/sample1/core 1 change:: tsconfig.tsbuildinfo +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/sample1/core 1 change:: anotherModule.js +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/sample1/core 1 change:: anotherModule.d.ts +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/sample1/core 1 change:: index.js +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/sample1/core 1 change:: index.d.ts +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/sample1/core 1 change:: tsconfig.tsbuildinfo.readable.baseline.txt Program root files: ["/user/username/projects/sample1/core/anotherModule.ts","/user/username/projects/sample1/core/index.ts","/user/username/projects/sample1/core/newfile.ts"] @@ -759,6 +786,10 @@ Change:: Build logic and tests Input:: Output:: +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/sample1/logic 1 change:: index.js +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/sample1/logic 1 change:: index.js.map +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/sample1/logic 1 change:: index.d.ts +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/sample1/logic 1 change:: tsconfig.tsbuildinfo [12:01:47 AM] Found 0 errors. Watching for file changes. diff --git a/tests/baselines/reference/tsbuildWatch/programUpdates/with-circular-project-reference/change-builds-changes-and-reports-found-errors-message.js b/tests/baselines/reference/tsbuildWatch/programUpdates/with-circular-project-reference/change-builds-changes-and-reports-found-errors-message.js index 345fc647455..9af35c77974 100644 --- a/tests/baselines/reference/tsbuildWatch/programUpdates/with-circular-project-reference/change-builds-changes-and-reports-found-errors-message.js +++ b/tests/baselines/reference/tsbuildWatch/programUpdates/with-circular-project-reference/change-builds-changes-and-reports-found-errors-message.js @@ -445,9 +445,17 @@ export class someClass { } Output:: +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/sample1/core 1 change:: index.ts + >> Screen clear [12:01:14 AM] File change detected. Starting incremental compilation... +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/sample1/core 1 change:: index.js +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/sample1/core 1 change:: index.d.ts +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/sample1/core 1 change:: tsconfig.tsbuildinfo +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/sample1/core 1 change:: anotherModule.js +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/sample1/core 1 change:: anotherModule.d.ts +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/sample1/core 1 change:: tsconfig.tsbuildinfo.readable.baseline.txt Program root files: ["/user/username/projects/sample1/core/anotherModule.ts","/user/username/projects/sample1/core/index.ts"] @@ -565,6 +573,11 @@ Change:: Build logic and tests Input:: Output:: +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/sample1/logic 1 change:: index.js.map +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/sample1/logic 1 change:: index.js +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/sample1/logic 1 change:: index.d.ts +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/sample1/logic 1 change:: tsconfig.tsbuildinfo +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/sample1/logic 1 change:: tsconfig.tsbuildinfo.readable.baseline.txt [12:01:55 AM] Found 0 errors. Watching for file changes. @@ -796,9 +809,17 @@ export function multiply(a: number, b: number) { return a * b; } Output:: +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/sample1/core 1 change:: index.ts + >> Screen clear [12:01:59 AM] File change detected. Starting incremental compilation... +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/sample1/core 1 change:: index.js +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/sample1/core 1 change:: index.d.ts +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/sample1/core 1 change:: tsconfig.tsbuildinfo +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/sample1/core 1 change:: anotherModule.js +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/sample1/core 1 change:: anotherModule.d.ts +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/sample1/core 1 change:: tsconfig.tsbuildinfo.readable.baseline.txt Program root files: ["/user/username/projects/sample1/core/anotherModule.ts","/user/username/projects/sample1/core/index.ts"] @@ -908,6 +929,11 @@ Change:: Build logic and tests Input:: Output:: +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/sample1/logic 1 change:: index.js.map +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/sample1/logic 1 change:: index.js +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/sample1/logic 1 change:: index.d.ts +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/sample1/logic 1 change:: tsconfig.tsbuildinfo +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/sample1/logic 1 change:: tsconfig.tsbuildinfo.readable.baseline.txt [12:02:40 AM] Found 0 errors. Watching for file changes. @@ -1141,9 +1167,18 @@ export class someClass2 { } Output:: +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/sample1/core 1 change:: index.ts +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/sample1/core 1 change:: index.ts + >> Screen clear [12:02:47 AM] File change detected. Starting incremental compilation... +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/sample1/core 1 change:: index.js +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/sample1/core 1 change:: index.d.ts +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/sample1/core 1 change:: tsconfig.tsbuildinfo +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/sample1/core 1 change:: anotherModule.js +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/sample1/core 1 change:: anotherModule.d.ts +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/sample1/core 1 change:: tsconfig.tsbuildinfo.readable.baseline.txt Program root files: ["/user/username/projects/sample1/core/anotherModule.ts","/user/username/projects/sample1/core/index.ts"] @@ -1269,6 +1304,11 @@ Change:: Build logic and tests Input:: Output:: +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/sample1/logic 1 change:: index.js.map +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/sample1/logic 1 change:: index.js +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/sample1/logic 1 change:: index.d.ts +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/sample1/logic 1 change:: tsconfig.tsbuildinfo +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/sample1/logic 1 change:: tsconfig.tsbuildinfo.readable.baseline.txt [12:03:29 AM] Found 0 errors. Watching for file changes. diff --git a/tests/baselines/reference/tsbuildWatch/programUpdates/with-circular-project-reference/non-local-change-does-not-start-build-of-referencing-projects.js b/tests/baselines/reference/tsbuildWatch/programUpdates/with-circular-project-reference/non-local-change-does-not-start-build-of-referencing-projects.js index b8e271ccd50..261f3c8c966 100644 --- a/tests/baselines/reference/tsbuildWatch/programUpdates/with-circular-project-reference/non-local-change-does-not-start-build-of-referencing-projects.js +++ b/tests/baselines/reference/tsbuildWatch/programUpdates/with-circular-project-reference/non-local-change-does-not-start-build-of-referencing-projects.js @@ -445,9 +445,21 @@ function foo() { } Output:: +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/sample1/core 1 change:: index.ts + >> Screen clear [12:01:14 AM] File change detected. Starting incremental compilation... +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/sample1/core 1 change:: index.js +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/sample1/core 1 change:: index.d.ts +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/sample1/core 1 change:: tsconfig.tsbuildinfo +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/sample1/core 1 change:: anotherModule.js +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/sample1/core 1 change:: anotherModule.d.ts +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/sample1/core 1 change:: tsconfig.tsbuildinfo.readable.baseline.txt +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/sample1/logic 1 change:: index.js +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/sample1/logic 1 change:: index.js.map +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/sample1/logic 1 change:: index.d.ts +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/sample1/logic 1 change:: tsconfig.tsbuildinfo [12:01:30 AM] Found 0 errors. Watching for file changes. diff --git a/tests/baselines/reference/tsbuildWatch/programUpdates/with-simple-project-reference-graph/builds-when-new-file-is-added,-and-its-subsequent-updates.js b/tests/baselines/reference/tsbuildWatch/programUpdates/with-simple-project-reference-graph/builds-when-new-file-is-added,-and-its-subsequent-updates.js index a72f345ad4b..24b29694504 100644 --- a/tests/baselines/reference/tsbuildWatch/programUpdates/with-simple-project-reference-graph/builds-when-new-file-is-added,-and-its-subsequent-updates.js +++ b/tests/baselines/reference/tsbuildWatch/programUpdates/with-simple-project-reference-graph/builds-when-new-file-is-added,-and-its-subsequent-updates.js @@ -475,9 +475,26 @@ export const newFileConst = 30; Output:: +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/sample1/core 1 rename:: newfile.ts +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/sample1/core 1 change:: + >> Screen clear [12:01:23 AM] File change detected. Starting incremental compilation... +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/sample1/core 1 rename:: newfile.js +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/sample1/core 1 change:: +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/sample1/core 1 rename:: newfile.d.ts.map +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/sample1/core 1 change:: +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/sample1/core 1 rename:: newfile.d.ts +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/sample1/core 1 change:: +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/sample1/core 1 change:: tsconfig.tsbuildinfo +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/sample1/core 1 change:: anotherModule.js +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/sample1/core 1 change:: anotherModule.d.ts +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/sample1/core 1 change:: anotherModule.d.ts.map +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/sample1/core 1 change:: index.js +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/sample1/core 1 change:: index.d.ts +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/sample1/core 1 change:: index.d.ts.map +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/sample1/core 1 change:: tsconfig.tsbuildinfo.readable.baseline.txt Program root files: ["/user/username/projects/sample1/core/anotherModule.ts","/user/username/projects/sample1/core/index.ts","/user/username/projects/sample1/core/newfile.ts"] @@ -599,6 +616,10 @@ Change:: Build logic and tests Input:: Output:: +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/sample1/logic 1 change:: index.js +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/sample1/logic 1 change:: index.js.map +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/sample1/logic 1 change:: index.d.ts +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/sample1/logic 1 change:: tsconfig.tsbuildinfo [12:01:39 AM] Found 0 errors. Watching for file changes. @@ -675,9 +696,22 @@ export class someClass2 { } Output:: +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/sample1/core 1 change:: newfile.ts + >> Screen clear [12:01:43 AM] File change detected. Starting incremental compilation... +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/sample1/core 1 change:: newfile.js +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/sample1/core 1 change:: newfile.d.ts.map +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/sample1/core 1 change:: newfile.d.ts +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/sample1/core 1 change:: tsconfig.tsbuildinfo +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/sample1/core 1 change:: anotherModule.js +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/sample1/core 1 change:: anotherModule.d.ts +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/sample1/core 1 change:: anotherModule.d.ts.map +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/sample1/core 1 change:: index.js +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/sample1/core 1 change:: index.d.ts +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/sample1/core 1 change:: index.d.ts.map +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/sample1/core 1 change:: tsconfig.tsbuildinfo.readable.baseline.txt Program root files: ["/user/username/projects/sample1/core/anotherModule.ts","/user/username/projects/sample1/core/index.ts","/user/username/projects/sample1/core/newfile.ts"] @@ -807,6 +841,10 @@ Change:: Build logic and tests Input:: Output:: +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/sample1/logic 1 change:: index.js +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/sample1/logic 1 change:: index.js.map +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/sample1/logic 1 change:: index.d.ts +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/sample1/logic 1 change:: tsconfig.tsbuildinfo [12:02:02 AM] Found 0 errors. Watching for file changes. diff --git a/tests/baselines/reference/tsbuildWatch/programUpdates/with-simple-project-reference-graph/change-builds-changes-and-reports-found-errors-message.js b/tests/baselines/reference/tsbuildWatch/programUpdates/with-simple-project-reference-graph/change-builds-changes-and-reports-found-errors-message.js index 059ce163d3d..cd2c46aa1f4 100644 --- a/tests/baselines/reference/tsbuildWatch/programUpdates/with-simple-project-reference-graph/change-builds-changes-and-reports-found-errors-message.js +++ b/tests/baselines/reference/tsbuildWatch/programUpdates/with-simple-project-reference-graph/change-builds-changes-and-reports-found-errors-message.js @@ -479,9 +479,19 @@ export class someClass { } Output:: +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/sample1/core 1 change:: index.ts + >> Screen clear [12:01:24 AM] File change detected. Starting incremental compilation... +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/sample1/core 1 change:: index.js +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/sample1/core 1 change:: index.d.ts.map +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/sample1/core 1 change:: index.d.ts +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/sample1/core 1 change:: tsconfig.tsbuildinfo +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/sample1/core 1 change:: anotherModule.js +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/sample1/core 1 change:: anotherModule.d.ts +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/sample1/core 1 change:: anotherModule.d.ts.map +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/sample1/core 1 change:: tsconfig.tsbuildinfo.readable.baseline.txt Program root files: ["/user/username/projects/sample1/core/anotherModule.ts","/user/username/projects/sample1/core/index.ts"] @@ -605,6 +615,11 @@ Change:: Build logic and tests Input:: Output:: +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/sample1/logic 1 change:: index.js.map +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/sample1/logic 1 change:: index.js +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/sample1/logic 1 change:: index.d.ts +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/sample1/logic 1 change:: tsconfig.tsbuildinfo +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/sample1/logic 1 change:: tsconfig.tsbuildinfo.readable.baseline.txt [12:02:08 AM] Found 0 errors. Watching for file changes. @@ -836,9 +851,19 @@ export function multiply(a: number, b: number) { return a * b; } Output:: +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/sample1/core 1 change:: index.ts + >> Screen clear [12:02:12 AM] File change detected. Starting incremental compilation... +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/sample1/core 1 change:: index.js +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/sample1/core 1 change:: index.d.ts.map +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/sample1/core 1 change:: index.d.ts +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/sample1/core 1 change:: tsconfig.tsbuildinfo +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/sample1/core 1 change:: anotherModule.js +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/sample1/core 1 change:: anotherModule.d.ts +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/sample1/core 1 change:: anotherModule.d.ts.map +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/sample1/core 1 change:: tsconfig.tsbuildinfo.readable.baseline.txt Program root files: ["/user/username/projects/sample1/core/anotherModule.ts","/user/username/projects/sample1/core/index.ts"] @@ -954,6 +979,11 @@ Change:: Build logic and tests Input:: Output:: +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/sample1/logic 1 change:: index.js.map +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/sample1/logic 1 change:: index.js +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/sample1/logic 1 change:: index.d.ts +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/sample1/logic 1 change:: tsconfig.tsbuildinfo +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/sample1/logic 1 change:: tsconfig.tsbuildinfo.readable.baseline.txt [12:02:56 AM] Found 0 errors. Watching for file changes. @@ -1187,9 +1217,20 @@ export class someClass2 { } Output:: +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/sample1/core 1 change:: index.ts +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/sample1/core 1 change:: index.ts + >> Screen clear [12:03:03 AM] File change detected. Starting incremental compilation... +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/sample1/core 1 change:: index.js +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/sample1/core 1 change:: index.d.ts.map +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/sample1/core 1 change:: index.d.ts +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/sample1/core 1 change:: tsconfig.tsbuildinfo +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/sample1/core 1 change:: anotherModule.js +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/sample1/core 1 change:: anotherModule.d.ts +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/sample1/core 1 change:: anotherModule.d.ts.map +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/sample1/core 1 change:: tsconfig.tsbuildinfo.readable.baseline.txt Program root files: ["/user/username/projects/sample1/core/anotherModule.ts","/user/username/projects/sample1/core/index.ts"] @@ -1321,6 +1362,11 @@ Change:: Build logic and tests Input:: Output:: +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/sample1/logic 1 change:: index.js.map +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/sample1/logic 1 change:: index.js +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/sample1/logic 1 change:: index.d.ts +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/sample1/logic 1 change:: tsconfig.tsbuildinfo +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/sample1/logic 1 change:: tsconfig.tsbuildinfo.readable.baseline.txt [12:03:48 AM] Found 0 errors. Watching for file changes. diff --git a/tests/baselines/reference/tsbuildWatch/programUpdates/with-simple-project-reference-graph/non-local-change-does-not-start-build-of-referencing-projects.js b/tests/baselines/reference/tsbuildWatch/programUpdates/with-simple-project-reference-graph/non-local-change-does-not-start-build-of-referencing-projects.js index f7f454b20ce..89f79ea78be 100644 --- a/tests/baselines/reference/tsbuildWatch/programUpdates/with-simple-project-reference-graph/non-local-change-does-not-start-build-of-referencing-projects.js +++ b/tests/baselines/reference/tsbuildWatch/programUpdates/with-simple-project-reference-graph/non-local-change-does-not-start-build-of-referencing-projects.js @@ -479,9 +479,23 @@ function foo() { } Output:: +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/sample1/core 1 change:: index.ts + >> Screen clear [12:01:24 AM] File change detected. Starting incremental compilation... +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/sample1/core 1 change:: index.js +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/sample1/core 1 change:: index.d.ts.map +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/sample1/core 1 change:: index.d.ts +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/sample1/core 1 change:: tsconfig.tsbuildinfo +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/sample1/core 1 change:: anotherModule.js +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/sample1/core 1 change:: anotherModule.d.ts +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/sample1/core 1 change:: anotherModule.d.ts.map +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/sample1/core 1 change:: tsconfig.tsbuildinfo.readable.baseline.txt +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/sample1/logic 1 change:: index.js +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/sample1/logic 1 change:: index.js.map +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/sample1/logic 1 change:: index.d.ts +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/sample1/logic 1 change:: tsconfig.tsbuildinfo [12:01:43 AM] Found 0 errors. Watching for file changes. diff --git a/tests/baselines/reference/tsbuildWatch/programUpdates/works-when-noUnusedParameters-changes-to-false.js b/tests/baselines/reference/tsbuildWatch/programUpdates/works-when-noUnusedParameters-changes-to-false.js index 0b05490ab3e..381cecd6c30 100644 --- a/tests/baselines/reference/tsbuildWatch/programUpdates/works-when-noUnusedParameters-changes-to-false.js +++ b/tests/baselines/reference/tsbuildWatch/programUpdates/works-when-noUnusedParameters-changes-to-false.js @@ -71,9 +71,13 @@ Input:: Output:: +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject 1 change:: tsconfig.json + >> Screen clear [12:00:26 AM] File change detected. Starting incremental compilation... +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject 1 rename:: index.js +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject 1 change:: [12:00:29 AM] Found 0 errors. Watching for file changes. diff --git a/tests/baselines/reference/tsbuildWatch/programUpdates/works-with-extended-source-files.js b/tests/baselines/reference/tsbuildWatch/programUpdates/works-with-extended-source-files.js index f39bf560fe9..439f17cc559 100644 --- a/tests/baselines/reference/tsbuildWatch/programUpdates/works-with-extended-source-files.js +++ b/tests/baselines/reference/tsbuildWatch/programUpdates/works-with-extended-source-files.js @@ -405,6 +405,9 @@ Output:: [12:01:19 AM] Building project '/a/b/project2.tsconfig.json'... +sysLog:: watchPresentFileSystemEntry:: /a/b 1 change:: commonFile1.js +sysLog:: watchPresentFileSystemEntry:: /a/b 1 change:: commonFile2.js +sysLog:: watchPresentFileSystemEntry:: /a/b 1 change:: other.js [12:01:29 AM] Found 0 errors. Watching for file changes. @@ -477,6 +480,8 @@ Input:: Output:: +sysLog:: watchPresentFileSystemEntry:: /a/b 1 change:: alpha.tsconfig.json + >> Screen clear [12:01:34 AM] File change detected. Starting incremental compilation... @@ -486,6 +491,11 @@ Output:: [12:01:38 AM] Updating unchanged output timestamps of project '/a/b/project1.tsconfig.json'... +sysLog:: watchPresentFileSystemEntry:: /a/b 1 change:: commonFile1.js +sysLog:: watchPresentFileSystemEntry:: /a/b 1 change:: commonFile1.d.ts +sysLog:: watchPresentFileSystemEntry:: /a/b 1 change:: commonFile2.js +sysLog:: watchPresentFileSystemEntry:: /a/b 1 change:: commonFile2.d.ts +sysLog:: watchPresentFileSystemEntry:: /a/b 1 change:: project1.tsconfig.tsbuildinfo Program root files: ["/a/b/commonFile1.ts","/a/b/commonFile2.ts"] @@ -544,6 +554,9 @@ Output:: [12:01:42 AM] Updating unchanged output timestamps of project '/a/b/project2.tsconfig.json'... +sysLog:: watchPresentFileSystemEntry:: /a/b 1 change:: commonFile1.js +sysLog:: watchPresentFileSystemEntry:: /a/b 1 change:: commonFile2.js +sysLog:: watchPresentFileSystemEntry:: /a/b 1 change:: other.js [12:01:43 AM] Found 0 errors. Watching for file changes. diff --git a/tests/baselines/reference/tsbuildWatch/projectsBuilding/when-there-are-23-projects-in-a-solution.js b/tests/baselines/reference/tsbuildWatch/projectsBuilding/when-there-are-23-projects-in-a-solution.js index 8dc08e63832..6fd94479da3 100644 --- a/tests/baselines/reference/tsbuildWatch/projectsBuilding/when-there-are-23-projects-in-a-solution.js +++ b/tests/baselines/reference/tsbuildWatch/projectsBuilding/when-there-are-23-projects-in-a-solution.js @@ -1841,6 +1841,8 @@ export const pkg0 = 0;const someConst2 = 10; Output:: +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject/pkg0 1 change:: index.ts + >> Screen clear [12:06:32 AM] File change detected. Starting incremental compilation... @@ -1848,94 +1850,164 @@ Output:: [12:06:34 AM] Building project '/user/username/projects/myproject/pkg0/tsconfig.json'... +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject/pkg0 1 change:: index.js +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject/pkg0 1 change:: index.d.ts +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject/pkg0 1 change:: tsconfig.tsbuildinfo +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject/pkg0 1 change:: tsconfig.tsbuildinfo.readable.baseline.txt [12:06:47 AM] Project 'pkg1/tsconfig.json' is up to date with .d.ts files from its dependencies [12:06:49 AM] Updating output timestamps of project '/user/username/projects/myproject/pkg1/tsconfig.json'... +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject/pkg1 1 change:: index.js +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject/pkg1 1 change:: index.d.ts +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject/pkg1 1 change:: tsconfig.tsbuildinfo [12:06:50 AM] Project 'pkg2/tsconfig.json' is up to date with .d.ts files from its dependencies [12:06:52 AM] Updating output timestamps of project '/user/username/projects/myproject/pkg2/tsconfig.json'... +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject/pkg2 1 change:: index.js +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject/pkg2 1 change:: index.d.ts +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject/pkg2 1 change:: tsconfig.tsbuildinfo [12:06:53 AM] Project 'pkg3/tsconfig.json' is up to date with .d.ts files from its dependencies [12:06:55 AM] Updating output timestamps of project '/user/username/projects/myproject/pkg3/tsconfig.json'... +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject/pkg3 1 change:: index.js +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject/pkg3 1 change:: index.d.ts +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject/pkg3 1 change:: tsconfig.tsbuildinfo [12:06:56 AM] Project 'pkg4/tsconfig.json' is up to date with .d.ts files from its dependencies [12:06:58 AM] Updating output timestamps of project '/user/username/projects/myproject/pkg4/tsconfig.json'... +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject/pkg4 1 change:: index.js +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject/pkg4 1 change:: index.d.ts +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject/pkg4 1 change:: tsconfig.tsbuildinfo [12:06:59 AM] Project 'pkg5/tsconfig.json' is up to date with .d.ts files from its dependencies [12:07:01 AM] Updating output timestamps of project '/user/username/projects/myproject/pkg5/tsconfig.json'... +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject/pkg5 1 change:: index.js +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject/pkg5 1 change:: index.d.ts +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject/pkg5 1 change:: tsconfig.tsbuildinfo [12:07:02 AM] Project 'pkg6/tsconfig.json' is up to date with .d.ts files from its dependencies [12:07:04 AM] Updating output timestamps of project '/user/username/projects/myproject/pkg6/tsconfig.json'... +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject/pkg6 1 change:: index.js +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject/pkg6 1 change:: index.d.ts +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject/pkg6 1 change:: tsconfig.tsbuildinfo [12:07:05 AM] Project 'pkg7/tsconfig.json' is up to date with .d.ts files from its dependencies [12:07:07 AM] Updating output timestamps of project '/user/username/projects/myproject/pkg7/tsconfig.json'... +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject/pkg7 1 change:: index.js +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject/pkg7 1 change:: index.d.ts +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject/pkg7 1 change:: tsconfig.tsbuildinfo [12:07:08 AM] Project 'pkg8/tsconfig.json' is up to date with .d.ts files from its dependencies [12:07:10 AM] Updating output timestamps of project '/user/username/projects/myproject/pkg8/tsconfig.json'... +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject/pkg8 1 change:: index.js +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject/pkg8 1 change:: index.d.ts +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject/pkg8 1 change:: tsconfig.tsbuildinfo [12:07:11 AM] Project 'pkg9/tsconfig.json' is up to date with .d.ts files from its dependencies [12:07:13 AM] Updating output timestamps of project '/user/username/projects/myproject/pkg9/tsconfig.json'... +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject/pkg9 1 change:: index.js +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject/pkg9 1 change:: index.d.ts +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject/pkg9 1 change:: tsconfig.tsbuildinfo [12:07:14 AM] Project 'pkg10/tsconfig.json' is up to date with .d.ts files from its dependencies [12:07:16 AM] Updating output timestamps of project '/user/username/projects/myproject/pkg10/tsconfig.json'... +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject/pkg10 1 change:: index.js +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject/pkg10 1 change:: index.d.ts +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject/pkg10 1 change:: tsconfig.tsbuildinfo [12:07:17 AM] Project 'pkg11/tsconfig.json' is up to date with .d.ts files from its dependencies [12:07:19 AM] Updating output timestamps of project '/user/username/projects/myproject/pkg11/tsconfig.json'... +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject/pkg11 1 change:: index.js +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject/pkg11 1 change:: index.d.ts +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject/pkg11 1 change:: tsconfig.tsbuildinfo [12:07:20 AM] Project 'pkg12/tsconfig.json' is up to date with .d.ts files from its dependencies [12:07:22 AM] Updating output timestamps of project '/user/username/projects/myproject/pkg12/tsconfig.json'... +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject/pkg12 1 change:: index.js +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject/pkg12 1 change:: index.d.ts +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject/pkg12 1 change:: tsconfig.tsbuildinfo [12:07:23 AM] Project 'pkg13/tsconfig.json' is up to date with .d.ts files from its dependencies [12:07:25 AM] Updating output timestamps of project '/user/username/projects/myproject/pkg13/tsconfig.json'... +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject/pkg13 1 change:: index.js +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject/pkg13 1 change:: index.d.ts +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject/pkg13 1 change:: tsconfig.tsbuildinfo [12:07:26 AM] Project 'pkg14/tsconfig.json' is up to date with .d.ts files from its dependencies [12:07:28 AM] Updating output timestamps of project '/user/username/projects/myproject/pkg14/tsconfig.json'... +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject/pkg14 1 change:: index.js +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject/pkg14 1 change:: index.d.ts +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject/pkg14 1 change:: tsconfig.tsbuildinfo [12:07:29 AM] Project 'pkg15/tsconfig.json' is up to date with .d.ts files from its dependencies [12:07:31 AM] Updating output timestamps of project '/user/username/projects/myproject/pkg15/tsconfig.json'... +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject/pkg15 1 change:: index.js +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject/pkg15 1 change:: index.d.ts +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject/pkg15 1 change:: tsconfig.tsbuildinfo [12:07:32 AM] Project 'pkg16/tsconfig.json' is up to date with .d.ts files from its dependencies [12:07:34 AM] Updating output timestamps of project '/user/username/projects/myproject/pkg16/tsconfig.json'... +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject/pkg16 1 change:: index.js +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject/pkg16 1 change:: index.d.ts +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject/pkg16 1 change:: tsconfig.tsbuildinfo [12:07:35 AM] Project 'pkg17/tsconfig.json' is up to date with .d.ts files from its dependencies [12:07:37 AM] Updating output timestamps of project '/user/username/projects/myproject/pkg17/tsconfig.json'... +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject/pkg17 1 change:: index.js +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject/pkg17 1 change:: index.d.ts +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject/pkg17 1 change:: tsconfig.tsbuildinfo [12:07:38 AM] Project 'pkg18/tsconfig.json' is up to date with .d.ts files from its dependencies [12:07:40 AM] Updating output timestamps of project '/user/username/projects/myproject/pkg18/tsconfig.json'... +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject/pkg18 1 change:: index.js +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject/pkg18 1 change:: index.d.ts +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject/pkg18 1 change:: tsconfig.tsbuildinfo [12:07:41 AM] Project 'pkg19/tsconfig.json' is up to date with .d.ts files from its dependencies [12:07:43 AM] Updating output timestamps of project '/user/username/projects/myproject/pkg19/tsconfig.json'... +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject/pkg19 1 change:: index.js +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject/pkg19 1 change:: index.d.ts +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject/pkg19 1 change:: tsconfig.tsbuildinfo [12:07:44 AM] Project 'pkg20/tsconfig.json' is up to date with .d.ts files from its dependencies [12:07:46 AM] Updating output timestamps of project '/user/username/projects/myproject/pkg20/tsconfig.json'... +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject/pkg20 1 change:: index.js +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject/pkg20 1 change:: index.d.ts +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject/pkg20 1 change:: tsconfig.tsbuildinfo [12:07:47 AM] Project 'pkg21/tsconfig.json' is up to date with .d.ts files from its dependencies [12:07:49 AM] Updating output timestamps of project '/user/username/projects/myproject/pkg21/tsconfig.json'... +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject/pkg21 1 change:: index.js +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject/pkg21 1 change:: index.d.ts +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject/pkg21 1 change:: tsconfig.tsbuildinfo [12:07:50 AM] Project 'pkg22/tsconfig.json' is up to date with .d.ts files from its dependencies [12:07:52 AM] Updating output timestamps of project '/user/username/projects/myproject/pkg22/tsconfig.json'... +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject/pkg22 1 change:: index.js +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject/pkg22 1 change:: index.d.ts +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject/pkg22 1 change:: tsconfig.tsbuildinfo [12:07:53 AM] Found 0 errors. Watching for file changes. @@ -2375,6 +2447,8 @@ export const pkg0 = 0;const someConst2 = 10;export const someConst = 10; Output:: +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject/pkg0 1 change:: index.ts + >> Screen clear [12:07:56 AM] File change detected. Starting incremental compilation... @@ -2382,6 +2456,10 @@ Output:: [12:07:58 AM] Building project '/user/username/projects/myproject/pkg0/tsconfig.json'... +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject/pkg0 1 change:: index.js +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject/pkg0 1 change:: index.d.ts +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject/pkg0 1 change:: tsconfig.tsbuildinfo +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject/pkg0 1 change:: tsconfig.tsbuildinfo.readable.baseline.txt Program root files: ["/user/username/projects/myproject/pkg0/index.ts"] @@ -2606,30 +2684,45 @@ Output:: [12:08:14 AM] Updating unchanged output timestamps of project '/user/username/projects/myproject/pkg1/tsconfig.json'... +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject/pkg1 1 change:: index.js +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject/pkg1 1 change:: index.d.ts +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject/pkg1 1 change:: tsconfig.tsbuildinfo [12:08:15 AM] Project 'pkg2/tsconfig.json' is out of date because oldest output 'pkg2/index.js' is older than newest input 'pkg0/tsconfig.json' [12:08:16 AM] Building project '/user/username/projects/myproject/pkg2/tsconfig.json'... [12:08:18 AM] Updating unchanged output timestamps of project '/user/username/projects/myproject/pkg2/tsconfig.json'... +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject/pkg2 1 change:: index.js +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject/pkg2 1 change:: index.d.ts +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject/pkg2 1 change:: tsconfig.tsbuildinfo [12:08:19 AM] Project 'pkg3/tsconfig.json' is out of date because oldest output 'pkg3/index.js' is older than newest input 'pkg0/tsconfig.json' [12:08:20 AM] Building project '/user/username/projects/myproject/pkg3/tsconfig.json'... [12:08:22 AM] Updating unchanged output timestamps of project '/user/username/projects/myproject/pkg3/tsconfig.json'... +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject/pkg3 1 change:: index.js +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject/pkg3 1 change:: index.d.ts +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject/pkg3 1 change:: tsconfig.tsbuildinfo [12:08:23 AM] Project 'pkg4/tsconfig.json' is out of date because oldest output 'pkg4/index.js' is older than newest input 'pkg0/tsconfig.json' [12:08:24 AM] Building project '/user/username/projects/myproject/pkg4/tsconfig.json'... [12:08:26 AM] Updating unchanged output timestamps of project '/user/username/projects/myproject/pkg4/tsconfig.json'... +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject/pkg4 1 change:: index.js +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject/pkg4 1 change:: index.d.ts +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject/pkg4 1 change:: tsconfig.tsbuildinfo [12:08:27 AM] Project 'pkg5/tsconfig.json' is out of date because oldest output 'pkg5/index.js' is older than newest input 'pkg0/tsconfig.json' [12:08:28 AM] Building project '/user/username/projects/myproject/pkg5/tsconfig.json'... [12:08:30 AM] Updating unchanged output timestamps of project '/user/username/projects/myproject/pkg5/tsconfig.json'... +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject/pkg5 1 change:: index.js +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject/pkg5 1 change:: index.d.ts +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject/pkg5 1 change:: tsconfig.tsbuildinfo Program root files: ["/user/username/projects/myproject/pkg1/index.ts"] @@ -2862,30 +2955,45 @@ Output:: [12:08:34 AM] Updating unchanged output timestamps of project '/user/username/projects/myproject/pkg6/tsconfig.json'... +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject/pkg6 1 change:: index.js +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject/pkg6 1 change:: index.d.ts +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject/pkg6 1 change:: tsconfig.tsbuildinfo [12:08:35 AM] Project 'pkg7/tsconfig.json' is out of date because oldest output 'pkg7/index.js' is older than newest input 'pkg0/tsconfig.json' [12:08:36 AM] Building project '/user/username/projects/myproject/pkg7/tsconfig.json'... [12:08:38 AM] Updating unchanged output timestamps of project '/user/username/projects/myproject/pkg7/tsconfig.json'... +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject/pkg7 1 change:: index.js +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject/pkg7 1 change:: index.d.ts +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject/pkg7 1 change:: tsconfig.tsbuildinfo [12:08:39 AM] Project 'pkg8/tsconfig.json' is out of date because oldest output 'pkg8/index.js' is older than newest input 'pkg0/tsconfig.json' [12:08:40 AM] Building project '/user/username/projects/myproject/pkg8/tsconfig.json'... [12:08:42 AM] Updating unchanged output timestamps of project '/user/username/projects/myproject/pkg8/tsconfig.json'... +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject/pkg8 1 change:: index.js +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject/pkg8 1 change:: index.d.ts +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject/pkg8 1 change:: tsconfig.tsbuildinfo [12:08:43 AM] Project 'pkg9/tsconfig.json' is out of date because oldest output 'pkg9/index.js' is older than newest input 'pkg0/tsconfig.json' [12:08:44 AM] Building project '/user/username/projects/myproject/pkg9/tsconfig.json'... [12:08:46 AM] Updating unchanged output timestamps of project '/user/username/projects/myproject/pkg9/tsconfig.json'... +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject/pkg9 1 change:: index.js +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject/pkg9 1 change:: index.d.ts +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject/pkg9 1 change:: tsconfig.tsbuildinfo [12:08:47 AM] Project 'pkg10/tsconfig.json' is out of date because oldest output 'pkg10/index.js' is older than newest input 'pkg0/tsconfig.json' [12:08:48 AM] Building project '/user/username/projects/myproject/pkg10/tsconfig.json'... [12:08:50 AM] Updating unchanged output timestamps of project '/user/username/projects/myproject/pkg10/tsconfig.json'... +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject/pkg10 1 change:: index.js +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject/pkg10 1 change:: index.d.ts +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject/pkg10 1 change:: tsconfig.tsbuildinfo Program root files: ["/user/username/projects/myproject/pkg6/index.ts"] @@ -3118,30 +3226,45 @@ Output:: [12:08:54 AM] Updating unchanged output timestamps of project '/user/username/projects/myproject/pkg11/tsconfig.json'... +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject/pkg11 1 change:: index.js +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject/pkg11 1 change:: index.d.ts +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject/pkg11 1 change:: tsconfig.tsbuildinfo [12:08:55 AM] Project 'pkg12/tsconfig.json' is out of date because oldest output 'pkg12/index.js' is older than newest input 'pkg0/tsconfig.json' [12:08:56 AM] Building project '/user/username/projects/myproject/pkg12/tsconfig.json'... [12:08:58 AM] Updating unchanged output timestamps of project '/user/username/projects/myproject/pkg12/tsconfig.json'... +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject/pkg12 1 change:: index.js +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject/pkg12 1 change:: index.d.ts +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject/pkg12 1 change:: tsconfig.tsbuildinfo [12:08:59 AM] Project 'pkg13/tsconfig.json' is out of date because oldest output 'pkg13/index.js' is older than newest input 'pkg0/tsconfig.json' [12:09:00 AM] Building project '/user/username/projects/myproject/pkg13/tsconfig.json'... [12:09:02 AM] Updating unchanged output timestamps of project '/user/username/projects/myproject/pkg13/tsconfig.json'... +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject/pkg13 1 change:: index.js +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject/pkg13 1 change:: index.d.ts +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject/pkg13 1 change:: tsconfig.tsbuildinfo [12:09:03 AM] Project 'pkg14/tsconfig.json' is out of date because oldest output 'pkg14/index.js' is older than newest input 'pkg0/tsconfig.json' [12:09:04 AM] Building project '/user/username/projects/myproject/pkg14/tsconfig.json'... [12:09:06 AM] Updating unchanged output timestamps of project '/user/username/projects/myproject/pkg14/tsconfig.json'... +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject/pkg14 1 change:: index.js +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject/pkg14 1 change:: index.d.ts +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject/pkg14 1 change:: tsconfig.tsbuildinfo [12:09:07 AM] Project 'pkg15/tsconfig.json' is out of date because oldest output 'pkg15/index.js' is older than newest input 'pkg0/tsconfig.json' [12:09:08 AM] Building project '/user/username/projects/myproject/pkg15/tsconfig.json'... [12:09:10 AM] Updating unchanged output timestamps of project '/user/username/projects/myproject/pkg15/tsconfig.json'... +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject/pkg15 1 change:: index.js +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject/pkg15 1 change:: index.d.ts +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject/pkg15 1 change:: tsconfig.tsbuildinfo Program root files: ["/user/username/projects/myproject/pkg11/index.ts"] @@ -3374,30 +3497,45 @@ Output:: [12:09:14 AM] Updating unchanged output timestamps of project '/user/username/projects/myproject/pkg16/tsconfig.json'... +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject/pkg16 1 change:: index.js +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject/pkg16 1 change:: index.d.ts +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject/pkg16 1 change:: tsconfig.tsbuildinfo [12:09:15 AM] Project 'pkg17/tsconfig.json' is out of date because oldest output 'pkg17/index.js' is older than newest input 'pkg0/tsconfig.json' [12:09:16 AM] Building project '/user/username/projects/myproject/pkg17/tsconfig.json'... [12:09:18 AM] Updating unchanged output timestamps of project '/user/username/projects/myproject/pkg17/tsconfig.json'... +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject/pkg17 1 change:: index.js +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject/pkg17 1 change:: index.d.ts +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject/pkg17 1 change:: tsconfig.tsbuildinfo [12:09:19 AM] Project 'pkg18/tsconfig.json' is out of date because oldest output 'pkg18/index.js' is older than newest input 'pkg0/tsconfig.json' [12:09:20 AM] Building project '/user/username/projects/myproject/pkg18/tsconfig.json'... [12:09:22 AM] Updating unchanged output timestamps of project '/user/username/projects/myproject/pkg18/tsconfig.json'... +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject/pkg18 1 change:: index.js +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject/pkg18 1 change:: index.d.ts +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject/pkg18 1 change:: tsconfig.tsbuildinfo [12:09:23 AM] Project 'pkg19/tsconfig.json' is out of date because oldest output 'pkg19/index.js' is older than newest input 'pkg0/tsconfig.json' [12:09:24 AM] Building project '/user/username/projects/myproject/pkg19/tsconfig.json'... [12:09:26 AM] Updating unchanged output timestamps of project '/user/username/projects/myproject/pkg19/tsconfig.json'... +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject/pkg19 1 change:: index.js +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject/pkg19 1 change:: index.d.ts +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject/pkg19 1 change:: tsconfig.tsbuildinfo [12:09:27 AM] Project 'pkg20/tsconfig.json' is out of date because oldest output 'pkg20/index.js' is older than newest input 'pkg0/tsconfig.json' [12:09:28 AM] Building project '/user/username/projects/myproject/pkg20/tsconfig.json'... [12:09:30 AM] Updating unchanged output timestamps of project '/user/username/projects/myproject/pkg20/tsconfig.json'... +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject/pkg20 1 change:: index.js +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject/pkg20 1 change:: index.d.ts +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject/pkg20 1 change:: tsconfig.tsbuildinfo Program root files: ["/user/username/projects/myproject/pkg16/index.ts"] @@ -3630,12 +3768,18 @@ Output:: [12:09:35 AM] Updating unchanged output timestamps of project '/user/username/projects/myproject/pkg21/tsconfig.json'... +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject/pkg21 1 change:: index.js +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject/pkg21 1 change:: index.d.ts +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject/pkg21 1 change:: tsconfig.tsbuildinfo [12:09:36 AM] Project 'pkg22/tsconfig.json' is out of date because oldest output 'pkg22/index.js' is older than newest input 'pkg0/tsconfig.json' [12:09:37 AM] Building project '/user/username/projects/myproject/pkg22/tsconfig.json'... [12:09:39 AM] Updating unchanged output timestamps of project '/user/username/projects/myproject/pkg22/tsconfig.json'... +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject/pkg22 1 change:: index.js +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject/pkg22 1 change:: index.d.ts +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject/pkg22 1 change:: tsconfig.tsbuildinfo [12:09:40 AM] Found 0 errors. Watching for file changes. @@ -3980,6 +4124,8 @@ export const pkg0 = 0;const someConst2 = 10;export const someConst = 10;export c Output:: +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject/pkg0 1 change:: index.ts + >> Screen clear [12:09:43 AM] File change detected. Starting incremental compilation... @@ -3987,6 +4133,10 @@ Output:: [12:09:45 AM] Building project '/user/username/projects/myproject/pkg0/tsconfig.json'... +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject/pkg0 1 change:: index.js +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject/pkg0 1 change:: index.d.ts +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject/pkg0 1 change:: tsconfig.tsbuildinfo +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject/pkg0 1 change:: tsconfig.tsbuildinfo.readable.baseline.txt Program root files: ["/user/username/projects/myproject/pkg0/index.ts"] @@ -4213,30 +4363,45 @@ Output:: [12:10:01 AM] Updating unchanged output timestamps of project '/user/username/projects/myproject/pkg1/tsconfig.json'... +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject/pkg1 1 change:: index.js +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject/pkg1 1 change:: index.d.ts +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject/pkg1 1 change:: tsconfig.tsbuildinfo [12:10:02 AM] Project 'pkg2/tsconfig.json' is out of date because oldest output 'pkg2/index.js' is older than newest input 'pkg0/tsconfig.json' [12:10:03 AM] Building project '/user/username/projects/myproject/pkg2/tsconfig.json'... [12:10:05 AM] Updating unchanged output timestamps of project '/user/username/projects/myproject/pkg2/tsconfig.json'... +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject/pkg2 1 change:: index.js +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject/pkg2 1 change:: index.d.ts +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject/pkg2 1 change:: tsconfig.tsbuildinfo [12:10:06 AM] Project 'pkg3/tsconfig.json' is out of date because oldest output 'pkg3/index.js' is older than newest input 'pkg0/tsconfig.json' [12:10:07 AM] Building project '/user/username/projects/myproject/pkg3/tsconfig.json'... [12:10:09 AM] Updating unchanged output timestamps of project '/user/username/projects/myproject/pkg3/tsconfig.json'... +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject/pkg3 1 change:: index.js +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject/pkg3 1 change:: index.d.ts +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject/pkg3 1 change:: tsconfig.tsbuildinfo [12:10:10 AM] Project 'pkg4/tsconfig.json' is out of date because oldest output 'pkg4/index.js' is older than newest input 'pkg0/tsconfig.json' [12:10:11 AM] Building project '/user/username/projects/myproject/pkg4/tsconfig.json'... [12:10:13 AM] Updating unchanged output timestamps of project '/user/username/projects/myproject/pkg4/tsconfig.json'... +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject/pkg4 1 change:: index.js +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject/pkg4 1 change:: index.d.ts +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject/pkg4 1 change:: tsconfig.tsbuildinfo [12:10:14 AM] Project 'pkg5/tsconfig.json' is out of date because oldest output 'pkg5/index.js' is older than newest input 'pkg0/tsconfig.json' [12:10:15 AM] Building project '/user/username/projects/myproject/pkg5/tsconfig.json'... [12:10:17 AM] Updating unchanged output timestamps of project '/user/username/projects/myproject/pkg5/tsconfig.json'... +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject/pkg5 1 change:: index.js +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject/pkg5 1 change:: index.d.ts +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject/pkg5 1 change:: tsconfig.tsbuildinfo Program root files: ["/user/username/projects/myproject/pkg1/index.ts"] @@ -4469,30 +4634,45 @@ Output:: [12:10:21 AM] Updating unchanged output timestamps of project '/user/username/projects/myproject/pkg6/tsconfig.json'... +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject/pkg6 1 change:: index.js +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject/pkg6 1 change:: index.d.ts +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject/pkg6 1 change:: tsconfig.tsbuildinfo [12:10:22 AM] Project 'pkg7/tsconfig.json' is out of date because oldest output 'pkg7/index.js' is older than newest input 'pkg0/tsconfig.json' [12:10:23 AM] Building project '/user/username/projects/myproject/pkg7/tsconfig.json'... [12:10:25 AM] Updating unchanged output timestamps of project '/user/username/projects/myproject/pkg7/tsconfig.json'... +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject/pkg7 1 change:: index.js +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject/pkg7 1 change:: index.d.ts +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject/pkg7 1 change:: tsconfig.tsbuildinfo [12:10:26 AM] Project 'pkg8/tsconfig.json' is out of date because oldest output 'pkg8/index.js' is older than newest input 'pkg0/tsconfig.json' [12:10:27 AM] Building project '/user/username/projects/myproject/pkg8/tsconfig.json'... [12:10:29 AM] Updating unchanged output timestamps of project '/user/username/projects/myproject/pkg8/tsconfig.json'... +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject/pkg8 1 change:: index.js +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject/pkg8 1 change:: index.d.ts +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject/pkg8 1 change:: tsconfig.tsbuildinfo [12:10:30 AM] Project 'pkg9/tsconfig.json' is out of date because oldest output 'pkg9/index.js' is older than newest input 'pkg0/tsconfig.json' [12:10:31 AM] Building project '/user/username/projects/myproject/pkg9/tsconfig.json'... [12:10:33 AM] Updating unchanged output timestamps of project '/user/username/projects/myproject/pkg9/tsconfig.json'... +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject/pkg9 1 change:: index.js +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject/pkg9 1 change:: index.d.ts +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject/pkg9 1 change:: tsconfig.tsbuildinfo [12:10:34 AM] Project 'pkg10/tsconfig.json' is out of date because oldest output 'pkg10/index.js' is older than newest input 'pkg0/tsconfig.json' [12:10:35 AM] Building project '/user/username/projects/myproject/pkg10/tsconfig.json'... [12:10:37 AM] Updating unchanged output timestamps of project '/user/username/projects/myproject/pkg10/tsconfig.json'... +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject/pkg10 1 change:: index.js +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject/pkg10 1 change:: index.d.ts +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject/pkg10 1 change:: tsconfig.tsbuildinfo Program root files: ["/user/username/projects/myproject/pkg6/index.ts"] @@ -4722,6 +4902,8 @@ export const pkg0 = 0;const someConst2 = 10;export const someConst = 10;export c Output:: +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject/pkg0 1 change:: index.ts + >> Screen clear [12:10:40 AM] File change detected. Starting incremental compilation... @@ -4729,46 +4911,80 @@ Output:: [12:10:42 AM] Building project '/user/username/projects/myproject/pkg0/tsconfig.json'... +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject/pkg0 1 change:: index.js +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject/pkg0 1 change:: index.d.ts +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject/pkg0 1 change:: tsconfig.tsbuildinfo +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject/pkg0 1 change:: tsconfig.tsbuildinfo.readable.baseline.txt [12:10:55 AM] Project 'pkg1/tsconfig.json' is up to date with .d.ts files from its dependencies [12:10:57 AM] Updating output timestamps of project '/user/username/projects/myproject/pkg1/tsconfig.json'... +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject/pkg1 1 change:: index.js +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject/pkg1 1 change:: index.d.ts +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject/pkg1 1 change:: tsconfig.tsbuildinfo [12:10:58 AM] Project 'pkg2/tsconfig.json' is up to date with .d.ts files from its dependencies [12:11:00 AM] Updating output timestamps of project '/user/username/projects/myproject/pkg2/tsconfig.json'... +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject/pkg2 1 change:: index.js +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject/pkg2 1 change:: index.d.ts +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject/pkg2 1 change:: tsconfig.tsbuildinfo [12:11:01 AM] Project 'pkg3/tsconfig.json' is up to date with .d.ts files from its dependencies [12:11:03 AM] Updating output timestamps of project '/user/username/projects/myproject/pkg3/tsconfig.json'... +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject/pkg3 1 change:: index.js +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject/pkg3 1 change:: index.d.ts +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject/pkg3 1 change:: tsconfig.tsbuildinfo [12:11:04 AM] Project 'pkg4/tsconfig.json' is up to date with .d.ts files from its dependencies [12:11:06 AM] Updating output timestamps of project '/user/username/projects/myproject/pkg4/tsconfig.json'... +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject/pkg4 1 change:: index.js +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject/pkg4 1 change:: index.d.ts +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject/pkg4 1 change:: tsconfig.tsbuildinfo [12:11:07 AM] Project 'pkg5/tsconfig.json' is up to date with .d.ts files from its dependencies [12:11:09 AM] Updating output timestamps of project '/user/username/projects/myproject/pkg5/tsconfig.json'... +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject/pkg5 1 change:: index.js +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject/pkg5 1 change:: index.d.ts +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject/pkg5 1 change:: tsconfig.tsbuildinfo [12:11:10 AM] Project 'pkg6/tsconfig.json' is up to date with .d.ts files from its dependencies [12:11:12 AM] Updating output timestamps of project '/user/username/projects/myproject/pkg6/tsconfig.json'... +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject/pkg6 1 change:: index.js +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject/pkg6 1 change:: index.d.ts +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject/pkg6 1 change:: tsconfig.tsbuildinfo [12:11:13 AM] Project 'pkg7/tsconfig.json' is up to date with .d.ts files from its dependencies [12:11:15 AM] Updating output timestamps of project '/user/username/projects/myproject/pkg7/tsconfig.json'... +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject/pkg7 1 change:: index.js +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject/pkg7 1 change:: index.d.ts +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject/pkg7 1 change:: tsconfig.tsbuildinfo [12:11:16 AM] Project 'pkg8/tsconfig.json' is up to date with .d.ts files from its dependencies [12:11:18 AM] Updating output timestamps of project '/user/username/projects/myproject/pkg8/tsconfig.json'... +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject/pkg8 1 change:: index.js +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject/pkg8 1 change:: index.d.ts +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject/pkg8 1 change:: tsconfig.tsbuildinfo [12:11:19 AM] Project 'pkg9/tsconfig.json' is up to date with .d.ts files from its dependencies [12:11:21 AM] Updating output timestamps of project '/user/username/projects/myproject/pkg9/tsconfig.json'... +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject/pkg9 1 change:: index.js +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject/pkg9 1 change:: index.d.ts +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject/pkg9 1 change:: tsconfig.tsbuildinfo [12:11:22 AM] Project 'pkg10/tsconfig.json' is up to date with .d.ts files from its dependencies [12:11:24 AM] Updating output timestamps of project '/user/username/projects/myproject/pkg10/tsconfig.json'... +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject/pkg10 1 change:: index.js +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject/pkg10 1 change:: index.d.ts +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject/pkg10 1 change:: tsconfig.tsbuildinfo Program root files: ["/user/username/projects/myproject/pkg0/index.ts"] @@ -5021,30 +5237,45 @@ Output:: [12:11:28 AM] Updating unchanged output timestamps of project '/user/username/projects/myproject/pkg11/tsconfig.json'... +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject/pkg11 1 change:: index.js +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject/pkg11 1 change:: index.d.ts +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject/pkg11 1 change:: tsconfig.tsbuildinfo [12:11:29 AM] Project 'pkg12/tsconfig.json' is out of date because oldest output 'pkg12/index.js' is older than newest input 'pkg0/tsconfig.json' [12:11:30 AM] Building project '/user/username/projects/myproject/pkg12/tsconfig.json'... [12:11:32 AM] Updating unchanged output timestamps of project '/user/username/projects/myproject/pkg12/tsconfig.json'... +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject/pkg12 1 change:: index.js +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject/pkg12 1 change:: index.d.ts +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject/pkg12 1 change:: tsconfig.tsbuildinfo [12:11:33 AM] Project 'pkg13/tsconfig.json' is out of date because oldest output 'pkg13/index.js' is older than newest input 'pkg0/tsconfig.json' [12:11:34 AM] Building project '/user/username/projects/myproject/pkg13/tsconfig.json'... [12:11:36 AM] Updating unchanged output timestamps of project '/user/username/projects/myproject/pkg13/tsconfig.json'... +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject/pkg13 1 change:: index.js +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject/pkg13 1 change:: index.d.ts +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject/pkg13 1 change:: tsconfig.tsbuildinfo [12:11:37 AM] Project 'pkg14/tsconfig.json' is out of date because oldest output 'pkg14/index.js' is older than newest input 'pkg0/tsconfig.json' [12:11:38 AM] Building project '/user/username/projects/myproject/pkg14/tsconfig.json'... [12:11:40 AM] Updating unchanged output timestamps of project '/user/username/projects/myproject/pkg14/tsconfig.json'... +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject/pkg14 1 change:: index.js +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject/pkg14 1 change:: index.d.ts +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject/pkg14 1 change:: tsconfig.tsbuildinfo [12:11:41 AM] Project 'pkg15/tsconfig.json' is out of date because oldest output 'pkg15/index.js' is older than newest input 'pkg0/tsconfig.json' [12:11:42 AM] Building project '/user/username/projects/myproject/pkg15/tsconfig.json'... [12:11:44 AM] Updating unchanged output timestamps of project '/user/username/projects/myproject/pkg15/tsconfig.json'... +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject/pkg15 1 change:: index.js +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject/pkg15 1 change:: index.d.ts +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject/pkg15 1 change:: tsconfig.tsbuildinfo Program root files: ["/user/username/projects/myproject/pkg11/index.ts"] @@ -5274,6 +5505,8 @@ export const pkg0 = 0;const someConst2 = 10;export const someConst = 10;export c Output:: +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject/pkg0 1 change:: index.ts + >> Screen clear [12:11:48 AM] File change detected. Starting incremental compilation... @@ -5281,6 +5514,10 @@ Output:: [12:11:50 AM] Building project '/user/username/projects/myproject/pkg0/tsconfig.json'... +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject/pkg0 1 change:: index.js +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject/pkg0 1 change:: index.d.ts +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject/pkg0 1 change:: tsconfig.tsbuildinfo +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject/pkg0 1 change:: tsconfig.tsbuildinfo.readable.baseline.txt Program root files: ["/user/username/projects/myproject/pkg0/index.ts"] @@ -5510,30 +5747,45 @@ Output:: [12:12:06 AM] Updating unchanged output timestamps of project '/user/username/projects/myproject/pkg1/tsconfig.json'... +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject/pkg1 1 change:: index.js +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject/pkg1 1 change:: index.d.ts +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject/pkg1 1 change:: tsconfig.tsbuildinfo [12:12:07 AM] Project 'pkg2/tsconfig.json' is out of date because oldest output 'pkg2/index.js' is older than newest input 'pkg0/tsconfig.json' [12:12:08 AM] Building project '/user/username/projects/myproject/pkg2/tsconfig.json'... [12:12:10 AM] Updating unchanged output timestamps of project '/user/username/projects/myproject/pkg2/tsconfig.json'... +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject/pkg2 1 change:: index.js +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject/pkg2 1 change:: index.d.ts +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject/pkg2 1 change:: tsconfig.tsbuildinfo [12:12:11 AM] Project 'pkg3/tsconfig.json' is out of date because oldest output 'pkg3/index.js' is older than newest input 'pkg0/tsconfig.json' [12:12:12 AM] Building project '/user/username/projects/myproject/pkg3/tsconfig.json'... [12:12:14 AM] Updating unchanged output timestamps of project '/user/username/projects/myproject/pkg3/tsconfig.json'... +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject/pkg3 1 change:: index.js +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject/pkg3 1 change:: index.d.ts +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject/pkg3 1 change:: tsconfig.tsbuildinfo [12:12:15 AM] Project 'pkg4/tsconfig.json' is out of date because oldest output 'pkg4/index.js' is older than newest input 'pkg0/tsconfig.json' [12:12:16 AM] Building project '/user/username/projects/myproject/pkg4/tsconfig.json'... [12:12:18 AM] Updating unchanged output timestamps of project '/user/username/projects/myproject/pkg4/tsconfig.json'... +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject/pkg4 1 change:: index.js +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject/pkg4 1 change:: index.d.ts +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject/pkg4 1 change:: tsconfig.tsbuildinfo [12:12:19 AM] Project 'pkg5/tsconfig.json' is out of date because oldest output 'pkg5/index.js' is older than newest input 'pkg0/tsconfig.json' [12:12:20 AM] Building project '/user/username/projects/myproject/pkg5/tsconfig.json'... [12:12:22 AM] Updating unchanged output timestamps of project '/user/username/projects/myproject/pkg5/tsconfig.json'... +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject/pkg5 1 change:: index.js +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject/pkg5 1 change:: index.d.ts +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject/pkg5 1 change:: tsconfig.tsbuildinfo Program root files: ["/user/username/projects/myproject/pkg1/index.ts"] @@ -5766,30 +6018,45 @@ Output:: [12:12:26 AM] Updating unchanged output timestamps of project '/user/username/projects/myproject/pkg6/tsconfig.json'... +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject/pkg6 1 change:: index.js +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject/pkg6 1 change:: index.d.ts +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject/pkg6 1 change:: tsconfig.tsbuildinfo [12:12:27 AM] Project 'pkg7/tsconfig.json' is out of date because oldest output 'pkg7/index.js' is older than newest input 'pkg0/tsconfig.json' [12:12:28 AM] Building project '/user/username/projects/myproject/pkg7/tsconfig.json'... [12:12:30 AM] Updating unchanged output timestamps of project '/user/username/projects/myproject/pkg7/tsconfig.json'... +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject/pkg7 1 change:: index.js +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject/pkg7 1 change:: index.d.ts +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject/pkg7 1 change:: tsconfig.tsbuildinfo [12:12:31 AM] Project 'pkg8/tsconfig.json' is out of date because oldest output 'pkg8/index.js' is older than newest input 'pkg0/tsconfig.json' [12:12:32 AM] Building project '/user/username/projects/myproject/pkg8/tsconfig.json'... [12:12:34 AM] Updating unchanged output timestamps of project '/user/username/projects/myproject/pkg8/tsconfig.json'... +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject/pkg8 1 change:: index.js +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject/pkg8 1 change:: index.d.ts +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject/pkg8 1 change:: tsconfig.tsbuildinfo [12:12:35 AM] Project 'pkg9/tsconfig.json' is out of date because oldest output 'pkg9/index.js' is older than newest input 'pkg0/tsconfig.json' [12:12:36 AM] Building project '/user/username/projects/myproject/pkg9/tsconfig.json'... [12:12:38 AM] Updating unchanged output timestamps of project '/user/username/projects/myproject/pkg9/tsconfig.json'... +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject/pkg9 1 change:: index.js +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject/pkg9 1 change:: index.d.ts +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject/pkg9 1 change:: tsconfig.tsbuildinfo [12:12:39 AM] Project 'pkg10/tsconfig.json' is out of date because oldest output 'pkg10/index.js' is older than newest input 'pkg0/tsconfig.json' [12:12:40 AM] Building project '/user/username/projects/myproject/pkg10/tsconfig.json'... [12:12:42 AM] Updating unchanged output timestamps of project '/user/username/projects/myproject/pkg10/tsconfig.json'... +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject/pkg10 1 change:: index.js +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject/pkg10 1 change:: index.d.ts +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject/pkg10 1 change:: tsconfig.tsbuildinfo Program root files: ["/user/username/projects/myproject/pkg6/index.ts"] @@ -6022,30 +6289,45 @@ Output:: [12:12:46 AM] Updating unchanged output timestamps of project '/user/username/projects/myproject/pkg11/tsconfig.json'... +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject/pkg11 1 change:: index.js +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject/pkg11 1 change:: index.d.ts +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject/pkg11 1 change:: tsconfig.tsbuildinfo [12:12:47 AM] Project 'pkg12/tsconfig.json' is out of date because oldest output 'pkg12/index.js' is older than newest input 'pkg0/tsconfig.json' [12:12:48 AM] Building project '/user/username/projects/myproject/pkg12/tsconfig.json'... [12:12:50 AM] Updating unchanged output timestamps of project '/user/username/projects/myproject/pkg12/tsconfig.json'... +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject/pkg12 1 change:: index.js +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject/pkg12 1 change:: index.d.ts +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject/pkg12 1 change:: tsconfig.tsbuildinfo [12:12:51 AM] Project 'pkg13/tsconfig.json' is out of date because oldest output 'pkg13/index.js' is older than newest input 'pkg0/tsconfig.json' [12:12:52 AM] Building project '/user/username/projects/myproject/pkg13/tsconfig.json'... [12:12:54 AM] Updating unchanged output timestamps of project '/user/username/projects/myproject/pkg13/tsconfig.json'... +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject/pkg13 1 change:: index.js +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject/pkg13 1 change:: index.d.ts +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject/pkg13 1 change:: tsconfig.tsbuildinfo [12:12:55 AM] Project 'pkg14/tsconfig.json' is out of date because oldest output 'pkg14/index.js' is older than newest input 'pkg0/tsconfig.json' [12:12:56 AM] Building project '/user/username/projects/myproject/pkg14/tsconfig.json'... [12:12:58 AM] Updating unchanged output timestamps of project '/user/username/projects/myproject/pkg14/tsconfig.json'... +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject/pkg14 1 change:: index.js +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject/pkg14 1 change:: index.d.ts +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject/pkg14 1 change:: tsconfig.tsbuildinfo [12:12:59 AM] Project 'pkg15/tsconfig.json' is out of date because oldest output 'pkg15/index.js' is older than newest input 'pkg0/tsconfig.json' [12:13:00 AM] Building project '/user/username/projects/myproject/pkg15/tsconfig.json'... [12:13:02 AM] Updating unchanged output timestamps of project '/user/username/projects/myproject/pkg15/tsconfig.json'... +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject/pkg15 1 change:: index.js +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject/pkg15 1 change:: index.d.ts +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject/pkg15 1 change:: tsconfig.tsbuildinfo Program root files: ["/user/username/projects/myproject/pkg11/index.ts"] @@ -6278,30 +6560,45 @@ Output:: [12:13:06 AM] Updating unchanged output timestamps of project '/user/username/projects/myproject/pkg16/tsconfig.json'... +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject/pkg16 1 change:: index.js +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject/pkg16 1 change:: index.d.ts +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject/pkg16 1 change:: tsconfig.tsbuildinfo [12:13:07 AM] Project 'pkg17/tsconfig.json' is out of date because oldest output 'pkg17/index.js' is older than newest input 'pkg0/tsconfig.json' [12:13:08 AM] Building project '/user/username/projects/myproject/pkg17/tsconfig.json'... [12:13:10 AM] Updating unchanged output timestamps of project '/user/username/projects/myproject/pkg17/tsconfig.json'... +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject/pkg17 1 change:: index.js +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject/pkg17 1 change:: index.d.ts +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject/pkg17 1 change:: tsconfig.tsbuildinfo [12:13:11 AM] Project 'pkg18/tsconfig.json' is out of date because oldest output 'pkg18/index.js' is older than newest input 'pkg0/tsconfig.json' [12:13:12 AM] Building project '/user/username/projects/myproject/pkg18/tsconfig.json'... [12:13:14 AM] Updating unchanged output timestamps of project '/user/username/projects/myproject/pkg18/tsconfig.json'... +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject/pkg18 1 change:: index.js +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject/pkg18 1 change:: index.d.ts +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject/pkg18 1 change:: tsconfig.tsbuildinfo [12:13:15 AM] Project 'pkg19/tsconfig.json' is out of date because oldest output 'pkg19/index.js' is older than newest input 'pkg0/tsconfig.json' [12:13:16 AM] Building project '/user/username/projects/myproject/pkg19/tsconfig.json'... [12:13:18 AM] Updating unchanged output timestamps of project '/user/username/projects/myproject/pkg19/tsconfig.json'... +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject/pkg19 1 change:: index.js +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject/pkg19 1 change:: index.d.ts +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject/pkg19 1 change:: tsconfig.tsbuildinfo [12:13:19 AM] Project 'pkg20/tsconfig.json' is out of date because oldest output 'pkg20/index.js' is older than newest input 'pkg0/tsconfig.json' [12:13:20 AM] Building project '/user/username/projects/myproject/pkg20/tsconfig.json'... [12:13:22 AM] Updating unchanged output timestamps of project '/user/username/projects/myproject/pkg20/tsconfig.json'... +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject/pkg20 1 change:: index.js +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject/pkg20 1 change:: index.d.ts +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject/pkg20 1 change:: tsconfig.tsbuildinfo Program root files: ["/user/username/projects/myproject/pkg16/index.ts"] @@ -6534,12 +6831,18 @@ Output:: [12:13:26 AM] Updating unchanged output timestamps of project '/user/username/projects/myproject/pkg21/tsconfig.json'... +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject/pkg21 1 change:: index.js +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject/pkg21 1 change:: index.d.ts +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject/pkg21 1 change:: tsconfig.tsbuildinfo [12:13:27 AM] Project 'pkg22/tsconfig.json' is out of date because oldest output 'pkg22/index.js' is older than newest input 'pkg0/tsconfig.json' [12:13:28 AM] Building project '/user/username/projects/myproject/pkg22/tsconfig.json'... [12:13:30 AM] Updating unchanged output timestamps of project '/user/username/projects/myproject/pkg22/tsconfig.json'... +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject/pkg22 1 change:: index.js +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject/pkg22 1 change:: index.d.ts +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject/pkg22 1 change:: tsconfig.tsbuildinfo [12:13:31 AM] Found 0 errors. Watching for file changes. diff --git a/tests/baselines/reference/tsbuildWatch/projectsBuilding/when-there-are-3-projects-in-a-solution.js b/tests/baselines/reference/tsbuildWatch/projectsBuilding/when-there-are-3-projects-in-a-solution.js index 9d39f6ac125..ae086cd85a3 100644 --- a/tests/baselines/reference/tsbuildWatch/projectsBuilding/when-there-are-3-projects-in-a-solution.js +++ b/tests/baselines/reference/tsbuildWatch/projectsBuilding/when-there-are-3-projects-in-a-solution.js @@ -281,6 +281,8 @@ export const pkg0 = 0;const someConst2 = 10; Output:: +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject/pkg0 1 change:: index.ts + >> Screen clear [12:01:12 AM] File change detected. Starting incremental compilation... @@ -288,14 +290,24 @@ Output:: [12:01:14 AM] Building project '/user/username/projects/myproject/pkg0/tsconfig.json'... +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject/pkg0 1 change:: index.js +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject/pkg0 1 change:: index.d.ts +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject/pkg0 1 change:: tsconfig.tsbuildinfo +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject/pkg0 1 change:: tsconfig.tsbuildinfo.readable.baseline.txt [12:01:27 AM] Project 'pkg1/tsconfig.json' is up to date with .d.ts files from its dependencies [12:01:29 AM] Updating output timestamps of project '/user/username/projects/myproject/pkg1/tsconfig.json'... +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject/pkg1 1 change:: index.js +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject/pkg1 1 change:: index.d.ts +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject/pkg1 1 change:: tsconfig.tsbuildinfo [12:01:30 AM] Project 'pkg2/tsconfig.json' is up to date with .d.ts files from its dependencies [12:01:32 AM] Updating output timestamps of project '/user/username/projects/myproject/pkg2/tsconfig.json'... +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject/pkg2 1 change:: index.js +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject/pkg2 1 change:: index.d.ts +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject/pkg2 1 change:: tsconfig.tsbuildinfo [12:01:33 AM] Found 0 errors. Watching for file changes. @@ -435,6 +447,8 @@ export const pkg0 = 0;const someConst2 = 10;export const someConst = 10; Output:: +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject/pkg0 1 change:: index.ts + >> Screen clear [12:01:36 AM] File change detected. Starting incremental compilation... @@ -442,6 +456,10 @@ Output:: [12:01:38 AM] Building project '/user/username/projects/myproject/pkg0/tsconfig.json'... +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject/pkg0 1 change:: index.js +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject/pkg0 1 change:: index.d.ts +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject/pkg0 1 change:: tsconfig.tsbuildinfo +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject/pkg0 1 change:: tsconfig.tsbuildinfo.readable.baseline.txt Program root files: ["/user/username/projects/myproject/pkg0/index.ts"] @@ -546,12 +564,18 @@ Output:: [12:01:54 AM] Updating unchanged output timestamps of project '/user/username/projects/myproject/pkg1/tsconfig.json'... +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject/pkg1 1 change:: index.js +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject/pkg1 1 change:: index.d.ts +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject/pkg1 1 change:: tsconfig.tsbuildinfo [12:01:55 AM] Project 'pkg2/tsconfig.json' is out of date because oldest output 'pkg2/index.js' is older than newest input 'pkg0/tsconfig.json' [12:01:56 AM] Building project '/user/username/projects/myproject/pkg2/tsconfig.json'... [12:01:58 AM] Updating unchanged output timestamps of project '/user/username/projects/myproject/pkg2/tsconfig.json'... +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject/pkg2 1 change:: index.js +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject/pkg2 1 change:: index.d.ts +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject/pkg2 1 change:: tsconfig.tsbuildinfo [12:01:59 AM] Found 0 errors. Watching for file changes. diff --git a/tests/baselines/reference/tsbuildWatch/projectsBuilding/when-there-are-5-projects-in-a-solution.js b/tests/baselines/reference/tsbuildWatch/projectsBuilding/when-there-are-5-projects-in-a-solution.js index 38b7bfc6373..6930e6d5248 100644 --- a/tests/baselines/reference/tsbuildWatch/projectsBuilding/when-there-are-5-projects-in-a-solution.js +++ b/tests/baselines/reference/tsbuildWatch/projectsBuilding/when-there-are-5-projects-in-a-solution.js @@ -437,6 +437,8 @@ export const pkg0 = 0;const someConst2 = 10; Output:: +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject/pkg0 1 change:: index.ts + >> Screen clear [12:01:44 AM] File change detected. Starting incremental compilation... @@ -444,22 +446,38 @@ Output:: [12:01:46 AM] Building project '/user/username/projects/myproject/pkg0/tsconfig.json'... +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject/pkg0 1 change:: index.js +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject/pkg0 1 change:: index.d.ts +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject/pkg0 1 change:: tsconfig.tsbuildinfo +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject/pkg0 1 change:: tsconfig.tsbuildinfo.readable.baseline.txt [12:01:59 AM] Project 'pkg1/tsconfig.json' is up to date with .d.ts files from its dependencies [12:02:01 AM] Updating output timestamps of project '/user/username/projects/myproject/pkg1/tsconfig.json'... +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject/pkg1 1 change:: index.js +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject/pkg1 1 change:: index.d.ts +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject/pkg1 1 change:: tsconfig.tsbuildinfo [12:02:02 AM] Project 'pkg2/tsconfig.json' is up to date with .d.ts files from its dependencies [12:02:04 AM] Updating output timestamps of project '/user/username/projects/myproject/pkg2/tsconfig.json'... +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject/pkg2 1 change:: index.js +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject/pkg2 1 change:: index.d.ts +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject/pkg2 1 change:: tsconfig.tsbuildinfo [12:02:05 AM] Project 'pkg3/tsconfig.json' is up to date with .d.ts files from its dependencies [12:02:07 AM] Updating output timestamps of project '/user/username/projects/myproject/pkg3/tsconfig.json'... +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject/pkg3 1 change:: index.js +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject/pkg3 1 change:: index.d.ts +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject/pkg3 1 change:: tsconfig.tsbuildinfo [12:02:08 AM] Project 'pkg4/tsconfig.json' is up to date with .d.ts files from its dependencies [12:02:10 AM] Updating output timestamps of project '/user/username/projects/myproject/pkg4/tsconfig.json'... +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject/pkg4 1 change:: index.js +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject/pkg4 1 change:: index.d.ts +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject/pkg4 1 change:: tsconfig.tsbuildinfo [12:02:11 AM] Found 0 errors. Watching for file changes. @@ -629,6 +647,8 @@ export const pkg0 = 0;const someConst2 = 10;export const someConst = 10; Output:: +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject/pkg0 1 change:: index.ts + >> Screen clear [12:02:14 AM] File change detected. Starting incremental compilation... @@ -636,6 +656,10 @@ Output:: [12:02:16 AM] Building project '/user/username/projects/myproject/pkg0/tsconfig.json'... +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject/pkg0 1 change:: index.js +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject/pkg0 1 change:: index.d.ts +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject/pkg0 1 change:: tsconfig.tsbuildinfo +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject/pkg0 1 change:: tsconfig.tsbuildinfo.readable.baseline.txt Program root files: ["/user/username/projects/myproject/pkg0/index.ts"] @@ -752,24 +776,36 @@ Output:: [12:02:32 AM] Updating unchanged output timestamps of project '/user/username/projects/myproject/pkg1/tsconfig.json'... +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject/pkg1 1 change:: index.js +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject/pkg1 1 change:: index.d.ts +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject/pkg1 1 change:: tsconfig.tsbuildinfo [12:02:33 AM] Project 'pkg2/tsconfig.json' is out of date because oldest output 'pkg2/index.js' is older than newest input 'pkg0/tsconfig.json' [12:02:34 AM] Building project '/user/username/projects/myproject/pkg2/tsconfig.json'... [12:02:36 AM] Updating unchanged output timestamps of project '/user/username/projects/myproject/pkg2/tsconfig.json'... +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject/pkg2 1 change:: index.js +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject/pkg2 1 change:: index.d.ts +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject/pkg2 1 change:: tsconfig.tsbuildinfo [12:02:37 AM] Project 'pkg3/tsconfig.json' is out of date because oldest output 'pkg3/index.js' is older than newest input 'pkg0/tsconfig.json' [12:02:38 AM] Building project '/user/username/projects/myproject/pkg3/tsconfig.json'... [12:02:40 AM] Updating unchanged output timestamps of project '/user/username/projects/myproject/pkg3/tsconfig.json'... +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject/pkg3 1 change:: index.js +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject/pkg3 1 change:: index.d.ts +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject/pkg3 1 change:: tsconfig.tsbuildinfo [12:02:41 AM] Project 'pkg4/tsconfig.json' is out of date because oldest output 'pkg4/index.js' is older than newest input 'pkg0/tsconfig.json' [12:02:42 AM] Building project '/user/username/projects/myproject/pkg4/tsconfig.json'... [12:02:44 AM] Updating unchanged output timestamps of project '/user/username/projects/myproject/pkg4/tsconfig.json'... +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject/pkg4 1 change:: index.js +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject/pkg4 1 change:: index.d.ts +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject/pkg4 1 change:: tsconfig.tsbuildinfo [12:02:45 AM] Found 0 errors. Watching for file changes. diff --git a/tests/baselines/reference/tsbuildWatch/projectsBuilding/when-there-are-8-projects-in-a-solution.js b/tests/baselines/reference/tsbuildWatch/projectsBuilding/when-there-are-8-projects-in-a-solution.js index 51f3aaa618d..367c9b6f596 100644 --- a/tests/baselines/reference/tsbuildWatch/projectsBuilding/when-there-are-8-projects-in-a-solution.js +++ b/tests/baselines/reference/tsbuildWatch/projectsBuilding/when-there-are-8-projects-in-a-solution.js @@ -671,6 +671,8 @@ export const pkg0 = 0;const someConst2 = 10; Output:: +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject/pkg0 1 change:: index.ts + >> Screen clear [12:02:32 AM] File change detected. Starting incremental compilation... @@ -678,34 +680,59 @@ Output:: [12:02:34 AM] Building project '/user/username/projects/myproject/pkg0/tsconfig.json'... +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject/pkg0 1 change:: index.js +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject/pkg0 1 change:: index.d.ts +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject/pkg0 1 change:: tsconfig.tsbuildinfo +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject/pkg0 1 change:: tsconfig.tsbuildinfo.readable.baseline.txt [12:02:47 AM] Project 'pkg1/tsconfig.json' is up to date with .d.ts files from its dependencies [12:02:49 AM] Updating output timestamps of project '/user/username/projects/myproject/pkg1/tsconfig.json'... +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject/pkg1 1 change:: index.js +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject/pkg1 1 change:: index.d.ts +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject/pkg1 1 change:: tsconfig.tsbuildinfo [12:02:50 AM] Project 'pkg2/tsconfig.json' is up to date with .d.ts files from its dependencies [12:02:52 AM] Updating output timestamps of project '/user/username/projects/myproject/pkg2/tsconfig.json'... +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject/pkg2 1 change:: index.js +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject/pkg2 1 change:: index.d.ts +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject/pkg2 1 change:: tsconfig.tsbuildinfo [12:02:53 AM] Project 'pkg3/tsconfig.json' is up to date with .d.ts files from its dependencies [12:02:55 AM] Updating output timestamps of project '/user/username/projects/myproject/pkg3/tsconfig.json'... +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject/pkg3 1 change:: index.js +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject/pkg3 1 change:: index.d.ts +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject/pkg3 1 change:: tsconfig.tsbuildinfo [12:02:56 AM] Project 'pkg4/tsconfig.json' is up to date with .d.ts files from its dependencies [12:02:58 AM] Updating output timestamps of project '/user/username/projects/myproject/pkg4/tsconfig.json'... +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject/pkg4 1 change:: index.js +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject/pkg4 1 change:: index.d.ts +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject/pkg4 1 change:: tsconfig.tsbuildinfo [12:02:59 AM] Project 'pkg5/tsconfig.json' is up to date with .d.ts files from its dependencies [12:03:01 AM] Updating output timestamps of project '/user/username/projects/myproject/pkg5/tsconfig.json'... +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject/pkg5 1 change:: index.js +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject/pkg5 1 change:: index.d.ts +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject/pkg5 1 change:: tsconfig.tsbuildinfo [12:03:02 AM] Project 'pkg6/tsconfig.json' is up to date with .d.ts files from its dependencies [12:03:04 AM] Updating output timestamps of project '/user/username/projects/myproject/pkg6/tsconfig.json'... +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject/pkg6 1 change:: index.js +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject/pkg6 1 change:: index.d.ts +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject/pkg6 1 change:: tsconfig.tsbuildinfo [12:03:05 AM] Project 'pkg7/tsconfig.json' is up to date with .d.ts files from its dependencies [12:03:07 AM] Updating output timestamps of project '/user/username/projects/myproject/pkg7/tsconfig.json'... +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject/pkg7 1 change:: index.js +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject/pkg7 1 change:: index.d.ts +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject/pkg7 1 change:: tsconfig.tsbuildinfo [12:03:08 AM] Found 0 errors. Watching for file changes. @@ -920,6 +947,8 @@ export const pkg0 = 0;const someConst2 = 10;export const someConst = 10; Output:: +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject/pkg0 1 change:: index.ts + >> Screen clear [12:03:11 AM] File change detected. Starting incremental compilation... @@ -927,6 +956,10 @@ Output:: [12:03:13 AM] Building project '/user/username/projects/myproject/pkg0/tsconfig.json'... +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject/pkg0 1 change:: index.js +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject/pkg0 1 change:: index.d.ts +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject/pkg0 1 change:: tsconfig.tsbuildinfo +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject/pkg0 1 change:: tsconfig.tsbuildinfo.readable.baseline.txt Program root files: ["/user/username/projects/myproject/pkg0/index.ts"] @@ -1061,30 +1094,45 @@ Output:: [12:03:29 AM] Updating unchanged output timestamps of project '/user/username/projects/myproject/pkg1/tsconfig.json'... +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject/pkg1 1 change:: index.js +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject/pkg1 1 change:: index.d.ts +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject/pkg1 1 change:: tsconfig.tsbuildinfo [12:03:30 AM] Project 'pkg2/tsconfig.json' is out of date because oldest output 'pkg2/index.js' is older than newest input 'pkg0/tsconfig.json' [12:03:31 AM] Building project '/user/username/projects/myproject/pkg2/tsconfig.json'... [12:03:33 AM] Updating unchanged output timestamps of project '/user/username/projects/myproject/pkg2/tsconfig.json'... +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject/pkg2 1 change:: index.js +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject/pkg2 1 change:: index.d.ts +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject/pkg2 1 change:: tsconfig.tsbuildinfo [12:03:34 AM] Project 'pkg3/tsconfig.json' is out of date because oldest output 'pkg3/index.js' is older than newest input 'pkg0/tsconfig.json' [12:03:35 AM] Building project '/user/username/projects/myproject/pkg3/tsconfig.json'... [12:03:37 AM] Updating unchanged output timestamps of project '/user/username/projects/myproject/pkg3/tsconfig.json'... +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject/pkg3 1 change:: index.js +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject/pkg3 1 change:: index.d.ts +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject/pkg3 1 change:: tsconfig.tsbuildinfo [12:03:38 AM] Project 'pkg4/tsconfig.json' is out of date because oldest output 'pkg4/index.js' is older than newest input 'pkg0/tsconfig.json' [12:03:39 AM] Building project '/user/username/projects/myproject/pkg4/tsconfig.json'... [12:03:41 AM] Updating unchanged output timestamps of project '/user/username/projects/myproject/pkg4/tsconfig.json'... +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject/pkg4 1 change:: index.js +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject/pkg4 1 change:: index.d.ts +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject/pkg4 1 change:: tsconfig.tsbuildinfo [12:03:42 AM] Project 'pkg5/tsconfig.json' is out of date because oldest output 'pkg5/index.js' is older than newest input 'pkg0/tsconfig.json' [12:03:43 AM] Building project '/user/username/projects/myproject/pkg5/tsconfig.json'... [12:03:45 AM] Updating unchanged output timestamps of project '/user/username/projects/myproject/pkg5/tsconfig.json'... +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject/pkg5 1 change:: index.js +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject/pkg5 1 change:: index.d.ts +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject/pkg5 1 change:: tsconfig.tsbuildinfo Program root files: ["/user/username/projects/myproject/pkg1/index.ts"] @@ -1227,12 +1275,18 @@ Output:: [12:03:49 AM] Updating unchanged output timestamps of project '/user/username/projects/myproject/pkg6/tsconfig.json'... +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject/pkg6 1 change:: index.js +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject/pkg6 1 change:: index.d.ts +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject/pkg6 1 change:: tsconfig.tsbuildinfo [12:03:50 AM] Project 'pkg7/tsconfig.json' is out of date because oldest output 'pkg7/index.js' is older than newest input 'pkg0/tsconfig.json' [12:03:51 AM] Building project '/user/username/projects/myproject/pkg7/tsconfig.json'... [12:03:53 AM] Updating unchanged output timestamps of project '/user/username/projects/myproject/pkg7/tsconfig.json'... +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject/pkg7 1 change:: index.js +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject/pkg7 1 change:: index.d.ts +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject/pkg7 1 change:: tsconfig.tsbuildinfo [12:03:54 AM] Found 0 errors. Watching for file changes. @@ -1397,6 +1451,8 @@ export const pkg0 = 0;const someConst2 = 10;export const someConst = 10;export c Output:: +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject/pkg0 1 change:: index.ts + >> Screen clear [12:03:57 AM] File change detected. Starting incremental compilation... @@ -1404,6 +1460,10 @@ Output:: [12:03:59 AM] Building project '/user/username/projects/myproject/pkg0/tsconfig.json'... +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject/pkg0 1 change:: index.js +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject/pkg0 1 change:: index.d.ts +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject/pkg0 1 change:: tsconfig.tsbuildinfo +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject/pkg0 1 change:: tsconfig.tsbuildinfo.readable.baseline.txt Program root files: ["/user/username/projects/myproject/pkg0/index.ts"] @@ -1540,30 +1600,45 @@ Output:: [12:04:16 AM] Updating unchanged output timestamps of project '/user/username/projects/myproject/pkg1/tsconfig.json'... +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject/pkg1 1 change:: index.js +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject/pkg1 1 change:: index.d.ts +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject/pkg1 1 change:: tsconfig.tsbuildinfo [12:04:17 AM] Project 'pkg2/tsconfig.json' is out of date because oldest output 'pkg2/index.js' is older than newest input 'pkg0/tsconfig.json' [12:04:18 AM] Building project '/user/username/projects/myproject/pkg2/tsconfig.json'... [12:04:20 AM] Updating unchanged output timestamps of project '/user/username/projects/myproject/pkg2/tsconfig.json'... +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject/pkg2 1 change:: index.js +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject/pkg2 1 change:: index.d.ts +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject/pkg2 1 change:: tsconfig.tsbuildinfo [12:04:21 AM] Project 'pkg3/tsconfig.json' is out of date because oldest output 'pkg3/index.js' is older than newest input 'pkg0/tsconfig.json' [12:04:22 AM] Building project '/user/username/projects/myproject/pkg3/tsconfig.json'... [12:04:24 AM] Updating unchanged output timestamps of project '/user/username/projects/myproject/pkg3/tsconfig.json'... +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject/pkg3 1 change:: index.js +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject/pkg3 1 change:: index.d.ts +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject/pkg3 1 change:: tsconfig.tsbuildinfo [12:04:25 AM] Project 'pkg4/tsconfig.json' is out of date because oldest output 'pkg4/index.js' is older than newest input 'pkg0/tsconfig.json' [12:04:26 AM] Building project '/user/username/projects/myproject/pkg4/tsconfig.json'... [12:04:28 AM] Updating unchanged output timestamps of project '/user/username/projects/myproject/pkg4/tsconfig.json'... +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject/pkg4 1 change:: index.js +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject/pkg4 1 change:: index.d.ts +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject/pkg4 1 change:: tsconfig.tsbuildinfo [12:04:29 AM] Project 'pkg5/tsconfig.json' is out of date because oldest output 'pkg5/index.js' is older than newest input 'pkg0/tsconfig.json' [12:04:30 AM] Building project '/user/username/projects/myproject/pkg5/tsconfig.json'... [12:04:32 AM] Updating unchanged output timestamps of project '/user/username/projects/myproject/pkg5/tsconfig.json'... +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject/pkg5 1 change:: index.js +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject/pkg5 1 change:: index.d.ts +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject/pkg5 1 change:: tsconfig.tsbuildinfo Program root files: ["/user/username/projects/myproject/pkg1/index.ts"] @@ -1703,6 +1778,8 @@ export const pkg0 = 0;const someConst2 = 10;export const someConst = 10;export c Output:: +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject/pkg0 1 change:: index.ts + >> Screen clear [12:04:35 AM] File change detected. Starting incremental compilation... @@ -1710,26 +1787,45 @@ Output:: [12:04:37 AM] Building project '/user/username/projects/myproject/pkg0/tsconfig.json'... +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject/pkg0 1 change:: index.js +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject/pkg0 1 change:: index.d.ts +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject/pkg0 1 change:: tsconfig.tsbuildinfo +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject/pkg0 1 change:: tsconfig.tsbuildinfo.readable.baseline.txt [12:04:50 AM] Project 'pkg1/tsconfig.json' is up to date with .d.ts files from its dependencies [12:04:52 AM] Updating output timestamps of project '/user/username/projects/myproject/pkg1/tsconfig.json'... +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject/pkg1 1 change:: index.js +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject/pkg1 1 change:: index.d.ts +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject/pkg1 1 change:: tsconfig.tsbuildinfo [12:04:53 AM] Project 'pkg2/tsconfig.json' is up to date with .d.ts files from its dependencies [12:04:55 AM] Updating output timestamps of project '/user/username/projects/myproject/pkg2/tsconfig.json'... +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject/pkg2 1 change:: index.js +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject/pkg2 1 change:: index.d.ts +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject/pkg2 1 change:: tsconfig.tsbuildinfo [12:04:56 AM] Project 'pkg3/tsconfig.json' is up to date with .d.ts files from its dependencies [12:04:58 AM] Updating output timestamps of project '/user/username/projects/myproject/pkg3/tsconfig.json'... +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject/pkg3 1 change:: index.js +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject/pkg3 1 change:: index.d.ts +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject/pkg3 1 change:: tsconfig.tsbuildinfo [12:04:59 AM] Project 'pkg4/tsconfig.json' is up to date with .d.ts files from its dependencies [12:05:01 AM] Updating output timestamps of project '/user/username/projects/myproject/pkg4/tsconfig.json'... +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject/pkg4 1 change:: index.js +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject/pkg4 1 change:: index.d.ts +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject/pkg4 1 change:: tsconfig.tsbuildinfo [12:05:02 AM] Project 'pkg5/tsconfig.json' is up to date with .d.ts files from its dependencies [12:05:04 AM] Updating output timestamps of project '/user/username/projects/myproject/pkg5/tsconfig.json'... +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject/pkg5 1 change:: index.js +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject/pkg5 1 change:: index.d.ts +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject/pkg5 1 change:: tsconfig.tsbuildinfo Program root files: ["/user/username/projects/myproject/pkg0/index.ts"] @@ -1877,12 +1973,18 @@ Output:: [12:05:08 AM] Updating unchanged output timestamps of project '/user/username/projects/myproject/pkg6/tsconfig.json'... +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject/pkg6 1 change:: index.js +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject/pkg6 1 change:: index.d.ts +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject/pkg6 1 change:: tsconfig.tsbuildinfo [12:05:09 AM] Project 'pkg7/tsconfig.json' is out of date because oldest output 'pkg7/index.js' is older than newest input 'pkg0/tsconfig.json' [12:05:10 AM] Building project '/user/username/projects/myproject/pkg7/tsconfig.json'... [12:05:12 AM] Updating unchanged output timestamps of project '/user/username/projects/myproject/pkg7/tsconfig.json'... +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject/pkg7 1 change:: index.js +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject/pkg7 1 change:: index.d.ts +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject/pkg7 1 change:: tsconfig.tsbuildinfo [12:05:13 AM] Found 0 errors. Watching for file changes. diff --git a/tests/baselines/reference/tsbuildWatch/publicApi/with-custom-transformers.js b/tests/baselines/reference/tsbuildWatch/publicApi/with-custom-transformers.js index 3458c8a4583..96e1a783742 100644 --- a/tests/baselines/reference/tsbuildWatch/publicApi/with-custom-transformers.js +++ b/tests/baselines/reference/tsbuildWatch/publicApi/with-custom-transformers.js @@ -256,6 +256,8 @@ export function f2() { } // trailing Output:: +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject/shared 1 change:: index.ts + >> Screen clear [12:00:55 AM] File change detected. Starting incremental compilation... @@ -263,12 +265,19 @@ Output:: [12:00:57 AM] Building project '/user/username/projects/myproject/shared/tsconfig.json'... +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject/shared 1 change:: index.js +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject/shared 1 change:: index.d.ts +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject/shared 1 change:: tsconfig.tsbuildinfo +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject/shared 1 change:: tsconfig.tsbuildinfo.readable.baseline.txt [12:01:10 AM] Project 'webpack/tsconfig.json' is out of date because oldest output 'webpack/index.js' is older than newest input 'shared/tsconfig.json' [12:01:11 AM] Building project '/user/username/projects/myproject/webpack/tsconfig.json'... [12:01:13 AM] Updating unchanged output timestamps of project '/user/username/projects/myproject/webpack/tsconfig.json'... +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject/webpack 1 change:: index.js +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject/webpack 1 change:: index.d.ts +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject/webpack 1 change:: tsconfig.tsbuildinfo [12:01:14 AM] Found 0 errors. Watching for file changes. diff --git a/tests/baselines/reference/tsbuildWatch/reexport/Reports-errors-correctly.js b/tests/baselines/reference/tsbuildWatch/reexport/Reports-errors-correctly.js index ae54838ae4d..811a42de30c 100644 --- a/tests/baselines/reference/tsbuildWatch/reexport/Reports-errors-correctly.js +++ b/tests/baselines/reference/tsbuildWatch/reexport/Reports-errors-correctly.js @@ -264,6 +264,8 @@ export interface Session { Output:: +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/reexport/src/pure 1 change:: session.ts + >> Screen clear [12:01:07 AM] File change detected. Starting incremental compilation... @@ -429,6 +431,8 @@ export interface Session { Output:: +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/reexport/src/pure 1 change:: session.ts + >> Screen clear [12:01:34 AM] File change detected. Starting incremental compilation... diff --git a/tests/baselines/reference/tsbuildWatch/watchEnvironment/same-file-in-multiple-projects-with-single-watcher-per-file.js b/tests/baselines/reference/tsbuildWatch/watchEnvironment/same-file-in-multiple-projects-with-single-watcher-per-file.js index 9aebd0d53e6..db2348e0bb6 100644 --- a/tests/baselines/reference/tsbuildWatch/watchEnvironment/same-file-in-multiple-projects-with-single-watcher-per-file.js +++ b/tests/baselines/reference/tsbuildWatch/watchEnvironment/same-file-in-multiple-projects-with-single-watcher-per-file.js @@ -229,24 +229,28 @@ Output:: [12:01:13 AM] Updating unchanged output timestamps of project '/user/username/projects/myproject/pkg0/tsconfig.json'... +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject/pkg0 1 change:: index.js [12:01:14 AM] Project 'pkg1/tsconfig.json' is out of date because oldest output 'pkg1/index.js' is older than newest input 'typings/xterm.d.ts' [12:01:15 AM] Building project '/user/username/projects/myproject/pkg1/tsconfig.json'... [12:01:17 AM] Updating unchanged output timestamps of project '/user/username/projects/myproject/pkg1/tsconfig.json'... +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject/pkg1 1 change:: index.js [12:01:18 AM] Project 'pkg2/tsconfig.json' is out of date because oldest output 'pkg2/index.js' is older than newest input 'typings/xterm.d.ts' [12:01:19 AM] Building project '/user/username/projects/myproject/pkg2/tsconfig.json'... [12:01:21 AM] Updating unchanged output timestamps of project '/user/username/projects/myproject/pkg2/tsconfig.json'... +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject/pkg2 1 change:: index.js [12:01:22 AM] Project 'pkg3/tsconfig.json' is out of date because oldest output 'pkg3/index.js' is older than newest input 'typings/xterm.d.ts' [12:01:23 AM] Building project '/user/username/projects/myproject/pkg3/tsconfig.json'... [12:01:25 AM] Updating unchanged output timestamps of project '/user/username/projects/myproject/pkg3/tsconfig.json'... +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject/pkg3 1 change:: index.js [12:01:26 AM] Found 0 errors. Watching for file changes. @@ -411,18 +415,21 @@ Output:: [12:01:39 AM] Updating unchanged output timestamps of project '/user/username/projects/myproject/pkg0/tsconfig.json'... +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject/pkg0 1 change:: index.js [12:01:40 AM] Project 'pkg1/tsconfig.json' is out of date because oldest output 'pkg1/index.js' is older than newest input 'typings/xterm.d.ts' [12:01:41 AM] Building project '/user/username/projects/myproject/pkg1/tsconfig.json'... [12:01:43 AM] Updating unchanged output timestamps of project '/user/username/projects/myproject/pkg1/tsconfig.json'... +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject/pkg1 1 change:: index.js [12:01:44 AM] Project 'pkg2/tsconfig.json' is out of date because oldest output 'pkg2/index.js' is older than newest input 'typings/xterm.d.ts' [12:01:45 AM] Building project '/user/username/projects/myproject/pkg2/tsconfig.json'... [12:01:47 AM] Updating unchanged output timestamps of project '/user/username/projects/myproject/pkg2/tsconfig.json'... +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject/pkg2 1 change:: index.js [12:01:48 AM] Found 0 errors. Watching for file changes. diff --git a/tests/baselines/reference/tsbuildWatch/watchEnvironment/same-file-in-multiple-projects.js b/tests/baselines/reference/tsbuildWatch/watchEnvironment/same-file-in-multiple-projects.js index ad4d9d4891d..11ea03a1889 100644 --- a/tests/baselines/reference/tsbuildWatch/watchEnvironment/same-file-in-multiple-projects.js +++ b/tests/baselines/reference/tsbuildWatch/watchEnvironment/same-file-in-multiple-projects.js @@ -232,24 +232,28 @@ Output:: [12:01:13 AM] Updating unchanged output timestamps of project '/user/username/projects/myproject/pkg0/tsconfig.json'... +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject/pkg0 1 change:: index.js [12:01:14 AM] Project 'pkg1/tsconfig.json' is out of date because oldest output 'pkg1/index.js' is older than newest input 'typings/xterm.d.ts' [12:01:15 AM] Building project '/user/username/projects/myproject/pkg1/tsconfig.json'... [12:01:17 AM] Updating unchanged output timestamps of project '/user/username/projects/myproject/pkg1/tsconfig.json'... +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject/pkg1 1 change:: index.js [12:01:18 AM] Project 'pkg2/tsconfig.json' is out of date because oldest output 'pkg2/index.js' is older than newest input 'typings/xterm.d.ts' [12:01:19 AM] Building project '/user/username/projects/myproject/pkg2/tsconfig.json'... [12:01:21 AM] Updating unchanged output timestamps of project '/user/username/projects/myproject/pkg2/tsconfig.json'... +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject/pkg2 1 change:: index.js [12:01:22 AM] Project 'pkg3/tsconfig.json' is out of date because oldest output 'pkg3/index.js' is older than newest input 'typings/xterm.d.ts' [12:01:23 AM] Building project '/user/username/projects/myproject/pkg3/tsconfig.json'... [12:01:25 AM] Updating unchanged output timestamps of project '/user/username/projects/myproject/pkg3/tsconfig.json'... +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject/pkg3 1 change:: index.js [12:01:26 AM] Found 0 errors. Watching for file changes. @@ -419,18 +423,21 @@ Output:: [12:01:39 AM] Updating unchanged output timestamps of project '/user/username/projects/myproject/pkg0/tsconfig.json'... +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject/pkg0 1 change:: index.js [12:01:40 AM] Project 'pkg1/tsconfig.json' is out of date because oldest output 'pkg1/index.js' is older than newest input 'typings/xterm.d.ts' [12:01:41 AM] Building project '/user/username/projects/myproject/pkg1/tsconfig.json'... [12:01:43 AM] Updating unchanged output timestamps of project '/user/username/projects/myproject/pkg1/tsconfig.json'... +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject/pkg1 1 change:: index.js [12:01:44 AM] Project 'pkg2/tsconfig.json' is out of date because oldest output 'pkg2/index.js' is older than newest input 'typings/xterm.d.ts' [12:01:45 AM] Building project '/user/username/projects/myproject/pkg2/tsconfig.json'... [12:01:47 AM] Updating unchanged output timestamps of project '/user/username/projects/myproject/pkg2/tsconfig.json'... +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject/pkg2 1 change:: index.js [12:01:48 AM] Found 0 errors. Watching for file changes. diff --git a/tests/baselines/reference/tscWatch/consoleClearing/when-preserveWatchOutput-is-true-in-config-file/createWatchOfConfigFile.js b/tests/baselines/reference/tscWatch/consoleClearing/when-preserveWatchOutput-is-true-in-config-file/createWatchOfConfigFile.js index b2c561112eb..13eaa8fcc6a 100644 --- a/tests/baselines/reference/tscWatch/consoleClearing/when-preserveWatchOutput-is-true-in-config-file/createWatchOfConfigFile.js +++ b/tests/baselines/reference/tscWatch/consoleClearing/when-preserveWatchOutput-is-true-in-config-file/createWatchOfConfigFile.js @@ -71,8 +71,10 @@ Input:: Output:: +sysLog:: watchPresentFileSystemEntry:: 1 change:: f.ts [12:00:19 AM] File change detected. Starting incremental compilation... +sysLog:: watchPresentFileSystemEntry:: 1 change:: f.js [12:00:23 AM] Found 0 errors. Watching for file changes. diff --git a/tests/baselines/reference/tscWatch/consoleClearing/when-preserveWatchOutput-is-true-in-config-file/when-createWatchProgram-is-invoked-with-configFileParseResult-on-WatchCompilerHostOfConfigFile.js b/tests/baselines/reference/tscWatch/consoleClearing/when-preserveWatchOutput-is-true-in-config-file/when-createWatchProgram-is-invoked-with-configFileParseResult-on-WatchCompilerHostOfConfigFile.js index b096bac9700..37dbaf93606 100644 --- a/tests/baselines/reference/tscWatch/consoleClearing/when-preserveWatchOutput-is-true-in-config-file/when-createWatchProgram-is-invoked-with-configFileParseResult-on-WatchCompilerHostOfConfigFile.js +++ b/tests/baselines/reference/tscWatch/consoleClearing/when-preserveWatchOutput-is-true-in-config-file/when-createWatchProgram-is-invoked-with-configFileParseResult-on-WatchCompilerHostOfConfigFile.js @@ -70,8 +70,10 @@ Input:: Output:: +sysLog:: watchPresentFileSystemEntry:: 1 change:: f.ts [12:00:19 AM] File change detected. Starting incremental compilation... +sysLog:: watchPresentFileSystemEntry:: 1 change:: f.js [12:00:23 AM] Found 0 errors. Watching for file changes. diff --git a/tests/baselines/reference/tscWatch/emit/emit-file-content/file-is-deleted-and-created-as-part-of-change.js b/tests/baselines/reference/tscWatch/emit/emit-file-content/file-is-deleted-and-created-as-part-of-change.js index 102a3122368..32537ebf8b9 100644 --- a/tests/baselines/reference/tscWatch/emit/emit-file-content/file-is-deleted-and-created-as-part-of-change.js +++ b/tests/baselines/reference/tscWatch/emit/emit-file-content/file-is-deleted-and-created-as-part-of-change.js @@ -75,9 +75,15 @@ var b = 10; Output:: +sysLog:: watchPresentFileSystemEntry:: /home/username/project/app 1 rename:: file.ts +sysLog:: watchPresentFileSystemEntry:: /home/username/project/app 1 change:: +sysLog:: watchPresentFileSystemEntry:: /home/username/project/app 1 rename:: file.ts +sysLog:: watchPresentFileSystemEntry:: /home/username/project/app 1 change:: + >> Screen clear [12:00:28 AM] File change detected. Starting incremental compilation... +sysLog:: watchPresentFileSystemEntry:: /home/username/project/app 1 change:: file.js [12:00:32 AM] Found 0 errors. Watching for file changes. diff --git a/tests/baselines/reference/tscWatch/emit/emit-file-content/should-emit-specified-file.js b/tests/baselines/reference/tscWatch/emit/emit-file-content/should-emit-specified-file.js index 9567f0deb6e..10c8410f08e 100644 --- a/tests/baselines/reference/tscWatch/emit/emit-file-content/should-emit-specified-file.js +++ b/tests/baselines/reference/tscWatch/emit/emit-file-content/should-emit-specified-file.js @@ -109,9 +109,14 @@ export function Foo() { return 10; }export function foo2() { return 2; } Output:: +sysLog:: watchPresentFileSystemEntry:: /a/b 1 change:: f1.ts + >> Screen clear [12:00:29 AM] File change detected. Starting incremental compilation... +sysLog:: watchPresentFileSystemEntry:: /a/b 1 change:: f1.js +sysLog:: watchPresentFileSystemEntry:: /a/b 1 change:: f2.js +sysLog:: watchPresentFileSystemEntry:: /a/b 1 change:: f3.js [12:00:39 AM] Found 0 errors. Watching for file changes. @@ -178,9 +183,13 @@ export function Foo() { return 10; }export function foo2() { return 2; }export f Output:: +sysLog:: watchPresentFileSystemEntry:: /a/b 1 change:: f1.ts + >> Screen clear [12:00:42 AM] File change detected. Starting incremental compilation... +sysLog:: watchPresentFileSystemEntry:: /a/b 1 change:: f1.js +sysLog:: watchPresentFileSystemEntry:: /a/b 1 change:: f2.js [12:00:49 AM] Found 0 errors. Watching for file changes. diff --git a/tests/baselines/reference/tscWatch/emit/emit-for-configured-projects/should-always-return-the-file-itself-if-'--isolatedModules'-is-specified.js b/tests/baselines/reference/tscWatch/emit/emit-for-configured-projects/should-always-return-the-file-itself-if-'--isolatedModules'-is-specified.js index 18c5c07ceb7..49c83ee1c7b 100644 --- a/tests/baselines/reference/tscWatch/emit/emit-for-configured-projects/should-always-return-the-file-itself-if-'--isolatedModules'-is-specified.js +++ b/tests/baselines/reference/tscWatch/emit/emit-for-configured-projects/should-always-return-the-file-itself-if-'--isolatedModules'-is-specified.js @@ -139,9 +139,12 @@ export var T: number;export function Foo() { }; Output:: +sysLog:: watchPresentFileSystemEntry:: /a/b 1 change:: moduleFile1.ts + >> Screen clear [12:00:38 AM] File change detected. Starting incremental compilation... +sysLog:: watchPresentFileSystemEntry:: /a/b 1 change:: moduleFile1.js a/b/globalFile3.ts:1:1 - error TS1208: 'globalFile3.ts' cannot be compiled under '--isolatedModules' because it is considered a global script file. Add an import, export, or an empty 'export {}' statement to make it a module. 1 interface GlobalFoo { age: number } diff --git a/tests/baselines/reference/tscWatch/emit/emit-for-configured-projects/should-always-return-the-file-itself-if-'--out'-or-'--outFile'-is-specified.js b/tests/baselines/reference/tscWatch/emit/emit-for-configured-projects/should-always-return-the-file-itself-if-'--out'-or-'--outFile'-is-specified.js index 04f23c2aaa5..6c16f70ec57 100644 --- a/tests/baselines/reference/tscWatch/emit/emit-for-configured-projects/should-always-return-the-file-itself-if-'--out'-or-'--outFile'-is-specified.js +++ b/tests/baselines/reference/tscWatch/emit/emit-for-configured-projects/should-always-return-the-file-itself-if-'--out'-or-'--outFile'-is-specified.js @@ -138,9 +138,12 @@ export var T: number;export function Foo() { }; Output:: +sysLog:: watchPresentFileSystemEntry:: /a/b 1 change:: moduleFile1.ts + >> Screen clear [12:00:30 AM] File change detected. Starting incremental compilation... +sysLog:: watchPresentFileSystemEntry:: /a/b 1 change:: out.js [12:00:34 AM] Found 0 errors. Watching for file changes. diff --git a/tests/baselines/reference/tscWatch/emit/emit-for-configured-projects/should-be-up-to-date-with-deleted-files.js b/tests/baselines/reference/tscWatch/emit/emit-for-configured-projects/should-be-up-to-date-with-deleted-files.js index b5c71000f71..c34cc2418de 100644 --- a/tests/baselines/reference/tscWatch/emit/emit-for-configured-projects/should-be-up-to-date-with-deleted-files.js +++ b/tests/baselines/reference/tscWatch/emit/emit-for-configured-projects/should-be-up-to-date-with-deleted-files.js @@ -135,9 +135,15 @@ export var T: number;export function Foo() { }; //// [/a/b/file1Consumer2.ts] deleted Output:: +sysLog:: watchPresentFileSystemEntry:: /a/b 1 change:: moduleFile1.ts +sysLog:: watchPresentFileSystemEntry:: /a/b 1 rename:: file1Consumer2.ts +sysLog:: watchPresentFileSystemEntry:: /a/b 1 change:: + >> Screen clear [12:00:39 AM] File change detected. Starting incremental compilation... +sysLog:: watchPresentFileSystemEntry:: /a/b 1 change:: moduleFile1.js +sysLog:: watchPresentFileSystemEntry:: /a/b 1 change:: file1Consumer1.js [12:00:46 AM] Found 0 errors. Watching for file changes. diff --git a/tests/baselines/reference/tscWatch/emit/emit-for-configured-projects/should-be-up-to-date-with-newly-created-files.js b/tests/baselines/reference/tscWatch/emit/emit-for-configured-projects/should-be-up-to-date-with-newly-created-files.js index f4707855b33..fdf42df7712 100644 --- a/tests/baselines/reference/tscWatch/emit/emit-for-configured-projects/should-be-up-to-date-with-newly-created-files.js +++ b/tests/baselines/reference/tscWatch/emit/emit-for-configured-projects/should-be-up-to-date-with-newly-created-files.js @@ -137,9 +137,18 @@ import {Foo} from "./moduleFile1"; let y = Foo(); Output:: +sysLog:: watchPresentFileSystemEntry:: /a/b 1 rename:: file1Consumer3.ts +sysLog:: watchPresentFileSystemEntry:: /a/b 1 change:: +sysLog:: watchPresentFileSystemEntry:: /a/b 1 change:: moduleFile1.ts + >> Screen clear [12:00:40 AM] File change detected. Starting incremental compilation... +sysLog:: watchPresentFileSystemEntry:: /a/b 1 change:: moduleFile1.js +sysLog:: watchPresentFileSystemEntry:: /a/b 1 rename:: file1Consumer3.js +sysLog:: watchPresentFileSystemEntry:: /a/b 1 change:: +sysLog:: watchPresentFileSystemEntry:: /a/b 1 change:: file1Consumer2.js +sysLog:: watchPresentFileSystemEntry:: /a/b 1 change:: file1Consumer1.js [12:00:52 AM] Found 0 errors. Watching for file changes. diff --git a/tests/baselines/reference/tscWatch/emit/emit-for-configured-projects/should-be-up-to-date-with-the-reference-map-changes.js b/tests/baselines/reference/tscWatch/emit/emit-for-configured-projects/should-be-up-to-date-with-the-reference-map-changes.js index c11c863a166..351f027b719 100644 --- a/tests/baselines/reference/tscWatch/emit/emit-for-configured-projects/should-be-up-to-date-with-the-reference-map-changes.js +++ b/tests/baselines/reference/tscWatch/emit/emit-for-configured-projects/should-be-up-to-date-with-the-reference-map-changes.js @@ -134,9 +134,12 @@ export let y = Foo(); Output:: +sysLog:: watchPresentFileSystemEntry:: /a/b 1 change:: file1Consumer1.ts + >> Screen clear [12:00:38 AM] File change detected. Starting incremental compilation... +sysLog:: watchPresentFileSystemEntry:: /a/b 1 change:: file1Consumer1.js a/b/file1Consumer1.ts:1:16 - error TS2304: Cannot find name 'Foo'. 1 export let y = Foo(); @@ -205,9 +208,13 @@ export var T: number;export function Foo() { }; Output:: +sysLog:: watchPresentFileSystemEntry:: /a/b 1 change:: moduleFile1.ts + >> Screen clear [12:00:46 AM] File change detected. Starting incremental compilation... +sysLog:: watchPresentFileSystemEntry:: /a/b 1 change:: moduleFile1.js +sysLog:: watchPresentFileSystemEntry:: /a/b 1 change:: file1Consumer2.js a/b/file1Consumer1.ts:1:16 - error TS2304: Cannot find name 'Foo'. 1 export let y = Foo(); @@ -281,9 +288,12 @@ import {Foo} from "./moduleFile1";let y = Foo(); Output:: +sysLog:: watchPresentFileSystemEntry:: /a/b 1 change:: file1Consumer1.ts + >> Screen clear [12:00:57 AM] File change detected. Starting incremental compilation... +sysLog:: watchPresentFileSystemEntry:: /a/b 1 change:: file1Consumer1.js [12:01:01 AM] Found 0 errors. Watching for file changes. @@ -347,9 +357,14 @@ export let y = Foo(); Output:: +sysLog:: watchPresentFileSystemEntry:: /a/b 1 change:: moduleFile1.ts + >> Screen clear [12:01:06 AM] File change detected. Starting incremental compilation... +sysLog:: watchPresentFileSystemEntry:: /a/b 1 change:: moduleFile1.js +sysLog:: watchPresentFileSystemEntry:: /a/b 1 change:: file1Consumer2.js +sysLog:: watchPresentFileSystemEntry:: /a/b 1 change:: file1Consumer1.js a/b/file1Consumer1.ts:1:9 - error TS2305: Module '"./moduleFile1"' has no exported member 'Foo'. 1 import {Foo} from "./moduleFile1";let y = Foo(); @@ -435,9 +450,15 @@ export var T: number;export function Foo() { }; //// [/a/b/file1Consumer1.ts] file written with same contents Output:: +sysLog:: watchPresentFileSystemEntry:: /a/b 1 change:: file1Consumer1.ts +sysLog:: watchPresentFileSystemEntry:: /a/b 1 change:: moduleFile1.ts + >> Screen clear [12:01:23 AM] File change detected. Starting incremental compilation... +sysLog:: watchPresentFileSystemEntry:: /a/b 1 change:: moduleFile1.js +sysLog:: watchPresentFileSystemEntry:: /a/b 1 change:: file1Consumer2.js +sysLog:: watchPresentFileSystemEntry:: /a/b 1 change:: file1Consumer1.js [12:01:33 AM] Found 0 errors. Watching for file changes. diff --git a/tests/baselines/reference/tscWatch/emit/emit-for-configured-projects/should-contains-only-itself-if-a-module-file's-shape-didn't-change,-and-all-files-referencing-it-if-its-shape-changed.js b/tests/baselines/reference/tscWatch/emit/emit-for-configured-projects/should-contains-only-itself-if-a-module-file's-shape-didn't-change,-and-all-files-referencing-it-if-its-shape-changed.js index 5e4bee56e5d..66782a2e0b5 100644 --- a/tests/baselines/reference/tscWatch/emit/emit-for-configured-projects/should-contains-only-itself-if-a-module-file's-shape-didn't-change,-and-all-files-referencing-it-if-its-shape-changed.js +++ b/tests/baselines/reference/tscWatch/emit/emit-for-configured-projects/should-contains-only-itself-if-a-module-file's-shape-didn't-change,-and-all-files-referencing-it-if-its-shape-changed.js @@ -134,9 +134,14 @@ export var T: number;export function Foo() { }; Output:: +sysLog:: watchPresentFileSystemEntry:: /a/b 1 change:: moduleFile1.ts + >> Screen clear [12:00:38 AM] File change detected. Starting incremental compilation... +sysLog:: watchPresentFileSystemEntry:: /a/b 1 change:: moduleFile1.js +sysLog:: watchPresentFileSystemEntry:: /a/b 1 change:: file1Consumer2.js +sysLog:: watchPresentFileSystemEntry:: /a/b 1 change:: file1Consumer1.js [12:00:48 AM] Found 0 errors. Watching for file changes. @@ -208,9 +213,12 @@ export var T: number;export function Foo() { console.log('hi'); }; Output:: +sysLog:: watchPresentFileSystemEntry:: /a/b 1 change:: moduleFile1.ts + >> Screen clear [12:00:52 AM] File change detected. Starting incremental compilation... +sysLog:: watchPresentFileSystemEntry:: /a/b 1 change:: moduleFile1.js a/b/moduleFile1.ts:1:46 - error TS2584: Cannot find name 'console'. Do you need to change your target library? Try changing the 'lib' compiler option to include 'dom'. 1 export var T: number;export function Foo() { console.log('hi'); }; diff --git a/tests/baselines/reference/tscWatch/emit/emit-for-configured-projects/should-detect-non-existing-code-file.js b/tests/baselines/reference/tscWatch/emit/emit-for-configured-projects/should-detect-non-existing-code-file.js index cdbce1ebf48..632852185fa 100644 --- a/tests/baselines/reference/tscWatch/emit/emit-for-configured-projects/should-detect-non-existing-code-file.js +++ b/tests/baselines/reference/tscWatch/emit/emit-for-configured-projects/should-detect-non-existing-code-file.js @@ -92,9 +92,12 @@ export var x = Foo();export var yy = Foo(); Output:: +sysLog:: watchPresentFileSystemEntry:: /a/b 1 change:: referenceFile1.ts + >> Screen clear [12:00:21 AM] File change detected. Starting incremental compilation... +sysLog:: watchPresentFileSystemEntry:: /a/b 1 change:: referenceFile1.js a/b/referenceFile1.ts:1:22 - error TS6053: File '/a/b/moduleFile2.ts' not found. 1 /// @@ -165,9 +168,15 @@ export var Foo4 = 10; Output:: +sysLog:: watchPresentFileSystemEntry:: /a/b 1 rename:: moduleFile2.ts +sysLog:: watchPresentFileSystemEntry:: /a/b 1 change:: + >> Screen clear [12:00:28 AM] File change detected. Starting incremental compilation... +sysLog:: watchPresentFileSystemEntry:: /a/b 1 rename:: moduleFile2.js +sysLog:: watchPresentFileSystemEntry:: /a/b 1 change:: +sysLog:: watchPresentFileSystemEntry:: /a/b 1 change:: referenceFile1.js a/b/referenceFile1.ts:2:16 - error TS2304: Cannot find name 'Foo'. 2 export var x = Foo();export var yy = Foo(); diff --git a/tests/baselines/reference/tscWatch/emit/emit-for-configured-projects/should-detect-removed-code-file.js b/tests/baselines/reference/tscWatch/emit/emit-for-configured-projects/should-detect-removed-code-file.js index 9f19ac324e2..bc031dbd262 100644 --- a/tests/baselines/reference/tscWatch/emit/emit-for-configured-projects/should-detect-removed-code-file.js +++ b/tests/baselines/reference/tscWatch/emit/emit-for-configured-projects/should-detect-removed-code-file.js @@ -99,9 +99,13 @@ Input:: //// [/a/b/moduleFile1.ts] deleted Output:: +sysLog:: watchPresentFileSystemEntry:: /a/b 1 rename:: moduleFile1.ts +sysLog:: watchPresentFileSystemEntry:: /a/b 1 change:: + >> Screen clear [12:00:24 AM] File change detected. Starting incremental compilation... +sysLog:: watchPresentFileSystemEntry:: /a/b 1 change:: referenceFile1.js a/b/referenceFile1.ts:1:22 - error TS6053: File '/a/b/moduleFile1.ts' not found. 1 /// diff --git a/tests/baselines/reference/tscWatch/emit/emit-for-configured-projects/should-return-all-files-if-a-global-file-changed-shape.js b/tests/baselines/reference/tscWatch/emit/emit-for-configured-projects/should-return-all-files-if-a-global-file-changed-shape.js index dcabd0690ec..db1b85eef29 100644 --- a/tests/baselines/reference/tscWatch/emit/emit-for-configured-projects/should-return-all-files-if-a-global-file-changed-shape.js +++ b/tests/baselines/reference/tscWatch/emit/emit-for-configured-projects/should-return-all-files-if-a-global-file-changed-shape.js @@ -134,9 +134,16 @@ interface GlobalFoo { age: number }var T2: string; Output:: +sysLog:: watchPresentFileSystemEntry:: /a/b 1 change:: globalFile3.ts + >> Screen clear [12:00:37 AM] File change detected. Starting incremental compilation... +sysLog:: watchPresentFileSystemEntry:: /a/b 1 change:: globalFile3.js +sysLog:: watchPresentFileSystemEntry:: /a/b 1 change:: moduleFile1.js +sysLog:: watchPresentFileSystemEntry:: /a/b 1 change:: file1Consumer1.js +sysLog:: watchPresentFileSystemEntry:: /a/b 1 change:: file1Consumer2.js +sysLog:: watchPresentFileSystemEntry:: /a/b 1 change:: moduleFile2.js [12:00:53 AM] Found 0 errors. Watching for file changes. diff --git a/tests/baselines/reference/tscWatch/emit/emit-for-configured-projects/should-return-cascaded-affected-file-list.js b/tests/baselines/reference/tscWatch/emit/emit-for-configured-projects/should-return-cascaded-affected-file-list.js index 46553cf38b5..b3e5011bb11 100644 --- a/tests/baselines/reference/tscWatch/emit/emit-for-configured-projects/should-return-cascaded-affected-file-list.js +++ b/tests/baselines/reference/tscWatch/emit/emit-for-configured-projects/should-return-cascaded-affected-file-list.js @@ -147,9 +147,13 @@ import {Foo} from "./moduleFile1"; export var y = 10;export var T: number; Output:: +sysLog:: watchPresentFileSystemEntry:: /a/b 1 change:: file1Consumer1.ts + >> Screen clear [12:00:41 AM] File change detected. Starting incremental compilation... +sysLog:: watchPresentFileSystemEntry:: /a/b 1 change:: file1Consumer1.js +sysLog:: watchPresentFileSystemEntry:: /a/b 1 change:: file1Consumer1Consumer1.js [12:00:48 AM] Found 0 errors. Watching for file changes. @@ -219,9 +223,14 @@ export var T: number;export function Foo() { }; Output:: +sysLog:: watchPresentFileSystemEntry:: /a/b 1 change:: moduleFile1.ts + >> Screen clear [12:00:52 AM] File change detected. Starting incremental compilation... +sysLog:: watchPresentFileSystemEntry:: /a/b 1 change:: moduleFile1.js +sysLog:: watchPresentFileSystemEntry:: /a/b 1 change:: file1Consumer2.js +sysLog:: watchPresentFileSystemEntry:: /a/b 1 change:: file1Consumer1.js [12:01:02 AM] Found 0 errors. Watching for file changes. @@ -299,9 +308,16 @@ import {Foo} from "./moduleFile1"; export var y = 10;export var T: number;export Output:: +sysLog:: watchPresentFileSystemEntry:: /a/b 1 change:: file1Consumer1.ts +sysLog:: watchPresentFileSystemEntry:: /a/b 1 change:: moduleFile1.ts + >> Screen clear [12:01:08 AM] File change detected. Starting incremental compilation... +sysLog:: watchPresentFileSystemEntry:: /a/b 1 change:: moduleFile1.js +sysLog:: watchPresentFileSystemEntry:: /a/b 1 change:: file1Consumer2.js +sysLog:: watchPresentFileSystemEntry:: /a/b 1 change:: file1Consumer1.js +sysLog:: watchPresentFileSystemEntry:: /a/b 1 change:: file1Consumer1Consumer1.js [12:01:21 AM] Found 0 errors. Watching for file changes. diff --git a/tests/baselines/reference/tscWatch/emit/emit-for-configured-projects/should-work-fine-for-files-with-circular-references.js b/tests/baselines/reference/tscWatch/emit/emit-for-configured-projects/should-work-fine-for-files-with-circular-references.js index 7cd30bac07b..2737c00d551 100644 --- a/tests/baselines/reference/tscWatch/emit/emit-for-configured-projects/should-work-fine-for-files-with-circular-references.js +++ b/tests/baselines/reference/tscWatch/emit/emit-for-configured-projects/should-work-fine-for-files-with-circular-references.js @@ -97,9 +97,13 @@ export var t1 = 10;export var t3 = 10; Output:: +sysLog:: watchPresentFileSystemEntry:: /a/b 1 change:: file1.ts + >> Screen clear [12:00:25 AM] File change detected. Starting incremental compilation... +sysLog:: watchPresentFileSystemEntry:: /a/b 1 change:: file1.js +sysLog:: watchPresentFileSystemEntry:: /a/b 1 change:: file2.js [12:00:32 AM] Found 0 errors. Watching for file changes. diff --git a/tests/baselines/reference/tscWatch/emit/emit-with-outFile-or-out-setting/config-does-not-have-out-or-outFile.js b/tests/baselines/reference/tscWatch/emit/emit-with-outFile-or-out-setting/config-does-not-have-out-or-outFile.js index 17fec0923ba..3bf69033301 100644 --- a/tests/baselines/reference/tscWatch/emit/emit-with-outFile-or-out-setting/config-does-not-have-out-or-outFile.js +++ b/tests/baselines/reference/tscWatch/emit/emit-with-outFile-or-out-setting/config-does-not-have-out-or-outFile.js @@ -86,9 +86,13 @@ let x = 11 Output:: +sysLog:: watchPresentFileSystemEntry:: /a 1 change:: a.ts + >> Screen clear [12:00:24 AM] File change detected. Starting incremental compilation... +sysLog:: watchPresentFileSystemEntry:: /a 1 change:: a.js +sysLog:: watchPresentFileSystemEntry:: /a 1 change:: b.js [12:00:31 AM] Found 0 errors. Watching for file changes. @@ -144,9 +148,13 @@ let xy = 11 Output:: +sysLog:: watchPresentFileSystemEntry:: /a 1 change:: a.ts + >> Screen clear [12:00:35 AM] File change detected. Starting incremental compilation... +sysLog:: watchPresentFileSystemEntry:: /a 1 change:: a.js +sysLog:: watchPresentFileSystemEntry:: /a 1 change:: b.js [12:00:42 AM] Found 0 errors. Watching for file changes. diff --git a/tests/baselines/reference/tscWatch/emit/emit-with-outFile-or-out-setting/config-has-out.js b/tests/baselines/reference/tscWatch/emit/emit-with-outFile-or-out-setting/config-has-out.js index 422ae9350d5..a3b210b6c55 100644 --- a/tests/baselines/reference/tscWatch/emit/emit-with-outFile-or-out-setting/config-has-out.js +++ b/tests/baselines/reference/tscWatch/emit/emit-with-outFile-or-out-setting/config-has-out.js @@ -77,9 +77,12 @@ let x = 11 Output:: +sysLog:: watchPresentFileSystemEntry:: /a 1 change:: a.ts + >> Screen clear [12:00:22 AM] File change detected. Starting incremental compilation... +sysLog:: watchPresentFileSystemEntry:: /a 1 change:: out.js [12:00:26 AM] Found 0 errors. Watching for file changes. @@ -130,9 +133,12 @@ let xy = 11 Output:: +sysLog:: watchPresentFileSystemEntry:: /a 1 change:: a.ts + >> Screen clear [12:00:30 AM] File change detected. Starting incremental compilation... +sysLog:: watchPresentFileSystemEntry:: /a 1 change:: out.js [12:00:34 AM] Found 0 errors. Watching for file changes. diff --git a/tests/baselines/reference/tscWatch/emit/emit-with-outFile-or-out-setting/config-has-outFile.js b/tests/baselines/reference/tscWatch/emit/emit-with-outFile-or-out-setting/config-has-outFile.js index dec712bb5bd..57728b97c50 100644 --- a/tests/baselines/reference/tscWatch/emit/emit-with-outFile-or-out-setting/config-has-outFile.js +++ b/tests/baselines/reference/tscWatch/emit/emit-with-outFile-or-out-setting/config-has-outFile.js @@ -77,9 +77,12 @@ let x = 11 Output:: +sysLog:: watchPresentFileSystemEntry:: /a 1 change:: a.ts + >> Screen clear [12:00:22 AM] File change detected. Starting incremental compilation... +sysLog:: watchPresentFileSystemEntry:: /a 1 change:: out.js [12:00:26 AM] Found 0 errors. Watching for file changes. @@ -130,9 +133,12 @@ let xy = 11 Output:: +sysLog:: watchPresentFileSystemEntry:: /a 1 change:: a.ts + >> Screen clear [12:00:30 AM] File change detected. Starting incremental compilation... +sysLog:: watchPresentFileSystemEntry:: /a 1 change:: out.js [12:00:34 AM] Found 0 errors. Watching for file changes. diff --git a/tests/baselines/reference/tscWatch/emit/when-module-emit-is-specified-as-node/when-instead-of-filechanged-recursive-directory-watcher-is-invoked.js b/tests/baselines/reference/tscWatch/emit/when-module-emit-is-specified-as-node/when-instead-of-filechanged-recursive-directory-watcher-is-invoked.js index 59d6f870980..aa692ee55e9 100644 --- a/tests/baselines/reference/tscWatch/emit/when-module-emit-is-specified-as-node/when-instead-of-filechanged-recursive-directory-watcher-is-invoked.js +++ b/tests/baselines/reference/tscWatch/emit/when-module-emit-is-specified-as-node/when-instead-of-filechanged-recursive-directory-watcher-is-invoked.js @@ -86,6 +86,8 @@ var zz30 = 100; Output:: +sysLog:: watchPresentFileSystemEntry:: /a/rootfolder/project/scripts 1 rename:: TypeScript.ts + >> Screen clear [12:00:34 AM] File change detected. Starting incremental compilation... diff --git a/tests/baselines/reference/tscWatch/emitAndErrorUpdates/assumeChangesOnlyAffectDirectDependencies/deepImportChanges/errors-for-.d.ts-change.js b/tests/baselines/reference/tscWatch/emitAndErrorUpdates/assumeChangesOnlyAffectDirectDependencies/deepImportChanges/errors-for-.d.ts-change.js index 588dd031461..4272cbcea36 100644 --- a/tests/baselines/reference/tscWatch/emitAndErrorUpdates/assumeChangesOnlyAffectDirectDependencies/deepImportChanges/errors-for-.d.ts-change.js +++ b/tests/baselines/reference/tscWatch/emitAndErrorUpdates/assumeChangesOnlyAffectDirectDependencies/deepImportChanges/errors-for-.d.ts-change.js @@ -40,6 +40,8 @@ Output:: >> Screen clear [12:00:25 AM] Starting compilation in watch mode... +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject 1 rename:: a.js +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject 1 change:: [12:00:28 AM] Found 0 errors. Watching for file changes. @@ -109,6 +111,9 @@ export class C Output:: +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject 1 change:: c.d.ts +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject 1 change:: c.d.ts + >> Screen clear [12:00:32 AM] File change detected. Starting incremental compilation... @@ -169,6 +174,9 @@ export class C Output:: +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject 1 change:: c.d.ts +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject 1 change:: c.d.ts + >> Screen clear [12:00:37 AM] File change detected. Starting incremental compilation... @@ -229,6 +237,9 @@ export class C Output:: +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject 1 change:: c.d.ts +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject 1 change:: c.d.ts + >> Screen clear [12:00:42 AM] File change detected. Starting incremental compilation... diff --git a/tests/baselines/reference/tscWatch/emitAndErrorUpdates/assumeChangesOnlyAffectDirectDependencies/deepImportChanges/errors-for-.ts-change.js b/tests/baselines/reference/tscWatch/emitAndErrorUpdates/assumeChangesOnlyAffectDirectDependencies/deepImportChanges/errors-for-.ts-change.js index 3c4a303ac4d..18518fb78ed 100644 --- a/tests/baselines/reference/tscWatch/emitAndErrorUpdates/assumeChangesOnlyAffectDirectDependencies/deepImportChanges/errors-for-.ts-change.js +++ b/tests/baselines/reference/tscWatch/emitAndErrorUpdates/assumeChangesOnlyAffectDirectDependencies/deepImportChanges/errors-for-.ts-change.js @@ -134,9 +134,14 @@ export class C Output:: +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject 1 change:: c.ts + >> Screen clear [12:00:36 AM] File change detected. Starting incremental compilation... +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject 1 change:: c.js +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject 1 change:: b.js +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject 1 change:: a.js a.ts:4:17 - error TS2339: Property 'd' does not exist on type 'C'. 4 console.log(b.c.d); @@ -214,9 +219,13 @@ export class C Output:: +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject 1 change:: c.ts + >> Screen clear [12:00:50 AM] File change detected. Starting incremental compilation... +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject 1 change:: c.js +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject 1 change:: b.js a.ts:4:17 - error TS2339: Property 'd' does not exist on type 'C'. 4 console.log(b.c.d); @@ -291,9 +300,13 @@ export class C Output:: +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject 1 change:: c.ts + >> Screen clear [12:01:01 AM] File change detected. Starting incremental compilation... +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject 1 change:: c.js +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject 1 change:: b.js a.ts:4:17 - error TS2339: Property 'd' does not exist on type 'C'. 4 console.log(b.c.d); diff --git a/tests/baselines/reference/tscWatch/emitAndErrorUpdates/assumeChangesOnlyAffectDirectDependencies/file-not-exporting-a-deep-multilevel-import-that-changes.js b/tests/baselines/reference/tscWatch/emitAndErrorUpdates/assumeChangesOnlyAffectDirectDependencies/file-not-exporting-a-deep-multilevel-import-that-changes.js index f6870d4839f..7c1d44cfc35 100644 --- a/tests/baselines/reference/tscWatch/emitAndErrorUpdates/assumeChangesOnlyAffectDirectDependencies/file-not-exporting-a-deep-multilevel-import-that-changes.js +++ b/tests/baselines/reference/tscWatch/emitAndErrorUpdates/assumeChangesOnlyAffectDirectDependencies/file-not-exporting-a-deep-multilevel-import-that-changes.js @@ -184,9 +184,16 @@ export interface Coords { Output:: +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject 1 change:: a.ts + >> Screen clear [12:00:44 AM] File change detected. Starting incremental compilation... +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject 1 change:: a.js +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject 1 change:: b.js +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject 1 change:: c.js +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject 1 change:: d.js +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject 1 change:: e.js [12:01:00 AM] Found 0 errors. Watching for file changes. @@ -263,9 +270,13 @@ export interface Coords { Output:: +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject 1 change:: a.ts + >> Screen clear [12:01:04 AM] File change detected. Starting incremental compilation... +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject 1 change:: a.js +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject 1 change:: b.js [12:01:11 AM] Found 0 errors. Watching for file changes. @@ -333,9 +344,13 @@ export interface Coords { Output:: +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject 1 change:: a.ts + >> Screen clear [12:01:15 AM] File change detected. Starting incremental compilation... +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject 1 change:: a.js +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject 1 change:: b.js [12:01:22 AM] Found 0 errors. Watching for file changes. diff --git a/tests/baselines/reference/tscWatch/emitAndErrorUpdates/assumeChangesOnlyAffectDirectDependencies/with-noEmitOnError-with-incremental.js b/tests/baselines/reference/tscWatch/emitAndErrorUpdates/assumeChangesOnlyAffectDirectDependencies/with-noEmitOnError-with-incremental.js index 1bf3370f680..4e3a6ee7932 100644 --- a/tests/baselines/reference/tscWatch/emitAndErrorUpdates/assumeChangesOnlyAffectDirectDependencies/with-noEmitOnError-with-incremental.js +++ b/tests/baselines/reference/tscWatch/emitAndErrorUpdates/assumeChangesOnlyAffectDirectDependencies/with-noEmitOnError-with-incremental.js @@ -173,6 +173,8 @@ Input:: //// [/user/username/projects/noEmitOnError/src/main.ts] file written with same contents Output:: +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/noemitonerror 1 change:: src/main.ts + >> Screen clear [12:00:43 AM] File change detected. Starting incremental compilation... @@ -232,11 +234,27 @@ const a = { Output:: +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/noemitonerror 1 change:: src/main.ts + >> Screen clear [12:00:48 AM] File change detected. Starting incremental compilation... +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/noemitonerror 1 rename:: dev-build/shared +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/noemitonerror 1 change:: dev-build +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/noemitonerror 1 rename:: dev-build/shared/types +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/noemitonerror 1 change:: dev-build/shared +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/noemitonerror 1 rename:: dev-build/shared/types/db.js +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/noemitonerror 1 change:: dev-build/shared/types +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/noemitonerror 1 rename:: dev-build/src +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/noemitonerror 1 change:: dev-build +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/noemitonerror 1 rename:: dev-build/src/main.js +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/noemitonerror 1 change:: dev-build/src +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/noemitonerror 1 rename:: dev-build/src/other.js +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/noemitonerror 1 change:: dev-build/src +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/noemitonerror 1 change:: dev-build/tsconfig.tsbuildinfo [12:01:06 AM] Found 0 errors. Watching for file changes. +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/noemitonerror 1 change:: dev-build/tsconfig.tsbuildinfo.readable.baseline.txt Program root files: ["/user/username/projects/noEmitOnError/shared/types/db.ts","/user/username/projects/noEmitOnError/src/main.ts","/user/username/projects/noEmitOnError/src/other.ts"] @@ -363,9 +381,12 @@ const a: string = 10; Output:: +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/noemitonerror 1 change:: src/main.ts + >> Screen clear [12:01:13 AM] File change detected. Starting incremental compilation... +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/noemitonerror 1 change:: dev-build/tsconfig.tsbuildinfo src/main.ts:2:7 - error TS2322: Type 'number' is not assignable to type 'string'. 2 const a: string = 10; @@ -373,6 +394,7 @@ Output:: [12:01:17 AM] Found 1 error. Watching for file changes. +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/noemitonerror 1 change:: dev-build/tsconfig.tsbuildinfo.readable.baseline.txt Program root files: ["/user/username/projects/noEmitOnError/shared/types/db.ts","/user/username/projects/noEmitOnError/src/main.ts","/user/username/projects/noEmitOnError/src/other.ts"] @@ -495,6 +517,8 @@ Input:: //// [/user/username/projects/noEmitOnError/src/main.ts] file written with same contents Output:: +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/noemitonerror 1 change:: src/main.ts + >> Screen clear [12:01:25 AM] File change detected. Starting incremental compilation... @@ -552,11 +576,16 @@ const a: string = "hello"; Output:: +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/noemitonerror 1 change:: src/main.ts + >> Screen clear [12:01:30 AM] File change detected. Starting incremental compilation... +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/noemitonerror 1 change:: dev-build/src/main.js +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/noemitonerror 1 change:: dev-build/tsconfig.tsbuildinfo [12:01:37 AM] Found 0 errors. Watching for file changes. +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/noemitonerror 1 change:: dev-build/tsconfig.tsbuildinfo.readable.baseline.txt Program root files: ["/user/username/projects/noEmitOnError/shared/types/db.ts","/user/username/projects/noEmitOnError/src/main.ts","/user/username/projects/noEmitOnError/src/other.ts"] @@ -667,6 +696,8 @@ Input:: //// [/user/username/projects/noEmitOnError/src/main.ts] file written with same contents Output:: +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/noemitonerror 1 change:: src/main.ts + >> Screen clear [12:01:44 AM] File change detected. Starting incremental compilation... diff --git a/tests/baselines/reference/tscWatch/emitAndErrorUpdates/assumeChangesOnlyAffectDirectDependencies/with-noEmitOnError.js b/tests/baselines/reference/tscWatch/emitAndErrorUpdates/assumeChangesOnlyAffectDirectDependencies/with-noEmitOnError.js index 8f309c9a27f..53d8f551736 100644 --- a/tests/baselines/reference/tscWatch/emitAndErrorUpdates/assumeChangesOnlyAffectDirectDependencies/with-noEmitOnError.js +++ b/tests/baselines/reference/tscWatch/emitAndErrorUpdates/assumeChangesOnlyAffectDirectDependencies/with-noEmitOnError.js @@ -97,6 +97,8 @@ Input:: //// [/user/username/projects/noEmitOnError/src/main.ts] file written with same contents Output:: +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/noemitonerror 1 change:: src/main.ts + >> Screen clear [12:00:36 AM] File change detected. Starting incremental compilation... @@ -156,9 +158,25 @@ const a = { Output:: +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/noemitonerror 1 change:: src/main.ts + >> Screen clear [12:00:41 AM] File change detected. Starting incremental compilation... +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/noemitonerror 1 rename:: dev-build +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/noemitonerror 1 change:: +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/noemitonerror 1 rename:: dev-build/shared +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/noemitonerror 1 change:: dev-build +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/noemitonerror 1 rename:: dev-build/shared/types +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/noemitonerror 1 change:: dev-build/shared +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/noemitonerror 1 rename:: dev-build/shared/types/db.js +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/noemitonerror 1 change:: dev-build/shared/types +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/noemitonerror 1 rename:: dev-build/src +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/noemitonerror 1 change:: dev-build +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/noemitonerror 1 rename:: dev-build/src/main.js +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/noemitonerror 1 change:: dev-build/src +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/noemitonerror 1 rename:: dev-build/src/other.js +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/noemitonerror 1 change:: dev-build/src [12:00:58 AM] Found 0 errors. Watching for file changes. @@ -229,6 +247,8 @@ const a: string = 10; Output:: +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/noemitonerror 1 change:: src/main.ts + >> Screen clear [12:01:02 AM] File change detected. Starting incremental compilation... @@ -285,6 +305,8 @@ Input:: //// [/user/username/projects/noEmitOnError/src/main.ts] file written with same contents Output:: +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/noemitonerror 1 change:: src/main.ts + >> Screen clear [12:01:08 AM] File change detected. Starting incremental compilation... @@ -342,9 +364,12 @@ const a: string = "hello"; Output:: +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/noemitonerror 1 change:: src/main.ts + >> Screen clear [12:01:13 AM] File change detected. Starting incremental compilation... +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/noemitonerror 1 change:: dev-build/src/main.js [12:01:17 AM] Found 0 errors. Watching for file changes. @@ -399,6 +424,8 @@ Input:: //// [/user/username/projects/noEmitOnError/src/main.ts] file written with same contents Output:: +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/noemitonerror 1 change:: src/main.ts + >> Screen clear [12:01:21 AM] File change detected. Starting incremental compilation... diff --git a/tests/baselines/reference/tscWatch/emitAndErrorUpdates/assumeChangesOnlyAffectDirectDependenciesAndD/deepImportChanges/errors-for-.d.ts-change.js b/tests/baselines/reference/tscWatch/emitAndErrorUpdates/assumeChangesOnlyAffectDirectDependenciesAndD/deepImportChanges/errors-for-.d.ts-change.js index 79e6631c3f5..91336005064 100644 --- a/tests/baselines/reference/tscWatch/emitAndErrorUpdates/assumeChangesOnlyAffectDirectDependenciesAndD/deepImportChanges/errors-for-.d.ts-change.js +++ b/tests/baselines/reference/tscWatch/emitAndErrorUpdates/assumeChangesOnlyAffectDirectDependenciesAndD/deepImportChanges/errors-for-.d.ts-change.js @@ -40,6 +40,10 @@ Output:: >> Screen clear [12:00:25 AM] Starting compilation in watch mode... +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject 1 rename:: a.js +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject 1 change:: +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject 1 rename:: a.d.ts +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject 1 change:: [12:00:30 AM] Found 0 errors. Watching for file changes. @@ -113,6 +117,9 @@ export class C Output:: +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject 1 change:: c.d.ts +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject 1 change:: c.d.ts + >> Screen clear [12:00:34 AM] File change detected. Starting incremental compilation... @@ -173,6 +180,9 @@ export class C Output:: +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject 1 change:: c.d.ts +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject 1 change:: c.d.ts + >> Screen clear [12:00:39 AM] File change detected. Starting incremental compilation... @@ -233,6 +243,9 @@ export class C Output:: +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject 1 change:: c.d.ts +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject 1 change:: c.d.ts + >> Screen clear [12:00:44 AM] File change detected. Starting incremental compilation... diff --git a/tests/baselines/reference/tscWatch/emitAndErrorUpdates/assumeChangesOnlyAffectDirectDependenciesAndD/deepImportChanges/errors-for-.ts-change.js b/tests/baselines/reference/tscWatch/emitAndErrorUpdates/assumeChangesOnlyAffectDirectDependenciesAndD/deepImportChanges/errors-for-.ts-change.js index 373706d52b5..66f8cda0d13 100644 --- a/tests/baselines/reference/tscWatch/emitAndErrorUpdates/assumeChangesOnlyAffectDirectDependenciesAndD/deepImportChanges/errors-for-.ts-change.js +++ b/tests/baselines/reference/tscWatch/emitAndErrorUpdates/assumeChangesOnlyAffectDirectDependenciesAndD/deepImportChanges/errors-for-.ts-change.js @@ -151,9 +151,15 @@ export class C Output:: +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject 1 change:: c.ts + >> Screen clear [12:00:42 AM] File change detected. Starting incremental compilation... +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject 1 change:: c.js +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject 1 change:: c.d.ts +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject 1 change:: b.js +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject 1 change:: b.d.ts [12:00:55 AM] Found 0 errors. Watching for file changes. @@ -230,9 +236,15 @@ export class C Output:: +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject 1 change:: c.ts + >> Screen clear [12:00:59 AM] File change detected. Starting incremental compilation... +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject 1 change:: c.js +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject 1 change:: c.d.ts +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject 1 change:: b.js +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject 1 change:: b.d.ts [12:01:12 AM] Found 0 errors. Watching for file changes. @@ -309,9 +321,15 @@ export class C Output:: +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject 1 change:: c.ts + >> Screen clear [12:01:16 AM] File change detected. Starting incremental compilation... +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject 1 change:: c.js +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject 1 change:: c.d.ts +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject 1 change:: b.js +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject 1 change:: b.d.ts [12:01:29 AM] Found 0 errors. Watching for file changes. diff --git a/tests/baselines/reference/tscWatch/emitAndErrorUpdates/assumeChangesOnlyAffectDirectDependenciesAndD/file-not-exporting-a-deep-multilevel-import-that-changes.js b/tests/baselines/reference/tscWatch/emitAndErrorUpdates/assumeChangesOnlyAffectDirectDependenciesAndD/file-not-exporting-a-deep-multilevel-import-that-changes.js index a56820f7ba8..212fde67d6f 100644 --- a/tests/baselines/reference/tscWatch/emitAndErrorUpdates/assumeChangesOnlyAffectDirectDependenciesAndD/file-not-exporting-a-deep-multilevel-import-that-changes.js +++ b/tests/baselines/reference/tscWatch/emitAndErrorUpdates/assumeChangesOnlyAffectDirectDependenciesAndD/file-not-exporting-a-deep-multilevel-import-that-changes.js @@ -214,9 +214,15 @@ export interface Coords { Output:: +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject 1 change:: a.ts + >> Screen clear [12:00:54 AM] File change detected. Starting incremental compilation... +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject 1 change:: a.js +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject 1 change:: a.d.ts +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject 1 change:: b.js +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject 1 change:: b.d.ts c.ts:6:13 - error TS2322: Type '{ x: number; y: number; }' is not assignable to type 'Coords'. Object literal may only specify known properties, and 'x' does not exist in type 'Coords'. @@ -312,9 +318,15 @@ export interface Coords { Output:: +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject 1 change:: a.ts + >> Screen clear [12:01:11 AM] File change detected. Starting incremental compilation... +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject 1 change:: a.js +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject 1 change:: a.d.ts +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject 1 change:: b.js +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject 1 change:: b.d.ts c.ts:6:13 - error TS2322: Type '{ x: number; y: number; }' is not assignable to type 'Coords'. Object literal may only specify known properties, and 'x' does not exist in type 'Coords'. @@ -410,9 +422,15 @@ export interface Coords { Output:: +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject 1 change:: a.ts + >> Screen clear [12:01:28 AM] File change detected. Starting incremental compilation... +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject 1 change:: a.js +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject 1 change:: a.d.ts +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject 1 change:: b.js +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject 1 change:: b.d.ts c.ts:6:13 - error TS2322: Type '{ x: number; y: number; }' is not assignable to type 'Coords'. Object literal may only specify known properties, and 'x' does not exist in type 'Coords'. diff --git a/tests/baselines/reference/tscWatch/emitAndErrorUpdates/assumeChangesOnlyAffectDirectDependenciesAndD/with-noEmitOnError-with-incremental.js b/tests/baselines/reference/tscWatch/emitAndErrorUpdates/assumeChangesOnlyAffectDirectDependenciesAndD/with-noEmitOnError-with-incremental.js index 7a345223630..1ed125b0faf 100644 --- a/tests/baselines/reference/tscWatch/emitAndErrorUpdates/assumeChangesOnlyAffectDirectDependenciesAndD/with-noEmitOnError-with-incremental.js +++ b/tests/baselines/reference/tscWatch/emitAndErrorUpdates/assumeChangesOnlyAffectDirectDependenciesAndD/with-noEmitOnError-with-incremental.js @@ -174,6 +174,8 @@ Input:: //// [/user/username/projects/noEmitOnError/src/main.ts] file written with same contents Output:: +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/noemitonerror 1 change:: src/main.ts + >> Screen clear [12:00:43 AM] File change detected. Starting incremental compilation... @@ -233,11 +235,33 @@ const a = { Output:: +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/noemitonerror 1 change:: src/main.ts + >> Screen clear [12:00:48 AM] File change detected. Starting incremental compilation... +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/noemitonerror 1 rename:: dev-build/shared +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/noemitonerror 1 change:: dev-build +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/noemitonerror 1 rename:: dev-build/shared/types +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/noemitonerror 1 change:: dev-build/shared +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/noemitonerror 1 rename:: dev-build/shared/types/db.js +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/noemitonerror 1 change:: dev-build/shared/types +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/noemitonerror 1 rename:: dev-build/shared/types/db.d.ts +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/noemitonerror 1 change:: dev-build/shared/types +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/noemitonerror 1 rename:: dev-build/src +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/noemitonerror 1 change:: dev-build +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/noemitonerror 1 rename:: dev-build/src/main.js +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/noemitonerror 1 change:: dev-build/src +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/noemitonerror 1 rename:: dev-build/src/main.d.ts +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/noemitonerror 1 change:: dev-build/src +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/noemitonerror 1 rename:: dev-build/src/other.js +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/noemitonerror 1 change:: dev-build/src +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/noemitonerror 1 rename:: dev-build/src/other.d.ts +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/noemitonerror 1 change:: dev-build/src +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/noemitonerror 1 change:: dev-build/tsconfig.tsbuildinfo [12:01:12 AM] Found 0 errors. Watching for file changes. +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/noemitonerror 1 change:: dev-build/tsconfig.tsbuildinfo.readable.baseline.txt Program root files: ["/user/username/projects/noEmitOnError/shared/types/db.ts","/user/username/projects/noEmitOnError/src/main.ts","/user/username/projects/noEmitOnError/src/other.ts"] @@ -379,9 +403,12 @@ const a: string = 10; Output:: +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/noemitonerror 1 change:: src/main.ts + >> Screen clear [12:01:19 AM] File change detected. Starting incremental compilation... +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/noemitonerror 1 change:: dev-build/tsconfig.tsbuildinfo src/main.ts:2:7 - error TS2322: Type 'number' is not assignable to type 'string'. 2 const a: string = 10; @@ -389,6 +416,7 @@ Output:: [12:01:23 AM] Found 1 error. Watching for file changes. +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/noemitonerror 1 change:: dev-build/tsconfig.tsbuildinfo.readable.baseline.txt Program root files: ["/user/username/projects/noEmitOnError/shared/types/db.ts","/user/username/projects/noEmitOnError/src/main.ts","/user/username/projects/noEmitOnError/src/other.ts"] @@ -512,6 +540,8 @@ Input:: //// [/user/username/projects/noEmitOnError/src/main.ts] file written with same contents Output:: +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/noemitonerror 1 change:: src/main.ts + >> Screen clear [12:01:31 AM] File change detected. Starting incremental compilation... @@ -569,11 +599,17 @@ const a: string = "hello"; Output:: +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/noemitonerror 1 change:: src/main.ts + >> Screen clear [12:01:36 AM] File change detected. Starting incremental compilation... +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/noemitonerror 1 change:: dev-build/src/main.js +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/noemitonerror 1 change:: dev-build/src/main.d.ts +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/noemitonerror 1 change:: dev-build/tsconfig.tsbuildinfo [12:01:46 AM] Found 0 errors. Watching for file changes. +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/noemitonerror 1 change:: dev-build/tsconfig.tsbuildinfo.readable.baseline.txt Program root files: ["/user/username/projects/noEmitOnError/shared/types/db.ts","/user/username/projects/noEmitOnError/src/main.ts","/user/username/projects/noEmitOnError/src/other.ts"] @@ -686,6 +722,8 @@ Input:: //// [/user/username/projects/noEmitOnError/src/main.ts] file written with same contents Output:: +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/noemitonerror 1 change:: src/main.ts + >> Screen clear [12:01:53 AM] File change detected. Starting incremental compilation... diff --git a/tests/baselines/reference/tscWatch/emitAndErrorUpdates/assumeChangesOnlyAffectDirectDependenciesAndD/with-noEmitOnError.js b/tests/baselines/reference/tscWatch/emitAndErrorUpdates/assumeChangesOnlyAffectDirectDependenciesAndD/with-noEmitOnError.js index a660578a35d..acd31dd9f41 100644 --- a/tests/baselines/reference/tscWatch/emitAndErrorUpdates/assumeChangesOnlyAffectDirectDependenciesAndD/with-noEmitOnError.js +++ b/tests/baselines/reference/tscWatch/emitAndErrorUpdates/assumeChangesOnlyAffectDirectDependenciesAndD/with-noEmitOnError.js @@ -97,6 +97,8 @@ Input:: //// [/user/username/projects/noEmitOnError/src/main.ts] file written with same contents Output:: +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/noemitonerror 1 change:: src/main.ts + >> Screen clear [12:00:36 AM] File change detected. Starting incremental compilation... @@ -156,9 +158,31 @@ const a = { Output:: +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/noemitonerror 1 change:: src/main.ts + >> Screen clear [12:00:41 AM] File change detected. Starting incremental compilation... +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/noemitonerror 1 rename:: dev-build +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/noemitonerror 1 change:: +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/noemitonerror 1 rename:: dev-build/shared +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/noemitonerror 1 change:: dev-build +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/noemitonerror 1 rename:: dev-build/shared/types +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/noemitonerror 1 change:: dev-build/shared +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/noemitonerror 1 rename:: dev-build/shared/types/db.js +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/noemitonerror 1 change:: dev-build/shared/types +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/noemitonerror 1 rename:: dev-build/shared/types/db.d.ts +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/noemitonerror 1 change:: dev-build/shared/types +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/noemitonerror 1 rename:: dev-build/src +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/noemitonerror 1 change:: dev-build +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/noemitonerror 1 rename:: dev-build/src/main.js +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/noemitonerror 1 change:: dev-build/src +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/noemitonerror 1 rename:: dev-build/src/main.d.ts +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/noemitonerror 1 change:: dev-build/src +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/noemitonerror 1 rename:: dev-build/src/other.js +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/noemitonerror 1 change:: dev-build/src +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/noemitonerror 1 rename:: dev-build/src/other.d.ts +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/noemitonerror 1 change:: dev-build/src [12:01:04 AM] Found 0 errors. Watching for file changes. @@ -243,6 +267,8 @@ const a: string = 10; Output:: +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/noemitonerror 1 change:: src/main.ts + >> Screen clear [12:01:08 AM] File change detected. Starting incremental compilation... @@ -299,6 +325,8 @@ Input:: //// [/user/username/projects/noEmitOnError/src/main.ts] file written with same contents Output:: +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/noemitonerror 1 change:: src/main.ts + >> Screen clear [12:01:14 AM] File change detected. Starting incremental compilation... @@ -356,9 +384,13 @@ const a: string = "hello"; Output:: +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/noemitonerror 1 change:: src/main.ts + >> Screen clear [12:01:19 AM] File change detected. Starting incremental compilation... +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/noemitonerror 1 change:: dev-build/src/main.js +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/noemitonerror 1 change:: dev-build/src/main.d.ts [12:01:26 AM] Found 0 errors. Watching for file changes. @@ -414,6 +446,8 @@ Input:: //// [/user/username/projects/noEmitOnError/src/main.ts] file written with same contents Output:: +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/noemitonerror 1 change:: src/main.ts + >> Screen clear [12:01:30 AM] File change detected. Starting incremental compilation... diff --git a/tests/baselines/reference/tscWatch/emitAndErrorUpdates/default/deepImportChanges/errors-for-.d.ts-change.js b/tests/baselines/reference/tscWatch/emitAndErrorUpdates/default/deepImportChanges/errors-for-.d.ts-change.js index 631343058a2..a823ee84d13 100644 --- a/tests/baselines/reference/tscWatch/emitAndErrorUpdates/default/deepImportChanges/errors-for-.d.ts-change.js +++ b/tests/baselines/reference/tscWatch/emitAndErrorUpdates/default/deepImportChanges/errors-for-.d.ts-change.js @@ -40,6 +40,8 @@ Output:: >> Screen clear [12:00:25 AM] Starting compilation in watch mode... +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject 1 rename:: a.js +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject 1 change:: [12:00:28 AM] Found 0 errors. Watching for file changes. @@ -109,6 +111,9 @@ export class C Output:: +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject 1 change:: c.d.ts +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject 1 change:: c.d.ts + >> Screen clear [12:00:32 AM] File change detected. Starting incremental compilation... @@ -176,6 +181,9 @@ export class C Output:: +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject 1 change:: c.d.ts +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject 1 change:: c.d.ts + >> Screen clear [12:00:37 AM] File change detected. Starting incremental compilation... @@ -238,6 +246,9 @@ export class C Output:: +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject 1 change:: c.d.ts +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject 1 change:: c.d.ts + >> Screen clear [12:00:42 AM] File change detected. Starting incremental compilation... diff --git a/tests/baselines/reference/tscWatch/emitAndErrorUpdates/default/deepImportChanges/errors-for-.ts-change.js b/tests/baselines/reference/tscWatch/emitAndErrorUpdates/default/deepImportChanges/errors-for-.ts-change.js index ef905fec9f7..80b3e7ab6f5 100644 --- a/tests/baselines/reference/tscWatch/emitAndErrorUpdates/default/deepImportChanges/errors-for-.ts-change.js +++ b/tests/baselines/reference/tscWatch/emitAndErrorUpdates/default/deepImportChanges/errors-for-.ts-change.js @@ -134,9 +134,14 @@ export class C Output:: +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject 1 change:: c.ts + >> Screen clear [12:00:36 AM] File change detected. Starting incremental compilation... +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject 1 change:: c.js +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject 1 change:: b.js +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject 1 change:: a.js a.ts:4:17 - error TS2339: Property 'd' does not exist on type 'C'. 4 console.log(b.c.d); @@ -214,9 +219,13 @@ export class C Output:: +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject 1 change:: c.ts + >> Screen clear [12:00:50 AM] File change detected. Starting incremental compilation... +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject 1 change:: c.js +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject 1 change:: b.js [12:00:57 AM] Found 0 errors. Watching for file changes. @@ -288,9 +297,13 @@ export class C Output:: +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject 1 change:: c.ts + >> Screen clear [12:01:01 AM] File change detected. Starting incremental compilation... +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject 1 change:: c.js +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject 1 change:: b.js a.ts:4:17 - error TS2339: Property 'd' does not exist on type 'C'. 4 console.log(b.c.d); diff --git a/tests/baselines/reference/tscWatch/emitAndErrorUpdates/default/file-not-exporting-a-deep-multilevel-import-that-changes.js b/tests/baselines/reference/tscWatch/emitAndErrorUpdates/default/file-not-exporting-a-deep-multilevel-import-that-changes.js index ab0c14cc99b..7908db05382 100644 --- a/tests/baselines/reference/tscWatch/emitAndErrorUpdates/default/file-not-exporting-a-deep-multilevel-import-that-changes.js +++ b/tests/baselines/reference/tscWatch/emitAndErrorUpdates/default/file-not-exporting-a-deep-multilevel-import-that-changes.js @@ -184,9 +184,16 @@ export interface Coords { Output:: +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject 1 change:: a.ts + >> Screen clear [12:00:44 AM] File change detected. Starting incremental compilation... +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject 1 change:: a.js +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject 1 change:: b.js +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject 1 change:: c.js +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject 1 change:: d.js +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject 1 change:: e.js [12:01:00 AM] Found 0 errors. Watching for file changes. @@ -263,9 +270,13 @@ export interface Coords { Output:: +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject 1 change:: a.ts + >> Screen clear [12:01:04 AM] File change detected. Starting incremental compilation... +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject 1 change:: a.js +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject 1 change:: b.js c.ts:6:13 - error TS2322: Type '{ x: number; y: number; }' is not assignable to type 'Coords'. Object literal may only specify known properties, and 'x' does not exist in type 'Coords'. @@ -353,9 +364,13 @@ export interface Coords { Output:: +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject 1 change:: a.ts + >> Screen clear [12:01:15 AM] File change detected. Starting incremental compilation... +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject 1 change:: a.js +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject 1 change:: b.js [12:01:22 AM] Found 0 errors. Watching for file changes. diff --git a/tests/baselines/reference/tscWatch/emitAndErrorUpdates/default/with-noEmitOnError-with-incremental.js b/tests/baselines/reference/tscWatch/emitAndErrorUpdates/default/with-noEmitOnError-with-incremental.js index 388c3ea98bd..b0a79435ec6 100644 --- a/tests/baselines/reference/tscWatch/emitAndErrorUpdates/default/with-noEmitOnError-with-incremental.js +++ b/tests/baselines/reference/tscWatch/emitAndErrorUpdates/default/with-noEmitOnError-with-incremental.js @@ -178,6 +178,8 @@ Input:: //// [/user/username/projects/noEmitOnError/src/main.ts] file written with same contents Output:: +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/noemitonerror 1 change:: src/main.ts + >> Screen clear [12:00:43 AM] File change detected. Starting incremental compilation... @@ -237,11 +239,27 @@ const a = { Output:: +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/noemitonerror 1 change:: src/main.ts + >> Screen clear [12:00:48 AM] File change detected. Starting incremental compilation... +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/noemitonerror 1 rename:: dev-build/shared +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/noemitonerror 1 change:: dev-build +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/noemitonerror 1 rename:: dev-build/shared/types +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/noemitonerror 1 change:: dev-build/shared +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/noemitonerror 1 rename:: dev-build/shared/types/db.js +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/noemitonerror 1 change:: dev-build/shared/types +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/noemitonerror 1 rename:: dev-build/src +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/noemitonerror 1 change:: dev-build +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/noemitonerror 1 rename:: dev-build/src/main.js +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/noemitonerror 1 change:: dev-build/src +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/noemitonerror 1 rename:: dev-build/src/other.js +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/noemitonerror 1 change:: dev-build/src +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/noemitonerror 1 change:: dev-build/tsconfig.tsbuildinfo [12:01:06 AM] Found 0 errors. Watching for file changes. +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/noemitonerror 1 change:: dev-build/tsconfig.tsbuildinfo.readable.baseline.txt Program root files: ["/user/username/projects/noEmitOnError/shared/types/db.ts","/user/username/projects/noEmitOnError/src/main.ts","/user/username/projects/noEmitOnError/src/other.ts"] @@ -367,9 +385,12 @@ const a: string = 10; Output:: +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/noemitonerror 1 change:: src/main.ts + >> Screen clear [12:01:13 AM] File change detected. Starting incremental compilation... +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/noemitonerror 1 change:: dev-build/tsconfig.tsbuildinfo src/main.ts:2:7 - error TS2322: Type 'number' is not assignable to type 'string'. 2 const a: string = 10; @@ -377,6 +398,7 @@ Output:: [12:01:17 AM] Found 1 error. Watching for file changes. +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/noemitonerror 1 change:: dev-build/tsconfig.tsbuildinfo.readable.baseline.txt Program root files: ["/user/username/projects/noEmitOnError/shared/types/db.ts","/user/username/projects/noEmitOnError/src/main.ts","/user/username/projects/noEmitOnError/src/other.ts"] @@ -498,6 +520,8 @@ Input:: //// [/user/username/projects/noEmitOnError/src/main.ts] file written with same contents Output:: +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/noemitonerror 1 change:: src/main.ts + >> Screen clear [12:01:25 AM] File change detected. Starting incremental compilation... @@ -555,11 +579,16 @@ const a: string = "hello"; Output:: +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/noemitonerror 1 change:: src/main.ts + >> Screen clear [12:01:30 AM] File change detected. Starting incremental compilation... +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/noemitonerror 1 change:: dev-build/src/main.js +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/noemitonerror 1 change:: dev-build/tsconfig.tsbuildinfo [12:01:37 AM] Found 0 errors. Watching for file changes. +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/noemitonerror 1 change:: dev-build/tsconfig.tsbuildinfo.readable.baseline.txt Program root files: ["/user/username/projects/noEmitOnError/shared/types/db.ts","/user/username/projects/noEmitOnError/src/main.ts","/user/username/projects/noEmitOnError/src/other.ts"] @@ -669,6 +698,8 @@ Input:: //// [/user/username/projects/noEmitOnError/src/main.ts] file written with same contents Output:: +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/noemitonerror 1 change:: src/main.ts + >> Screen clear [12:01:44 AM] File change detected. Starting incremental compilation... diff --git a/tests/baselines/reference/tscWatch/emitAndErrorUpdates/default/with-noEmitOnError.js b/tests/baselines/reference/tscWatch/emitAndErrorUpdates/default/with-noEmitOnError.js index 5b49bc9b5c4..f600fe003dd 100644 --- a/tests/baselines/reference/tscWatch/emitAndErrorUpdates/default/with-noEmitOnError.js +++ b/tests/baselines/reference/tscWatch/emitAndErrorUpdates/default/with-noEmitOnError.js @@ -103,6 +103,8 @@ Input:: //// [/user/username/projects/noEmitOnError/src/main.ts] file written with same contents Output:: +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/noemitonerror 1 change:: src/main.ts + >> Screen clear [12:00:36 AM] File change detected. Starting incremental compilation... @@ -162,9 +164,25 @@ const a = { Output:: +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/noemitonerror 1 change:: src/main.ts + >> Screen clear [12:00:41 AM] File change detected. Starting incremental compilation... +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/noemitonerror 1 rename:: dev-build +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/noemitonerror 1 change:: +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/noemitonerror 1 rename:: dev-build/shared +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/noemitonerror 1 change:: dev-build +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/noemitonerror 1 rename:: dev-build/shared/types +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/noemitonerror 1 change:: dev-build/shared +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/noemitonerror 1 rename:: dev-build/shared/types/db.js +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/noemitonerror 1 change:: dev-build/shared/types +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/noemitonerror 1 rename:: dev-build/src +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/noemitonerror 1 change:: dev-build +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/noemitonerror 1 rename:: dev-build/src/main.js +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/noemitonerror 1 change:: dev-build/src +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/noemitonerror 1 rename:: dev-build/src/other.js +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/noemitonerror 1 change:: dev-build/src [12:00:58 AM] Found 0 errors. Watching for file changes. @@ -235,6 +253,8 @@ const a: string = 10; Output:: +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/noemitonerror 1 change:: src/main.ts + >> Screen clear [12:01:02 AM] File change detected. Starting incremental compilation... @@ -291,6 +311,8 @@ Input:: //// [/user/username/projects/noEmitOnError/src/main.ts] file written with same contents Output:: +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/noemitonerror 1 change:: src/main.ts + >> Screen clear [12:01:08 AM] File change detected. Starting incremental compilation... @@ -348,9 +370,12 @@ const a: string = "hello"; Output:: +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/noemitonerror 1 change:: src/main.ts + >> Screen clear [12:01:13 AM] File change detected. Starting incremental compilation... +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/noemitonerror 1 change:: dev-build/src/main.js [12:01:17 AM] Found 0 errors. Watching for file changes. @@ -405,6 +430,8 @@ Input:: //// [/user/username/projects/noEmitOnError/src/main.ts] file written with same contents Output:: +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/noemitonerror 1 change:: src/main.ts + >> Screen clear [12:01:21 AM] File change detected. Starting incremental compilation... diff --git a/tests/baselines/reference/tscWatch/emitAndErrorUpdates/defaultAndD/deepImportChanges/errors-for-.d.ts-change.js b/tests/baselines/reference/tscWatch/emitAndErrorUpdates/defaultAndD/deepImportChanges/errors-for-.d.ts-change.js index 699571df193..1c951a2e928 100644 --- a/tests/baselines/reference/tscWatch/emitAndErrorUpdates/defaultAndD/deepImportChanges/errors-for-.d.ts-change.js +++ b/tests/baselines/reference/tscWatch/emitAndErrorUpdates/defaultAndD/deepImportChanges/errors-for-.d.ts-change.js @@ -40,6 +40,10 @@ Output:: >> Screen clear [12:00:25 AM] Starting compilation in watch mode... +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject 1 rename:: a.js +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject 1 change:: +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject 1 rename:: a.d.ts +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject 1 change:: [12:00:30 AM] Found 0 errors. Watching for file changes. @@ -113,9 +117,14 @@ export class C Output:: +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject 1 change:: c.d.ts +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject 1 change:: c.d.ts + >> Screen clear [12:00:34 AM] File change detected. Starting incremental compilation... +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject 1 change:: a.d.ts +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject 1 change:: a.d.ts a.ts:4:17 - error TS2339: Property 'd' does not exist on type 'C'. 4 console.log(b.c.d); @@ -181,9 +190,14 @@ export class C Output:: +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject 1 change:: c.d.ts +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject 1 change:: c.d.ts + >> Screen clear [12:00:42 AM] File change detected. Starting incremental compilation... +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject 1 change:: a.d.ts +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject 1 change:: a.d.ts [12:00:46 AM] Found 0 errors. Watching for file changes. @@ -244,9 +258,14 @@ export class C Output:: +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject 1 change:: c.d.ts +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject 1 change:: c.d.ts + >> Screen clear [12:00:50 AM] File change detected. Starting incremental compilation... +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject 1 change:: a.d.ts +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject 1 change:: a.d.ts a.ts:4:17 - error TS2339: Property 'd' does not exist on type 'C'. 4 console.log(b.c.d); diff --git a/tests/baselines/reference/tscWatch/emitAndErrorUpdates/defaultAndD/deepImportChanges/errors-for-.ts-change.js b/tests/baselines/reference/tscWatch/emitAndErrorUpdates/defaultAndD/deepImportChanges/errors-for-.ts-change.js index 1c4a21d2285..4193ca00dce 100644 --- a/tests/baselines/reference/tscWatch/emitAndErrorUpdates/defaultAndD/deepImportChanges/errors-for-.ts-change.js +++ b/tests/baselines/reference/tscWatch/emitAndErrorUpdates/defaultAndD/deepImportChanges/errors-for-.ts-change.js @@ -151,9 +151,16 @@ export class C Output:: +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject 1 change:: c.ts + >> Screen clear [12:00:42 AM] File change detected. Starting incremental compilation... +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject 1 change:: a.d.ts +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject 1 change:: c.js +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject 1 change:: c.d.ts +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject 1 change:: b.js +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject 1 change:: b.d.ts a.ts:4:17 - error TS2339: Property 'd' does not exist on type 'C'. 4 console.log(b.c.d); @@ -238,9 +245,16 @@ export class C Output:: +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject 1 change:: c.ts + >> Screen clear [12:01:02 AM] File change detected. Starting incremental compilation... +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject 1 change:: a.d.ts +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject 1 change:: c.js +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject 1 change:: c.d.ts +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject 1 change:: b.js +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject 1 change:: b.d.ts [12:01:18 AM] Found 0 errors. Watching for file changes. @@ -320,9 +334,16 @@ export class C Output:: +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject 1 change:: c.ts + >> Screen clear [12:01:22 AM] File change detected. Starting incremental compilation... +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject 1 change:: a.d.ts +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject 1 change:: c.js +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject 1 change:: c.d.ts +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject 1 change:: b.js +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject 1 change:: b.d.ts a.ts:4:17 - error TS2339: Property 'd' does not exist on type 'C'. 4 console.log(b.c.d); diff --git a/tests/baselines/reference/tscWatch/emitAndErrorUpdates/defaultAndD/file-not-exporting-a-deep-multilevel-import-that-changes.js b/tests/baselines/reference/tscWatch/emitAndErrorUpdates/defaultAndD/file-not-exporting-a-deep-multilevel-import-that-changes.js index c21f835e5b5..076f55957da 100644 --- a/tests/baselines/reference/tscWatch/emitAndErrorUpdates/defaultAndD/file-not-exporting-a-deep-multilevel-import-that-changes.js +++ b/tests/baselines/reference/tscWatch/emitAndErrorUpdates/defaultAndD/file-not-exporting-a-deep-multilevel-import-that-changes.js @@ -214,9 +214,17 @@ export interface Coords { Output:: +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject 1 change:: a.ts + >> Screen clear [12:00:54 AM] File change detected. Starting incremental compilation... +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject 1 change:: c.d.ts +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject 1 change:: d.d.ts +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject 1 change:: a.js +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject 1 change:: a.d.ts +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject 1 change:: b.js +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject 1 change:: b.d.ts [12:01:13 AM] Found 0 errors. Watching for file changes. @@ -302,9 +310,17 @@ export interface Coords { Output:: +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject 1 change:: a.ts + >> Screen clear [12:01:17 AM] File change detected. Starting incremental compilation... +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject 1 change:: c.d.ts +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject 1 change:: d.d.ts +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject 1 change:: a.js +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject 1 change:: a.d.ts +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject 1 change:: b.js +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject 1 change:: b.d.ts c.ts:6:13 - error TS2322: Type '{ x: number; y: number; }' is not assignable to type 'Coords'. Object literal may only specify known properties, and 'x' does not exist in type 'Coords'. @@ -406,9 +422,17 @@ export interface Coords { Output:: +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject 1 change:: a.ts + >> Screen clear [12:01:40 AM] File change detected. Starting incremental compilation... +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject 1 change:: c.d.ts +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject 1 change:: d.d.ts +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject 1 change:: a.js +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject 1 change:: a.d.ts +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject 1 change:: b.js +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject 1 change:: b.d.ts [12:01:59 AM] Found 0 errors. Watching for file changes. diff --git a/tests/baselines/reference/tscWatch/emitAndErrorUpdates/defaultAndD/with-noEmitOnError-with-incremental.js b/tests/baselines/reference/tscWatch/emitAndErrorUpdates/defaultAndD/with-noEmitOnError-with-incremental.js index 03fa4e8f549..a9e15a098da 100644 --- a/tests/baselines/reference/tscWatch/emitAndErrorUpdates/defaultAndD/with-noEmitOnError-with-incremental.js +++ b/tests/baselines/reference/tscWatch/emitAndErrorUpdates/defaultAndD/with-noEmitOnError-with-incremental.js @@ -173,6 +173,8 @@ Input:: //// [/user/username/projects/noEmitOnError/src/main.ts] file written with same contents Output:: +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/noemitonerror 1 change:: src/main.ts + >> Screen clear [12:00:43 AM] File change detected. Starting incremental compilation... @@ -232,11 +234,33 @@ const a = { Output:: +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/noemitonerror 1 change:: src/main.ts + >> Screen clear [12:00:48 AM] File change detected. Starting incremental compilation... +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/noemitonerror 1 rename:: dev-build/shared +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/noemitonerror 1 change:: dev-build +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/noemitonerror 1 rename:: dev-build/shared/types +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/noemitonerror 1 change:: dev-build/shared +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/noemitonerror 1 rename:: dev-build/shared/types/db.js +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/noemitonerror 1 change:: dev-build/shared/types +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/noemitonerror 1 rename:: dev-build/shared/types/db.d.ts +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/noemitonerror 1 change:: dev-build/shared/types +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/noemitonerror 1 rename:: dev-build/src +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/noemitonerror 1 change:: dev-build +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/noemitonerror 1 rename:: dev-build/src/main.js +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/noemitonerror 1 change:: dev-build/src +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/noemitonerror 1 rename:: dev-build/src/main.d.ts +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/noemitonerror 1 change:: dev-build/src +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/noemitonerror 1 rename:: dev-build/src/other.js +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/noemitonerror 1 change:: dev-build/src +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/noemitonerror 1 rename:: dev-build/src/other.d.ts +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/noemitonerror 1 change:: dev-build/src +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/noemitonerror 1 change:: dev-build/tsconfig.tsbuildinfo [12:01:12 AM] Found 0 errors. Watching for file changes. +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/noemitonerror 1 change:: dev-build/tsconfig.tsbuildinfo.readable.baseline.txt Program root files: ["/user/username/projects/noEmitOnError/shared/types/db.ts","/user/username/projects/noEmitOnError/src/main.ts","/user/username/projects/noEmitOnError/src/other.ts"] @@ -377,9 +401,12 @@ const a: string = 10; Output:: +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/noemitonerror 1 change:: src/main.ts + >> Screen clear [12:01:19 AM] File change detected. Starting incremental compilation... +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/noemitonerror 1 change:: dev-build/tsconfig.tsbuildinfo src/main.ts:2:7 - error TS2322: Type 'number' is not assignable to type 'string'. 2 const a: string = 10; @@ -387,6 +414,7 @@ Output:: [12:01:23 AM] Found 1 error. Watching for file changes. +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/noemitonerror 1 change:: dev-build/tsconfig.tsbuildinfo.readable.baseline.txt Program root files: ["/user/username/projects/noEmitOnError/shared/types/db.ts","/user/username/projects/noEmitOnError/src/main.ts","/user/username/projects/noEmitOnError/src/other.ts"] @@ -509,6 +537,8 @@ Input:: //// [/user/username/projects/noEmitOnError/src/main.ts] file written with same contents Output:: +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/noemitonerror 1 change:: src/main.ts + >> Screen clear [12:01:31 AM] File change detected. Starting incremental compilation... @@ -566,11 +596,17 @@ const a: string = "hello"; Output:: +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/noemitonerror 1 change:: src/main.ts + >> Screen clear [12:01:36 AM] File change detected. Starting incremental compilation... +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/noemitonerror 1 change:: dev-build/src/main.js +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/noemitonerror 1 change:: dev-build/src/main.d.ts +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/noemitonerror 1 change:: dev-build/tsconfig.tsbuildinfo [12:01:46 AM] Found 0 errors. Watching for file changes. +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/noemitonerror 1 change:: dev-build/tsconfig.tsbuildinfo.readable.baseline.txt Program root files: ["/user/username/projects/noEmitOnError/shared/types/db.ts","/user/username/projects/noEmitOnError/src/main.ts","/user/username/projects/noEmitOnError/src/other.ts"] @@ -682,6 +718,8 @@ Input:: //// [/user/username/projects/noEmitOnError/src/main.ts] file written with same contents Output:: +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/noemitonerror 1 change:: src/main.ts + >> Screen clear [12:01:53 AM] File change detected. Starting incremental compilation... diff --git a/tests/baselines/reference/tscWatch/emitAndErrorUpdates/defaultAndD/with-noEmitOnError.js b/tests/baselines/reference/tscWatch/emitAndErrorUpdates/defaultAndD/with-noEmitOnError.js index b3308300226..502b157b6c5 100644 --- a/tests/baselines/reference/tscWatch/emitAndErrorUpdates/defaultAndD/with-noEmitOnError.js +++ b/tests/baselines/reference/tscWatch/emitAndErrorUpdates/defaultAndD/with-noEmitOnError.js @@ -97,6 +97,8 @@ Input:: //// [/user/username/projects/noEmitOnError/src/main.ts] file written with same contents Output:: +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/noemitonerror 1 change:: src/main.ts + >> Screen clear [12:00:36 AM] File change detected. Starting incremental compilation... @@ -156,9 +158,31 @@ const a = { Output:: +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/noemitonerror 1 change:: src/main.ts + >> Screen clear [12:00:41 AM] File change detected. Starting incremental compilation... +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/noemitonerror 1 rename:: dev-build +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/noemitonerror 1 change:: +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/noemitonerror 1 rename:: dev-build/shared +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/noemitonerror 1 change:: dev-build +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/noemitonerror 1 rename:: dev-build/shared/types +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/noemitonerror 1 change:: dev-build/shared +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/noemitonerror 1 rename:: dev-build/shared/types/db.js +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/noemitonerror 1 change:: dev-build/shared/types +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/noemitonerror 1 rename:: dev-build/shared/types/db.d.ts +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/noemitonerror 1 change:: dev-build/shared/types +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/noemitonerror 1 rename:: dev-build/src +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/noemitonerror 1 change:: dev-build +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/noemitonerror 1 rename:: dev-build/src/main.js +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/noemitonerror 1 change:: dev-build/src +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/noemitonerror 1 rename:: dev-build/src/main.d.ts +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/noemitonerror 1 change:: dev-build/src +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/noemitonerror 1 rename:: dev-build/src/other.js +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/noemitonerror 1 change:: dev-build/src +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/noemitonerror 1 rename:: dev-build/src/other.d.ts +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/noemitonerror 1 change:: dev-build/src [12:01:04 AM] Found 0 errors. Watching for file changes. @@ -243,6 +267,8 @@ const a: string = 10; Output:: +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/noemitonerror 1 change:: src/main.ts + >> Screen clear [12:01:08 AM] File change detected. Starting incremental compilation... @@ -299,6 +325,8 @@ Input:: //// [/user/username/projects/noEmitOnError/src/main.ts] file written with same contents Output:: +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/noemitonerror 1 change:: src/main.ts + >> Screen clear [12:01:14 AM] File change detected. Starting incremental compilation... @@ -356,9 +384,13 @@ const a: string = "hello"; Output:: +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/noemitonerror 1 change:: src/main.ts + >> Screen clear [12:01:19 AM] File change detected. Starting incremental compilation... +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/noemitonerror 1 change:: dev-build/src/main.js +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/noemitonerror 1 change:: dev-build/src/main.d.ts [12:01:26 AM] Found 0 errors. Watching for file changes. @@ -414,6 +446,8 @@ Input:: //// [/user/username/projects/noEmitOnError/src/main.ts] file written with same contents Output:: +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/noemitonerror 1 change:: src/main.ts + >> Screen clear [12:01:30 AM] File change detected. Starting incremental compilation... diff --git a/tests/baselines/reference/tscWatch/emitAndErrorUpdates/incremental/assumeChangesOnlyAffectDirectDependencies/deepImportChanges/errors-for-.d.ts-change.js b/tests/baselines/reference/tscWatch/emitAndErrorUpdates/incremental/assumeChangesOnlyAffectDirectDependencies/deepImportChanges/errors-for-.d.ts-change.js index 66f60506f1f..d5a6c8568da 100644 --- a/tests/baselines/reference/tscWatch/emitAndErrorUpdates/incremental/assumeChangesOnlyAffectDirectDependencies/deepImportChanges/errors-for-.d.ts-change.js +++ b/tests/baselines/reference/tscWatch/emitAndErrorUpdates/incremental/assumeChangesOnlyAffectDirectDependencies/deepImportChanges/errors-for-.d.ts-change.js @@ -40,8 +40,14 @@ Output:: >> Screen clear [12:00:25 AM] Starting compilation in watch mode... +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject 1 rename:: a.js +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject 1 change:: +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject 1 rename:: tsconfig.tsbuildinfo +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject 1 change:: [12:00:30 AM] Found 0 errors. Watching for file changes. +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject 1 rename:: tsconfig.tsbuildinfo.readable.baseline.txt +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject 1 change:: Program root files: ["/user/username/projects/myproject/a.ts","/user/username/projects/myproject/b.d.ts","/user/username/projects/myproject/c.d.ts"] @@ -178,11 +184,18 @@ export class C Output:: +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject 1 change:: c.d.ts +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject 1 change:: c.d.ts + >> Screen clear [12:00:36 AM] File change detected. Starting incremental compilation... +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject 1 change:: tsconfig.tsbuildinfo +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject 1 change:: tsconfig.tsbuildinfo [12:00:40 AM] Found 0 errors. Watching for file changes. +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject 1 change:: tsconfig.tsbuildinfo.readable.baseline.txt +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject 1 change:: tsconfig.tsbuildinfo.readable.baseline.txt Program root files: ["/user/username/projects/myproject/a.ts","/user/username/projects/myproject/b.d.ts","/user/username/projects/myproject/c.d.ts"] @@ -307,11 +320,18 @@ export class C Output:: +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject 1 change:: c.d.ts +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject 1 change:: c.d.ts + >> Screen clear [12:00:47 AM] File change detected. Starting incremental compilation... +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject 1 change:: tsconfig.tsbuildinfo +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject 1 change:: tsconfig.tsbuildinfo [12:00:51 AM] Found 0 errors. Watching for file changes. +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject 1 change:: tsconfig.tsbuildinfo.readable.baseline.txt +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject 1 change:: tsconfig.tsbuildinfo.readable.baseline.txt Program root files: ["/user/username/projects/myproject/a.ts","/user/username/projects/myproject/b.d.ts","/user/username/projects/myproject/c.d.ts"] @@ -436,11 +456,18 @@ export class C Output:: +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject 1 change:: c.d.ts +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject 1 change:: c.d.ts + >> Screen clear [12:00:58 AM] File change detected. Starting incremental compilation... +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject 1 change:: tsconfig.tsbuildinfo +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject 1 change:: tsconfig.tsbuildinfo [12:01:02 AM] Found 0 errors. Watching for file changes. +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject 1 change:: tsconfig.tsbuildinfo.readable.baseline.txt +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject 1 change:: tsconfig.tsbuildinfo.readable.baseline.txt Program root files: ["/user/username/projects/myproject/a.ts","/user/username/projects/myproject/b.d.ts","/user/username/projects/myproject/c.d.ts"] diff --git a/tests/baselines/reference/tscWatch/emitAndErrorUpdates/incremental/assumeChangesOnlyAffectDirectDependencies/deepImportChanges/errors-for-.ts-change.js b/tests/baselines/reference/tscWatch/emitAndErrorUpdates/incremental/assumeChangesOnlyAffectDirectDependencies/deepImportChanges/errors-for-.ts-change.js index 1dd6ac58db8..a3606cfd1fe 100644 --- a/tests/baselines/reference/tscWatch/emitAndErrorUpdates/incremental/assumeChangesOnlyAffectDirectDependencies/deepImportChanges/errors-for-.ts-change.js +++ b/tests/baselines/reference/tscWatch/emitAndErrorUpdates/incremental/assumeChangesOnlyAffectDirectDependencies/deepImportChanges/errors-for-.ts-change.js @@ -203,9 +203,15 @@ export class C Output:: +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject 1 change:: c.ts + >> Screen clear [12:00:40 AM] File change detected. Starting incremental compilation... +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject 1 change:: c.js +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject 1 change:: b.js +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject 1 change:: a.js +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject 1 change:: tsconfig.tsbuildinfo a.ts:4:17 - error TS2339: Property 'd' does not exist on type 'C'. 4 console.log(b.c.d); @@ -213,6 +219,7 @@ Output:: [12:00:53 AM] Found 1 error. Watching for file changes. +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject 1 change:: tsconfig.tsbuildinfo.readable.baseline.txt Program root files: ["/user/username/projects/myproject/a.ts","/user/username/projects/myproject/b.ts","/user/username/projects/myproject/c.ts"] @@ -361,9 +368,14 @@ export class C Output:: +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject 1 change:: c.ts + >> Screen clear [12:01:00 AM] File change detected. Starting incremental compilation... +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject 1 change:: c.js +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject 1 change:: b.js +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject 1 change:: tsconfig.tsbuildinfo a.ts:4:17 - error TS2339: Property 'd' does not exist on type 'C'. 4 console.log(b.c.d); @@ -371,6 +383,7 @@ Output:: [12:01:10 AM] Found 1 error. Watching for file changes. +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject 1 change:: tsconfig.tsbuildinfo.readable.baseline.txt Program root files: ["/user/username/projects/myproject/a.ts","/user/username/projects/myproject/b.ts","/user/username/projects/myproject/c.ts"] @@ -516,9 +529,14 @@ export class C Output:: +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject 1 change:: c.ts + >> Screen clear [12:01:17 AM] File change detected. Starting incremental compilation... +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject 1 change:: c.js +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject 1 change:: b.js +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject 1 change:: tsconfig.tsbuildinfo a.ts:4:17 - error TS2339: Property 'd' does not exist on type 'C'. 4 console.log(b.c.d); @@ -526,6 +544,7 @@ Output:: [12:01:27 AM] Found 1 error. Watching for file changes. +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject 1 change:: tsconfig.tsbuildinfo.readable.baseline.txt Program root files: ["/user/username/projects/myproject/a.ts","/user/username/projects/myproject/b.ts","/user/username/projects/myproject/c.ts"] diff --git a/tests/baselines/reference/tscWatch/emitAndErrorUpdates/incremental/assumeChangesOnlyAffectDirectDependencies/file-not-exporting-a-deep-multilevel-import-that-changes.js b/tests/baselines/reference/tscWatch/emitAndErrorUpdates/incremental/assumeChangesOnlyAffectDirectDependencies/file-not-exporting-a-deep-multilevel-import-that-changes.js index 1bcca5eaac7..9c299deb465 100644 --- a/tests/baselines/reference/tscWatch/emitAndErrorUpdates/incremental/assumeChangesOnlyAffectDirectDependencies/file-not-exporting-a-deep-multilevel-import-that-changes.js +++ b/tests/baselines/reference/tscWatch/emitAndErrorUpdates/incremental/assumeChangesOnlyAffectDirectDependencies/file-not-exporting-a-deep-multilevel-import-that-changes.js @@ -328,11 +328,20 @@ export interface Coords { Output:: +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject 1 change:: a.ts + >> Screen clear [12:00:48 AM] File change detected. Starting incremental compilation... +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject 1 change:: a.js +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject 1 change:: b.js +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject 1 change:: c.js +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject 1 change:: d.js +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject 1 change:: e.js +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject 1 change:: tsconfig.tsbuildinfo [12:01:07 AM] Found 0 errors. Watching for file changes. +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject 1 change:: tsconfig.tsbuildinfo.readable.baseline.txt Program root files: ["/user/username/projects/myproject/a.ts","/user/username/projects/myproject/b.ts","/user/username/projects/myproject/c.ts","/user/username/projects/myproject/d.ts","/user/username/projects/myproject/e.ts"] @@ -503,11 +512,17 @@ export interface Coords { Output:: +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject 1 change:: a.ts + >> Screen clear [12:01:14 AM] File change detected. Starting incremental compilation... +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject 1 change:: a.js +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject 1 change:: b.js +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject 1 change:: tsconfig.tsbuildinfo [12:01:24 AM] Found 0 errors. Watching for file changes. +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject 1 change:: tsconfig.tsbuildinfo.readable.baseline.txt Program root files: ["/user/username/projects/myproject/a.ts","/user/username/projects/myproject/b.ts","/user/username/projects/myproject/c.ts","/user/username/projects/myproject/d.ts","/user/username/projects/myproject/e.ts"] @@ -669,11 +684,17 @@ export interface Coords { Output:: +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject 1 change:: a.ts + >> Screen clear [12:01:31 AM] File change detected. Starting incremental compilation... +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject 1 change:: a.js +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject 1 change:: b.js +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject 1 change:: tsconfig.tsbuildinfo [12:01:41 AM] Found 0 errors. Watching for file changes. +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject 1 change:: tsconfig.tsbuildinfo.readable.baseline.txt Program root files: ["/user/username/projects/myproject/a.ts","/user/username/projects/myproject/b.ts","/user/username/projects/myproject/c.ts","/user/username/projects/myproject/d.ts","/user/username/projects/myproject/e.ts"] diff --git a/tests/baselines/reference/tscWatch/emitAndErrorUpdates/incremental/assumeChangesOnlyAffectDirectDependencies/with-noEmitOnError-with-incremental.js b/tests/baselines/reference/tscWatch/emitAndErrorUpdates/incremental/assumeChangesOnlyAffectDirectDependencies/with-noEmitOnError-with-incremental.js index ed442af297e..49931f851f2 100644 --- a/tests/baselines/reference/tscWatch/emitAndErrorUpdates/incremental/assumeChangesOnlyAffectDirectDependencies/with-noEmitOnError-with-incremental.js +++ b/tests/baselines/reference/tscWatch/emitAndErrorUpdates/incremental/assumeChangesOnlyAffectDirectDependencies/with-noEmitOnError-with-incremental.js @@ -173,6 +173,8 @@ Input:: //// [/user/username/projects/noEmitOnError/src/main.ts] file written with same contents Output:: +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/noemitonerror 1 change:: src/main.ts + >> Screen clear [12:00:43 AM] File change detected. Starting incremental compilation... @@ -232,11 +234,27 @@ const a = { Output:: +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/noemitonerror 1 change:: src/main.ts + >> Screen clear [12:00:48 AM] File change detected. Starting incremental compilation... +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/noemitonerror 1 rename:: dev-build/shared +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/noemitonerror 1 change:: dev-build +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/noemitonerror 1 rename:: dev-build/shared/types +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/noemitonerror 1 change:: dev-build/shared +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/noemitonerror 1 rename:: dev-build/shared/types/db.js +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/noemitonerror 1 change:: dev-build/shared/types +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/noemitonerror 1 rename:: dev-build/src +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/noemitonerror 1 change:: dev-build +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/noemitonerror 1 rename:: dev-build/src/main.js +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/noemitonerror 1 change:: dev-build/src +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/noemitonerror 1 rename:: dev-build/src/other.js +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/noemitonerror 1 change:: dev-build/src +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/noemitonerror 1 change:: dev-build/tsconfig.tsbuildinfo [12:01:06 AM] Found 0 errors. Watching for file changes. +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/noemitonerror 1 change:: dev-build/tsconfig.tsbuildinfo.readable.baseline.txt Program root files: ["/user/username/projects/noEmitOnError/shared/types/db.ts","/user/username/projects/noEmitOnError/src/main.ts","/user/username/projects/noEmitOnError/src/other.ts"] @@ -363,9 +381,12 @@ const a: string = 10; Output:: +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/noemitonerror 1 change:: src/main.ts + >> Screen clear [12:01:13 AM] File change detected. Starting incremental compilation... +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/noemitonerror 1 change:: dev-build/tsconfig.tsbuildinfo src/main.ts:2:7 - error TS2322: Type 'number' is not assignable to type 'string'. 2 const a: string = 10; @@ -373,6 +394,7 @@ Output:: [12:01:17 AM] Found 1 error. Watching for file changes. +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/noemitonerror 1 change:: dev-build/tsconfig.tsbuildinfo.readable.baseline.txt Program root files: ["/user/username/projects/noEmitOnError/shared/types/db.ts","/user/username/projects/noEmitOnError/src/main.ts","/user/username/projects/noEmitOnError/src/other.ts"] @@ -495,6 +517,8 @@ Input:: //// [/user/username/projects/noEmitOnError/src/main.ts] file written with same contents Output:: +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/noemitonerror 1 change:: src/main.ts + >> Screen clear [12:01:25 AM] File change detected. Starting incremental compilation... @@ -552,11 +576,16 @@ const a: string = "hello"; Output:: +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/noemitonerror 1 change:: src/main.ts + >> Screen clear [12:01:30 AM] File change detected. Starting incremental compilation... +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/noemitonerror 1 change:: dev-build/src/main.js +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/noemitonerror 1 change:: dev-build/tsconfig.tsbuildinfo [12:01:37 AM] Found 0 errors. Watching for file changes. +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/noemitonerror 1 change:: dev-build/tsconfig.tsbuildinfo.readable.baseline.txt Program root files: ["/user/username/projects/noEmitOnError/shared/types/db.ts","/user/username/projects/noEmitOnError/src/main.ts","/user/username/projects/noEmitOnError/src/other.ts"] @@ -667,6 +696,8 @@ Input:: //// [/user/username/projects/noEmitOnError/src/main.ts] file written with same contents Output:: +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/noemitonerror 1 change:: src/main.ts + >> Screen clear [12:01:44 AM] File change detected. Starting incremental compilation... diff --git a/tests/baselines/reference/tscWatch/emitAndErrorUpdates/incremental/assumeChangesOnlyAffectDirectDependencies/with-noEmitOnError.js b/tests/baselines/reference/tscWatch/emitAndErrorUpdates/incremental/assumeChangesOnlyAffectDirectDependencies/with-noEmitOnError.js index 6d1212b6674..05db41a1729 100644 --- a/tests/baselines/reference/tscWatch/emitAndErrorUpdates/incremental/assumeChangesOnlyAffectDirectDependencies/with-noEmitOnError.js +++ b/tests/baselines/reference/tscWatch/emitAndErrorUpdates/incremental/assumeChangesOnlyAffectDirectDependencies/with-noEmitOnError.js @@ -173,6 +173,8 @@ Input:: //// [/user/username/projects/noEmitOnError/src/main.ts] file written with same contents Output:: +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/noemitonerror 1 change:: src/main.ts + >> Screen clear [12:00:43 AM] File change detected. Starting incremental compilation... @@ -232,11 +234,27 @@ const a = { Output:: +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/noemitonerror 1 change:: src/main.ts + >> Screen clear [12:00:48 AM] File change detected. Starting incremental compilation... +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/noemitonerror 1 rename:: dev-build/shared +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/noemitonerror 1 change:: dev-build +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/noemitonerror 1 rename:: dev-build/shared/types +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/noemitonerror 1 change:: dev-build/shared +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/noemitonerror 1 rename:: dev-build/shared/types/db.js +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/noemitonerror 1 change:: dev-build/shared/types +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/noemitonerror 1 rename:: dev-build/src +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/noemitonerror 1 change:: dev-build +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/noemitonerror 1 rename:: dev-build/src/main.js +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/noemitonerror 1 change:: dev-build/src +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/noemitonerror 1 rename:: dev-build/src/other.js +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/noemitonerror 1 change:: dev-build/src +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/noemitonerror 1 change:: dev-build/tsconfig.tsbuildinfo [12:01:06 AM] Found 0 errors. Watching for file changes. +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/noemitonerror 1 change:: dev-build/tsconfig.tsbuildinfo.readable.baseline.txt Program root files: ["/user/username/projects/noEmitOnError/shared/types/db.ts","/user/username/projects/noEmitOnError/src/main.ts","/user/username/projects/noEmitOnError/src/other.ts"] @@ -363,9 +381,12 @@ const a: string = 10; Output:: +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/noemitonerror 1 change:: src/main.ts + >> Screen clear [12:01:13 AM] File change detected. Starting incremental compilation... +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/noemitonerror 1 change:: dev-build/tsconfig.tsbuildinfo src/main.ts:2:7 - error TS2322: Type 'number' is not assignable to type 'string'. 2 const a: string = 10; @@ -373,6 +394,7 @@ Output:: [12:01:17 AM] Found 1 error. Watching for file changes. +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/noemitonerror 1 change:: dev-build/tsconfig.tsbuildinfo.readable.baseline.txt Program root files: ["/user/username/projects/noEmitOnError/shared/types/db.ts","/user/username/projects/noEmitOnError/src/main.ts","/user/username/projects/noEmitOnError/src/other.ts"] @@ -495,6 +517,8 @@ Input:: //// [/user/username/projects/noEmitOnError/src/main.ts] file written with same contents Output:: +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/noemitonerror 1 change:: src/main.ts + >> Screen clear [12:01:25 AM] File change detected. Starting incremental compilation... @@ -552,11 +576,16 @@ const a: string = "hello"; Output:: +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/noemitonerror 1 change:: src/main.ts + >> Screen clear [12:01:30 AM] File change detected. Starting incremental compilation... +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/noemitonerror 1 change:: dev-build/src/main.js +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/noemitonerror 1 change:: dev-build/tsconfig.tsbuildinfo [12:01:37 AM] Found 0 errors. Watching for file changes. +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/noemitonerror 1 change:: dev-build/tsconfig.tsbuildinfo.readable.baseline.txt Program root files: ["/user/username/projects/noEmitOnError/shared/types/db.ts","/user/username/projects/noEmitOnError/src/main.ts","/user/username/projects/noEmitOnError/src/other.ts"] @@ -667,6 +696,8 @@ Input:: //// [/user/username/projects/noEmitOnError/src/main.ts] file written with same contents Output:: +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/noemitonerror 1 change:: src/main.ts + >> Screen clear [12:01:44 AM] File change detected. Starting incremental compilation... diff --git a/tests/baselines/reference/tscWatch/emitAndErrorUpdates/incremental/assumeChangesOnlyAffectDirectDependenciesAndD/deepImportChanges/errors-for-.d.ts-change.js b/tests/baselines/reference/tscWatch/emitAndErrorUpdates/incremental/assumeChangesOnlyAffectDirectDependenciesAndD/deepImportChanges/errors-for-.d.ts-change.js index df8601c2f13..9a9a3900fb9 100644 --- a/tests/baselines/reference/tscWatch/emitAndErrorUpdates/incremental/assumeChangesOnlyAffectDirectDependenciesAndD/deepImportChanges/errors-for-.d.ts-change.js +++ b/tests/baselines/reference/tscWatch/emitAndErrorUpdates/incremental/assumeChangesOnlyAffectDirectDependenciesAndD/deepImportChanges/errors-for-.d.ts-change.js @@ -40,8 +40,16 @@ Output:: >> Screen clear [12:00:25 AM] Starting compilation in watch mode... +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject 1 rename:: a.js +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject 1 change:: +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject 1 rename:: a.d.ts +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject 1 change:: +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject 1 rename:: tsconfig.tsbuildinfo +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject 1 change:: [12:00:32 AM] Found 0 errors. Watching for file changes. +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject 1 rename:: tsconfig.tsbuildinfo.readable.baseline.txt +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject 1 change:: Program root files: ["/user/username/projects/myproject/a.ts","/user/username/projects/myproject/b.d.ts","/user/username/projects/myproject/c.d.ts"] @@ -180,11 +188,18 @@ export class C Output:: +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject 1 change:: c.d.ts +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject 1 change:: c.d.ts + >> Screen clear [12:00:38 AM] File change detected. Starting incremental compilation... +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject 1 change:: tsconfig.tsbuildinfo +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject 1 change:: tsconfig.tsbuildinfo [12:00:42 AM] Found 0 errors. Watching for file changes. +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject 1 change:: tsconfig.tsbuildinfo.readable.baseline.txt +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject 1 change:: tsconfig.tsbuildinfo.readable.baseline.txt Program root files: ["/user/username/projects/myproject/a.ts","/user/username/projects/myproject/b.d.ts","/user/username/projects/myproject/c.d.ts"] @@ -307,11 +322,18 @@ export class C Output:: +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject 1 change:: c.d.ts +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject 1 change:: c.d.ts + >> Screen clear [12:00:49 AM] File change detected. Starting incremental compilation... +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject 1 change:: tsconfig.tsbuildinfo +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject 1 change:: tsconfig.tsbuildinfo [12:00:53 AM] Found 0 errors. Watching for file changes. +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject 1 change:: tsconfig.tsbuildinfo.readable.baseline.txt +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject 1 change:: tsconfig.tsbuildinfo.readable.baseline.txt Program root files: ["/user/username/projects/myproject/a.ts","/user/username/projects/myproject/b.d.ts","/user/username/projects/myproject/c.d.ts"] @@ -434,11 +456,18 @@ export class C Output:: +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject 1 change:: c.d.ts +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject 1 change:: c.d.ts + >> Screen clear [12:01:00 AM] File change detected. Starting incremental compilation... +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject 1 change:: tsconfig.tsbuildinfo +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject 1 change:: tsconfig.tsbuildinfo [12:01:04 AM] Found 0 errors. Watching for file changes. +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject 1 change:: tsconfig.tsbuildinfo.readable.baseline.txt +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject 1 change:: tsconfig.tsbuildinfo.readable.baseline.txt Program root files: ["/user/username/projects/myproject/a.ts","/user/username/projects/myproject/b.d.ts","/user/username/projects/myproject/c.d.ts"] diff --git a/tests/baselines/reference/tscWatch/emitAndErrorUpdates/incremental/assumeChangesOnlyAffectDirectDependenciesAndD/deepImportChanges/errors-for-.ts-change.js b/tests/baselines/reference/tscWatch/emitAndErrorUpdates/incremental/assumeChangesOnlyAffectDirectDependenciesAndD/deepImportChanges/errors-for-.ts-change.js index 3416312008e..8ffe146b50c 100644 --- a/tests/baselines/reference/tscWatch/emitAndErrorUpdates/incremental/assumeChangesOnlyAffectDirectDependenciesAndD/deepImportChanges/errors-for-.ts-change.js +++ b/tests/baselines/reference/tscWatch/emitAndErrorUpdates/incremental/assumeChangesOnlyAffectDirectDependenciesAndD/deepImportChanges/errors-for-.ts-change.js @@ -218,11 +218,19 @@ export class C Output:: +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject 1 change:: c.ts + >> Screen clear [12:00:46 AM] File change detected. Starting incremental compilation... +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject 1 change:: c.js +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject 1 change:: c.d.ts +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject 1 change:: b.js +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject 1 change:: b.d.ts +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject 1 change:: tsconfig.tsbuildinfo [12:01:02 AM] Found 0 errors. Watching for file changes. +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject 1 change:: tsconfig.tsbuildinfo.readable.baseline.txt Program root files: ["/user/username/projects/myproject/a.ts","/user/username/projects/myproject/b.ts","/user/username/projects/myproject/c.ts"] @@ -364,11 +372,19 @@ export class C Output:: +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject 1 change:: c.ts + >> Screen clear [12:01:09 AM] File change detected. Starting incremental compilation... +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject 1 change:: c.js +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject 1 change:: c.d.ts +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject 1 change:: b.js +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject 1 change:: b.d.ts +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject 1 change:: tsconfig.tsbuildinfo [12:01:25 AM] Found 0 errors. Watching for file changes. +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject 1 change:: tsconfig.tsbuildinfo.readable.baseline.txt Program root files: ["/user/username/projects/myproject/a.ts","/user/username/projects/myproject/b.ts","/user/username/projects/myproject/c.ts"] @@ -510,11 +526,19 @@ export class C Output:: +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject 1 change:: c.ts + >> Screen clear [12:01:32 AM] File change detected. Starting incremental compilation... +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject 1 change:: c.js +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject 1 change:: c.d.ts +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject 1 change:: b.js +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject 1 change:: b.d.ts +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject 1 change:: tsconfig.tsbuildinfo [12:01:48 AM] Found 0 errors. Watching for file changes. +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject 1 change:: tsconfig.tsbuildinfo.readable.baseline.txt Program root files: ["/user/username/projects/myproject/a.ts","/user/username/projects/myproject/b.ts","/user/username/projects/myproject/c.ts"] diff --git a/tests/baselines/reference/tscWatch/emitAndErrorUpdates/incremental/assumeChangesOnlyAffectDirectDependenciesAndD/file-not-exporting-a-deep-multilevel-import-that-changes.js b/tests/baselines/reference/tscWatch/emitAndErrorUpdates/incremental/assumeChangesOnlyAffectDirectDependenciesAndD/file-not-exporting-a-deep-multilevel-import-that-changes.js index ba092a2792a..8dc8c3f723e 100644 --- a/tests/baselines/reference/tscWatch/emitAndErrorUpdates/incremental/assumeChangesOnlyAffectDirectDependenciesAndD/file-not-exporting-a-deep-multilevel-import-that-changes.js +++ b/tests/baselines/reference/tscWatch/emitAndErrorUpdates/incremental/assumeChangesOnlyAffectDirectDependenciesAndD/file-not-exporting-a-deep-multilevel-import-that-changes.js @@ -356,9 +356,16 @@ export interface Coords { Output:: +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject 1 change:: a.ts + >> Screen clear [12:00:58 AM] File change detected. Starting incremental compilation... +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject 1 change:: a.js +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject 1 change:: a.d.ts +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject 1 change:: b.js +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject 1 change:: b.d.ts +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject 1 change:: tsconfig.tsbuildinfo c.ts:6:13 - error TS2322: Type '{ x: number; y: number; }' is not assignable to type 'Coords'. Object literal may only specify known properties, and 'x' does not exist in type 'Coords'. @@ -377,6 +384,7 @@ Output:: [12:01:14 AM] Found 2 errors. Watching for file changes. +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject 1 change:: tsconfig.tsbuildinfo.readable.baseline.txt Program root files: ["/user/username/projects/myproject/a.ts","/user/username/projects/myproject/b.ts","/user/username/projects/myproject/c.ts","/user/username/projects/myproject/d.ts","/user/username/projects/myproject/e.ts"] @@ -596,9 +604,16 @@ export interface Coords { Output:: +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject 1 change:: a.ts + >> Screen clear [12:01:21 AM] File change detected. Starting incremental compilation... +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject 1 change:: a.js +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject 1 change:: a.d.ts +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject 1 change:: b.js +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject 1 change:: b.d.ts +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject 1 change:: tsconfig.tsbuildinfo c.ts:6:13 - error TS2322: Type '{ x: number; y: number; }' is not assignable to type 'Coords'. Object literal may only specify known properties, and 'x' does not exist in type 'Coords'. @@ -617,6 +632,7 @@ Output:: [12:01:37 AM] Found 2 errors. Watching for file changes. +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject 1 change:: tsconfig.tsbuildinfo.readable.baseline.txt Program root files: ["/user/username/projects/myproject/a.ts","/user/username/projects/myproject/b.ts","/user/username/projects/myproject/c.ts","/user/username/projects/myproject/d.ts","/user/username/projects/myproject/e.ts"] @@ -836,9 +852,16 @@ export interface Coords { Output:: +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject 1 change:: a.ts + >> Screen clear [12:01:44 AM] File change detected. Starting incremental compilation... +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject 1 change:: a.js +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject 1 change:: a.d.ts +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject 1 change:: b.js +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject 1 change:: b.d.ts +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject 1 change:: tsconfig.tsbuildinfo c.ts:6:13 - error TS2322: Type '{ x: number; y: number; }' is not assignable to type 'Coords'. Object literal may only specify known properties, and 'x' does not exist in type 'Coords'. @@ -857,6 +880,7 @@ Output:: [12:02:00 AM] Found 2 errors. Watching for file changes. +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject 1 change:: tsconfig.tsbuildinfo.readable.baseline.txt Program root files: ["/user/username/projects/myproject/a.ts","/user/username/projects/myproject/b.ts","/user/username/projects/myproject/c.ts","/user/username/projects/myproject/d.ts","/user/username/projects/myproject/e.ts"] diff --git a/tests/baselines/reference/tscWatch/emitAndErrorUpdates/incremental/assumeChangesOnlyAffectDirectDependenciesAndD/with-noEmitOnError-with-incremental.js b/tests/baselines/reference/tscWatch/emitAndErrorUpdates/incremental/assumeChangesOnlyAffectDirectDependenciesAndD/with-noEmitOnError-with-incremental.js index 6e2a98a4df7..04450f65260 100644 --- a/tests/baselines/reference/tscWatch/emitAndErrorUpdates/incremental/assumeChangesOnlyAffectDirectDependenciesAndD/with-noEmitOnError-with-incremental.js +++ b/tests/baselines/reference/tscWatch/emitAndErrorUpdates/incremental/assumeChangesOnlyAffectDirectDependenciesAndD/with-noEmitOnError-with-incremental.js @@ -174,6 +174,8 @@ Input:: //// [/user/username/projects/noEmitOnError/src/main.ts] file written with same contents Output:: +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/noemitonerror 1 change:: src/main.ts + >> Screen clear [12:00:43 AM] File change detected. Starting incremental compilation... @@ -233,11 +235,33 @@ const a = { Output:: +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/noemitonerror 1 change:: src/main.ts + >> Screen clear [12:00:48 AM] File change detected. Starting incremental compilation... +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/noemitonerror 1 rename:: dev-build/shared +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/noemitonerror 1 change:: dev-build +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/noemitonerror 1 rename:: dev-build/shared/types +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/noemitonerror 1 change:: dev-build/shared +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/noemitonerror 1 rename:: dev-build/shared/types/db.js +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/noemitonerror 1 change:: dev-build/shared/types +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/noemitonerror 1 rename:: dev-build/shared/types/db.d.ts +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/noemitonerror 1 change:: dev-build/shared/types +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/noemitonerror 1 rename:: dev-build/src +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/noemitonerror 1 change:: dev-build +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/noemitonerror 1 rename:: dev-build/src/main.js +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/noemitonerror 1 change:: dev-build/src +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/noemitonerror 1 rename:: dev-build/src/main.d.ts +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/noemitonerror 1 change:: dev-build/src +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/noemitonerror 1 rename:: dev-build/src/other.js +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/noemitonerror 1 change:: dev-build/src +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/noemitonerror 1 rename:: dev-build/src/other.d.ts +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/noemitonerror 1 change:: dev-build/src +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/noemitonerror 1 change:: dev-build/tsconfig.tsbuildinfo [12:01:12 AM] Found 0 errors. Watching for file changes. +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/noemitonerror 1 change:: dev-build/tsconfig.tsbuildinfo.readable.baseline.txt Program root files: ["/user/username/projects/noEmitOnError/shared/types/db.ts","/user/username/projects/noEmitOnError/src/main.ts","/user/username/projects/noEmitOnError/src/other.ts"] @@ -379,9 +403,12 @@ const a: string = 10; Output:: +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/noemitonerror 1 change:: src/main.ts + >> Screen clear [12:01:19 AM] File change detected. Starting incremental compilation... +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/noemitonerror 1 change:: dev-build/tsconfig.tsbuildinfo src/main.ts:2:7 - error TS2322: Type 'number' is not assignable to type 'string'. 2 const a: string = 10; @@ -389,6 +416,7 @@ Output:: [12:01:23 AM] Found 1 error. Watching for file changes. +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/noemitonerror 1 change:: dev-build/tsconfig.tsbuildinfo.readable.baseline.txt Program root files: ["/user/username/projects/noEmitOnError/shared/types/db.ts","/user/username/projects/noEmitOnError/src/main.ts","/user/username/projects/noEmitOnError/src/other.ts"] @@ -512,6 +540,8 @@ Input:: //// [/user/username/projects/noEmitOnError/src/main.ts] file written with same contents Output:: +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/noemitonerror 1 change:: src/main.ts + >> Screen clear [12:01:31 AM] File change detected. Starting incremental compilation... @@ -569,11 +599,17 @@ const a: string = "hello"; Output:: +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/noemitonerror 1 change:: src/main.ts + >> Screen clear [12:01:36 AM] File change detected. Starting incremental compilation... +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/noemitonerror 1 change:: dev-build/src/main.js +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/noemitonerror 1 change:: dev-build/src/main.d.ts +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/noemitonerror 1 change:: dev-build/tsconfig.tsbuildinfo [12:01:46 AM] Found 0 errors. Watching for file changes. +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/noemitonerror 1 change:: dev-build/tsconfig.tsbuildinfo.readable.baseline.txt Program root files: ["/user/username/projects/noEmitOnError/shared/types/db.ts","/user/username/projects/noEmitOnError/src/main.ts","/user/username/projects/noEmitOnError/src/other.ts"] @@ -686,6 +722,8 @@ Input:: //// [/user/username/projects/noEmitOnError/src/main.ts] file written with same contents Output:: +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/noemitonerror 1 change:: src/main.ts + >> Screen clear [12:01:53 AM] File change detected. Starting incremental compilation... diff --git a/tests/baselines/reference/tscWatch/emitAndErrorUpdates/incremental/assumeChangesOnlyAffectDirectDependenciesAndD/with-noEmitOnError.js b/tests/baselines/reference/tscWatch/emitAndErrorUpdates/incremental/assumeChangesOnlyAffectDirectDependenciesAndD/with-noEmitOnError.js index 6ce359f78c7..c06900663a0 100644 --- a/tests/baselines/reference/tscWatch/emitAndErrorUpdates/incremental/assumeChangesOnlyAffectDirectDependenciesAndD/with-noEmitOnError.js +++ b/tests/baselines/reference/tscWatch/emitAndErrorUpdates/incremental/assumeChangesOnlyAffectDirectDependenciesAndD/with-noEmitOnError.js @@ -174,6 +174,8 @@ Input:: //// [/user/username/projects/noEmitOnError/src/main.ts] file written with same contents Output:: +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/noemitonerror 1 change:: src/main.ts + >> Screen clear [12:00:43 AM] File change detected. Starting incremental compilation... @@ -233,11 +235,33 @@ const a = { Output:: +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/noemitonerror 1 change:: src/main.ts + >> Screen clear [12:00:48 AM] File change detected. Starting incremental compilation... +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/noemitonerror 1 rename:: dev-build/shared +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/noemitonerror 1 change:: dev-build +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/noemitonerror 1 rename:: dev-build/shared/types +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/noemitonerror 1 change:: dev-build/shared +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/noemitonerror 1 rename:: dev-build/shared/types/db.js +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/noemitonerror 1 change:: dev-build/shared/types +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/noemitonerror 1 rename:: dev-build/shared/types/db.d.ts +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/noemitonerror 1 change:: dev-build/shared/types +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/noemitonerror 1 rename:: dev-build/src +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/noemitonerror 1 change:: dev-build +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/noemitonerror 1 rename:: dev-build/src/main.js +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/noemitonerror 1 change:: dev-build/src +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/noemitonerror 1 rename:: dev-build/src/main.d.ts +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/noemitonerror 1 change:: dev-build/src +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/noemitonerror 1 rename:: dev-build/src/other.js +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/noemitonerror 1 change:: dev-build/src +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/noemitonerror 1 rename:: dev-build/src/other.d.ts +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/noemitonerror 1 change:: dev-build/src +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/noemitonerror 1 change:: dev-build/tsconfig.tsbuildinfo [12:01:12 AM] Found 0 errors. Watching for file changes. +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/noemitonerror 1 change:: dev-build/tsconfig.tsbuildinfo.readable.baseline.txt Program root files: ["/user/username/projects/noEmitOnError/shared/types/db.ts","/user/username/projects/noEmitOnError/src/main.ts","/user/username/projects/noEmitOnError/src/other.ts"] @@ -379,9 +403,12 @@ const a: string = 10; Output:: +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/noemitonerror 1 change:: src/main.ts + >> Screen clear [12:01:19 AM] File change detected. Starting incremental compilation... +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/noemitonerror 1 change:: dev-build/tsconfig.tsbuildinfo src/main.ts:2:7 - error TS2322: Type 'number' is not assignable to type 'string'. 2 const a: string = 10; @@ -389,6 +416,7 @@ Output:: [12:01:23 AM] Found 1 error. Watching for file changes. +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/noemitonerror 1 change:: dev-build/tsconfig.tsbuildinfo.readable.baseline.txt Program root files: ["/user/username/projects/noEmitOnError/shared/types/db.ts","/user/username/projects/noEmitOnError/src/main.ts","/user/username/projects/noEmitOnError/src/other.ts"] @@ -512,6 +540,8 @@ Input:: //// [/user/username/projects/noEmitOnError/src/main.ts] file written with same contents Output:: +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/noemitonerror 1 change:: src/main.ts + >> Screen clear [12:01:31 AM] File change detected. Starting incremental compilation... @@ -569,11 +599,17 @@ const a: string = "hello"; Output:: +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/noemitonerror 1 change:: src/main.ts + >> Screen clear [12:01:36 AM] File change detected. Starting incremental compilation... +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/noemitonerror 1 change:: dev-build/src/main.js +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/noemitonerror 1 change:: dev-build/src/main.d.ts +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/noemitonerror 1 change:: dev-build/tsconfig.tsbuildinfo [12:01:46 AM] Found 0 errors. Watching for file changes. +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/noemitonerror 1 change:: dev-build/tsconfig.tsbuildinfo.readable.baseline.txt Program root files: ["/user/username/projects/noEmitOnError/shared/types/db.ts","/user/username/projects/noEmitOnError/src/main.ts","/user/username/projects/noEmitOnError/src/other.ts"] @@ -686,6 +722,8 @@ Input:: //// [/user/username/projects/noEmitOnError/src/main.ts] file written with same contents Output:: +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/noemitonerror 1 change:: src/main.ts + >> Screen clear [12:01:53 AM] File change detected. Starting incremental compilation... diff --git a/tests/baselines/reference/tscWatch/emitAndErrorUpdates/incremental/default/deepImportChanges/errors-for-.d.ts-change.js b/tests/baselines/reference/tscWatch/emitAndErrorUpdates/incremental/default/deepImportChanges/errors-for-.d.ts-change.js index 4b76ba3f745..a9adc017397 100644 --- a/tests/baselines/reference/tscWatch/emitAndErrorUpdates/incremental/default/deepImportChanges/errors-for-.d.ts-change.js +++ b/tests/baselines/reference/tscWatch/emitAndErrorUpdates/incremental/default/deepImportChanges/errors-for-.d.ts-change.js @@ -40,8 +40,14 @@ Output:: >> Screen clear [12:00:25 AM] Starting compilation in watch mode... +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject 1 rename:: a.js +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject 1 change:: +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject 1 rename:: tsconfig.tsbuildinfo +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject 1 change:: [12:00:30 AM] Found 0 errors. Watching for file changes. +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject 1 rename:: tsconfig.tsbuildinfo.readable.baseline.txt +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject 1 change:: Program root files: ["/user/username/projects/myproject/a.ts","/user/username/projects/myproject/b.d.ts","/user/username/projects/myproject/c.d.ts"] @@ -175,9 +181,14 @@ export class C Output:: +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject 1 change:: c.d.ts +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject 1 change:: c.d.ts + >> Screen clear [12:00:36 AM] File change detected. Starting incremental compilation... +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject 1 change:: tsconfig.tsbuildinfo +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject 1 change:: tsconfig.tsbuildinfo a.ts:4:17 - error TS2339: Property 'd' does not exist on type 'C'. 4 console.log(b.c.d); @@ -185,6 +196,8 @@ Output:: [12:00:40 AM] Found 1 error. Watching for file changes. +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject 1 change:: tsconfig.tsbuildinfo.readable.baseline.txt +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject 1 change:: tsconfig.tsbuildinfo.readable.baseline.txt Program root files: ["/user/username/projects/myproject/a.ts","/user/username/projects/myproject/b.d.ts","/user/username/projects/myproject/c.d.ts"] @@ -320,11 +333,18 @@ export class C Output:: +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject 1 change:: c.d.ts +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject 1 change:: c.d.ts + >> Screen clear [12:00:47 AM] File change detected. Starting incremental compilation... +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject 1 change:: tsconfig.tsbuildinfo +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject 1 change:: tsconfig.tsbuildinfo [12:00:51 AM] Found 0 errors. Watching for file changes. +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject 1 change:: tsconfig.tsbuildinfo.readable.baseline.txt +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject 1 change:: tsconfig.tsbuildinfo.readable.baseline.txt Program root files: ["/user/username/projects/myproject/a.ts","/user/username/projects/myproject/b.d.ts","/user/username/projects/myproject/c.d.ts"] @@ -448,9 +468,14 @@ export class C Output:: +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject 1 change:: c.d.ts +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject 1 change:: c.d.ts + >> Screen clear [12:00:58 AM] File change detected. Starting incremental compilation... +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject 1 change:: tsconfig.tsbuildinfo +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject 1 change:: tsconfig.tsbuildinfo a.ts:4:17 - error TS2339: Property 'd' does not exist on type 'C'. 4 console.log(b.c.d); @@ -458,6 +483,8 @@ Output:: [12:01:02 AM] Found 1 error. Watching for file changes. +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject 1 change:: tsconfig.tsbuildinfo.readable.baseline.txt +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject 1 change:: tsconfig.tsbuildinfo.readable.baseline.txt Program root files: ["/user/username/projects/myproject/a.ts","/user/username/projects/myproject/b.d.ts","/user/username/projects/myproject/c.d.ts"] diff --git a/tests/baselines/reference/tscWatch/emitAndErrorUpdates/incremental/default/deepImportChanges/errors-for-.ts-change.js b/tests/baselines/reference/tscWatch/emitAndErrorUpdates/incremental/default/deepImportChanges/errors-for-.ts-change.js index 6b6265e4062..14141643f1b 100644 --- a/tests/baselines/reference/tscWatch/emitAndErrorUpdates/incremental/default/deepImportChanges/errors-for-.ts-change.js +++ b/tests/baselines/reference/tscWatch/emitAndErrorUpdates/incremental/default/deepImportChanges/errors-for-.ts-change.js @@ -200,9 +200,15 @@ export class C Output:: +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject 1 change:: c.ts + >> Screen clear [12:00:40 AM] File change detected. Starting incremental compilation... +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject 1 change:: c.js +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject 1 change:: b.js +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject 1 change:: a.js +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject 1 change:: tsconfig.tsbuildinfo a.ts:4:17 - error TS2339: Property 'd' does not exist on type 'C'. 4 console.log(b.c.d); @@ -210,6 +216,7 @@ Output:: [12:00:53 AM] Found 1 error. Watching for file changes. +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject 1 change:: tsconfig.tsbuildinfo.readable.baseline.txt Program root files: ["/user/username/projects/myproject/a.ts","/user/username/projects/myproject/b.ts","/user/username/projects/myproject/c.ts"] @@ -355,11 +362,17 @@ export class C Output:: +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject 1 change:: c.ts + >> Screen clear [12:01:00 AM] File change detected. Starting incremental compilation... +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject 1 change:: c.js +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject 1 change:: b.js +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject 1 change:: tsconfig.tsbuildinfo [12:01:10 AM] Found 0 errors. Watching for file changes. +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject 1 change:: tsconfig.tsbuildinfo.readable.baseline.txt Program root files: ["/user/username/projects/myproject/a.ts","/user/username/projects/myproject/b.ts","/user/username/projects/myproject/c.ts"] @@ -495,9 +508,14 @@ export class C Output:: +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject 1 change:: c.ts + >> Screen clear [12:01:17 AM] File change detected. Starting incremental compilation... +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject 1 change:: c.js +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject 1 change:: b.js +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject 1 change:: tsconfig.tsbuildinfo a.ts:4:17 - error TS2339: Property 'd' does not exist on type 'C'. 4 console.log(b.c.d); @@ -505,6 +523,7 @@ Output:: [12:01:27 AM] Found 1 error. Watching for file changes. +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject 1 change:: tsconfig.tsbuildinfo.readable.baseline.txt Program root files: ["/user/username/projects/myproject/a.ts","/user/username/projects/myproject/b.ts","/user/username/projects/myproject/c.ts"] diff --git a/tests/baselines/reference/tscWatch/emitAndErrorUpdates/incremental/default/file-not-exporting-a-deep-multilevel-import-that-changes.js b/tests/baselines/reference/tscWatch/emitAndErrorUpdates/incremental/default/file-not-exporting-a-deep-multilevel-import-that-changes.js index 0bd997cf7d8..6b17086fc49 100644 --- a/tests/baselines/reference/tscWatch/emitAndErrorUpdates/incremental/default/file-not-exporting-a-deep-multilevel-import-that-changes.js +++ b/tests/baselines/reference/tscWatch/emitAndErrorUpdates/incremental/default/file-not-exporting-a-deep-multilevel-import-that-changes.js @@ -325,11 +325,20 @@ export interface Coords { Output:: +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject 1 change:: a.ts + >> Screen clear [12:00:48 AM] File change detected. Starting incremental compilation... +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject 1 change:: a.js +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject 1 change:: b.js +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject 1 change:: c.js +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject 1 change:: d.js +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject 1 change:: e.js +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject 1 change:: tsconfig.tsbuildinfo [12:01:07 AM] Found 0 errors. Watching for file changes. +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject 1 change:: tsconfig.tsbuildinfo.readable.baseline.txt Program root files: ["/user/username/projects/myproject/a.ts","/user/username/projects/myproject/b.ts","/user/username/projects/myproject/c.ts","/user/username/projects/myproject/d.ts","/user/username/projects/myproject/e.ts"] @@ -497,9 +506,14 @@ export interface Coords { Output:: +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject 1 change:: a.ts + >> Screen clear [12:01:14 AM] File change detected. Starting incremental compilation... +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject 1 change:: a.js +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject 1 change:: b.js +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject 1 change:: tsconfig.tsbuildinfo c.ts:6:13 - error TS2322: Type '{ x: number; y: number; }' is not assignable to type 'Coords'. Object literal may only specify known properties, and 'x' does not exist in type 'Coords'. @@ -518,6 +532,7 @@ Output:: [12:01:24 AM] Found 2 errors. Watching for file changes. +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject 1 change:: tsconfig.tsbuildinfo.readable.baseline.txt Program root files: ["/user/username/projects/myproject/a.ts","/user/username/projects/myproject/b.ts","/user/username/projects/myproject/c.ts","/user/username/projects/myproject/d.ts","/user/username/projects/myproject/e.ts"] @@ -728,11 +743,17 @@ export interface Coords { Output:: +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject 1 change:: a.ts + >> Screen clear [12:01:31 AM] File change detected. Starting incremental compilation... +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject 1 change:: a.js +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject 1 change:: b.js +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject 1 change:: tsconfig.tsbuildinfo [12:01:41 AM] Found 0 errors. Watching for file changes. +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject 1 change:: tsconfig.tsbuildinfo.readable.baseline.txt Program root files: ["/user/username/projects/myproject/a.ts","/user/username/projects/myproject/b.ts","/user/username/projects/myproject/c.ts","/user/username/projects/myproject/d.ts","/user/username/projects/myproject/e.ts"] diff --git a/tests/baselines/reference/tscWatch/emitAndErrorUpdates/incremental/default/with-noEmitOnError-with-incremental.js b/tests/baselines/reference/tscWatch/emitAndErrorUpdates/incremental/default/with-noEmitOnError-with-incremental.js index 194267bbfe5..a8a79d5331b 100644 --- a/tests/baselines/reference/tscWatch/emitAndErrorUpdates/incremental/default/with-noEmitOnError-with-incremental.js +++ b/tests/baselines/reference/tscWatch/emitAndErrorUpdates/incremental/default/with-noEmitOnError-with-incremental.js @@ -178,6 +178,8 @@ Input:: //// [/user/username/projects/noEmitOnError/src/main.ts] file written with same contents Output:: +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/noemitonerror 1 change:: src/main.ts + >> Screen clear [12:00:43 AM] File change detected. Starting incremental compilation... @@ -237,11 +239,27 @@ const a = { Output:: +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/noemitonerror 1 change:: src/main.ts + >> Screen clear [12:00:48 AM] File change detected. Starting incremental compilation... +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/noemitonerror 1 rename:: dev-build/shared +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/noemitonerror 1 change:: dev-build +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/noemitonerror 1 rename:: dev-build/shared/types +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/noemitonerror 1 change:: dev-build/shared +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/noemitonerror 1 rename:: dev-build/shared/types/db.js +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/noemitonerror 1 change:: dev-build/shared/types +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/noemitonerror 1 rename:: dev-build/src +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/noemitonerror 1 change:: dev-build +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/noemitonerror 1 rename:: dev-build/src/main.js +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/noemitonerror 1 change:: dev-build/src +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/noemitonerror 1 rename:: dev-build/src/other.js +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/noemitonerror 1 change:: dev-build/src +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/noemitonerror 1 change:: dev-build/tsconfig.tsbuildinfo [12:01:06 AM] Found 0 errors. Watching for file changes. +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/noemitonerror 1 change:: dev-build/tsconfig.tsbuildinfo.readable.baseline.txt Program root files: ["/user/username/projects/noEmitOnError/shared/types/db.ts","/user/username/projects/noEmitOnError/src/main.ts","/user/username/projects/noEmitOnError/src/other.ts"] @@ -367,9 +385,12 @@ const a: string = 10; Output:: +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/noemitonerror 1 change:: src/main.ts + >> Screen clear [12:01:13 AM] File change detected. Starting incremental compilation... +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/noemitonerror 1 change:: dev-build/tsconfig.tsbuildinfo src/main.ts:2:7 - error TS2322: Type 'number' is not assignable to type 'string'. 2 const a: string = 10; @@ -377,6 +398,7 @@ Output:: [12:01:17 AM] Found 1 error. Watching for file changes. +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/noemitonerror 1 change:: dev-build/tsconfig.tsbuildinfo.readable.baseline.txt Program root files: ["/user/username/projects/noEmitOnError/shared/types/db.ts","/user/username/projects/noEmitOnError/src/main.ts","/user/username/projects/noEmitOnError/src/other.ts"] @@ -498,6 +520,8 @@ Input:: //// [/user/username/projects/noEmitOnError/src/main.ts] file written with same contents Output:: +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/noemitonerror 1 change:: src/main.ts + >> Screen clear [12:01:25 AM] File change detected. Starting incremental compilation... @@ -555,11 +579,16 @@ const a: string = "hello"; Output:: +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/noemitonerror 1 change:: src/main.ts + >> Screen clear [12:01:30 AM] File change detected. Starting incremental compilation... +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/noemitonerror 1 change:: dev-build/src/main.js +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/noemitonerror 1 change:: dev-build/tsconfig.tsbuildinfo [12:01:37 AM] Found 0 errors. Watching for file changes. +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/noemitonerror 1 change:: dev-build/tsconfig.tsbuildinfo.readable.baseline.txt Program root files: ["/user/username/projects/noEmitOnError/shared/types/db.ts","/user/username/projects/noEmitOnError/src/main.ts","/user/username/projects/noEmitOnError/src/other.ts"] @@ -669,6 +698,8 @@ Input:: //// [/user/username/projects/noEmitOnError/src/main.ts] file written with same contents Output:: +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/noemitonerror 1 change:: src/main.ts + >> Screen clear [12:01:44 AM] File change detected. Starting incremental compilation... diff --git a/tests/baselines/reference/tscWatch/emitAndErrorUpdates/incremental/default/with-noEmitOnError.js b/tests/baselines/reference/tscWatch/emitAndErrorUpdates/incremental/default/with-noEmitOnError.js index ce00016b8ef..5d757c9ff66 100644 --- a/tests/baselines/reference/tscWatch/emitAndErrorUpdates/incremental/default/with-noEmitOnError.js +++ b/tests/baselines/reference/tscWatch/emitAndErrorUpdates/incremental/default/with-noEmitOnError.js @@ -178,6 +178,8 @@ Input:: //// [/user/username/projects/noEmitOnError/src/main.ts] file written with same contents Output:: +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/noemitonerror 1 change:: src/main.ts + >> Screen clear [12:00:43 AM] File change detected. Starting incremental compilation... @@ -237,11 +239,27 @@ const a = { Output:: +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/noemitonerror 1 change:: src/main.ts + >> Screen clear [12:00:48 AM] File change detected. Starting incremental compilation... +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/noemitonerror 1 rename:: dev-build/shared +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/noemitonerror 1 change:: dev-build +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/noemitonerror 1 rename:: dev-build/shared/types +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/noemitonerror 1 change:: dev-build/shared +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/noemitonerror 1 rename:: dev-build/shared/types/db.js +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/noemitonerror 1 change:: dev-build/shared/types +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/noemitonerror 1 rename:: dev-build/src +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/noemitonerror 1 change:: dev-build +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/noemitonerror 1 rename:: dev-build/src/main.js +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/noemitonerror 1 change:: dev-build/src +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/noemitonerror 1 rename:: dev-build/src/other.js +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/noemitonerror 1 change:: dev-build/src +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/noemitonerror 1 change:: dev-build/tsconfig.tsbuildinfo [12:01:06 AM] Found 0 errors. Watching for file changes. +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/noemitonerror 1 change:: dev-build/tsconfig.tsbuildinfo.readable.baseline.txt Program root files: ["/user/username/projects/noEmitOnError/shared/types/db.ts","/user/username/projects/noEmitOnError/src/main.ts","/user/username/projects/noEmitOnError/src/other.ts"] @@ -367,9 +385,12 @@ const a: string = 10; Output:: +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/noemitonerror 1 change:: src/main.ts + >> Screen clear [12:01:13 AM] File change detected. Starting incremental compilation... +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/noemitonerror 1 change:: dev-build/tsconfig.tsbuildinfo src/main.ts:2:7 - error TS2322: Type 'number' is not assignable to type 'string'. 2 const a: string = 10; @@ -377,6 +398,7 @@ Output:: [12:01:17 AM] Found 1 error. Watching for file changes. +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/noemitonerror 1 change:: dev-build/tsconfig.tsbuildinfo.readable.baseline.txt Program root files: ["/user/username/projects/noEmitOnError/shared/types/db.ts","/user/username/projects/noEmitOnError/src/main.ts","/user/username/projects/noEmitOnError/src/other.ts"] @@ -498,6 +520,8 @@ Input:: //// [/user/username/projects/noEmitOnError/src/main.ts] file written with same contents Output:: +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/noemitonerror 1 change:: src/main.ts + >> Screen clear [12:01:25 AM] File change detected. Starting incremental compilation... @@ -555,11 +579,16 @@ const a: string = "hello"; Output:: +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/noemitonerror 1 change:: src/main.ts + >> Screen clear [12:01:30 AM] File change detected. Starting incremental compilation... +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/noemitonerror 1 change:: dev-build/src/main.js +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/noemitonerror 1 change:: dev-build/tsconfig.tsbuildinfo [12:01:37 AM] Found 0 errors. Watching for file changes. +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/noemitonerror 1 change:: dev-build/tsconfig.tsbuildinfo.readable.baseline.txt Program root files: ["/user/username/projects/noEmitOnError/shared/types/db.ts","/user/username/projects/noEmitOnError/src/main.ts","/user/username/projects/noEmitOnError/src/other.ts"] @@ -669,6 +698,8 @@ Input:: //// [/user/username/projects/noEmitOnError/src/main.ts] file written with same contents Output:: +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/noemitonerror 1 change:: src/main.ts + >> Screen clear [12:01:44 AM] File change detected. Starting incremental compilation... diff --git a/tests/baselines/reference/tscWatch/emitAndErrorUpdates/incremental/defaultAndD/deepImportChanges/errors-for-.d.ts-change.js b/tests/baselines/reference/tscWatch/emitAndErrorUpdates/incremental/defaultAndD/deepImportChanges/errors-for-.d.ts-change.js index a8dc692ec86..02a69a4b949 100644 --- a/tests/baselines/reference/tscWatch/emitAndErrorUpdates/incremental/defaultAndD/deepImportChanges/errors-for-.d.ts-change.js +++ b/tests/baselines/reference/tscWatch/emitAndErrorUpdates/incremental/defaultAndD/deepImportChanges/errors-for-.d.ts-change.js @@ -40,8 +40,16 @@ Output:: >> Screen clear [12:00:25 AM] Starting compilation in watch mode... +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject 1 rename:: a.js +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject 1 change:: +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject 1 rename:: a.d.ts +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject 1 change:: +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject 1 rename:: tsconfig.tsbuildinfo +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject 1 change:: [12:00:32 AM] Found 0 errors. Watching for file changes. +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject 1 rename:: tsconfig.tsbuildinfo.readable.baseline.txt +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject 1 change:: Program root files: ["/user/username/projects/myproject/a.ts","/user/username/projects/myproject/b.d.ts","/user/username/projects/myproject/c.d.ts"] @@ -179,9 +187,16 @@ export class C Output:: +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject 1 change:: c.d.ts +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject 1 change:: c.d.ts + >> Screen clear [12:00:38 AM] File change detected. Starting incremental compilation... +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject 1 change:: a.d.ts +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject 1 change:: a.d.ts +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject 1 change:: tsconfig.tsbuildinfo +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject 1 change:: tsconfig.tsbuildinfo a.ts:4:17 - error TS2339: Property 'd' does not exist on type 'C'. 4 console.log(b.c.d); @@ -189,6 +204,8 @@ Output:: [12:00:45 AM] Found 1 error. Watching for file changes. +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject 1 change:: tsconfig.tsbuildinfo.readable.baseline.txt +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject 1 change:: tsconfig.tsbuildinfo.readable.baseline.txt Program root files: ["/user/username/projects/myproject/a.ts","/user/username/projects/myproject/b.d.ts","/user/username/projects/myproject/c.d.ts"] @@ -325,11 +342,20 @@ export class C Output:: +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject 1 change:: c.d.ts +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject 1 change:: c.d.ts + >> Screen clear [12:00:52 AM] File change detected. Starting incremental compilation... +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject 1 change:: a.d.ts +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject 1 change:: a.d.ts +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject 1 change:: tsconfig.tsbuildinfo +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject 1 change:: tsconfig.tsbuildinfo [12:00:59 AM] Found 0 errors. Watching for file changes. +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject 1 change:: tsconfig.tsbuildinfo.readable.baseline.txt +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject 1 change:: tsconfig.tsbuildinfo.readable.baseline.txt Program root files: ["/user/username/projects/myproject/a.ts","/user/username/projects/myproject/b.d.ts","/user/username/projects/myproject/c.d.ts"] @@ -454,9 +480,16 @@ export class C Output:: +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject 1 change:: c.d.ts +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject 1 change:: c.d.ts + >> Screen clear [12:01:06 AM] File change detected. Starting incremental compilation... +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject 1 change:: a.d.ts +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject 1 change:: a.d.ts +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject 1 change:: tsconfig.tsbuildinfo +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject 1 change:: tsconfig.tsbuildinfo a.ts:4:17 - error TS2339: Property 'd' does not exist on type 'C'. 4 console.log(b.c.d); @@ -464,6 +497,8 @@ Output:: [12:01:13 AM] Found 1 error. Watching for file changes. +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject 1 change:: tsconfig.tsbuildinfo.readable.baseline.txt +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject 1 change:: tsconfig.tsbuildinfo.readable.baseline.txt Program root files: ["/user/username/projects/myproject/a.ts","/user/username/projects/myproject/b.d.ts","/user/username/projects/myproject/c.d.ts"] diff --git a/tests/baselines/reference/tscWatch/emitAndErrorUpdates/incremental/defaultAndD/deepImportChanges/errors-for-.ts-change.js b/tests/baselines/reference/tscWatch/emitAndErrorUpdates/incremental/defaultAndD/deepImportChanges/errors-for-.ts-change.js index da962daca7a..404c159553e 100644 --- a/tests/baselines/reference/tscWatch/emitAndErrorUpdates/incremental/defaultAndD/deepImportChanges/errors-for-.ts-change.js +++ b/tests/baselines/reference/tscWatch/emitAndErrorUpdates/incremental/defaultAndD/deepImportChanges/errors-for-.ts-change.js @@ -217,9 +217,17 @@ export class C Output:: +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject 1 change:: c.ts + >> Screen clear [12:00:46 AM] File change detected. Starting incremental compilation... +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject 1 change:: a.d.ts +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject 1 change:: c.js +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject 1 change:: c.d.ts +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject 1 change:: b.js +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject 1 change:: b.d.ts +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject 1 change:: tsconfig.tsbuildinfo a.ts:4:17 - error TS2339: Property 'd' does not exist on type 'C'. 4 console.log(b.c.d); @@ -227,6 +235,7 @@ Output:: [12:01:05 AM] Found 1 error. Watching for file changes. +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject 1 change:: tsconfig.tsbuildinfo.readable.baseline.txt Program root files: ["/user/username/projects/myproject/a.ts","/user/username/projects/myproject/b.ts","/user/username/projects/myproject/c.ts"] @@ -382,11 +391,20 @@ export class C Output:: +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject 1 change:: c.ts + >> Screen clear [12:01:12 AM] File change detected. Starting incremental compilation... +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject 1 change:: a.d.ts +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject 1 change:: c.js +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject 1 change:: c.d.ts +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject 1 change:: b.js +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject 1 change:: b.d.ts +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject 1 change:: tsconfig.tsbuildinfo [12:01:31 AM] Found 0 errors. Watching for file changes. +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject 1 change:: tsconfig.tsbuildinfo.readable.baseline.txt Program root files: ["/user/username/projects/myproject/a.ts","/user/username/projects/myproject/b.ts","/user/username/projects/myproject/c.ts"] @@ -530,9 +548,17 @@ export class C Output:: +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject 1 change:: c.ts + >> Screen clear [12:01:38 AM] File change detected. Starting incremental compilation... +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject 1 change:: a.d.ts +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject 1 change:: c.js +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject 1 change:: c.d.ts +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject 1 change:: b.js +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject 1 change:: b.d.ts +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject 1 change:: tsconfig.tsbuildinfo a.ts:4:17 - error TS2339: Property 'd' does not exist on type 'C'. 4 console.log(b.c.d); @@ -540,6 +566,7 @@ Output:: [12:01:57 AM] Found 1 error. Watching for file changes. +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject 1 change:: tsconfig.tsbuildinfo.readable.baseline.txt Program root files: ["/user/username/projects/myproject/a.ts","/user/username/projects/myproject/b.ts","/user/username/projects/myproject/c.ts"] diff --git a/tests/baselines/reference/tscWatch/emitAndErrorUpdates/incremental/defaultAndD/file-not-exporting-a-deep-multilevel-import-that-changes.js b/tests/baselines/reference/tscWatch/emitAndErrorUpdates/incremental/defaultAndD/file-not-exporting-a-deep-multilevel-import-that-changes.js index 932f6e6d7b2..edfc5817c9a 100644 --- a/tests/baselines/reference/tscWatch/emitAndErrorUpdates/incremental/defaultAndD/file-not-exporting-a-deep-multilevel-import-that-changes.js +++ b/tests/baselines/reference/tscWatch/emitAndErrorUpdates/incremental/defaultAndD/file-not-exporting-a-deep-multilevel-import-that-changes.js @@ -355,11 +355,21 @@ export interface Coords { Output:: +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject 1 change:: a.ts + >> Screen clear [12:00:58 AM] File change detected. Starting incremental compilation... +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject 1 change:: c.d.ts +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject 1 change:: d.d.ts +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject 1 change:: a.js +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject 1 change:: a.d.ts +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject 1 change:: b.js +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject 1 change:: b.d.ts +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject 1 change:: tsconfig.tsbuildinfo [12:01:20 AM] Found 0 errors. Watching for file changes. +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject 1 change:: tsconfig.tsbuildinfo.readable.baseline.txt Program root files: ["/user/username/projects/myproject/a.ts","/user/username/projects/myproject/b.ts","/user/username/projects/myproject/c.ts","/user/username/projects/myproject/d.ts","/user/username/projects/myproject/e.ts"] @@ -539,9 +549,18 @@ export interface Coords { Output:: +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject 1 change:: a.ts + >> Screen clear [12:01:27 AM] File change detected. Starting incremental compilation... +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject 1 change:: c.d.ts +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject 1 change:: d.d.ts +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject 1 change:: a.js +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject 1 change:: a.d.ts +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject 1 change:: b.js +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject 1 change:: b.d.ts +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject 1 change:: tsconfig.tsbuildinfo c.ts:6:13 - error TS2322: Type '{ x: number; y: number; }' is not assignable to type 'Coords'. Object literal may only specify known properties, and 'x' does not exist in type 'Coords'. @@ -560,6 +579,7 @@ Output:: [12:01:49 AM] Found 2 errors. Watching for file changes. +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject 1 change:: tsconfig.tsbuildinfo.readable.baseline.txt Program root files: ["/user/username/projects/myproject/a.ts","/user/username/projects/myproject/b.ts","/user/username/projects/myproject/c.ts","/user/username/projects/myproject/d.ts","/user/username/projects/myproject/e.ts"] @@ -784,11 +804,21 @@ export interface Coords { Output:: +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject 1 change:: a.ts + >> Screen clear [12:01:56 AM] File change detected. Starting incremental compilation... +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject 1 change:: c.d.ts +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject 1 change:: d.d.ts +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject 1 change:: a.js +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject 1 change:: a.d.ts +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject 1 change:: b.js +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject 1 change:: b.d.ts +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject 1 change:: tsconfig.tsbuildinfo [12:02:18 AM] Found 0 errors. Watching for file changes. +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject 1 change:: tsconfig.tsbuildinfo.readable.baseline.txt Program root files: ["/user/username/projects/myproject/a.ts","/user/username/projects/myproject/b.ts","/user/username/projects/myproject/c.ts","/user/username/projects/myproject/d.ts","/user/username/projects/myproject/e.ts"] diff --git a/tests/baselines/reference/tscWatch/emitAndErrorUpdates/incremental/defaultAndD/with-noEmitOnError-with-incremental.js b/tests/baselines/reference/tscWatch/emitAndErrorUpdates/incremental/defaultAndD/with-noEmitOnError-with-incremental.js index d0a4d0f3183..9b8c6f9dae6 100644 --- a/tests/baselines/reference/tscWatch/emitAndErrorUpdates/incremental/defaultAndD/with-noEmitOnError-with-incremental.js +++ b/tests/baselines/reference/tscWatch/emitAndErrorUpdates/incremental/defaultAndD/with-noEmitOnError-with-incremental.js @@ -173,6 +173,8 @@ Input:: //// [/user/username/projects/noEmitOnError/src/main.ts] file written with same contents Output:: +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/noemitonerror 1 change:: src/main.ts + >> Screen clear [12:00:43 AM] File change detected. Starting incremental compilation... @@ -232,11 +234,33 @@ const a = { Output:: +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/noemitonerror 1 change:: src/main.ts + >> Screen clear [12:00:48 AM] File change detected. Starting incremental compilation... +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/noemitonerror 1 rename:: dev-build/shared +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/noemitonerror 1 change:: dev-build +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/noemitonerror 1 rename:: dev-build/shared/types +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/noemitonerror 1 change:: dev-build/shared +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/noemitonerror 1 rename:: dev-build/shared/types/db.js +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/noemitonerror 1 change:: dev-build/shared/types +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/noemitonerror 1 rename:: dev-build/shared/types/db.d.ts +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/noemitonerror 1 change:: dev-build/shared/types +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/noemitonerror 1 rename:: dev-build/src +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/noemitonerror 1 change:: dev-build +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/noemitonerror 1 rename:: dev-build/src/main.js +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/noemitonerror 1 change:: dev-build/src +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/noemitonerror 1 rename:: dev-build/src/main.d.ts +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/noemitonerror 1 change:: dev-build/src +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/noemitonerror 1 rename:: dev-build/src/other.js +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/noemitonerror 1 change:: dev-build/src +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/noemitonerror 1 rename:: dev-build/src/other.d.ts +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/noemitonerror 1 change:: dev-build/src +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/noemitonerror 1 change:: dev-build/tsconfig.tsbuildinfo [12:01:12 AM] Found 0 errors. Watching for file changes. +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/noemitonerror 1 change:: dev-build/tsconfig.tsbuildinfo.readable.baseline.txt Program root files: ["/user/username/projects/noEmitOnError/shared/types/db.ts","/user/username/projects/noEmitOnError/src/main.ts","/user/username/projects/noEmitOnError/src/other.ts"] @@ -377,9 +401,12 @@ const a: string = 10; Output:: +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/noemitonerror 1 change:: src/main.ts + >> Screen clear [12:01:19 AM] File change detected. Starting incremental compilation... +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/noemitonerror 1 change:: dev-build/tsconfig.tsbuildinfo src/main.ts:2:7 - error TS2322: Type 'number' is not assignable to type 'string'. 2 const a: string = 10; @@ -387,6 +414,7 @@ Output:: [12:01:23 AM] Found 1 error. Watching for file changes. +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/noemitonerror 1 change:: dev-build/tsconfig.tsbuildinfo.readable.baseline.txt Program root files: ["/user/username/projects/noEmitOnError/shared/types/db.ts","/user/username/projects/noEmitOnError/src/main.ts","/user/username/projects/noEmitOnError/src/other.ts"] @@ -509,6 +537,8 @@ Input:: //// [/user/username/projects/noEmitOnError/src/main.ts] file written with same contents Output:: +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/noemitonerror 1 change:: src/main.ts + >> Screen clear [12:01:31 AM] File change detected. Starting incremental compilation... @@ -566,11 +596,17 @@ const a: string = "hello"; Output:: +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/noemitonerror 1 change:: src/main.ts + >> Screen clear [12:01:36 AM] File change detected. Starting incremental compilation... +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/noemitonerror 1 change:: dev-build/src/main.js +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/noemitonerror 1 change:: dev-build/src/main.d.ts +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/noemitonerror 1 change:: dev-build/tsconfig.tsbuildinfo [12:01:46 AM] Found 0 errors. Watching for file changes. +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/noemitonerror 1 change:: dev-build/tsconfig.tsbuildinfo.readable.baseline.txt Program root files: ["/user/username/projects/noEmitOnError/shared/types/db.ts","/user/username/projects/noEmitOnError/src/main.ts","/user/username/projects/noEmitOnError/src/other.ts"] @@ -682,6 +718,8 @@ Input:: //// [/user/username/projects/noEmitOnError/src/main.ts] file written with same contents Output:: +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/noemitonerror 1 change:: src/main.ts + >> Screen clear [12:01:53 AM] File change detected. Starting incremental compilation... diff --git a/tests/baselines/reference/tscWatch/emitAndErrorUpdates/incremental/defaultAndD/with-noEmitOnError.js b/tests/baselines/reference/tscWatch/emitAndErrorUpdates/incremental/defaultAndD/with-noEmitOnError.js index d8a4f56d042..45751dc9220 100644 --- a/tests/baselines/reference/tscWatch/emitAndErrorUpdates/incremental/defaultAndD/with-noEmitOnError.js +++ b/tests/baselines/reference/tscWatch/emitAndErrorUpdates/incremental/defaultAndD/with-noEmitOnError.js @@ -173,6 +173,8 @@ Input:: //// [/user/username/projects/noEmitOnError/src/main.ts] file written with same contents Output:: +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/noemitonerror 1 change:: src/main.ts + >> Screen clear [12:00:43 AM] File change detected. Starting incremental compilation... @@ -232,11 +234,33 @@ const a = { Output:: +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/noemitonerror 1 change:: src/main.ts + >> Screen clear [12:00:48 AM] File change detected. Starting incremental compilation... +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/noemitonerror 1 rename:: dev-build/shared +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/noemitonerror 1 change:: dev-build +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/noemitonerror 1 rename:: dev-build/shared/types +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/noemitonerror 1 change:: dev-build/shared +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/noemitonerror 1 rename:: dev-build/shared/types/db.js +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/noemitonerror 1 change:: dev-build/shared/types +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/noemitonerror 1 rename:: dev-build/shared/types/db.d.ts +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/noemitonerror 1 change:: dev-build/shared/types +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/noemitonerror 1 rename:: dev-build/src +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/noemitonerror 1 change:: dev-build +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/noemitonerror 1 rename:: dev-build/src/main.js +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/noemitonerror 1 change:: dev-build/src +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/noemitonerror 1 rename:: dev-build/src/main.d.ts +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/noemitonerror 1 change:: dev-build/src +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/noemitonerror 1 rename:: dev-build/src/other.js +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/noemitonerror 1 change:: dev-build/src +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/noemitonerror 1 rename:: dev-build/src/other.d.ts +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/noemitonerror 1 change:: dev-build/src +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/noemitonerror 1 change:: dev-build/tsconfig.tsbuildinfo [12:01:12 AM] Found 0 errors. Watching for file changes. +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/noemitonerror 1 change:: dev-build/tsconfig.tsbuildinfo.readable.baseline.txt Program root files: ["/user/username/projects/noEmitOnError/shared/types/db.ts","/user/username/projects/noEmitOnError/src/main.ts","/user/username/projects/noEmitOnError/src/other.ts"] @@ -377,9 +401,12 @@ const a: string = 10; Output:: +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/noemitonerror 1 change:: src/main.ts + >> Screen clear [12:01:19 AM] File change detected. Starting incremental compilation... +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/noemitonerror 1 change:: dev-build/tsconfig.tsbuildinfo src/main.ts:2:7 - error TS2322: Type 'number' is not assignable to type 'string'. 2 const a: string = 10; @@ -387,6 +414,7 @@ Output:: [12:01:23 AM] Found 1 error. Watching for file changes. +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/noemitonerror 1 change:: dev-build/tsconfig.tsbuildinfo.readable.baseline.txt Program root files: ["/user/username/projects/noEmitOnError/shared/types/db.ts","/user/username/projects/noEmitOnError/src/main.ts","/user/username/projects/noEmitOnError/src/other.ts"] @@ -509,6 +537,8 @@ Input:: //// [/user/username/projects/noEmitOnError/src/main.ts] file written with same contents Output:: +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/noemitonerror 1 change:: src/main.ts + >> Screen clear [12:01:31 AM] File change detected. Starting incremental compilation... @@ -566,11 +596,17 @@ const a: string = "hello"; Output:: +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/noemitonerror 1 change:: src/main.ts + >> Screen clear [12:01:36 AM] File change detected. Starting incremental compilation... +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/noemitonerror 1 change:: dev-build/src/main.js +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/noemitonerror 1 change:: dev-build/src/main.d.ts +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/noemitonerror 1 change:: dev-build/tsconfig.tsbuildinfo [12:01:46 AM] Found 0 errors. Watching for file changes. +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/noemitonerror 1 change:: dev-build/tsconfig.tsbuildinfo.readable.baseline.txt Program root files: ["/user/username/projects/noEmitOnError/shared/types/db.ts","/user/username/projects/noEmitOnError/src/main.ts","/user/username/projects/noEmitOnError/src/other.ts"] @@ -682,6 +718,8 @@ Input:: //// [/user/username/projects/noEmitOnError/src/main.ts] file written with same contents Output:: +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/noemitonerror 1 change:: src/main.ts + >> Screen clear [12:01:53 AM] File change detected. Starting incremental compilation... diff --git a/tests/baselines/reference/tscWatch/emitAndErrorUpdates/incremental/isolatedModules/deepImportChanges/errors-for-.d.ts-change.js b/tests/baselines/reference/tscWatch/emitAndErrorUpdates/incremental/isolatedModules/deepImportChanges/errors-for-.d.ts-change.js index 2fcab61a09b..415be8cbf8d 100644 --- a/tests/baselines/reference/tscWatch/emitAndErrorUpdates/incremental/isolatedModules/deepImportChanges/errors-for-.d.ts-change.js +++ b/tests/baselines/reference/tscWatch/emitAndErrorUpdates/incremental/isolatedModules/deepImportChanges/errors-for-.d.ts-change.js @@ -40,8 +40,14 @@ Output:: >> Screen clear [12:00:25 AM] Starting compilation in watch mode... +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject 1 rename:: a.js +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject 1 change:: +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject 1 rename:: tsconfig.tsbuildinfo +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject 1 change:: [12:00:30 AM] Found 0 errors. Watching for file changes. +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject 1 rename:: tsconfig.tsbuildinfo.readable.baseline.txt +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject 1 change:: Program root files: ["/user/username/projects/myproject/a.ts","/user/username/projects/myproject/b.d.ts","/user/username/projects/myproject/c.d.ts"] @@ -175,9 +181,14 @@ export class C Output:: +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject 1 change:: c.d.ts +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject 1 change:: c.d.ts + >> Screen clear [12:00:36 AM] File change detected. Starting incremental compilation... +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject 1 change:: tsconfig.tsbuildinfo +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject 1 change:: tsconfig.tsbuildinfo a.ts:4:17 - error TS2339: Property 'd' does not exist on type 'C'. 4 console.log(b.c.d); @@ -185,6 +196,8 @@ Output:: [12:00:40 AM] Found 1 error. Watching for file changes. +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject 1 change:: tsconfig.tsbuildinfo.readable.baseline.txt +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject 1 change:: tsconfig.tsbuildinfo.readable.baseline.txt Program root files: ["/user/username/projects/myproject/a.ts","/user/username/projects/myproject/b.d.ts","/user/username/projects/myproject/c.d.ts"] @@ -320,11 +333,18 @@ export class C Output:: +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject 1 change:: c.d.ts +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject 1 change:: c.d.ts + >> Screen clear [12:00:47 AM] File change detected. Starting incremental compilation... +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject 1 change:: tsconfig.tsbuildinfo +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject 1 change:: tsconfig.tsbuildinfo [12:00:51 AM] Found 0 errors. Watching for file changes. +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject 1 change:: tsconfig.tsbuildinfo.readable.baseline.txt +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject 1 change:: tsconfig.tsbuildinfo.readable.baseline.txt Program root files: ["/user/username/projects/myproject/a.ts","/user/username/projects/myproject/b.d.ts","/user/username/projects/myproject/c.d.ts"] @@ -448,9 +468,14 @@ export class C Output:: +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject 1 change:: c.d.ts +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject 1 change:: c.d.ts + >> Screen clear [12:00:58 AM] File change detected. Starting incremental compilation... +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject 1 change:: tsconfig.tsbuildinfo +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject 1 change:: tsconfig.tsbuildinfo a.ts:4:17 - error TS2339: Property 'd' does not exist on type 'C'. 4 console.log(b.c.d); @@ -458,6 +483,8 @@ Output:: [12:01:02 AM] Found 1 error. Watching for file changes. +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject 1 change:: tsconfig.tsbuildinfo.readable.baseline.txt +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject 1 change:: tsconfig.tsbuildinfo.readable.baseline.txt Program root files: ["/user/username/projects/myproject/a.ts","/user/username/projects/myproject/b.d.ts","/user/username/projects/myproject/c.d.ts"] diff --git a/tests/baselines/reference/tscWatch/emitAndErrorUpdates/incremental/isolatedModules/deepImportChanges/errors-for-.ts-change.js b/tests/baselines/reference/tscWatch/emitAndErrorUpdates/incremental/isolatedModules/deepImportChanges/errors-for-.ts-change.js index 26cd3ba63c1..84163b27c9a 100644 --- a/tests/baselines/reference/tscWatch/emitAndErrorUpdates/incremental/isolatedModules/deepImportChanges/errors-for-.ts-change.js +++ b/tests/baselines/reference/tscWatch/emitAndErrorUpdates/incremental/isolatedModules/deepImportChanges/errors-for-.ts-change.js @@ -200,9 +200,13 @@ export class C Output:: +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject 1 change:: c.ts + >> Screen clear [12:00:40 AM] File change detected. Starting incremental compilation... +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject 1 change:: c.js +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject 1 change:: tsconfig.tsbuildinfo a.ts:4:17 - error TS2339: Property 'd' does not exist on type 'C'. 4 console.log(b.c.d); @@ -210,6 +214,7 @@ Output:: [12:00:47 AM] Found 1 error. Watching for file changes. +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject 1 change:: tsconfig.tsbuildinfo.readable.baseline.txt Program root files: ["/user/username/projects/myproject/a.ts","/user/username/projects/myproject/b.ts","/user/username/projects/myproject/c.ts"] @@ -356,11 +361,16 @@ export class C Output:: +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject 1 change:: c.ts + >> Screen clear [12:00:54 AM] File change detected. Starting incremental compilation... +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject 1 change:: c.js +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject 1 change:: tsconfig.tsbuildinfo [12:01:01 AM] Found 0 errors. Watching for file changes. +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject 1 change:: tsconfig.tsbuildinfo.readable.baseline.txt Program root files: ["/user/username/projects/myproject/a.ts","/user/username/projects/myproject/b.ts","/user/username/projects/myproject/c.ts"] @@ -495,9 +505,13 @@ export class C Output:: +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject 1 change:: c.ts + >> Screen clear [12:01:08 AM] File change detected. Starting incremental compilation... +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject 1 change:: c.js +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject 1 change:: tsconfig.tsbuildinfo a.ts:4:17 - error TS2339: Property 'd' does not exist on type 'C'. 4 console.log(b.c.d); @@ -505,6 +519,7 @@ Output:: [12:01:15 AM] Found 1 error. Watching for file changes. +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject 1 change:: tsconfig.tsbuildinfo.readable.baseline.txt Program root files: ["/user/username/projects/myproject/a.ts","/user/username/projects/myproject/b.ts","/user/username/projects/myproject/c.ts"] diff --git a/tests/baselines/reference/tscWatch/emitAndErrorUpdates/incremental/isolatedModules/file-not-exporting-a-deep-multilevel-import-that-changes.js b/tests/baselines/reference/tscWatch/emitAndErrorUpdates/incremental/isolatedModules/file-not-exporting-a-deep-multilevel-import-that-changes.js index 1ce4cd7ddf0..47e8cb014d6 100644 --- a/tests/baselines/reference/tscWatch/emitAndErrorUpdates/incremental/isolatedModules/file-not-exporting-a-deep-multilevel-import-that-changes.js +++ b/tests/baselines/reference/tscWatch/emitAndErrorUpdates/incremental/isolatedModules/file-not-exporting-a-deep-multilevel-import-that-changes.js @@ -325,11 +325,16 @@ export interface Coords { Output:: +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject 1 change:: a.ts + >> Screen clear [12:00:48 AM] File change detected. Starting incremental compilation... +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject 1 change:: a.js +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject 1 change:: tsconfig.tsbuildinfo [12:00:55 AM] Found 0 errors. Watching for file changes. +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject 1 change:: tsconfig.tsbuildinfo.readable.baseline.txt Program root files: ["/user/username/projects/myproject/a.ts","/user/username/projects/myproject/b.ts","/user/username/projects/myproject/c.ts","/user/username/projects/myproject/d.ts","/user/username/projects/myproject/e.ts"] @@ -496,9 +501,13 @@ export interface Coords { Output:: +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject 1 change:: a.ts + >> Screen clear [12:01:02 AM] File change detected. Starting incremental compilation... +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject 1 change:: a.js +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject 1 change:: tsconfig.tsbuildinfo c.ts:6:13 - error TS2322: Type '{ x: number; y: number; }' is not assignable to type 'Coords'. Object literal may only specify known properties, and 'x' does not exist in type 'Coords'. @@ -517,6 +526,7 @@ Output:: [12:01:09 AM] Found 2 errors. Watching for file changes. +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject 1 change:: tsconfig.tsbuildinfo.readable.baseline.txt Program root files: ["/user/username/projects/myproject/a.ts","/user/username/projects/myproject/b.ts","/user/username/projects/myproject/c.ts","/user/username/projects/myproject/d.ts","/user/username/projects/myproject/e.ts"] @@ -728,11 +738,16 @@ export interface Coords { Output:: +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject 1 change:: a.ts + >> Screen clear [12:01:16 AM] File change detected. Starting incremental compilation... +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject 1 change:: a.js +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject 1 change:: tsconfig.tsbuildinfo [12:01:23 AM] Found 0 errors. Watching for file changes. +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject 1 change:: tsconfig.tsbuildinfo.readable.baseline.txt Program root files: ["/user/username/projects/myproject/a.ts","/user/username/projects/myproject/b.ts","/user/username/projects/myproject/c.ts","/user/username/projects/myproject/d.ts","/user/username/projects/myproject/e.ts"] diff --git a/tests/baselines/reference/tscWatch/emitAndErrorUpdates/incremental/isolatedModules/with-noEmitOnError-with-incremental.js b/tests/baselines/reference/tscWatch/emitAndErrorUpdates/incremental/isolatedModules/with-noEmitOnError-with-incremental.js index 653445b3186..5487cd16f8c 100644 --- a/tests/baselines/reference/tscWatch/emitAndErrorUpdates/incremental/isolatedModules/with-noEmitOnError-with-incremental.js +++ b/tests/baselines/reference/tscWatch/emitAndErrorUpdates/incremental/isolatedModules/with-noEmitOnError-with-incremental.js @@ -172,6 +172,8 @@ Input:: //// [/user/username/projects/noEmitOnError/src/main.ts] file written with same contents Output:: +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/noemitonerror 1 change:: src/main.ts + >> Screen clear [12:00:43 AM] File change detected. Starting incremental compilation... @@ -231,11 +233,27 @@ const a = { Output:: +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/noemitonerror 1 change:: src/main.ts + >> Screen clear [12:00:48 AM] File change detected. Starting incremental compilation... +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/noemitonerror 1 rename:: dev-build/shared +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/noemitonerror 1 change:: dev-build +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/noemitonerror 1 rename:: dev-build/shared/types +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/noemitonerror 1 change:: dev-build/shared +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/noemitonerror 1 rename:: dev-build/shared/types/db.js +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/noemitonerror 1 change:: dev-build/shared/types +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/noemitonerror 1 rename:: dev-build/src +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/noemitonerror 1 change:: dev-build +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/noemitonerror 1 rename:: dev-build/src/main.js +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/noemitonerror 1 change:: dev-build/src +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/noemitonerror 1 rename:: dev-build/src/other.js +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/noemitonerror 1 change:: dev-build/src +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/noemitonerror 1 change:: dev-build/tsconfig.tsbuildinfo [12:01:06 AM] Found 0 errors. Watching for file changes. +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/noemitonerror 1 change:: dev-build/tsconfig.tsbuildinfo.readable.baseline.txt Program root files: ["/user/username/projects/noEmitOnError/shared/types/db.ts","/user/username/projects/noEmitOnError/src/main.ts","/user/username/projects/noEmitOnError/src/other.ts"] @@ -361,9 +379,12 @@ const a: string = 10; Output:: +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/noemitonerror 1 change:: src/main.ts + >> Screen clear [12:01:13 AM] File change detected. Starting incremental compilation... +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/noemitonerror 1 change:: dev-build/tsconfig.tsbuildinfo src/main.ts:2:7 - error TS2322: Type 'number' is not assignable to type 'string'. 2 const a: string = 10; @@ -371,6 +392,7 @@ Output:: [12:01:17 AM] Found 1 error. Watching for file changes. +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/noemitonerror 1 change:: dev-build/tsconfig.tsbuildinfo.readable.baseline.txt Program root files: ["/user/username/projects/noEmitOnError/shared/types/db.ts","/user/username/projects/noEmitOnError/src/main.ts","/user/username/projects/noEmitOnError/src/other.ts"] @@ -492,6 +514,8 @@ Input:: //// [/user/username/projects/noEmitOnError/src/main.ts] file written with same contents Output:: +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/noemitonerror 1 change:: src/main.ts + >> Screen clear [12:01:25 AM] File change detected. Starting incremental compilation... @@ -549,11 +573,16 @@ const a: string = "hello"; Output:: +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/noemitonerror 1 change:: src/main.ts + >> Screen clear [12:01:30 AM] File change detected. Starting incremental compilation... +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/noemitonerror 1 change:: dev-build/src/main.js +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/noemitonerror 1 change:: dev-build/tsconfig.tsbuildinfo [12:01:37 AM] Found 0 errors. Watching for file changes. +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/noemitonerror 1 change:: dev-build/tsconfig.tsbuildinfo.readable.baseline.txt Program root files: ["/user/username/projects/noEmitOnError/shared/types/db.ts","/user/username/projects/noEmitOnError/src/main.ts","/user/username/projects/noEmitOnError/src/other.ts"] @@ -663,6 +692,8 @@ Input:: //// [/user/username/projects/noEmitOnError/src/main.ts] file written with same contents Output:: +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/noemitonerror 1 change:: src/main.ts + >> Screen clear [12:01:44 AM] File change detected. Starting incremental compilation... diff --git a/tests/baselines/reference/tscWatch/emitAndErrorUpdates/incremental/isolatedModules/with-noEmitOnError.js b/tests/baselines/reference/tscWatch/emitAndErrorUpdates/incremental/isolatedModules/with-noEmitOnError.js index 989ae3dbbb1..bdc2748c423 100644 --- a/tests/baselines/reference/tscWatch/emitAndErrorUpdates/incremental/isolatedModules/with-noEmitOnError.js +++ b/tests/baselines/reference/tscWatch/emitAndErrorUpdates/incremental/isolatedModules/with-noEmitOnError.js @@ -172,6 +172,8 @@ Input:: //// [/user/username/projects/noEmitOnError/src/main.ts] file written with same contents Output:: +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/noemitonerror 1 change:: src/main.ts + >> Screen clear [12:00:43 AM] File change detected. Starting incremental compilation... @@ -231,11 +233,27 @@ const a = { Output:: +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/noemitonerror 1 change:: src/main.ts + >> Screen clear [12:00:48 AM] File change detected. Starting incremental compilation... +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/noemitonerror 1 rename:: dev-build/shared +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/noemitonerror 1 change:: dev-build +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/noemitonerror 1 rename:: dev-build/shared/types +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/noemitonerror 1 change:: dev-build/shared +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/noemitonerror 1 rename:: dev-build/shared/types/db.js +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/noemitonerror 1 change:: dev-build/shared/types +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/noemitonerror 1 rename:: dev-build/src +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/noemitonerror 1 change:: dev-build +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/noemitonerror 1 rename:: dev-build/src/main.js +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/noemitonerror 1 change:: dev-build/src +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/noemitonerror 1 rename:: dev-build/src/other.js +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/noemitonerror 1 change:: dev-build/src +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/noemitonerror 1 change:: dev-build/tsconfig.tsbuildinfo [12:01:06 AM] Found 0 errors. Watching for file changes. +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/noemitonerror 1 change:: dev-build/tsconfig.tsbuildinfo.readable.baseline.txt Program root files: ["/user/username/projects/noEmitOnError/shared/types/db.ts","/user/username/projects/noEmitOnError/src/main.ts","/user/username/projects/noEmitOnError/src/other.ts"] @@ -361,9 +379,12 @@ const a: string = 10; Output:: +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/noemitonerror 1 change:: src/main.ts + >> Screen clear [12:01:13 AM] File change detected. Starting incremental compilation... +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/noemitonerror 1 change:: dev-build/tsconfig.tsbuildinfo src/main.ts:2:7 - error TS2322: Type 'number' is not assignable to type 'string'. 2 const a: string = 10; @@ -371,6 +392,7 @@ Output:: [12:01:17 AM] Found 1 error. Watching for file changes. +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/noemitonerror 1 change:: dev-build/tsconfig.tsbuildinfo.readable.baseline.txt Program root files: ["/user/username/projects/noEmitOnError/shared/types/db.ts","/user/username/projects/noEmitOnError/src/main.ts","/user/username/projects/noEmitOnError/src/other.ts"] @@ -492,6 +514,8 @@ Input:: //// [/user/username/projects/noEmitOnError/src/main.ts] file written with same contents Output:: +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/noemitonerror 1 change:: src/main.ts + >> Screen clear [12:01:25 AM] File change detected. Starting incremental compilation... @@ -549,11 +573,16 @@ const a: string = "hello"; Output:: +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/noemitonerror 1 change:: src/main.ts + >> Screen clear [12:01:30 AM] File change detected. Starting incremental compilation... +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/noemitonerror 1 change:: dev-build/src/main.js +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/noemitonerror 1 change:: dev-build/tsconfig.tsbuildinfo [12:01:37 AM] Found 0 errors. Watching for file changes. +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/noemitonerror 1 change:: dev-build/tsconfig.tsbuildinfo.readable.baseline.txt Program root files: ["/user/username/projects/noEmitOnError/shared/types/db.ts","/user/username/projects/noEmitOnError/src/main.ts","/user/username/projects/noEmitOnError/src/other.ts"] @@ -663,6 +692,8 @@ Input:: //// [/user/username/projects/noEmitOnError/src/main.ts] file written with same contents Output:: +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/noemitonerror 1 change:: src/main.ts + >> Screen clear [12:01:44 AM] File change detected. Starting incremental compilation... diff --git a/tests/baselines/reference/tscWatch/emitAndErrorUpdates/incremental/isolatedModulesAndD/deepImportChanges/errors-for-.d.ts-change.js b/tests/baselines/reference/tscWatch/emitAndErrorUpdates/incremental/isolatedModulesAndD/deepImportChanges/errors-for-.d.ts-change.js index acd5004cc0b..787aa270209 100644 --- a/tests/baselines/reference/tscWatch/emitAndErrorUpdates/incremental/isolatedModulesAndD/deepImportChanges/errors-for-.d.ts-change.js +++ b/tests/baselines/reference/tscWatch/emitAndErrorUpdates/incremental/isolatedModulesAndD/deepImportChanges/errors-for-.d.ts-change.js @@ -40,8 +40,16 @@ Output:: >> Screen clear [12:00:25 AM] Starting compilation in watch mode... +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject 1 rename:: a.js +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject 1 change:: +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject 1 rename:: a.d.ts +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject 1 change:: +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject 1 rename:: tsconfig.tsbuildinfo +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject 1 change:: [12:00:32 AM] Found 0 errors. Watching for file changes. +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject 1 rename:: tsconfig.tsbuildinfo.readable.baseline.txt +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject 1 change:: Program root files: ["/user/username/projects/myproject/a.ts","/user/username/projects/myproject/b.d.ts","/user/username/projects/myproject/c.d.ts"] @@ -179,9 +187,16 @@ export class C Output:: +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject 1 change:: c.d.ts +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject 1 change:: c.d.ts + >> Screen clear [12:00:38 AM] File change detected. Starting incremental compilation... +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject 1 change:: a.d.ts +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject 1 change:: a.d.ts +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject 1 change:: tsconfig.tsbuildinfo +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject 1 change:: tsconfig.tsbuildinfo a.ts:4:17 - error TS2339: Property 'd' does not exist on type 'C'. 4 console.log(b.c.d); @@ -189,6 +204,8 @@ Output:: [12:00:45 AM] Found 1 error. Watching for file changes. +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject 1 change:: tsconfig.tsbuildinfo.readable.baseline.txt +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject 1 change:: tsconfig.tsbuildinfo.readable.baseline.txt Program root files: ["/user/username/projects/myproject/a.ts","/user/username/projects/myproject/b.d.ts","/user/username/projects/myproject/c.d.ts"] @@ -325,11 +342,20 @@ export class C Output:: +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject 1 change:: c.d.ts +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject 1 change:: c.d.ts + >> Screen clear [12:00:52 AM] File change detected. Starting incremental compilation... +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject 1 change:: a.d.ts +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject 1 change:: a.d.ts +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject 1 change:: tsconfig.tsbuildinfo +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject 1 change:: tsconfig.tsbuildinfo [12:00:59 AM] Found 0 errors. Watching for file changes. +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject 1 change:: tsconfig.tsbuildinfo.readable.baseline.txt +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject 1 change:: tsconfig.tsbuildinfo.readable.baseline.txt Program root files: ["/user/username/projects/myproject/a.ts","/user/username/projects/myproject/b.d.ts","/user/username/projects/myproject/c.d.ts"] @@ -454,9 +480,16 @@ export class C Output:: +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject 1 change:: c.d.ts +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject 1 change:: c.d.ts + >> Screen clear [12:01:06 AM] File change detected. Starting incremental compilation... +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject 1 change:: a.d.ts +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject 1 change:: a.d.ts +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject 1 change:: tsconfig.tsbuildinfo +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject 1 change:: tsconfig.tsbuildinfo a.ts:4:17 - error TS2339: Property 'd' does not exist on type 'C'. 4 console.log(b.c.d); @@ -464,6 +497,8 @@ Output:: [12:01:13 AM] Found 1 error. Watching for file changes. +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject 1 change:: tsconfig.tsbuildinfo.readable.baseline.txt +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject 1 change:: tsconfig.tsbuildinfo.readable.baseline.txt Program root files: ["/user/username/projects/myproject/a.ts","/user/username/projects/myproject/b.d.ts","/user/username/projects/myproject/c.d.ts"] diff --git a/tests/baselines/reference/tscWatch/emitAndErrorUpdates/incremental/isolatedModulesAndD/deepImportChanges/errors-for-.ts-change.js b/tests/baselines/reference/tscWatch/emitAndErrorUpdates/incremental/isolatedModulesAndD/deepImportChanges/errors-for-.ts-change.js index b15e1527acd..fbde7ff0898 100644 --- a/tests/baselines/reference/tscWatch/emitAndErrorUpdates/incremental/isolatedModulesAndD/deepImportChanges/errors-for-.ts-change.js +++ b/tests/baselines/reference/tscWatch/emitAndErrorUpdates/incremental/isolatedModulesAndD/deepImportChanges/errors-for-.ts-change.js @@ -217,9 +217,16 @@ export class C Output:: +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject 1 change:: c.ts + >> Screen clear [12:00:46 AM] File change detected. Starting incremental compilation... +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject 1 change:: b.d.ts +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject 1 change:: a.d.ts +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject 1 change:: c.js +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject 1 change:: c.d.ts +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject 1 change:: tsconfig.tsbuildinfo a.ts:4:17 - error TS2339: Property 'd' does not exist on type 'C'. 4 console.log(b.c.d); @@ -227,6 +234,7 @@ Output:: [12:01:02 AM] Found 1 error. Watching for file changes. +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject 1 change:: tsconfig.tsbuildinfo.readable.baseline.txt Program root files: ["/user/username/projects/myproject/a.ts","/user/username/projects/myproject/b.ts","/user/username/projects/myproject/c.ts"] @@ -381,11 +389,19 @@ export class C Output:: +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject 1 change:: c.ts + >> Screen clear [12:01:09 AM] File change detected. Starting incremental compilation... +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject 1 change:: b.d.ts +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject 1 change:: a.d.ts +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject 1 change:: c.js +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject 1 change:: c.d.ts +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject 1 change:: tsconfig.tsbuildinfo [12:01:25 AM] Found 0 errors. Watching for file changes. +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject 1 change:: tsconfig.tsbuildinfo.readable.baseline.txt Program root files: ["/user/username/projects/myproject/a.ts","/user/username/projects/myproject/b.ts","/user/username/projects/myproject/c.ts"] @@ -528,9 +544,16 @@ export class C Output:: +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject 1 change:: c.ts + >> Screen clear [12:01:32 AM] File change detected. Starting incremental compilation... +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject 1 change:: b.d.ts +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject 1 change:: a.d.ts +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject 1 change:: c.js +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject 1 change:: c.d.ts +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject 1 change:: tsconfig.tsbuildinfo a.ts:4:17 - error TS2339: Property 'd' does not exist on type 'C'. 4 console.log(b.c.d); @@ -538,6 +561,7 @@ Output:: [12:01:48 AM] Found 1 error. Watching for file changes. +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject 1 change:: tsconfig.tsbuildinfo.readable.baseline.txt Program root files: ["/user/username/projects/myproject/a.ts","/user/username/projects/myproject/b.ts","/user/username/projects/myproject/c.ts"] diff --git a/tests/baselines/reference/tscWatch/emitAndErrorUpdates/incremental/isolatedModulesAndD/file-not-exporting-a-deep-multilevel-import-that-changes.js b/tests/baselines/reference/tscWatch/emitAndErrorUpdates/incremental/isolatedModulesAndD/file-not-exporting-a-deep-multilevel-import-that-changes.js index b635367da4b..19a3b54610e 100644 --- a/tests/baselines/reference/tscWatch/emitAndErrorUpdates/incremental/isolatedModulesAndD/file-not-exporting-a-deep-multilevel-import-that-changes.js +++ b/tests/baselines/reference/tscWatch/emitAndErrorUpdates/incremental/isolatedModulesAndD/file-not-exporting-a-deep-multilevel-import-that-changes.js @@ -355,11 +355,21 @@ export interface Coords { Output:: +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject 1 change:: a.ts + >> Screen clear [12:00:58 AM] File change detected. Starting incremental compilation... +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject 1 change:: b.d.ts +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject 1 change:: c.d.ts +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject 1 change:: d.d.ts +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject 1 change:: e.d.ts +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject 1 change:: a.js +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject 1 change:: a.d.ts +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject 1 change:: tsconfig.tsbuildinfo [12:01:20 AM] Found 0 errors. Watching for file changes. +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject 1 change:: tsconfig.tsbuildinfo.readable.baseline.txt Program root files: ["/user/username/projects/myproject/a.ts","/user/username/projects/myproject/b.ts","/user/username/projects/myproject/c.ts","/user/username/projects/myproject/d.ts","/user/username/projects/myproject/e.ts"] @@ -541,9 +551,18 @@ export interface Coords { Output:: +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject 1 change:: a.ts + >> Screen clear [12:01:27 AM] File change detected. Starting incremental compilation... +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject 1 change:: b.d.ts +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject 1 change:: c.d.ts +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject 1 change:: d.d.ts +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject 1 change:: e.d.ts +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject 1 change:: a.js +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject 1 change:: a.d.ts +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject 1 change:: tsconfig.tsbuildinfo c.ts:6:13 - error TS2322: Type '{ x: number; y: number; }' is not assignable to type 'Coords'. Object literal may only specify known properties, and 'x' does not exist in type 'Coords'. @@ -562,6 +581,7 @@ Output:: [12:01:49 AM] Found 2 errors. Watching for file changes. +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject 1 change:: tsconfig.tsbuildinfo.readable.baseline.txt Program root files: ["/user/username/projects/myproject/a.ts","/user/username/projects/myproject/b.ts","/user/username/projects/myproject/c.ts","/user/username/projects/myproject/d.ts","/user/username/projects/myproject/e.ts"] @@ -788,11 +808,21 @@ export interface Coords { Output:: +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject 1 change:: a.ts + >> Screen clear [12:01:56 AM] File change detected. Starting incremental compilation... +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject 1 change:: b.d.ts +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject 1 change:: c.d.ts +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject 1 change:: d.d.ts +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject 1 change:: e.d.ts +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject 1 change:: a.js +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject 1 change:: a.d.ts +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject 1 change:: tsconfig.tsbuildinfo [12:02:18 AM] Found 0 errors. Watching for file changes. +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject 1 change:: tsconfig.tsbuildinfo.readable.baseline.txt Program root files: ["/user/username/projects/myproject/a.ts","/user/username/projects/myproject/b.ts","/user/username/projects/myproject/c.ts","/user/username/projects/myproject/d.ts","/user/username/projects/myproject/e.ts"] diff --git a/tests/baselines/reference/tscWatch/emitAndErrorUpdates/incremental/isolatedModulesAndD/with-noEmitOnError-with-incremental.js b/tests/baselines/reference/tscWatch/emitAndErrorUpdates/incremental/isolatedModulesAndD/with-noEmitOnError-with-incremental.js index 8a2fffaedd3..adffac996df 100644 --- a/tests/baselines/reference/tscWatch/emitAndErrorUpdates/incremental/isolatedModulesAndD/with-noEmitOnError-with-incremental.js +++ b/tests/baselines/reference/tscWatch/emitAndErrorUpdates/incremental/isolatedModulesAndD/with-noEmitOnError-with-incremental.js @@ -173,6 +173,8 @@ Input:: //// [/user/username/projects/noEmitOnError/src/main.ts] file written with same contents Output:: +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/noemitonerror 1 change:: src/main.ts + >> Screen clear [12:00:43 AM] File change detected. Starting incremental compilation... @@ -232,11 +234,33 @@ const a = { Output:: +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/noemitonerror 1 change:: src/main.ts + >> Screen clear [12:00:48 AM] File change detected. Starting incremental compilation... +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/noemitonerror 1 rename:: dev-build/shared +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/noemitonerror 1 change:: dev-build +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/noemitonerror 1 rename:: dev-build/shared/types +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/noemitonerror 1 change:: dev-build/shared +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/noemitonerror 1 rename:: dev-build/shared/types/db.js +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/noemitonerror 1 change:: dev-build/shared/types +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/noemitonerror 1 rename:: dev-build/shared/types/db.d.ts +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/noemitonerror 1 change:: dev-build/shared/types +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/noemitonerror 1 rename:: dev-build/src +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/noemitonerror 1 change:: dev-build +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/noemitonerror 1 rename:: dev-build/src/main.js +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/noemitonerror 1 change:: dev-build/src +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/noemitonerror 1 rename:: dev-build/src/main.d.ts +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/noemitonerror 1 change:: dev-build/src +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/noemitonerror 1 rename:: dev-build/src/other.js +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/noemitonerror 1 change:: dev-build/src +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/noemitonerror 1 rename:: dev-build/src/other.d.ts +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/noemitonerror 1 change:: dev-build/src +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/noemitonerror 1 change:: dev-build/tsconfig.tsbuildinfo [12:01:12 AM] Found 0 errors. Watching for file changes. +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/noemitonerror 1 change:: dev-build/tsconfig.tsbuildinfo.readable.baseline.txt Program root files: ["/user/username/projects/noEmitOnError/shared/types/db.ts","/user/username/projects/noEmitOnError/src/main.ts","/user/username/projects/noEmitOnError/src/other.ts"] @@ -377,9 +401,12 @@ const a: string = 10; Output:: +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/noemitonerror 1 change:: src/main.ts + >> Screen clear [12:01:19 AM] File change detected. Starting incremental compilation... +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/noemitonerror 1 change:: dev-build/tsconfig.tsbuildinfo src/main.ts:2:7 - error TS2322: Type 'number' is not assignable to type 'string'. 2 const a: string = 10; @@ -387,6 +414,7 @@ Output:: [12:01:23 AM] Found 1 error. Watching for file changes. +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/noemitonerror 1 change:: dev-build/tsconfig.tsbuildinfo.readable.baseline.txt Program root files: ["/user/username/projects/noEmitOnError/shared/types/db.ts","/user/username/projects/noEmitOnError/src/main.ts","/user/username/projects/noEmitOnError/src/other.ts"] @@ -509,6 +537,8 @@ Input:: //// [/user/username/projects/noEmitOnError/src/main.ts] file written with same contents Output:: +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/noemitonerror 1 change:: src/main.ts + >> Screen clear [12:01:31 AM] File change detected. Starting incremental compilation... @@ -566,11 +596,17 @@ const a: string = "hello"; Output:: +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/noemitonerror 1 change:: src/main.ts + >> Screen clear [12:01:36 AM] File change detected. Starting incremental compilation... +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/noemitonerror 1 change:: dev-build/src/main.js +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/noemitonerror 1 change:: dev-build/src/main.d.ts +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/noemitonerror 1 change:: dev-build/tsconfig.tsbuildinfo [12:01:46 AM] Found 0 errors. Watching for file changes. +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/noemitonerror 1 change:: dev-build/tsconfig.tsbuildinfo.readable.baseline.txt Program root files: ["/user/username/projects/noEmitOnError/shared/types/db.ts","/user/username/projects/noEmitOnError/src/main.ts","/user/username/projects/noEmitOnError/src/other.ts"] @@ -682,6 +718,8 @@ Input:: //// [/user/username/projects/noEmitOnError/src/main.ts] file written with same contents Output:: +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/noemitonerror 1 change:: src/main.ts + >> Screen clear [12:01:53 AM] File change detected. Starting incremental compilation... diff --git a/tests/baselines/reference/tscWatch/emitAndErrorUpdates/incremental/isolatedModulesAndD/with-noEmitOnError.js b/tests/baselines/reference/tscWatch/emitAndErrorUpdates/incremental/isolatedModulesAndD/with-noEmitOnError.js index bed1bc6d9d6..39499bedd8d 100644 --- a/tests/baselines/reference/tscWatch/emitAndErrorUpdates/incremental/isolatedModulesAndD/with-noEmitOnError.js +++ b/tests/baselines/reference/tscWatch/emitAndErrorUpdates/incremental/isolatedModulesAndD/with-noEmitOnError.js @@ -173,6 +173,8 @@ Input:: //// [/user/username/projects/noEmitOnError/src/main.ts] file written with same contents Output:: +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/noemitonerror 1 change:: src/main.ts + >> Screen clear [12:00:43 AM] File change detected. Starting incremental compilation... @@ -232,11 +234,33 @@ const a = { Output:: +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/noemitonerror 1 change:: src/main.ts + >> Screen clear [12:00:48 AM] File change detected. Starting incremental compilation... +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/noemitonerror 1 rename:: dev-build/shared +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/noemitonerror 1 change:: dev-build +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/noemitonerror 1 rename:: dev-build/shared/types +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/noemitonerror 1 change:: dev-build/shared +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/noemitonerror 1 rename:: dev-build/shared/types/db.js +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/noemitonerror 1 change:: dev-build/shared/types +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/noemitonerror 1 rename:: dev-build/shared/types/db.d.ts +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/noemitonerror 1 change:: dev-build/shared/types +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/noemitonerror 1 rename:: dev-build/src +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/noemitonerror 1 change:: dev-build +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/noemitonerror 1 rename:: dev-build/src/main.js +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/noemitonerror 1 change:: dev-build/src +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/noemitonerror 1 rename:: dev-build/src/main.d.ts +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/noemitonerror 1 change:: dev-build/src +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/noemitonerror 1 rename:: dev-build/src/other.js +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/noemitonerror 1 change:: dev-build/src +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/noemitonerror 1 rename:: dev-build/src/other.d.ts +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/noemitonerror 1 change:: dev-build/src +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/noemitonerror 1 change:: dev-build/tsconfig.tsbuildinfo [12:01:12 AM] Found 0 errors. Watching for file changes. +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/noemitonerror 1 change:: dev-build/tsconfig.tsbuildinfo.readable.baseline.txt Program root files: ["/user/username/projects/noEmitOnError/shared/types/db.ts","/user/username/projects/noEmitOnError/src/main.ts","/user/username/projects/noEmitOnError/src/other.ts"] @@ -377,9 +401,12 @@ const a: string = 10; Output:: +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/noemitonerror 1 change:: src/main.ts + >> Screen clear [12:01:19 AM] File change detected. Starting incremental compilation... +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/noemitonerror 1 change:: dev-build/tsconfig.tsbuildinfo src/main.ts:2:7 - error TS2322: Type 'number' is not assignable to type 'string'. 2 const a: string = 10; @@ -387,6 +414,7 @@ Output:: [12:01:23 AM] Found 1 error. Watching for file changes. +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/noemitonerror 1 change:: dev-build/tsconfig.tsbuildinfo.readable.baseline.txt Program root files: ["/user/username/projects/noEmitOnError/shared/types/db.ts","/user/username/projects/noEmitOnError/src/main.ts","/user/username/projects/noEmitOnError/src/other.ts"] @@ -509,6 +537,8 @@ Input:: //// [/user/username/projects/noEmitOnError/src/main.ts] file written with same contents Output:: +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/noemitonerror 1 change:: src/main.ts + >> Screen clear [12:01:31 AM] File change detected. Starting incremental compilation... @@ -566,11 +596,17 @@ const a: string = "hello"; Output:: +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/noemitonerror 1 change:: src/main.ts + >> Screen clear [12:01:36 AM] File change detected. Starting incremental compilation... +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/noemitonerror 1 change:: dev-build/src/main.js +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/noemitonerror 1 change:: dev-build/src/main.d.ts +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/noemitonerror 1 change:: dev-build/tsconfig.tsbuildinfo [12:01:46 AM] Found 0 errors. Watching for file changes. +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/noemitonerror 1 change:: dev-build/tsconfig.tsbuildinfo.readable.baseline.txt Program root files: ["/user/username/projects/noEmitOnError/shared/types/db.ts","/user/username/projects/noEmitOnError/src/main.ts","/user/username/projects/noEmitOnError/src/other.ts"] @@ -682,6 +718,8 @@ Input:: //// [/user/username/projects/noEmitOnError/src/main.ts] file written with same contents Output:: +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/noemitonerror 1 change:: src/main.ts + >> Screen clear [12:01:53 AM] File change detected. Starting incremental compilation... diff --git a/tests/baselines/reference/tscWatch/emitAndErrorUpdates/isolatedModules/deepImportChanges/errors-for-.d.ts-change.js b/tests/baselines/reference/tscWatch/emitAndErrorUpdates/isolatedModules/deepImportChanges/errors-for-.d.ts-change.js index e10259bdb79..4c9137b412e 100644 --- a/tests/baselines/reference/tscWatch/emitAndErrorUpdates/isolatedModules/deepImportChanges/errors-for-.d.ts-change.js +++ b/tests/baselines/reference/tscWatch/emitAndErrorUpdates/isolatedModules/deepImportChanges/errors-for-.d.ts-change.js @@ -40,6 +40,8 @@ Output:: >> Screen clear [12:00:25 AM] Starting compilation in watch mode... +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject 1 rename:: a.js +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject 1 change:: [12:00:28 AM] Found 0 errors. Watching for file changes. @@ -109,6 +111,9 @@ export class C Output:: +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject 1 change:: c.d.ts +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject 1 change:: c.d.ts + >> Screen clear [12:00:32 AM] File change detected. Starting incremental compilation... @@ -176,6 +181,9 @@ export class C Output:: +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject 1 change:: c.d.ts +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject 1 change:: c.d.ts + >> Screen clear [12:00:37 AM] File change detected. Starting incremental compilation... @@ -238,6 +246,9 @@ export class C Output:: +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject 1 change:: c.d.ts +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject 1 change:: c.d.ts + >> Screen clear [12:00:42 AM] File change detected. Starting incremental compilation... diff --git a/tests/baselines/reference/tscWatch/emitAndErrorUpdates/isolatedModules/deepImportChanges/errors-for-.ts-change.js b/tests/baselines/reference/tscWatch/emitAndErrorUpdates/isolatedModules/deepImportChanges/errors-for-.ts-change.js index 77efd91c3c4..b13d120ad65 100644 --- a/tests/baselines/reference/tscWatch/emitAndErrorUpdates/isolatedModules/deepImportChanges/errors-for-.ts-change.js +++ b/tests/baselines/reference/tscWatch/emitAndErrorUpdates/isolatedModules/deepImportChanges/errors-for-.ts-change.js @@ -134,9 +134,12 @@ export class C Output:: +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject 1 change:: c.ts + >> Screen clear [12:00:36 AM] File change detected. Starting incremental compilation... +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject 1 change:: c.js a.ts:4:17 - error TS2339: Property 'd' does not exist on type 'C'. 4 console.log(b.c.d); @@ -212,9 +215,12 @@ export class C Output:: +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject 1 change:: c.ts + >> Screen clear [12:00:44 AM] File change detected. Starting incremental compilation... +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject 1 change:: c.js [12:00:48 AM] Found 0 errors. Watching for file changes. @@ -285,9 +291,12 @@ export class C Output:: +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject 1 change:: c.ts + >> Screen clear [12:00:52 AM] File change detected. Starting incremental compilation... +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject 1 change:: c.js a.ts:4:17 - error TS2339: Property 'd' does not exist on type 'C'. 4 console.log(b.c.d); diff --git a/tests/baselines/reference/tscWatch/emitAndErrorUpdates/isolatedModules/file-not-exporting-a-deep-multilevel-import-that-changes.js b/tests/baselines/reference/tscWatch/emitAndErrorUpdates/isolatedModules/file-not-exporting-a-deep-multilevel-import-that-changes.js index 40a113914a8..23ec4494fa2 100644 --- a/tests/baselines/reference/tscWatch/emitAndErrorUpdates/isolatedModules/file-not-exporting-a-deep-multilevel-import-that-changes.js +++ b/tests/baselines/reference/tscWatch/emitAndErrorUpdates/isolatedModules/file-not-exporting-a-deep-multilevel-import-that-changes.js @@ -184,9 +184,12 @@ export interface Coords { Output:: +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject 1 change:: a.ts + >> Screen clear [12:00:44 AM] File change detected. Starting incremental compilation... +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject 1 change:: a.js [12:00:48 AM] Found 0 errors. Watching for file changes. @@ -259,9 +262,12 @@ export interface Coords { Output:: +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject 1 change:: a.ts + >> Screen clear [12:00:52 AM] File change detected. Starting incremental compilation... +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject 1 change:: a.js c.ts:6:13 - error TS2322: Type '{ x: number; y: number; }' is not assignable to type 'Coords'. Object literal may only specify known properties, and 'x' does not exist in type 'Coords'. @@ -350,9 +356,12 @@ export interface Coords { Output:: +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject 1 change:: a.ts + >> Screen clear [12:01:00 AM] File change detected. Starting incremental compilation... +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject 1 change:: a.js [12:01:04 AM] Found 0 errors. Watching for file changes. diff --git a/tests/baselines/reference/tscWatch/emitAndErrorUpdates/isolatedModules/with-noEmitOnError-with-incremental.js b/tests/baselines/reference/tscWatch/emitAndErrorUpdates/isolatedModules/with-noEmitOnError-with-incremental.js index 2c894c145b0..effe08a727e 100644 --- a/tests/baselines/reference/tscWatch/emitAndErrorUpdates/isolatedModules/with-noEmitOnError-with-incremental.js +++ b/tests/baselines/reference/tscWatch/emitAndErrorUpdates/isolatedModules/with-noEmitOnError-with-incremental.js @@ -172,6 +172,8 @@ Input:: //// [/user/username/projects/noEmitOnError/src/main.ts] file written with same contents Output:: +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/noemitonerror 1 change:: src/main.ts + >> Screen clear [12:00:43 AM] File change detected. Starting incremental compilation... @@ -231,11 +233,27 @@ const a = { Output:: +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/noemitonerror 1 change:: src/main.ts + >> Screen clear [12:00:48 AM] File change detected. Starting incremental compilation... +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/noemitonerror 1 rename:: dev-build/shared +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/noemitonerror 1 change:: dev-build +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/noemitonerror 1 rename:: dev-build/shared/types +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/noemitonerror 1 change:: dev-build/shared +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/noemitonerror 1 rename:: dev-build/shared/types/db.js +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/noemitonerror 1 change:: dev-build/shared/types +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/noemitonerror 1 rename:: dev-build/src +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/noemitonerror 1 change:: dev-build +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/noemitonerror 1 rename:: dev-build/src/main.js +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/noemitonerror 1 change:: dev-build/src +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/noemitonerror 1 rename:: dev-build/src/other.js +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/noemitonerror 1 change:: dev-build/src +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/noemitonerror 1 change:: dev-build/tsconfig.tsbuildinfo [12:01:06 AM] Found 0 errors. Watching for file changes. +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/noemitonerror 1 change:: dev-build/tsconfig.tsbuildinfo.readable.baseline.txt Program root files: ["/user/username/projects/noEmitOnError/shared/types/db.ts","/user/username/projects/noEmitOnError/src/main.ts","/user/username/projects/noEmitOnError/src/other.ts"] @@ -361,9 +379,12 @@ const a: string = 10; Output:: +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/noemitonerror 1 change:: src/main.ts + >> Screen clear [12:01:13 AM] File change detected. Starting incremental compilation... +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/noemitonerror 1 change:: dev-build/tsconfig.tsbuildinfo src/main.ts:2:7 - error TS2322: Type 'number' is not assignable to type 'string'. 2 const a: string = 10; @@ -371,6 +392,7 @@ Output:: [12:01:17 AM] Found 1 error. Watching for file changes. +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/noemitonerror 1 change:: dev-build/tsconfig.tsbuildinfo.readable.baseline.txt Program root files: ["/user/username/projects/noEmitOnError/shared/types/db.ts","/user/username/projects/noEmitOnError/src/main.ts","/user/username/projects/noEmitOnError/src/other.ts"] @@ -492,6 +514,8 @@ Input:: //// [/user/username/projects/noEmitOnError/src/main.ts] file written with same contents Output:: +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/noemitonerror 1 change:: src/main.ts + >> Screen clear [12:01:25 AM] File change detected. Starting incremental compilation... @@ -549,11 +573,16 @@ const a: string = "hello"; Output:: +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/noemitonerror 1 change:: src/main.ts + >> Screen clear [12:01:30 AM] File change detected. Starting incremental compilation... +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/noemitonerror 1 change:: dev-build/src/main.js +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/noemitonerror 1 change:: dev-build/tsconfig.tsbuildinfo [12:01:37 AM] Found 0 errors. Watching for file changes. +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/noemitonerror 1 change:: dev-build/tsconfig.tsbuildinfo.readable.baseline.txt Program root files: ["/user/username/projects/noEmitOnError/shared/types/db.ts","/user/username/projects/noEmitOnError/src/main.ts","/user/username/projects/noEmitOnError/src/other.ts"] @@ -663,6 +692,8 @@ Input:: //// [/user/username/projects/noEmitOnError/src/main.ts] file written with same contents Output:: +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/noemitonerror 1 change:: src/main.ts + >> Screen clear [12:01:44 AM] File change detected. Starting incremental compilation... diff --git a/tests/baselines/reference/tscWatch/emitAndErrorUpdates/isolatedModules/with-noEmitOnError.js b/tests/baselines/reference/tscWatch/emitAndErrorUpdates/isolatedModules/with-noEmitOnError.js index a0bbf83e0dc..00d9bfbcc6f 100644 --- a/tests/baselines/reference/tscWatch/emitAndErrorUpdates/isolatedModules/with-noEmitOnError.js +++ b/tests/baselines/reference/tscWatch/emitAndErrorUpdates/isolatedModules/with-noEmitOnError.js @@ -97,6 +97,8 @@ Input:: //// [/user/username/projects/noEmitOnError/src/main.ts] file written with same contents Output:: +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/noemitonerror 1 change:: src/main.ts + >> Screen clear [12:00:36 AM] File change detected. Starting incremental compilation... @@ -156,9 +158,25 @@ const a = { Output:: +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/noemitonerror 1 change:: src/main.ts + >> Screen clear [12:00:41 AM] File change detected. Starting incremental compilation... +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/noemitonerror 1 rename:: dev-build +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/noemitonerror 1 change:: +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/noemitonerror 1 rename:: dev-build/shared +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/noemitonerror 1 change:: dev-build +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/noemitonerror 1 rename:: dev-build/shared/types +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/noemitonerror 1 change:: dev-build/shared +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/noemitonerror 1 rename:: dev-build/shared/types/db.js +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/noemitonerror 1 change:: dev-build/shared/types +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/noemitonerror 1 rename:: dev-build/src +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/noemitonerror 1 change:: dev-build +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/noemitonerror 1 rename:: dev-build/src/main.js +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/noemitonerror 1 change:: dev-build/src +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/noemitonerror 1 rename:: dev-build/src/other.js +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/noemitonerror 1 change:: dev-build/src [12:00:58 AM] Found 0 errors. Watching for file changes. @@ -229,6 +247,8 @@ const a: string = 10; Output:: +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/noemitonerror 1 change:: src/main.ts + >> Screen clear [12:01:02 AM] File change detected. Starting incremental compilation... @@ -285,6 +305,8 @@ Input:: //// [/user/username/projects/noEmitOnError/src/main.ts] file written with same contents Output:: +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/noemitonerror 1 change:: src/main.ts + >> Screen clear [12:01:08 AM] File change detected. Starting incremental compilation... @@ -342,9 +364,12 @@ const a: string = "hello"; Output:: +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/noemitonerror 1 change:: src/main.ts + >> Screen clear [12:01:13 AM] File change detected. Starting incremental compilation... +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/noemitonerror 1 change:: dev-build/src/main.js [12:01:17 AM] Found 0 errors. Watching for file changes. @@ -399,6 +424,8 @@ Input:: //// [/user/username/projects/noEmitOnError/src/main.ts] file written with same contents Output:: +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/noemitonerror 1 change:: src/main.ts + >> Screen clear [12:01:21 AM] File change detected. Starting incremental compilation... diff --git a/tests/baselines/reference/tscWatch/emitAndErrorUpdates/isolatedModulesAndD/deepImportChanges/errors-for-.d.ts-change.js b/tests/baselines/reference/tscWatch/emitAndErrorUpdates/isolatedModulesAndD/deepImportChanges/errors-for-.d.ts-change.js index 618fe53144a..fd82ee72294 100644 --- a/tests/baselines/reference/tscWatch/emitAndErrorUpdates/isolatedModulesAndD/deepImportChanges/errors-for-.d.ts-change.js +++ b/tests/baselines/reference/tscWatch/emitAndErrorUpdates/isolatedModulesAndD/deepImportChanges/errors-for-.d.ts-change.js @@ -40,6 +40,10 @@ Output:: >> Screen clear [12:00:25 AM] Starting compilation in watch mode... +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject 1 rename:: a.js +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject 1 change:: +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject 1 rename:: a.d.ts +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject 1 change:: [12:00:30 AM] Found 0 errors. Watching for file changes. @@ -113,9 +117,14 @@ export class C Output:: +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject 1 change:: c.d.ts +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject 1 change:: c.d.ts + >> Screen clear [12:00:34 AM] File change detected. Starting incremental compilation... +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject 1 change:: a.d.ts +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject 1 change:: a.d.ts a.ts:4:17 - error TS2339: Property 'd' does not exist on type 'C'. 4 console.log(b.c.d); @@ -181,9 +190,14 @@ export class C Output:: +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject 1 change:: c.d.ts +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject 1 change:: c.d.ts + >> Screen clear [12:00:42 AM] File change detected. Starting incremental compilation... +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject 1 change:: a.d.ts +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject 1 change:: a.d.ts [12:00:46 AM] Found 0 errors. Watching for file changes. @@ -244,9 +258,14 @@ export class C Output:: +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject 1 change:: c.d.ts +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject 1 change:: c.d.ts + >> Screen clear [12:00:50 AM] File change detected. Starting incremental compilation... +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject 1 change:: a.d.ts +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject 1 change:: a.d.ts a.ts:4:17 - error TS2339: Property 'd' does not exist on type 'C'. 4 console.log(b.c.d); diff --git a/tests/baselines/reference/tscWatch/emitAndErrorUpdates/isolatedModulesAndD/deepImportChanges/errors-for-.ts-change.js b/tests/baselines/reference/tscWatch/emitAndErrorUpdates/isolatedModulesAndD/deepImportChanges/errors-for-.ts-change.js index dd21b663f9d..f802f56f1c4 100644 --- a/tests/baselines/reference/tscWatch/emitAndErrorUpdates/isolatedModulesAndD/deepImportChanges/errors-for-.ts-change.js +++ b/tests/baselines/reference/tscWatch/emitAndErrorUpdates/isolatedModulesAndD/deepImportChanges/errors-for-.ts-change.js @@ -151,9 +151,15 @@ export class C Output:: +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject 1 change:: c.ts + >> Screen clear [12:00:42 AM] File change detected. Starting incremental compilation... +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject 1 change:: b.d.ts +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject 1 change:: a.d.ts +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject 1 change:: c.js +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject 1 change:: c.d.ts a.ts:4:17 - error TS2339: Property 'd' does not exist on type 'C'. 4 console.log(b.c.d); @@ -237,9 +243,15 @@ export class C Output:: +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject 1 change:: c.ts + >> Screen clear [12:00:59 AM] File change detected. Starting incremental compilation... +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject 1 change:: b.d.ts +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject 1 change:: a.d.ts +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject 1 change:: c.js +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject 1 change:: c.d.ts [12:01:12 AM] Found 0 errors. Watching for file changes. @@ -318,9 +330,15 @@ export class C Output:: +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject 1 change:: c.ts + >> Screen clear [12:01:16 AM] File change detected. Starting incremental compilation... +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject 1 change:: b.d.ts +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject 1 change:: a.d.ts +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject 1 change:: c.js +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject 1 change:: c.d.ts a.ts:4:17 - error TS2339: Property 'd' does not exist on type 'C'. 4 console.log(b.c.d); diff --git a/tests/baselines/reference/tscWatch/emitAndErrorUpdates/isolatedModulesAndD/file-not-exporting-a-deep-multilevel-import-that-changes.js b/tests/baselines/reference/tscWatch/emitAndErrorUpdates/isolatedModulesAndD/file-not-exporting-a-deep-multilevel-import-that-changes.js index 08665de0850..9514448be65 100644 --- a/tests/baselines/reference/tscWatch/emitAndErrorUpdates/isolatedModulesAndD/file-not-exporting-a-deep-multilevel-import-that-changes.js +++ b/tests/baselines/reference/tscWatch/emitAndErrorUpdates/isolatedModulesAndD/file-not-exporting-a-deep-multilevel-import-that-changes.js @@ -214,9 +214,17 @@ export interface Coords { Output:: +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject 1 change:: a.ts + >> Screen clear [12:00:54 AM] File change detected. Starting incremental compilation... +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject 1 change:: b.d.ts +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject 1 change:: c.d.ts +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject 1 change:: d.d.ts +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject 1 change:: e.d.ts +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject 1 change:: a.js +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject 1 change:: a.d.ts [12:01:13 AM] Found 0 errors. Watching for file changes. @@ -304,9 +312,17 @@ export interface Coords { Output:: +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject 1 change:: a.ts + >> Screen clear [12:01:17 AM] File change detected. Starting incremental compilation... +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject 1 change:: b.d.ts +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject 1 change:: c.d.ts +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject 1 change:: d.d.ts +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject 1 change:: e.d.ts +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject 1 change:: a.js +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject 1 change:: a.d.ts c.ts:6:13 - error TS2322: Type '{ x: number; y: number; }' is not assignable to type 'Coords'. Object literal may only specify known properties, and 'x' does not exist in type 'Coords'. @@ -410,9 +426,17 @@ export interface Coords { Output:: +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject 1 change:: a.ts + >> Screen clear [12:01:40 AM] File change detected. Starting incremental compilation... +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject 1 change:: b.d.ts +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject 1 change:: c.d.ts +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject 1 change:: d.d.ts +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject 1 change:: e.d.ts +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject 1 change:: a.js +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject 1 change:: a.d.ts [12:01:59 AM] Found 0 errors. Watching for file changes. diff --git a/tests/baselines/reference/tscWatch/emitAndErrorUpdates/isolatedModulesAndD/with-noEmitOnError-with-incremental.js b/tests/baselines/reference/tscWatch/emitAndErrorUpdates/isolatedModulesAndD/with-noEmitOnError-with-incremental.js index 9e681e65996..53e409de7fd 100644 --- a/tests/baselines/reference/tscWatch/emitAndErrorUpdates/isolatedModulesAndD/with-noEmitOnError-with-incremental.js +++ b/tests/baselines/reference/tscWatch/emitAndErrorUpdates/isolatedModulesAndD/with-noEmitOnError-with-incremental.js @@ -173,6 +173,8 @@ Input:: //// [/user/username/projects/noEmitOnError/src/main.ts] file written with same contents Output:: +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/noemitonerror 1 change:: src/main.ts + >> Screen clear [12:00:43 AM] File change detected. Starting incremental compilation... @@ -232,11 +234,33 @@ const a = { Output:: +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/noemitonerror 1 change:: src/main.ts + >> Screen clear [12:00:48 AM] File change detected. Starting incremental compilation... +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/noemitonerror 1 rename:: dev-build/shared +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/noemitonerror 1 change:: dev-build +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/noemitonerror 1 rename:: dev-build/shared/types +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/noemitonerror 1 change:: dev-build/shared +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/noemitonerror 1 rename:: dev-build/shared/types/db.js +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/noemitonerror 1 change:: dev-build/shared/types +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/noemitonerror 1 rename:: dev-build/shared/types/db.d.ts +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/noemitonerror 1 change:: dev-build/shared/types +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/noemitonerror 1 rename:: dev-build/src +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/noemitonerror 1 change:: dev-build +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/noemitonerror 1 rename:: dev-build/src/main.js +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/noemitonerror 1 change:: dev-build/src +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/noemitonerror 1 rename:: dev-build/src/main.d.ts +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/noemitonerror 1 change:: dev-build/src +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/noemitonerror 1 rename:: dev-build/src/other.js +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/noemitonerror 1 change:: dev-build/src +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/noemitonerror 1 rename:: dev-build/src/other.d.ts +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/noemitonerror 1 change:: dev-build/src +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/noemitonerror 1 change:: dev-build/tsconfig.tsbuildinfo [12:01:12 AM] Found 0 errors. Watching for file changes. +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/noemitonerror 1 change:: dev-build/tsconfig.tsbuildinfo.readable.baseline.txt Program root files: ["/user/username/projects/noEmitOnError/shared/types/db.ts","/user/username/projects/noEmitOnError/src/main.ts","/user/username/projects/noEmitOnError/src/other.ts"] @@ -377,9 +401,12 @@ const a: string = 10; Output:: +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/noemitonerror 1 change:: src/main.ts + >> Screen clear [12:01:19 AM] File change detected. Starting incremental compilation... +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/noemitonerror 1 change:: dev-build/tsconfig.tsbuildinfo src/main.ts:2:7 - error TS2322: Type 'number' is not assignable to type 'string'. 2 const a: string = 10; @@ -387,6 +414,7 @@ Output:: [12:01:23 AM] Found 1 error. Watching for file changes. +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/noemitonerror 1 change:: dev-build/tsconfig.tsbuildinfo.readable.baseline.txt Program root files: ["/user/username/projects/noEmitOnError/shared/types/db.ts","/user/username/projects/noEmitOnError/src/main.ts","/user/username/projects/noEmitOnError/src/other.ts"] @@ -509,6 +537,8 @@ Input:: //// [/user/username/projects/noEmitOnError/src/main.ts] file written with same contents Output:: +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/noemitonerror 1 change:: src/main.ts + >> Screen clear [12:01:31 AM] File change detected. Starting incremental compilation... @@ -566,11 +596,17 @@ const a: string = "hello"; Output:: +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/noemitonerror 1 change:: src/main.ts + >> Screen clear [12:01:36 AM] File change detected. Starting incremental compilation... +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/noemitonerror 1 change:: dev-build/src/main.js +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/noemitonerror 1 change:: dev-build/src/main.d.ts +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/noemitonerror 1 change:: dev-build/tsconfig.tsbuildinfo [12:01:46 AM] Found 0 errors. Watching for file changes. +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/noemitonerror 1 change:: dev-build/tsconfig.tsbuildinfo.readable.baseline.txt Program root files: ["/user/username/projects/noEmitOnError/shared/types/db.ts","/user/username/projects/noEmitOnError/src/main.ts","/user/username/projects/noEmitOnError/src/other.ts"] @@ -682,6 +718,8 @@ Input:: //// [/user/username/projects/noEmitOnError/src/main.ts] file written with same contents Output:: +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/noemitonerror 1 change:: src/main.ts + >> Screen clear [12:01:53 AM] File change detected. Starting incremental compilation... diff --git a/tests/baselines/reference/tscWatch/emitAndErrorUpdates/isolatedModulesAndD/with-noEmitOnError.js b/tests/baselines/reference/tscWatch/emitAndErrorUpdates/isolatedModulesAndD/with-noEmitOnError.js index 34f7d03b648..66b5a94ca60 100644 --- a/tests/baselines/reference/tscWatch/emitAndErrorUpdates/isolatedModulesAndD/with-noEmitOnError.js +++ b/tests/baselines/reference/tscWatch/emitAndErrorUpdates/isolatedModulesAndD/with-noEmitOnError.js @@ -97,6 +97,8 @@ Input:: //// [/user/username/projects/noEmitOnError/src/main.ts] file written with same contents Output:: +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/noemitonerror 1 change:: src/main.ts + >> Screen clear [12:00:36 AM] File change detected. Starting incremental compilation... @@ -156,9 +158,31 @@ const a = { Output:: +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/noemitonerror 1 change:: src/main.ts + >> Screen clear [12:00:41 AM] File change detected. Starting incremental compilation... +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/noemitonerror 1 rename:: dev-build +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/noemitonerror 1 change:: +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/noemitonerror 1 rename:: dev-build/shared +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/noemitonerror 1 change:: dev-build +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/noemitonerror 1 rename:: dev-build/shared/types +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/noemitonerror 1 change:: dev-build/shared +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/noemitonerror 1 rename:: dev-build/shared/types/db.js +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/noemitonerror 1 change:: dev-build/shared/types +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/noemitonerror 1 rename:: dev-build/shared/types/db.d.ts +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/noemitonerror 1 change:: dev-build/shared/types +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/noemitonerror 1 rename:: dev-build/src +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/noemitonerror 1 change:: dev-build +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/noemitonerror 1 rename:: dev-build/src/main.js +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/noemitonerror 1 change:: dev-build/src +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/noemitonerror 1 rename:: dev-build/src/main.d.ts +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/noemitonerror 1 change:: dev-build/src +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/noemitonerror 1 rename:: dev-build/src/other.js +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/noemitonerror 1 change:: dev-build/src +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/noemitonerror 1 rename:: dev-build/src/other.d.ts +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/noemitonerror 1 change:: dev-build/src [12:01:04 AM] Found 0 errors. Watching for file changes. @@ -243,6 +267,8 @@ const a: string = 10; Output:: +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/noemitonerror 1 change:: src/main.ts + >> Screen clear [12:01:08 AM] File change detected. Starting incremental compilation... @@ -299,6 +325,8 @@ Input:: //// [/user/username/projects/noEmitOnError/src/main.ts] file written with same contents Output:: +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/noemitonerror 1 change:: src/main.ts + >> Screen clear [12:01:14 AM] File change detected. Starting incremental compilation... @@ -356,9 +384,13 @@ const a: string = "hello"; Output:: +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/noemitonerror 1 change:: src/main.ts + >> Screen clear [12:01:19 AM] File change detected. Starting incremental compilation... +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/noemitonerror 1 change:: dev-build/src/main.js +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/noemitonerror 1 change:: dev-build/src/main.d.ts [12:01:26 AM] Found 0 errors. Watching for file changes. @@ -414,6 +446,8 @@ Input:: //// [/user/username/projects/noEmitOnError/src/main.ts] file written with same contents Output:: +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/noemitonerror 1 change:: src/main.ts + >> Screen clear [12:01:30 AM] File change detected. Starting incremental compilation... diff --git a/tests/baselines/reference/tscWatch/forceConsistentCasingInFileNames/when-Windows-style-drive-root-is-lowercase.js b/tests/baselines/reference/tscWatch/forceConsistentCasingInFileNames/when-Windows-style-drive-root-is-lowercase.js index dec29649773..fd59c599021 100644 --- a/tests/baselines/reference/tscWatch/forceConsistentCasingInFileNames/when-Windows-style-drive-root-is-lowercase.js +++ b/tests/baselines/reference/tscWatch/forceConsistentCasingInFileNames/when-Windows-style-drive-root-is-lowercase.js @@ -115,9 +115,13 @@ export const b = 2; Output:: +sysLog:: watchPresentFileSystemEntry:: c:/project 1 change:: a.ts + >> Screen clear [12:00:25 AM] File change detected. Starting incremental compilation... +sysLog:: watchPresentFileSystemEntry:: c:/project 1 change:: a.js +sysLog:: watchPresentFileSystemEntry:: c:/project 1 change:: b.js a/lib/lib.d.ts Default library for target 'es3' project/a.ts diff --git a/tests/baselines/reference/tscWatch/forceConsistentCasingInFileNames/when-Windows-style-drive-root-is-uppercase.js b/tests/baselines/reference/tscWatch/forceConsistentCasingInFileNames/when-Windows-style-drive-root-is-uppercase.js index 4503d40a300..0b28da762ec 100644 --- a/tests/baselines/reference/tscWatch/forceConsistentCasingInFileNames/when-Windows-style-drive-root-is-uppercase.js +++ b/tests/baselines/reference/tscWatch/forceConsistentCasingInFileNames/when-Windows-style-drive-root-is-uppercase.js @@ -115,9 +115,13 @@ export const b = 2; Output:: +sysLog:: watchPresentFileSystemEntry:: c:/project 1 change:: a.ts + >> Screen clear [12:00:25 AM] File change detected. Starting incremental compilation... +sysLog:: watchPresentFileSystemEntry:: c:/project 1 change:: a.js +sysLog:: watchPresentFileSystemEntry:: c:/project 1 change:: b.js a/lib/lib.d.ts Default library for target 'es3' project/a.ts diff --git a/tests/baselines/reference/tscWatch/forceConsistentCasingInFileNames/when-both-directory-symlink-target-and-import-match-disk.js b/tests/baselines/reference/tscWatch/forceConsistentCasingInFileNames/when-both-directory-symlink-target-and-import-match-disk.js index d2f27653bed..8fcebef95b7 100644 --- a/tests/baselines/reference/tscWatch/forceConsistentCasingInFileNames/when-both-directory-symlink-target-and-import-match-disk.js +++ b/tests/baselines/reference/tscWatch/forceConsistentCasingInFileNames/when-both-directory-symlink-target-and-import-match-disk.js @@ -143,9 +143,12 @@ export const b = 2; Output:: +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject 1 change:: XY/a.ts + >> Screen clear [12:00:33 AM] File change detected. Starting incremental compilation... +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject 1 change:: out.js ../../../../a/lib/lib.d.ts Default library for target 'es3' XY/a.ts diff --git a/tests/baselines/reference/tscWatch/forceConsistentCasingInFileNames/when-both-file-symlink-target-and-import-match-disk.js b/tests/baselines/reference/tscWatch/forceConsistentCasingInFileNames/when-both-file-symlink-target-and-import-match-disk.js index 9670b01db25..1cb178832b5 100644 --- a/tests/baselines/reference/tscWatch/forceConsistentCasingInFileNames/when-both-file-symlink-target-and-import-match-disk.js +++ b/tests/baselines/reference/tscWatch/forceConsistentCasingInFileNames/when-both-file-symlink-target-and-import-match-disk.js @@ -131,9 +131,13 @@ export const b = 2; Output:: +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject 1 change:: XY.ts + >> Screen clear [12:00:35 AM] File change detected. Starting incremental compilation... +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject 1 change:: XY.js +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject 1 change:: b.js ../../../../a/lib/lib.d.ts Default library for target 'es3' XY.ts diff --git a/tests/baselines/reference/tscWatch/forceConsistentCasingInFileNames/when-changing-module-name-with-different-casing.js b/tests/baselines/reference/tscWatch/forceConsistentCasingInFileNames/when-changing-module-name-with-different-casing.js index 9d715495c3c..77774ae6529 100644 --- a/tests/baselines/reference/tscWatch/forceConsistentCasingInFileNames/when-changing-module-name-with-different-casing.js +++ b/tests/baselines/reference/tscWatch/forceConsistentCasingInFileNames/when-changing-module-name-with-different-casing.js @@ -97,9 +97,12 @@ import { logger } from "./Logger"; new logger(); Output:: +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject 1 change:: another.ts + >> Screen clear [12:00:32 AM] File change detected. Starting incremental compilation... +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject 1 change:: another.js user/username/projects/myproject/another.ts:1:24 - error TS1261: Already included file name '/user/username/projects/myproject/Logger.ts' differs from file name '/user/username/projects/myproject/logger.ts' only in casing. The file is in the program because: Imported via "./Logger" from file '/user/username/projects/myproject/another.ts' diff --git a/tests/baselines/reference/tscWatch/forceConsistentCasingInFileNames/when-directory-symlink-target-matches-disk-but-import-does-not.js b/tests/baselines/reference/tscWatch/forceConsistentCasingInFileNames/when-directory-symlink-target-matches-disk-but-import-does-not.js index b34869681bb..cc3f543daaf 100644 --- a/tests/baselines/reference/tscWatch/forceConsistentCasingInFileNames/when-directory-symlink-target-matches-disk-but-import-does-not.js +++ b/tests/baselines/reference/tscWatch/forceConsistentCasingInFileNames/when-directory-symlink-target-matches-disk-but-import-does-not.js @@ -143,9 +143,12 @@ export const b = 2; Output:: +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject 1 change:: XY/a.ts + >> Screen clear [12:00:33 AM] File change detected. Starting incremental compilation... +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject 1 change:: out.js ../../../../a/lib/lib.d.ts Default library for target 'es3' XY/a.ts diff --git a/tests/baselines/reference/tscWatch/forceConsistentCasingInFileNames/when-file-symlink-target-matches-disk-but-import-does-not.js b/tests/baselines/reference/tscWatch/forceConsistentCasingInFileNames/when-file-symlink-target-matches-disk-but-import-does-not.js index 61a08b485ef..d652c222335 100644 --- a/tests/baselines/reference/tscWatch/forceConsistentCasingInFileNames/when-file-symlink-target-matches-disk-but-import-does-not.js +++ b/tests/baselines/reference/tscWatch/forceConsistentCasingInFileNames/when-file-symlink-target-matches-disk-but-import-does-not.js @@ -131,9 +131,13 @@ export const b = 2; Output:: +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject 1 change:: XY.ts + >> Screen clear [12:00:35 AM] File change detected. Starting incremental compilation... +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject 1 change:: XY.js +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject 1 change:: b.js ../../../../a/lib/lib.d.ts Default library for target 'es3' XY.ts diff --git a/tests/baselines/reference/tscWatch/forceConsistentCasingInFileNames/when-import,-directory-symlink-target,-and-disk-are-all-different.js b/tests/baselines/reference/tscWatch/forceConsistentCasingInFileNames/when-import,-directory-symlink-target,-and-disk-are-all-different.js index e54490bf669..a03d7beee38 100644 --- a/tests/baselines/reference/tscWatch/forceConsistentCasingInFileNames/when-import,-directory-symlink-target,-and-disk-are-all-different.js +++ b/tests/baselines/reference/tscWatch/forceConsistentCasingInFileNames/when-import,-directory-symlink-target,-and-disk-are-all-different.js @@ -149,9 +149,12 @@ export const b = 2; Output:: +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject 1 change:: XY/a.ts + >> Screen clear [12:00:33 AM] File change detected. Starting incremental compilation... +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject 1 change:: out.js b.ts:2:19 - error TS2792: Cannot find module './yX/a'. Did you mean to set the 'moduleResolution' option to 'node', or to add aliases to the 'paths' option? 2 import { a } from "./yX/a"; diff --git a/tests/baselines/reference/tscWatch/forceConsistentCasingInFileNames/when-import,-file-symlink-target,-and-disk-are-all-different.js b/tests/baselines/reference/tscWatch/forceConsistentCasingInFileNames/when-import,-file-symlink-target,-and-disk-are-all-different.js index c42e49cc01c..4e8d9102a6b 100644 --- a/tests/baselines/reference/tscWatch/forceConsistentCasingInFileNames/when-import,-file-symlink-target,-and-disk-are-all-different.js +++ b/tests/baselines/reference/tscWatch/forceConsistentCasingInFileNames/when-import,-file-symlink-target,-and-disk-are-all-different.js @@ -36,6 +36,12 @@ Output:: >> Screen clear [12:00:25 AM] Starting compilation in watch mode... +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject 1 rename:: XY.js +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject 1 change:: +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject 1 rename:: link.js +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject 1 change:: +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject 1 rename:: b.js +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject 1 change:: b.ts:2:19 - error TS2307: Cannot find module './yX' or its corresponding type declarations. 2 import { a } from "./yX"; @@ -139,9 +145,14 @@ export const b = 2; Output:: +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject 1 change:: XY.ts +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject 1 change:: XY.ts + >> Screen clear [12:00:35 AM] File change detected. Starting incremental compilation... +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject 1 change:: XY.js +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject 1 change:: XY.js b.ts:2:19 - error TS2307: Cannot find module './yX' or its corresponding type declarations. 2 import { a } from "./yX"; diff --git a/tests/baselines/reference/tscWatch/forceConsistentCasingInFileNames/when-import-and-directory-symlink-target-agree-but-do-not-match-disk.js b/tests/baselines/reference/tscWatch/forceConsistentCasingInFileNames/when-import-and-directory-symlink-target-agree-but-do-not-match-disk.js index 23a93128bab..a7a3d48e40f 100644 --- a/tests/baselines/reference/tscWatch/forceConsistentCasingInFileNames/when-import-and-directory-symlink-target-agree-but-do-not-match-disk.js +++ b/tests/baselines/reference/tscWatch/forceConsistentCasingInFileNames/when-import-and-directory-symlink-target-agree-but-do-not-match-disk.js @@ -151,9 +151,12 @@ export const b = 2; Output:: +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject 1 change:: XY/a.ts + >> Screen clear [12:00:33 AM] File change detected. Starting incremental compilation... +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject 1 change:: out.js b.ts:2:19 - error TS1261: Already included file name '/user/username/projects/myproject/Xy/a.ts' differs from file name '/user/username/projects/myproject/XY/a.ts' only in casing. The file is in the program because: Imported via "./Xy/a" from file '/user/username/projects/myproject/b.ts' diff --git a/tests/baselines/reference/tscWatch/forceConsistentCasingInFileNames/when-import-and-file-symlink-target-agree-but-do-not-match-disk.js b/tests/baselines/reference/tscWatch/forceConsistentCasingInFileNames/when-import-and-file-symlink-target-agree-but-do-not-match-disk.js index dd0ca380d9f..cc6ae7be49c 100644 --- a/tests/baselines/reference/tscWatch/forceConsistentCasingInFileNames/when-import-and-file-symlink-target-agree-but-do-not-match-disk.js +++ b/tests/baselines/reference/tscWatch/forceConsistentCasingInFileNames/when-import-and-file-symlink-target-agree-but-do-not-match-disk.js @@ -139,9 +139,13 @@ export const b = 2; Output:: +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject 1 change:: XY.ts + >> Screen clear [12:00:35 AM] File change detected. Starting incremental compilation... +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject 1 change:: XY.js +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject 1 change:: b.js b.ts:2:19 - error TS1149: File name '/user/username/projects/myproject/Xy.ts' differs from already included file name '/user/username/projects/myproject/XY.ts' only in casing. The file is in the program because: Matched by default include pattern '**/*' diff --git a/tests/baselines/reference/tscWatch/forceConsistentCasingInFileNames/when-import-matches-disk-but-directory-symlink-target-does-not.js b/tests/baselines/reference/tscWatch/forceConsistentCasingInFileNames/when-import-matches-disk-but-directory-symlink-target-does-not.js index b80e2134bce..d4c7b75e358 100644 --- a/tests/baselines/reference/tscWatch/forceConsistentCasingInFileNames/when-import-matches-disk-but-directory-symlink-target-does-not.js +++ b/tests/baselines/reference/tscWatch/forceConsistentCasingInFileNames/when-import-matches-disk-but-directory-symlink-target-does-not.js @@ -151,9 +151,12 @@ export const b = 2; Output:: +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject 1 change:: XY/a.ts + >> Screen clear [12:00:33 AM] File change detected. Starting incremental compilation... +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject 1 change:: out.js b.ts:2:19 - error TS1261: Already included file name '/user/username/projects/myproject/Xy/a.ts' differs from file name '/user/username/projects/myproject/XY/a.ts' only in casing. The file is in the program because: Imported via "./Xy/a" from file '/user/username/projects/myproject/b.ts' diff --git a/tests/baselines/reference/tscWatch/forceConsistentCasingInFileNames/when-import-matches-disk-but-file-symlink-target-does-not.js b/tests/baselines/reference/tscWatch/forceConsistentCasingInFileNames/when-import-matches-disk-but-file-symlink-target-does-not.js index c97de6ce428..0c6cbe0e176 100644 --- a/tests/baselines/reference/tscWatch/forceConsistentCasingInFileNames/when-import-matches-disk-but-file-symlink-target-does-not.js +++ b/tests/baselines/reference/tscWatch/forceConsistentCasingInFileNames/when-import-matches-disk-but-file-symlink-target-does-not.js @@ -139,9 +139,13 @@ export const b = 2; Output:: +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject 1 change:: XY.ts + >> Screen clear [12:00:35 AM] File change detected. Starting incremental compilation... +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject 1 change:: XY.js +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject 1 change:: b.js b.ts:2:19 - error TS1149: File name '/user/username/projects/myproject/Xy.ts' differs from already included file name '/user/username/projects/myproject/XY.ts' only in casing. The file is in the program because: Matched by default include pattern '**/*' diff --git a/tests/baselines/reference/tscWatch/forceConsistentCasingInFileNames/when-relative-information-file-location-changes.js b/tests/baselines/reference/tscWatch/forceConsistentCasingInFileNames/when-relative-information-file-location-changes.js index 8478461feaa..e696b1e3b44 100644 --- a/tests/baselines/reference/tscWatch/forceConsistentCasingInFileNames/when-relative-information-file-location-changes.js +++ b/tests/baselines/reference/tscWatch/forceConsistentCasingInFileNames/when-relative-information-file-location-changes.js @@ -142,9 +142,12 @@ Input:: Output:: +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject 1 change:: moduleA.ts + >> Screen clear [12:00:35 AM] File change detected. Starting incremental compilation... +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject 1 change:: moduleA.js moduleA.ts:2:40 - error TS1261: Already included file name '/user/username/projects/myproject/ModuleC.ts' differs from file name '/user/username/projects/myproject/moduleC.ts' only in casing. The file is in the program because: Imported via "./ModuleC" from file '/user/username/projects/myproject/moduleA.ts' diff --git a/tests/baselines/reference/tscWatch/forceConsistentCasingInFileNames/when-renaming-file-with-different-casing.js b/tests/baselines/reference/tscWatch/forceConsistentCasingInFileNames/when-renaming-file-with-different-casing.js index 92a7dcac194..ba1320e8cec 100644 --- a/tests/baselines/reference/tscWatch/forceConsistentCasingInFileNames/when-renaming-file-with-different-casing.js +++ b/tests/baselines/reference/tscWatch/forceConsistentCasingInFileNames/when-renaming-file-with-different-casing.js @@ -95,6 +95,11 @@ Input:: //// [/user/username/projects/myproject/Logger.ts] file was renamed from file /user/username/projects/myproject/logger.ts Output:: +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject 1 rename:: logger.ts +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject 1 change:: +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject 1 rename:: Logger.ts +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject 1 change:: + >> Screen clear [12:00:32 AM] File change detected. Starting incremental compilation... diff --git a/tests/baselines/reference/tscWatch/incremental/editing-module-augmentation-watch.js b/tests/baselines/reference/tscWatch/incremental/editing-module-augmentation-watch.js index f97d3a05fb1..16fd7a70eb7 100644 --- a/tests/baselines/reference/tscWatch/incremental/editing-module-augmentation-watch.js +++ b/tests/baselines/reference/tscWatch/incremental/editing-module-augmentation-watch.js @@ -32,6 +32,8 @@ Output:: >> Screen clear [12:00:33 AM] Starting compilation in watch mode... +sysLog:: watchPresentFileSystemEntry:: /users/username/projects/project/src 1 rename:: index.js +sysLog:: watchPresentFileSystemEntry:: /users/username/projects/project/src 1 change:: [12:00:38 AM] Found 0 errors. Watching for file changes. @@ -176,6 +178,7 @@ Output:: >> Screen clear [12:00:44 AM] Starting compilation in watch mode... +sysLog:: watchPresentFileSystemEntry:: /users/username/projects/project/src 1 change:: index.js src/index.ts:1:51 - error TS2339: Property 'foo' does not exist on type 'Result'. 1 import classNames from "classnames"; classNames().foo; diff --git a/tests/baselines/reference/tscWatch/moduleResolution/watches-for-changes-to-package-json-main-fields.js b/tests/baselines/reference/tscWatch/moduleResolution/watches-for-changes-to-package-json-main-fields.js index 8ab4f71d85f..c9009919cbd 100644 --- a/tests/baselines/reference/tscWatch/moduleResolution/watches-for-changes-to-package-json-main-fields.js +++ b/tests/baselines/reference/tscWatch/moduleResolution/watches-for-changes-to-package-json-main-fields.js @@ -153,6 +153,8 @@ Input:: Output:: +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject/packages/pkg2 1 change:: package.json + >> Screen clear [12:00:53 AM] File change detected. Starting incremental compilation... @@ -180,6 +182,7 @@ File '/user/username/projects/myproject/node_modules/pkg2/build/other.tsx' does File '/user/username/projects/myproject/node_modules/pkg2/build/other.d.ts' exist - use it as a name resolution result. Resolving real path for '/user/username/projects/myproject/node_modules/pkg2/build/other.d.ts', result '/user/username/projects/myproject/packages/pkg2/build/other.d.ts'. ======== Module name 'pkg2' was successfully resolved to '/user/username/projects/myproject/packages/pkg2/build/other.d.ts' with Package ID 'pkg2/build/other.d.ts@1.0.0'. ======== +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject/packages/pkg1 1 change:: build/index.js packages/pkg1/index.ts:1:15 - error TS2305: Module '"pkg2"' has no exported member 'TheNum'. 1 import type { TheNum } from 'pkg2' @@ -285,6 +288,7 @@ File '/user/username/projects/myproject/packages/pkg2/build/const.ts' does not e File '/user/username/projects/myproject/packages/pkg2/build/const.tsx' does not exist. File '/user/username/projects/myproject/packages/pkg2/build/const.d.ts' exist - use it as a name resolution result. ======== Module name './const.js' was successfully resolved to '/user/username/projects/myproject/packages/pkg2/build/const.d.ts'. ======== +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject/packages/pkg1 1 change:: build/index.js [12:01:05 AM] Found 0 errors. Watching for file changes. diff --git a/tests/baselines/reference/tscWatch/nodenext watch emit/esm-mode-file-is-edited.js b/tests/baselines/reference/tscWatch/nodenext watch emit/esm-mode-file-is-edited.js index 5ec25f7fcfe..0c1b4d730ed 100644 --- a/tests/baselines/reference/tscWatch/nodenext watch emit/esm-mode-file-is-edited.js +++ b/tests/baselines/reference/tscWatch/nodenext watch emit/esm-mode-file-is-edited.js @@ -99,6 +99,8 @@ Thing.fn(); Output:: +sysLog:: watchPresentFileSystemEntry:: /project 1 change:: src/index.ts + >> Screen clear [12:00:30 AM] File change detected. Starting incremental compilation... diff --git a/tests/baselines/reference/tscWatch/programUpdates/Options-Diagnostic-locations-reported-correctly-with-changes-in-configFile-contents-when-options-change.js b/tests/baselines/reference/tscWatch/programUpdates/Options-Diagnostic-locations-reported-correctly-with-changes-in-configFile-contents-when-options-change.js index 15a3e8bd3fa..39756910bb7 100644 --- a/tests/baselines/reference/tscWatch/programUpdates/Options-Diagnostic-locations-reported-correctly-with-changes-in-configFile-contents-when-options-change.js +++ b/tests/baselines/reference/tscWatch/programUpdates/Options-Diagnostic-locations-reported-correctly-with-changes-in-configFile-contents-when-options-change.js @@ -101,6 +101,8 @@ Input:: Output:: +sysLog:: watchPresentFileSystemEntry:: /a/b 1 change:: tsconfig.json + >> Screen clear [12:00:22 AM] File change detected. Starting incremental compilation... diff --git a/tests/baselines/reference/tscWatch/programUpdates/Reports-errors-when-the-config-file-changes.js b/tests/baselines/reference/tscWatch/programUpdates/Reports-errors-when-the-config-file-changes.js index 65462ae84ba..269eb38c46f 100644 --- a/tests/baselines/reference/tscWatch/programUpdates/Reports-errors-when-the-config-file-changes.js +++ b/tests/baselines/reference/tscWatch/programUpdates/Reports-errors-when-the-config-file-changes.js @@ -78,6 +78,8 @@ Input:: Output:: +sysLog:: watchPresentFileSystemEntry:: /a/b 1 change:: tsconfig.json + >> Screen clear [12:00:22 AM] File change detected. Starting incremental compilation... @@ -131,6 +133,8 @@ Input:: Output:: +sysLog:: watchPresentFileSystemEntry:: /a/b 1 change:: tsconfig.json + >> Screen clear [12:00:27 AM] File change detected. Starting incremental compilation... diff --git a/tests/baselines/reference/tscWatch/programUpdates/Updates-diagnostics-when-'--noUnusedLabels'-changes.js b/tests/baselines/reference/tscWatch/programUpdates/Updates-diagnostics-when-'--noUnusedLabels'-changes.js index 4f47cd5f54f..30b1cb0e031 100644 --- a/tests/baselines/reference/tscWatch/programUpdates/Updates-diagnostics-when-'--noUnusedLabels'-changes.js +++ b/tests/baselines/reference/tscWatch/programUpdates/Updates-diagnostics-when-'--noUnusedLabels'-changes.js @@ -72,6 +72,8 @@ Input:: Output:: +sysLog:: watchPresentFileSystemEntry:: 1 change:: tsconfig.json + >> Screen clear [12:00:19 AM] File change detected. Starting incremental compilation... @@ -122,6 +124,8 @@ Input:: Output:: +sysLog:: watchPresentFileSystemEntry:: 1 change:: tsconfig.json + >> Screen clear [12:00:23 AM] File change detected. Starting incremental compilation... diff --git a/tests/baselines/reference/tscWatch/programUpdates/add-new-files-to-a-configured-program-without-file-list.js b/tests/baselines/reference/tscWatch/programUpdates/add-new-files-to-a-configured-program-without-file-list.js index 22d57ffd063..66d242d6478 100644 --- a/tests/baselines/reference/tscWatch/programUpdates/add-new-files-to-a-configured-program-without-file-list.js +++ b/tests/baselines/reference/tscWatch/programUpdates/add-new-files-to-a-configured-program-without-file-list.js @@ -74,9 +74,15 @@ let y = 1 Output:: +sysLog:: watchPresentFileSystemEntry:: /a/b 1 rename:: commonFile2.ts +sysLog:: watchPresentFileSystemEntry:: /a/b 1 change:: + >> Screen clear [12:00:21 AM] File change detected. Starting incremental compilation... +sysLog:: watchPresentFileSystemEntry:: /a/b 1 rename:: commonFile2.js +sysLog:: watchPresentFileSystemEntry:: /a/b 1 change:: +sysLog:: watchPresentFileSystemEntry:: /a/b 1 change:: commonFile1.js [12:00:27 AM] Found 0 errors. Watching for file changes. diff --git a/tests/baselines/reference/tscWatch/programUpdates/add-the-missing-module-file-for-inferred-project-should-remove-the-module-not-found-error.js b/tests/baselines/reference/tscWatch/programUpdates/add-the-missing-module-file-for-inferred-project-should-remove-the-module-not-found-error.js index 9be0097c5be..f5635e360db 100644 --- a/tests/baselines/reference/tscWatch/programUpdates/add-the-missing-module-file-for-inferred-project-should-remove-the-module-not-found-error.js +++ b/tests/baselines/reference/tscWatch/programUpdates/add-the-missing-module-file-for-inferred-project-should-remove-the-module-not-found-error.js @@ -21,6 +21,8 @@ Output:: >> Screen clear [12:00:13 AM] Starting compilation in watch mode... +sysLog:: watchPresentFileSystemEntry:: /a 1 rename:: b/file1.js +sysLog:: watchPresentFileSystemEntry:: /a 1 change:: b a/b/file1.ts:1:20 - error TS2307: Cannot find module './moduleFile' or its corresponding type declarations. 1 import * as T from "./moduleFile"; T.bar(); @@ -75,6 +77,9 @@ export function bar() { } Output:: +sysLog:: watchPresentFileSystemEntry:: /a 1 rename:: b/moduleFile.ts +sysLog:: watchPresentFileSystemEntry:: /a 1 change:: b + >> Screen clear [12:00:19 AM] File change detected. Starting incremental compilation... diff --git a/tests/baselines/reference/tscWatch/programUpdates/can-correctly-update-configured-project-when-set-of-root-files-has-changed-(new-file-on-disk).js b/tests/baselines/reference/tscWatch/programUpdates/can-correctly-update-configured-project-when-set-of-root-files-has-changed-(new-file-on-disk).js index 4ef78e41a98..3d5c9ba773f 100644 --- a/tests/baselines/reference/tscWatch/programUpdates/can-correctly-update-configured-project-when-set-of-root-files-has-changed-(new-file-on-disk).js +++ b/tests/baselines/reference/tscWatch/programUpdates/can-correctly-update-configured-project-when-set-of-root-files-has-changed-(new-file-on-disk).js @@ -74,9 +74,15 @@ let y = 1 Output:: +sysLog:: watchPresentFileSystemEntry:: /a/b 1 rename:: f2.ts +sysLog:: watchPresentFileSystemEntry:: /a/b 1 change:: + >> Screen clear [12:00:21 AM] File change detected. Starting incremental compilation... +sysLog:: watchPresentFileSystemEntry:: /a/b 1 rename:: f2.js +sysLog:: watchPresentFileSystemEntry:: /a/b 1 change:: +sysLog:: watchPresentFileSystemEntry:: /a/b 1 change:: f1.js [12:00:27 AM] Found 0 errors. Watching for file changes. diff --git a/tests/baselines/reference/tscWatch/programUpdates/can-correctly-update-configured-project-when-set-of-root-files-has-changed-through-include.js b/tests/baselines/reference/tscWatch/programUpdates/can-correctly-update-configured-project-when-set-of-root-files-has-changed-through-include.js index 48b958db851..58860e5eb17 100644 --- a/tests/baselines/reference/tscWatch/programUpdates/can-correctly-update-configured-project-when-set-of-root-files-has-changed-through-include.js +++ b/tests/baselines/reference/tscWatch/programUpdates/can-correctly-update-configured-project-when-set-of-root-files-has-changed-through-include.js @@ -79,9 +79,14 @@ export const y = 10; Output:: +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject/project 1 rename:: file2.ts +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject/project 1 change:: + >> Screen clear [12:00:29 AM] File change detected. Starting incremental compilation... +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject/project 1 rename:: file2.js +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject/project 1 change:: [12:00:32 AM] Found 0 errors. Watching for file changes. diff --git a/tests/baselines/reference/tscWatch/programUpdates/change-module-to-none.js b/tests/baselines/reference/tscWatch/programUpdates/change-module-to-none.js index 1d1e3a97eda..1875f9e0907 100644 --- a/tests/baselines/reference/tscWatch/programUpdates/change-module-to-none.js +++ b/tests/baselines/reference/tscWatch/programUpdates/change-module-to-none.js @@ -76,9 +76,12 @@ Input:: Output:: +sysLog:: watchPresentFileSystemEntry:: /a/b 1 change:: tsconfig.json + >> Screen clear [12:00:22 AM] File change detected. Starting incremental compilation... +sysLog:: watchPresentFileSystemEntry:: /a/b 1 change:: f1.js a/b/f1.ts:1:1 - error TS1148: Cannot use imports, exports, or module augmentations when '--module' is 'none'. 1 export {} diff --git a/tests/baselines/reference/tscWatch/programUpdates/config-file-is-deleted.js b/tests/baselines/reference/tscWatch/programUpdates/config-file-is-deleted.js index 8ce89bda343..9fcee78a9dd 100644 --- a/tests/baselines/reference/tscWatch/programUpdates/config-file-is-deleted.js +++ b/tests/baselines/reference/tscWatch/programUpdates/config-file-is-deleted.js @@ -84,6 +84,8 @@ Input:: //// [/a/b/tsconfig.json] deleted Output:: +sysLog:: watchPresentFileSystemEntry:: /a/b 1 rename:: tsconfig.json +sysLog:: watchPresentFileSystemEntry:: /a/b 1 change:: error TS5083: Cannot read file '/a/b/tsconfig.json'. diff --git a/tests/baselines/reference/tscWatch/programUpdates/correctly-handles-changes-in-lib-section-of-config-file.js b/tests/baselines/reference/tscWatch/programUpdates/correctly-handles-changes-in-lib-section-of-config-file.js index c5b9c128afc..caef1045d34 100644 --- a/tests/baselines/reference/tscWatch/programUpdates/correctly-handles-changes-in-lib-section-of-config-file.js +++ b/tests/baselines/reference/tscWatch/programUpdates/correctly-handles-changes-in-lib-section-of-config-file.js @@ -83,9 +83,12 @@ Input:: Output:: +sysLog:: watchPresentFileSystemEntry:: /src 1 change:: tsconfig.json + >> Screen clear [12:00:22 AM] File change detected. Starting incremental compilation... +sysLog:: watchPresentFileSystemEntry:: /src 1 change:: app.js [12:00:26 AM] Found 0 errors. Watching for file changes. diff --git a/tests/baselines/reference/tscWatch/programUpdates/correctly-parses-wild-card-directories-from-implicit-glob-when-two-keys-differ-only-in-directory-seperator.js b/tests/baselines/reference/tscWatch/programUpdates/correctly-parses-wild-card-directories-from-implicit-glob-when-two-keys-differ-only-in-directory-seperator.js index 4cc9a64e0e9..9cd745bbb46 100644 --- a/tests/baselines/reference/tscWatch/programUpdates/correctly-parses-wild-card-directories-from-implicit-glob-when-two-keys-differ-only-in-directory-seperator.js +++ b/tests/baselines/reference/tscWatch/programUpdates/correctly-parses-wild-card-directories-from-implicit-glob-when-two-keys-differ-only-in-directory-seperator.js @@ -153,9 +153,11 @@ export const z = 1; Output:: +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject 1 rename:: new-file.ts DirectoryWatcher:: Triggered with /user/username/projects/myproject/new-file.ts :: WatchInfo: /user/username/projects/myproject 1 undefined Wild card directory Scheduling update Elapsed:: *ms DirectoryWatcher:: Triggered with /user/username/projects/myproject/new-file.ts :: WatchInfo: /user/username/projects/myproject 1 undefined Wild card directory +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject 1 change:: Reloading new file names and options Synchronizing program [12:00:39 AM] File change detected. Starting incremental compilation... @@ -164,14 +166,20 @@ CreatingProgramWith:: roots: ["/user/username/projects/myproject/f1.ts","/user/username/projects/myproject/f2.ts","/user/username/projects/myproject/new-file.ts"] options: {"composite":true,"watch":true,"extendedDiagnostics":true,"configFilePath":"/user/username/projects/myproject/tsconfig.json"} FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/new-file.ts 250 undefined Source file +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject 1 rename:: new-file.js DirectoryWatcher:: Triggered with /user/username/projects/myproject/new-file.js :: WatchInfo: /user/username/projects/myproject 1 undefined Wild card directory Project: /user/username/projects/myproject/tsconfig.json Detected file add/remove of non supported extension: /user/username/projects/myproject/new-file.js Elapsed:: *ms DirectoryWatcher:: Triggered with /user/username/projects/myproject/new-file.js :: WatchInfo: /user/username/projects/myproject 1 undefined Wild card directory +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject 1 change:: +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject 1 rename:: new-file.d.ts DirectoryWatcher:: Triggered with /user/username/projects/myproject/new-file.d.ts :: WatchInfo: /user/username/projects/myproject 1 undefined Wild card directory Project: /user/username/projects/myproject/tsconfig.json Detected output file: /user/username/projects/myproject/new-file.d.ts Elapsed:: *ms DirectoryWatcher:: Triggered with /user/username/projects/myproject/new-file.d.ts :: WatchInfo: /user/username/projects/myproject 1 undefined Wild card directory +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject 1 change:: +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject 1 change:: tsconfig.tsbuildinfo [12:00:47 AM] Found 0 errors. Watching for file changes. +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject 1 change:: tsconfig.tsbuildinfo.readable.baseline.txt Program root files: ["/user/username/projects/myproject/f1.ts","/user/username/projects/myproject/f2.ts","/user/username/projects/myproject/new-file.ts"] @@ -281,14 +289,19 @@ Output:: FileWatcher:: Triggered with /user/username/projects/myproject/f1.ts 1:: WatchInfo: /user/username/projects/myproject/f1.ts 250 undefined Source file Scheduling update Elapsed:: *ms FileWatcher:: Triggered with /user/username/projects/myproject/f1.ts 1:: WatchInfo: /user/username/projects/myproject/f1.ts 250 undefined Source file +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject 1 change:: f1.ts Synchronizing program [12:00:53 AM] File change detected. Starting incremental compilation... CreatingProgramWith:: roots: ["/user/username/projects/myproject/f1.ts","/user/username/projects/myproject/f2.ts","/user/username/projects/myproject/new-file.ts"] options: {"composite":true,"watch":true,"extendedDiagnostics":true,"configFilePath":"/user/username/projects/myproject/tsconfig.json"} +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject 1 change:: f1.js +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject 1 change:: f1.d.ts +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject 1 change:: tsconfig.tsbuildinfo [12:01:03 AM] Found 0 errors. Watching for file changes. +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject 1 change:: tsconfig.tsbuildinfo.readable.baseline.txt Program root files: ["/user/username/projects/myproject/f1.ts","/user/username/projects/myproject/f2.ts","/user/username/projects/myproject/new-file.ts"] diff --git a/tests/baselines/reference/tscWatch/programUpdates/create-watch-without-config-file.js b/tests/baselines/reference/tscWatch/programUpdates/create-watch-without-config-file.js index c24a8fc88e3..d6c7a106c6d 100644 --- a/tests/baselines/reference/tscWatch/programUpdates/create-watch-without-config-file.js +++ b/tests/baselines/reference/tscWatch/programUpdates/create-watch-without-config-file.js @@ -27,6 +27,8 @@ Output:: >> Screen clear [12:00:17 AM] Starting compilation in watch mode... +sysLog:: watchPresentFileSystemEntry:: /a 1 rename:: b/c/app.js +sysLog:: watchPresentFileSystemEntry:: /a 1 change:: b/c a/b/c/app.ts:2:25 - error TS2305: Module '"./module"' has no exported member 'f'. 2 import {f} from "./module" diff --git a/tests/baselines/reference/tscWatch/programUpdates/deleted-files-affect-project-structure-2.js b/tests/baselines/reference/tscWatch/programUpdates/deleted-files-affect-project-structure-2.js index a10797617e9..0a759aac1e8 100644 --- a/tests/baselines/reference/tscWatch/programUpdates/deleted-files-affect-project-structure-2.js +++ b/tests/baselines/reference/tscWatch/programUpdates/deleted-files-affect-project-structure-2.js @@ -125,6 +125,7 @@ Output:: >> Screen clear [12:00:28 AM] File change detected. Starting incremental compilation... +sysLog:: watchPresentFileSystemEntry:: /a 1 change:: b/f1.js a/b/f1.ts:1:15 - error TS7016: Could not find a declaration file for module './f2'. '/a/b/f2.js' implicitly has an 'any' type. 1 export * from "./f2" diff --git a/tests/baselines/reference/tscWatch/programUpdates/deleted-files-affect-project-structure.js b/tests/baselines/reference/tscWatch/programUpdates/deleted-files-affect-project-structure.js index 233d8635a3e..cdf207a5bbb 100644 --- a/tests/baselines/reference/tscWatch/programUpdates/deleted-files-affect-project-structure.js +++ b/tests/baselines/reference/tscWatch/programUpdates/deleted-files-affect-project-structure.js @@ -125,6 +125,7 @@ Output:: >> Screen clear [12:00:28 AM] File change detected. Starting incremental compilation... +sysLog:: watchPresentFileSystemEntry:: /a 1 change:: b/f1.js a/b/f1.ts:1:15 - error TS7016: Could not find a declaration file for module './f2'. '/a/b/f2.js' implicitly has an 'any' type. 1 export * from "./f2" diff --git a/tests/baselines/reference/tscWatch/programUpdates/handle-recreated-files-correctly.js b/tests/baselines/reference/tscWatch/programUpdates/handle-recreated-files-correctly.js index 1dd28f2ed00..c5357521539 100644 --- a/tests/baselines/reference/tscWatch/programUpdates/handle-recreated-files-correctly.js +++ b/tests/baselines/reference/tscWatch/programUpdates/handle-recreated-files-correctly.js @@ -92,9 +92,13 @@ let y = 1;let xy = 10; Output:: +sysLog:: watchPresentFileSystemEntry:: /a/b 1 change:: commonFile2.ts + >> Screen clear [12:00:25 AM] File change detected. Starting incremental compilation... +sysLog:: watchPresentFileSystemEntry:: /a/b 1 change:: commonFile2.js +sysLog:: watchPresentFileSystemEntry:: /a/b 1 change:: commonFile1.js a/lib/lib.d.ts Default library for target 'es3' a/b/commonFile1.ts @@ -155,9 +159,13 @@ Input:: //// [/a/b/commonFile2.ts] deleted Output:: +sysLog:: watchPresentFileSystemEntry:: /a/b 1 rename:: commonFile2.ts +sysLog:: watchPresentFileSystemEntry:: /a/b 1 change:: + >> Screen clear [12:00:34 AM] File change detected. Starting incremental compilation... +sysLog:: watchPresentFileSystemEntry:: /a/b 1 change:: commonFile1.js a/lib/lib.d.ts Default library for target 'es3' a/b/commonFile1.ts @@ -207,9 +215,14 @@ let y = 1 Output:: +sysLog:: watchPresentFileSystemEntry:: /a/b 1 rename:: commonFile2.ts +sysLog:: watchPresentFileSystemEntry:: /a/b 1 change:: + >> Screen clear [12:00:41 AM] File change detected. Starting incremental compilation... +sysLog:: watchPresentFileSystemEntry:: /a/b 1 change:: commonFile2.js +sysLog:: watchPresentFileSystemEntry:: /a/b 1 change:: commonFile1.js a/lib/lib.d.ts Default library for target 'es3' a/b/commonFile1.ts diff --git a/tests/baselines/reference/tscWatch/programUpdates/rename-a-module-file-and-rename-back-should-restore-the-states-for-configured-projects.js b/tests/baselines/reference/tscWatch/programUpdates/rename-a-module-file-and-rename-back-should-restore-the-states-for-configured-projects.js index f44279fbd64..72aa414b481 100644 --- a/tests/baselines/reference/tscWatch/programUpdates/rename-a-module-file-and-rename-back-should-restore-the-states-for-configured-projects.js +++ b/tests/baselines/reference/tscWatch/programUpdates/rename-a-module-file-and-rename-back-should-restore-the-states-for-configured-projects.js @@ -96,9 +96,22 @@ export function bar() { }; //// [/a/b/moduleFile.js] deleted Output:: +sysLog:: watchPresentFileSystemEntry:: /a/b 1 rename:: moduleFile.ts +sysLog:: watchPresentFileSystemEntry:: /a/b 1 change:: +sysLog:: watchPresentFileSystemEntry:: /a/b 1 rename:: moduleFile1.ts +sysLog:: watchPresentFileSystemEntry:: /a/b 1 change:: +sysLog:: watchPresentFileSystemEntry:: /a/b 1 rename:: moduleFile.js +sysLog:: watchPresentFileSystemEntry:: /a/b 1 change:: + >> Screen clear [12:00:27 AM] File change detected. Starting incremental compilation... +sysLog:: watchPresentFileSystemEntry:: /a/b 1 change:: file1.js +sysLog:: watchPresentFileSystemEntry:: /a/b 1 change:: file1.js +sysLog:: watchPresentFileSystemEntry:: /a/b 1 rename:: moduleFile1.js +sysLog:: watchPresentFileSystemEntry:: /a/b 1 rename:: moduleFile1.js +sysLog:: watchPresentFileSystemEntry:: /a/b 1 change:: +sysLog:: watchPresentFileSystemEntry:: /a/b 1 change:: a/b/file1.ts:1:20 - error TS2307: Cannot find module './moduleFile' or its corresponding type declarations. 1 import * as T from "./moduleFile"; T.bar(); @@ -168,9 +181,21 @@ export function bar() { }; //// [/a/b/moduleFile1.ts] deleted Output:: +sysLog:: watchPresentFileSystemEntry:: /a/b 1 rename:: moduleFile1.ts +sysLog:: watchPresentFileSystemEntry:: /a/b 1 rename:: moduleFile1.ts +sysLog:: watchPresentFileSystemEntry:: /a/b 1 change:: +sysLog:: watchPresentFileSystemEntry:: /a/b 1 change:: +sysLog:: watchPresentFileSystemEntry:: /a/b 1 rename:: moduleFile.ts +sysLog:: watchPresentFileSystemEntry:: /a/b 1 rename:: moduleFile.ts +sysLog:: watchPresentFileSystemEntry:: /a/b 1 change:: +sysLog:: watchPresentFileSystemEntry:: /a/b 1 change:: + >> Screen clear [12:00:37 AM] File change detected. Starting incremental compilation... +sysLog:: watchPresentFileSystemEntry:: /a/b 1 rename:: moduleFile.js +sysLog:: watchPresentFileSystemEntry:: /a/b 1 change:: +sysLog:: watchPresentFileSystemEntry:: /a/b 1 change:: file1.js [12:00:43 AM] Found 0 errors. Watching for file changes. diff --git a/tests/baselines/reference/tscWatch/programUpdates/rename-a-module-file-and-rename-back-should-restore-the-states-for-inferred-projects.js b/tests/baselines/reference/tscWatch/programUpdates/rename-a-module-file-and-rename-back-should-restore-the-states-for-inferred-projects.js index af64ecde072..31fbce47cdc 100644 --- a/tests/baselines/reference/tscWatch/programUpdates/rename-a-module-file-and-rename-back-should-restore-the-states-for-inferred-projects.js +++ b/tests/baselines/reference/tscWatch/programUpdates/rename-a-module-file-and-rename-back-should-restore-the-states-for-inferred-projects.js @@ -90,6 +90,7 @@ Output:: >> Screen clear [12:00:25 AM] File change detected. Starting incremental compilation... +sysLog:: watchPresentFileSystemEntry:: /a 1 change:: b/file1.js a/b/file1.ts:1:20 - error TS2307: Cannot find module './moduleFile' or its corresponding type declarations. 1 import * as T from "./moduleFile"; T.bar(); @@ -137,6 +138,11 @@ export function bar() { }; //// [/a/b/moduleFile1.ts] deleted Output:: +sysLog:: watchPresentFileSystemEntry:: /a 1 rename:: b/moduleFile1.ts +sysLog:: watchPresentFileSystemEntry:: /a 1 change:: b +sysLog:: watchPresentFileSystemEntry:: /a 1 rename:: b/moduleFile.ts +sysLog:: watchPresentFileSystemEntry:: /a 1 change:: b + >> Screen clear [12:00:33 AM] File change detected. Starting incremental compilation... diff --git a/tests/baselines/reference/tscWatch/programUpdates/reports-errors-correctly-with-file-not-in-rootDir.js b/tests/baselines/reference/tscWatch/programUpdates/reports-errors-correctly-with-file-not-in-rootDir.js index 4166f16b754..134197ee82e 100644 --- a/tests/baselines/reference/tscWatch/programUpdates/reports-errors-correctly-with-file-not-in-rootDir.js +++ b/tests/baselines/reference/tscWatch/programUpdates/reports-errors-correctly-with-file-not-in-rootDir.js @@ -97,9 +97,12 @@ import { x } from "../b"; Output:: +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject 1 change:: a.ts + >> Screen clear [12:00:35 AM] File change detected. Starting incremental compilation... +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject 1 change:: lib/a.js a.ts:3:19 - error TS6059: File '/user/username/projects/b.ts' is not under 'rootDir' '/user/username/projects/myproject'. 'rootDir' is expected to contain all source files. 3 import { x } from "../b"; diff --git a/tests/baselines/reference/tscWatch/programUpdates/reports-errors-correctly-with-isolatedModules.js b/tests/baselines/reference/tscWatch/programUpdates/reports-errors-correctly-with-isolatedModules.js index ef020d04628..8a219eb58da 100644 --- a/tests/baselines/reference/tscWatch/programUpdates/reports-errors-correctly-with-isolatedModules.js +++ b/tests/baselines/reference/tscWatch/programUpdates/reports-errors-correctly-with-isolatedModules.js @@ -93,9 +93,12 @@ export const a: number = 1 Output:: +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject 1 change:: a.ts + >> Screen clear [12:00:32 AM] File change detected. Starting incremental compilation... +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject 1 change:: a.js b.ts:2:7 - error TS2322: Type 'number' is not assignable to type 'string'. 2 const b: string = a; diff --git a/tests/baselines/reference/tscWatch/programUpdates/should-not-trigger-recompilation-because-of-program-emit/declarationDir-is-specified.js b/tests/baselines/reference/tscWatch/programUpdates/should-not-trigger-recompilation-because-of-program-emit/declarationDir-is-specified.js index e3fc789404c..ea3e7d8a79e 100644 --- a/tests/baselines/reference/tscWatch/programUpdates/should-not-trigger-recompilation-because-of-program-emit/declarationDir-is-specified.js +++ b/tests/baselines/reference/tscWatch/programUpdates/should-not-trigger-recompilation-because-of-program-emit/declarationDir-is-specified.js @@ -130,6 +130,8 @@ Output:: >> Screen clear [12:00:25 AM] Starting compilation in watch mode... +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject/src 1 rename:: file2.js +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject/src 1 change:: error TS2318: Cannot find global type 'Array'. error TS2318: Cannot find global type 'Boolean'. @@ -262,9 +264,20 @@ export const y = 10; Output:: +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject/src 1 rename:: file3.ts +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject 1 rename:: src/file3.ts +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject/src 1 change:: +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject 1 change:: src + >> Screen clear [12:00:43 AM] File change detected. Starting incremental compilation... +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject/src 1 rename:: file3.js +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject 1 rename:: src/file3.js +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject/src 1 change:: +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject 1 change:: src +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject 1 rename:: decls/src/file3.d.ts +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject 1 change:: decls/src error TS2318: Cannot find global type 'Array'. error TS2318: Cannot find global type 'Boolean'. diff --git a/tests/baselines/reference/tscWatch/programUpdates/should-not-trigger-recompilation-because-of-program-emit/when-outDir-and-declarationDir-is-specified.js b/tests/baselines/reference/tscWatch/programUpdates/should-not-trigger-recompilation-because-of-program-emit/when-outDir-and-declarationDir-is-specified.js index 620c42fa2a3..ffbe73076da 100644 --- a/tests/baselines/reference/tscWatch/programUpdates/should-not-trigger-recompilation-because-of-program-emit/when-outDir-and-declarationDir-is-specified.js +++ b/tests/baselines/reference/tscWatch/programUpdates/should-not-trigger-recompilation-because-of-program-emit/when-outDir-and-declarationDir-is-specified.js @@ -262,9 +262,18 @@ export const y = 10; Output:: +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject/src 1 rename:: file3.ts +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject 1 rename:: src/file3.ts +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject/src 1 change:: +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject 1 change:: src + >> Screen clear [12:00:49 AM] File change detected. Starting incremental compilation... +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject 1 rename:: build/src/file3.js +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject 1 change:: build/src +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject 1 rename:: decls/src/file3.d.ts +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject 1 change:: decls/src error TS2318: Cannot find global type 'Array'. error TS2318: Cannot find global type 'Boolean'. diff --git a/tests/baselines/reference/tscWatch/programUpdates/should-not-trigger-recompilation-because-of-program-emit/when-outDir-is-specified.js b/tests/baselines/reference/tscWatch/programUpdates/should-not-trigger-recompilation-because-of-program-emit/when-outDir-is-specified.js index 6800711e1a4..ac766fcc23d 100644 --- a/tests/baselines/reference/tscWatch/programUpdates/should-not-trigger-recompilation-because-of-program-emit/when-outDir-is-specified.js +++ b/tests/baselines/reference/tscWatch/programUpdates/should-not-trigger-recompilation-because-of-program-emit/when-outDir-is-specified.js @@ -254,9 +254,16 @@ export const y = 10; Output:: +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject/src 1 rename:: file3.ts +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject 1 rename:: src/file3.ts +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject/src 1 change:: +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject 1 change:: src + >> Screen clear [12:00:39 AM] File change detected. Starting incremental compilation... +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject 1 rename:: build/src/file3.js +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject 1 change:: build/src error TS2318: Cannot find global type 'Array'. error TS2318: Cannot find global type 'Boolean'. diff --git a/tests/baselines/reference/tscWatch/programUpdates/should-not-trigger-recompilation-because-of-program-emit/with-outFile.js b/tests/baselines/reference/tscWatch/programUpdates/should-not-trigger-recompilation-because-of-program-emit/with-outFile.js index 7b96140fceb..9bb0fde4fd3 100644 --- a/tests/baselines/reference/tscWatch/programUpdates/should-not-trigger-recompilation-because-of-program-emit/with-outFile.js +++ b/tests/baselines/reference/tscWatch/programUpdates/should-not-trigger-recompilation-because-of-program-emit/with-outFile.js @@ -249,9 +249,15 @@ export const y = 10; Output:: +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject/src 1 rename:: file3.ts +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject 1 rename:: src/file3.ts +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject/src 1 change:: +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject 1 change:: src + >> Screen clear [12:00:34 AM] File change detected. Starting incremental compilation... +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject 1 change:: build/outFile.js error TS2318: Cannot find global type 'Array'. error TS2318: Cannot find global type 'Boolean'. diff --git a/tests/baselines/reference/tscWatch/programUpdates/should-not-trigger-recompilation-because-of-program-emit/without-outDir-or-outFile-is-specified-with-declaration-enabled.js b/tests/baselines/reference/tscWatch/programUpdates/should-not-trigger-recompilation-because-of-program-emit/without-outDir-or-outFile-is-specified-with-declaration-enabled.js index 1b21f2ca83f..f63f2b5bcd2 100644 --- a/tests/baselines/reference/tscWatch/programUpdates/should-not-trigger-recompilation-because-of-program-emit/without-outDir-or-outFile-is-specified-with-declaration-enabled.js +++ b/tests/baselines/reference/tscWatch/programUpdates/should-not-trigger-recompilation-because-of-program-emit/without-outDir-or-outFile-is-specified-with-declaration-enabled.js @@ -130,6 +130,10 @@ Output:: >> Screen clear [12:00:25 AM] Starting compilation in watch mode... +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject/src 1 rename:: file2.js +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject/src 1 change:: +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject/src 1 rename:: file2.d.ts +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject/src 1 change:: error TS2318: Cannot find global type 'Array'. error TS2318: Cannot find global type 'Boolean'. @@ -262,9 +266,22 @@ export const y = 10; Output:: +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject/src 1 rename:: file3.ts +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject 1 rename:: src/file3.ts +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject/src 1 change:: +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject 1 change:: src + >> Screen clear [12:00:37 AM] File change detected. Starting incremental compilation... +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject/src 1 rename:: file3.js +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject 1 rename:: src/file3.js +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject/src 1 change:: +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject 1 change:: src +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject/src 1 rename:: file3.d.ts +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject 1 rename:: src/file3.d.ts +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject/src 1 change:: +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject 1 change:: src error TS2318: Cannot find global type 'Array'. error TS2318: Cannot find global type 'Boolean'. diff --git a/tests/baselines/reference/tscWatch/programUpdates/should-not-trigger-recompilation-because-of-program-emit/without-outDir-or-outFile-is-specified.js b/tests/baselines/reference/tscWatch/programUpdates/should-not-trigger-recompilation-because-of-program-emit/without-outDir-or-outFile-is-specified.js index 1b80ab46e46..8aac3f60d10 100644 --- a/tests/baselines/reference/tscWatch/programUpdates/should-not-trigger-recompilation-because-of-program-emit/without-outDir-or-outFile-is-specified.js +++ b/tests/baselines/reference/tscWatch/programUpdates/should-not-trigger-recompilation-because-of-program-emit/without-outDir-or-outFile-is-specified.js @@ -130,6 +130,8 @@ Output:: >> Screen clear [12:00:25 AM] Starting compilation in watch mode... +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject/src 1 rename:: file2.js +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject/src 1 change:: error TS2318: Cannot find global type 'Array'. error TS2318: Cannot find global type 'Boolean'. @@ -254,9 +256,18 @@ export const y = 10; Output:: +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject/src 1 rename:: file3.ts +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject 1 rename:: src/file3.ts +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject/src 1 change:: +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject 1 change:: src + >> Screen clear [12:00:33 AM] File change detected. Starting incremental compilation... +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject/src 1 rename:: file3.js +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject 1 rename:: src/file3.js +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject/src 1 change:: +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject 1 change:: src error TS2318: Cannot find global type 'Array'. error TS2318: Cannot find global type 'Boolean'. diff --git a/tests/baselines/reference/tscWatch/programUpdates/should-properly-handle-module-resolution-changes-in-config-file.js b/tests/baselines/reference/tscWatch/programUpdates/should-properly-handle-module-resolution-changes-in-config-file.js index f379dda653e..c61858b2e2a 100644 --- a/tests/baselines/reference/tscWatch/programUpdates/should-properly-handle-module-resolution-changes-in-config-file.js +++ b/tests/baselines/reference/tscWatch/programUpdates/should-properly-handle-module-resolution-changes-in-config-file.js @@ -101,6 +101,7 @@ Output:: >> Screen clear [12:00:28 AM] File change detected. Starting incremental compilation... +sysLog:: watchPresentFileSystemEntry:: /a/b 1 change:: file1.js [12:00:34 AM] Found 0 errors. Watching for file changes. diff --git a/tests/baselines/reference/tscWatch/programUpdates/updates-diagnostics-and-emit-for-decorators.js b/tests/baselines/reference/tscWatch/programUpdates/updates-diagnostics-and-emit-for-decorators.js index d6571f1f2e3..44fe5e4d0d4 100644 --- a/tests/baselines/reference/tscWatch/programUpdates/updates-diagnostics-and-emit-for-decorators.js +++ b/tests/baselines/reference/tscWatch/programUpdates/updates-diagnostics-and-emit-for-decorators.js @@ -112,6 +112,8 @@ Input:: Output:: +sysLog:: watchPresentFileSystemEntry:: 1 change:: tsconfig.json + >> Screen clear [12:00:23 AM] File change detected. Starting incremental compilation... @@ -166,9 +168,13 @@ Input:: Output:: +sysLog:: watchPresentFileSystemEntry:: 1 change:: tsconfig.json + >> Screen clear [12:00:27 AM] File change detected. Starting incremental compilation... +sysLog:: watchPresentFileSystemEntry:: 1 change:: b.js +sysLog:: watchPresentFileSystemEntry:: 1 change:: a.js [12:00:34 AM] Found 0 errors. Watching for file changes. diff --git a/tests/baselines/reference/tscWatch/programUpdates/updates-diagnostics-and-emit-when-useDefineForClassFields-changes.js b/tests/baselines/reference/tscWatch/programUpdates/updates-diagnostics-and-emit-when-useDefineForClassFields-changes.js index b95366558d2..6e93c799090 100644 --- a/tests/baselines/reference/tscWatch/programUpdates/updates-diagnostics-and-emit-when-useDefineForClassFields-changes.js +++ b/tests/baselines/reference/tscWatch/programUpdates/updates-diagnostics-and-emit-when-useDefineForClassFields-changes.js @@ -86,9 +86,12 @@ Input:: Output:: +sysLog:: watchPresentFileSystemEntry:: 1 change:: tsconfig.json + >> Screen clear [12:00:20 AM] File change detected. Starting incremental compilation... +sysLog:: watchPresentFileSystemEntry:: 1 change:: a.js a.ts:2:21 - error TS2610: 'prop' is defined as an accessor in class 'C', but is overridden here in 'D' as an instance property. 2 class D extends C { prop = 1; } diff --git a/tests/baselines/reference/tscWatch/programUpdates/updates-emit-on-jsx-option-change.js b/tests/baselines/reference/tscWatch/programUpdates/updates-emit-on-jsx-option-change.js index d49eea56c62..847c3c7b569 100644 --- a/tests/baselines/reference/tscWatch/programUpdates/updates-emit-on-jsx-option-change.js +++ b/tests/baselines/reference/tscWatch/programUpdates/updates-emit-on-jsx-option-change.js @@ -75,9 +75,13 @@ Input:: Output:: +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject 1 change:: tsconfig.json + >> Screen clear [12:00:28 AM] File change detected. Starting incremental compilation... +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject 1 rename:: index.js +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject 1 change:: [12:00:31 AM] Found 0 errors. Watching for file changes. diff --git a/tests/baselines/reference/tscWatch/programUpdates/updates-errors-and-emit-when-importsNotUsedAsValues-changes.js b/tests/baselines/reference/tscWatch/programUpdates/updates-errors-and-emit-when-importsNotUsedAsValues-changes.js index c29e44a58d7..0753cecb7b8 100644 --- a/tests/baselines/reference/tscWatch/programUpdates/updates-errors-and-emit-when-importsNotUsedAsValues-changes.js +++ b/tests/baselines/reference/tscWatch/programUpdates/updates-errors-and-emit-when-importsNotUsedAsValues-changes.js @@ -99,9 +99,13 @@ Input:: Output:: +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject 1 change:: tsconfig.json + >> Screen clear [12:00:32 AM] File change detected. Starting incremental compilation... +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject 1 change:: a.js +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject 1 change:: b.js [12:00:39 AM] Found 0 errors. Watching for file changes. @@ -152,9 +156,13 @@ Input:: Output:: +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject 1 change:: tsconfig.json + >> Screen clear [12:00:43 AM] File change detected. Starting incremental compilation... +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject 1 change:: a.js +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject 1 change:: b.js b.ts:1:1 - error TS1371: This import is never used as a value and must use 'import type' because 'importsNotUsedAsValues' is set to 'error'. 1 import {C} from './a'; @@ -218,9 +226,13 @@ Input:: Output:: +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject 1 change:: tsconfig.json + >> Screen clear [12:00:54 AM] File change detected. Starting incremental compilation... +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject 1 change:: a.js +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject 1 change:: b.js [12:01:01 AM] Found 0 errors. Watching for file changes. diff --git a/tests/baselines/reference/tscWatch/programUpdates/updates-errors-correctly-when-declaration-emit-is-disabled-in-compiler-options.js b/tests/baselines/reference/tscWatch/programUpdates/updates-errors-correctly-when-declaration-emit-is-disabled-in-compiler-options.js index 9412986369c..715cf188f06 100644 --- a/tests/baselines/reference/tscWatch/programUpdates/updates-errors-correctly-when-declaration-emit-is-disabled-in-compiler-options.js +++ b/tests/baselines/reference/tscWatch/programUpdates/updates-errors-correctly-when-declaration-emit-is-disabled-in-compiler-options.js @@ -85,6 +85,8 @@ export default test; Output:: +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject 1 change:: b.ts + >> Screen clear [12:00:28 AM] File change detected. Starting incremental compilation... @@ -145,6 +147,8 @@ export default test; Output:: +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject 1 change:: b.ts + >> Screen clear [12:00:33 AM] File change detected. Starting incremental compilation... @@ -200,6 +204,8 @@ export default test; Output:: +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject 1 change:: b.ts + >> Screen clear [12:00:38 AM] File change detected. Starting incremental compilation... @@ -265,6 +271,8 @@ export default test; Output:: +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject 1 change:: b.ts + >> Screen clear [12:00:44 AM] File change detected. Starting incremental compilation... diff --git a/tests/baselines/reference/tscWatch/programUpdates/updates-errors-when-ambient-modules-of-program-changes.js b/tests/baselines/reference/tscWatch/programUpdates/updates-errors-when-ambient-modules-of-program-changes.js index ce71c8e888f..f67d6d31917 100644 --- a/tests/baselines/reference/tscWatch/programUpdates/updates-errors-when-ambient-modules-of-program-changes.js +++ b/tests/baselines/reference/tscWatch/programUpdates/updates-errors-when-ambient-modules-of-program-changes.js @@ -77,9 +77,15 @@ declare module 'a' { Output:: +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject 1 rename:: b.ts +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject 1 change:: + >> Screen clear [12:00:27 AM] File change detected. Starting incremental compilation... +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject 1 change:: a.js +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject 1 rename:: b.js +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject 1 change:: a.ts:2:8 - error TS2300: Duplicate identifier 'foo'. 2 type foo = number; @@ -153,9 +159,13 @@ Input:: //// [/user/username/projects/myproject/b.ts] deleted Output:: +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject 1 rename:: b.ts +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject 1 change:: + >> Screen clear [12:00:35 AM] File change detected. Starting incremental compilation... +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject 1 change:: a.js [12:00:39 AM] Found 0 errors. Watching for file changes. diff --git a/tests/baselines/reference/tscWatch/programUpdates/updates-errors-when-forceConsistentCasingInFileNames-changes.js b/tests/baselines/reference/tscWatch/programUpdates/updates-errors-when-forceConsistentCasingInFileNames-changes.js index 2bbd474f579..a26275602e7 100644 --- a/tests/baselines/reference/tscWatch/programUpdates/updates-errors-when-forceConsistentCasingInFileNames-changes.js +++ b/tests/baselines/reference/tscWatch/programUpdates/updates-errors-when-forceConsistentCasingInFileNames-changes.js @@ -93,6 +93,8 @@ Input:: Output:: +sysLog:: watchPresentFileSystemEntry:: 1 change:: tsconfig.json + >> Screen clear [12:00:24 AM] File change detected. Starting incremental compilation... diff --git a/tests/baselines/reference/tscWatch/programUpdates/updates-errors-when-noErrorTruncation-changes.js b/tests/baselines/reference/tscWatch/programUpdates/updates-errors-when-noErrorTruncation-changes.js index e8849a90830..d502751b50f 100644 --- a/tests/baselines/reference/tscWatch/programUpdates/updates-errors-when-noErrorTruncation-changes.js +++ b/tests/baselines/reference/tscWatch/programUpdates/updates-errors-when-noErrorTruncation-changes.js @@ -88,6 +88,8 @@ Input:: Output:: +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject 1 change:: tsconfig.json + >> Screen clear [12:00:28 AM] File change detected. Starting incremental compilation... diff --git a/tests/baselines/reference/tscWatch/programUpdates/updates-errors-when-strictNullChecks-changes.js b/tests/baselines/reference/tscWatch/programUpdates/updates-errors-when-strictNullChecks-changes.js index 80b6a9c5921..81b8bb6b464 100644 --- a/tests/baselines/reference/tscWatch/programUpdates/updates-errors-when-strictNullChecks-changes.js +++ b/tests/baselines/reference/tscWatch/programUpdates/updates-errors-when-strictNullChecks-changes.js @@ -75,6 +75,8 @@ Input:: Output:: +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject 1 change:: tsconfig.json + >> Screen clear [12:00:28 AM] File change detected. Starting incremental compilation... @@ -127,6 +129,8 @@ Input:: Output:: +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject 1 change:: tsconfig.json + >> Screen clear [12:00:33 AM] File change detected. Starting incremental compilation... @@ -179,6 +183,8 @@ Input:: Output:: +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject 1 change:: tsconfig.json + >> Screen clear [12:00:38 AM] File change detected. Starting incremental compilation... diff --git a/tests/baselines/reference/tscWatch/programUpdates/updates-moduleResolution-when-resolveJsonModule-changes.js b/tests/baselines/reference/tscWatch/programUpdates/updates-moduleResolution-when-resolveJsonModule-changes.js index 410db4b1367..d37446191d6 100644 --- a/tests/baselines/reference/tscWatch/programUpdates/updates-moduleResolution-when-resolveJsonModule-changes.js +++ b/tests/baselines/reference/tscWatch/programUpdates/updates-moduleResolution-when-resolveJsonModule-changes.js @@ -27,6 +27,8 @@ Output:: >> Screen clear [12:00:23 AM] Starting compilation in watch mode... +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject 1 rename:: a.js +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject 1 change:: a.ts:1:23 - error TS2732: Cannot find module './data.json'. Consider using '--resolveJsonModule' to import module with '.json' extension. 1 import * as data from './data.json' @@ -87,9 +89,14 @@ Input:: Output:: +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject 1 change:: tsconfig.json +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject 1 change:: tsconfig.json + >> Screen clear [12:00:30 AM] File change detected. Starting incremental compilation... +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject 1 change:: a.js +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject 1 change:: a.js [12:00:34 AM] Found 0 errors. Watching for file changes. diff --git a/tests/baselines/reference/tscWatch/programUpdates/watched-files-when-file-is-deleted-and-new-file-is-added-as-part-of-change.js b/tests/baselines/reference/tscWatch/programUpdates/watched-files-when-file-is-deleted-and-new-file-is-added-as-part-of-change.js index 6cf84cd6877..37336d2bd5d 100644 --- a/tests/baselines/reference/tscWatch/programUpdates/watched-files-when-file-is-deleted-and-new-file-is-added-as-part-of-change.js +++ b/tests/baselines/reference/tscWatch/programUpdates/watched-files-when-file-is-deleted-and-new-file-is-added-as-part-of-change.js @@ -75,9 +75,16 @@ var a = 10; //// [/home/username/project/src/file1.ts] deleted Output:: +sysLog:: watchPresentFileSystemEntry:: /home/username/project 1 rename:: src/file1.ts +sysLog:: watchPresentFileSystemEntry:: /home/username/project 1 change:: src +sysLog:: watchPresentFileSystemEntry:: /home/username/project 1 rename:: src/file2.ts +sysLog:: watchPresentFileSystemEntry:: /home/username/project 1 change:: src + >> Screen clear [12:00:28 AM] File change detected. Starting incremental compilation... +sysLog:: watchPresentFileSystemEntry:: /home/username/project 1 rename:: src/file2.js +sysLog:: watchPresentFileSystemEntry:: /home/username/project 1 change:: src [12:00:31 AM] Found 0 errors. Watching for file changes. diff --git a/tests/baselines/reference/tscWatch/programUpdates/when-creating-extensionless-file.js b/tests/baselines/reference/tscWatch/programUpdates/when-creating-extensionless-file.js index 2c6d1ff7e91..baaba896465 100644 --- a/tests/baselines/reference/tscWatch/programUpdates/when-creating-extensionless-file.js +++ b/tests/baselines/reference/tscWatch/programUpdates/when-creating-extensionless-file.js @@ -84,9 +84,11 @@ Input:: Output:: +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject 1 rename:: foo DirectoryWatcher:: Triggered with /user/username/projects/myproject/foo :: WatchInfo: /user/username/projects/myproject 1 undefined Wild card directory Scheduling update Elapsed:: *ms DirectoryWatcher:: Triggered with /user/username/projects/myproject/foo :: WatchInfo: /user/username/projects/myproject 1 undefined Wild card directory +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject 1 change:: Reloading new file names and options Synchronizing program diff --git a/tests/baselines/reference/tscWatch/programUpdates/when-creating-new-file-in-symlinked-folder.js b/tests/baselines/reference/tscWatch/programUpdates/when-creating-new-file-in-symlinked-folder.js index 27c02140471..7ff8a428bca 100644 --- a/tests/baselines/reference/tscWatch/programUpdates/when-creating-new-file-in-symlinked-folder.js +++ b/tests/baselines/reference/tscWatch/programUpdates/when-creating-new-file-in-symlinked-folder.js @@ -112,9 +112,11 @@ import * as M from "folder1/module1"; Output:: +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject/folder2 1 rename:: module3.ts DirectoryWatcher:: Triggered with /user/username/projects/myproject/folder2/module3.ts :: WatchInfo: /user/username/projects/myproject/folder2 1 undefined Wild card directory Scheduling update Elapsed:: *ms DirectoryWatcher:: Triggered with /user/username/projects/myproject/folder2/module3.ts :: WatchInfo: /user/username/projects/myproject/folder2 1 undefined Wild card directory +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject/folder2 1 change:: Reloading new file names and options Synchronizing program [12:00:41 AM] File change detected. Starting incremental compilation... @@ -123,9 +125,11 @@ CreatingProgramWith:: roots: ["/user/username/projects/myproject/client/folder1/module1.ts","/user/username/projects/myproject/client/linktofolder2/module2.ts","/user/username/projects/myproject/client/linktofolder2/module3.ts"] options: {"baseUrl":"/user/username/projects/myproject/client","paths":{"*":["*"]},"pathsBasePath":"/user/username/projects/myproject","watch":true,"project":"/user/username/projects/myproject","extendedDiagnostics":true,"configFilePath":"/user/username/projects/myproject/tsconfig.json"} FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/client/linktofolder2/module3.ts 250 undefined Source file +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject/folder2 1 rename:: module3.js DirectoryWatcher:: Triggered with /user/username/projects/myproject/folder2/module3.js :: WatchInfo: /user/username/projects/myproject/folder2 1 undefined Wild card directory Project: /user/username/projects/myproject/tsconfig.json Detected file add/remove of non supported extension: /user/username/projects/myproject/folder2/module3.js Elapsed:: *ms DirectoryWatcher:: Triggered with /user/username/projects/myproject/folder2/module3.js :: WatchInfo: /user/username/projects/myproject/folder2 1 undefined Wild card directory +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject/folder2 1 change:: [12:00:45 AM] Found 0 errors. Watching for file changes. diff --git a/tests/baselines/reference/tscWatch/programUpdates/when-new-file-is-added-to-the-referenced-project.js b/tests/baselines/reference/tscWatch/programUpdates/when-new-file-is-added-to-the-referenced-project.js index 56df7dd17e8..88a0ed0a944 100644 --- a/tests/baselines/reference/tscWatch/programUpdates/when-new-file-is-added-to-the-referenced-project.js +++ b/tests/baselines/reference/tscWatch/programUpdates/when-new-file-is-added-to-the-referenced-project.js @@ -168,9 +168,11 @@ class class3 {} Output:: +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject/projects/project1 1 rename:: class3.ts DirectoryWatcher:: Triggered with /user/username/projects/myproject/projects/project1/class3.ts :: WatchInfo: /user/username/projects/myproject/projects/project1 1 undefined Wild card directory of referenced project Scheduling update Elapsed:: *ms DirectoryWatcher:: Triggered with /user/username/projects/myproject/projects/project1/class3.ts :: WatchInfo: /user/username/projects/myproject/projects/project1 1 undefined Wild card directory of referenced project +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject/projects/project1 1 change:: Synchronizing program Reloading new file names and options [12:00:45 AM] File change detected. Starting incremental compilation... @@ -248,9 +250,11 @@ FileWatcher:: Triggered with /user/username/projects/myproject/projects/project1 FileWatcher:: Close:: WatchInfo: /user/username/projects/myproject/projects/project1/class3.d.ts 500 undefined Missing file Scheduling update Elapsed:: *ms 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 Missing file +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject/projects/project1 1 rename:: class3.d.ts DirectoryWatcher:: Triggered with /user/username/projects/myproject/projects/project1/class3.d.ts :: WatchInfo: /user/username/projects/myproject/projects/project1 1 undefined Wild card directory of referenced project Project: /user/username/projects/myproject/projects/project1/tsconfig.json Detected output file: /user/username/projects/myproject/projects/project1/class3.d.ts Elapsed:: *ms DirectoryWatcher:: Triggered with /user/username/projects/myproject/projects/project1/class3.d.ts :: WatchInfo: /user/username/projects/myproject/projects/project1 1 undefined Wild card directory of referenced project +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject/projects/project1 1 change:: Synchronizing program [12:00:49 AM] File change detected. Starting incremental compilation... @@ -259,8 +263,12 @@ CreatingProgramWith:: options: {"module":0,"composite":true,"watch":true,"project":"/user/username/projects/myproject/projects/project2/tsconfig.json","extendedDiagnostics":true,"configFilePath":"/user/username/projects/myproject/projects/project2/tsconfig.json"} projectReferences: [{"path":"/user/username/projects/myproject/projects/project1","originalPath":"../project1"}] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/projects/project1/class3.d.ts 250 undefined Source file +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject/projects/project2 1 change:: class2.js +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject/projects/project2 1 change:: class2.d.ts +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject/projects/project2 1 change:: tsconfig.tsbuildinfo [12:00:59 AM] Found 0 errors. Watching for file changes. +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject/projects/project2 1 change:: tsconfig.tsbuildinfo.readable.baseline.txt Program root files: ["/user/username/projects/myproject/projects/project2/class2.ts"] @@ -373,12 +381,16 @@ declare class file {} Output:: +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject/projects/project1 1 rename:: temp DirectoryWatcher:: Triggered with /user/username/projects/myproject/projects/project1/temp :: WatchInfo: /user/username/projects/myproject/projects/project1 1 undefined Wild card directory of referenced project Project: /user/username/projects/myproject/projects/project1/tsconfig.json Detected excluded file: /user/username/projects/myproject/projects/project1/temp Elapsed:: *ms DirectoryWatcher:: Triggered with /user/username/projects/myproject/projects/project1/temp :: WatchInfo: /user/username/projects/myproject/projects/project1 1 undefined Wild card directory of referenced project +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject/projects/project1 1 change:: +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject/projects/project1 1 rename:: temp/file.d.ts DirectoryWatcher:: Triggered with /user/username/projects/myproject/projects/project1/temp/file.d.ts :: WatchInfo: /user/username/projects/myproject/projects/project1 1 undefined Wild card directory of referenced project Project: /user/username/projects/myproject/projects/project1/tsconfig.json Detected excluded file: /user/username/projects/myproject/projects/project1/temp/file.d.ts Elapsed:: *ms DirectoryWatcher:: Triggered with /user/username/projects/myproject/projects/project1/temp/file.d.ts :: WatchInfo: /user/username/projects/myproject/projects/project1 1 undefined Wild card directory of referenced project +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject/projects/project1 1 change:: temp WatchedFiles:: @@ -421,9 +433,11 @@ Output:: FileWatcher:: Triggered with /user/username/projects/myproject/projects/project1/class3.d.ts 2:: WatchInfo: /user/username/projects/myproject/projects/project1/class3.d.ts 250 undefined Source file Scheduling update Elapsed:: *ms FileWatcher:: Triggered with /user/username/projects/myproject/projects/project1/class3.d.ts 2:: WatchInfo: /user/username/projects/myproject/projects/project1/class3.d.ts 250 undefined Source file +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject/projects/project1 1 rename:: class3.d.ts DirectoryWatcher:: Triggered with /user/username/projects/myproject/projects/project1/class3.d.ts :: WatchInfo: /user/username/projects/myproject/projects/project1 1 undefined Wild card directory of referenced project Project: /user/username/projects/myproject/projects/project1/tsconfig.json Detected output file: /user/username/projects/myproject/projects/project1/class3.d.ts Elapsed:: *ms DirectoryWatcher:: Triggered with /user/username/projects/myproject/projects/project1/class3.d.ts :: WatchInfo: /user/username/projects/myproject/projects/project1 1 undefined Wild card directory of referenced project +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject/projects/project1 1 change:: Synchronizing program [12:01:08 AM] File change detected. Starting incremental compilation... @@ -433,6 +447,9 @@ CreatingProgramWith:: projectReferences: [{"path":"/user/username/projects/myproject/projects/project1","originalPath":"../project1"}] FileWatcher:: Close:: WatchInfo: /user/username/projects/myproject/projects/project1/class3.d.ts 250 undefined Source file FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/projects/project1/class3.d.ts 500 undefined Missing file +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject/projects/project2 1 change:: class2.js +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject/projects/project2 1 change:: class2.d.ts +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject/projects/project2 1 change:: tsconfig.tsbuildinfo error TS6053: File '/user/username/projects/myproject/projects/project1/class3.d.ts' not found. The file is in the program because: Output from referenced project '/user/username/projects/myproject/projects/project1/tsconfig.json' included because '--module' is specified as 'none' @@ -444,6 +461,7 @@ FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/projects/proj [12:01:18 AM] Found 1 error. Watching for file changes. +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject/projects/project2 1 change:: tsconfig.tsbuildinfo.readable.baseline.txt Program root files: ["/user/username/projects/myproject/projects/project2/class2.ts"] @@ -547,9 +565,11 @@ FileWatcher:: Triggered with /user/username/projects/myproject/projects/project1 FileWatcher:: Close:: WatchInfo: /user/username/projects/myproject/projects/project1/class3.d.ts 500 undefined Missing file Scheduling update Elapsed:: *ms 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 Missing file +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject/projects/project1 1 rename:: class3.d.ts DirectoryWatcher:: Triggered with /user/username/projects/myproject/projects/project1/class3.d.ts :: WatchInfo: /user/username/projects/myproject/projects/project1 1 undefined Wild card directory of referenced project Project: /user/username/projects/myproject/projects/project1/tsconfig.json Detected output file: /user/username/projects/myproject/projects/project1/class3.d.ts Elapsed:: *ms DirectoryWatcher:: Triggered with /user/username/projects/myproject/projects/project1/class3.d.ts :: WatchInfo: /user/username/projects/myproject/projects/project1 1 undefined Wild card directory of referenced project +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject/projects/project1 1 change:: Synchronizing program [12:01:25 AM] File change detected. Starting incremental compilation... @@ -558,8 +578,12 @@ CreatingProgramWith:: options: {"module":0,"composite":true,"watch":true,"project":"/user/username/projects/myproject/projects/project2/tsconfig.json","extendedDiagnostics":true,"configFilePath":"/user/username/projects/myproject/projects/project2/tsconfig.json"} projectReferences: [{"path":"/user/username/projects/myproject/projects/project1","originalPath":"../project1"}] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/projects/project1/class3.d.ts 250 undefined Source file +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject/projects/project2 1 change:: class2.js +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject/projects/project2 1 change:: class2.d.ts +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject/projects/project2 1 change:: tsconfig.tsbuildinfo [12:01:35 AM] Found 0 errors. Watching for file changes. +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject/projects/project2 1 change:: tsconfig.tsbuildinfo.readable.baseline.txt Program root files: ["/user/username/projects/myproject/projects/project2/class2.ts"] diff --git a/tests/baselines/reference/tscWatch/programUpdates/when-skipLibCheck-and-skipDefaultLibCheck-changes.js b/tests/baselines/reference/tscWatch/programUpdates/when-skipLibCheck-and-skipDefaultLibCheck-changes.js index 4b564de1611..4ae590d53c6 100644 --- a/tests/baselines/reference/tscWatch/programUpdates/when-skipLibCheck-and-skipDefaultLibCheck-changes.js +++ b/tests/baselines/reference/tscWatch/programUpdates/when-skipLibCheck-and-skipDefaultLibCheck-changes.js @@ -103,6 +103,8 @@ Input:: Output:: +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject 1 change:: tsconfig.json + >> Screen clear [12:00:30 AM] File change detected. Starting incremental compilation... @@ -158,6 +160,8 @@ Input:: Output:: +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject 1 change:: tsconfig.json + >> Screen clear [12:00:35 AM] File change detected. Starting incremental compilation... @@ -218,6 +222,8 @@ Input:: Output:: +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject 1 change:: tsconfig.json + >> Screen clear [12:00:40 AM] File change detected. Starting incremental compilation... @@ -282,6 +288,8 @@ Input:: Output:: +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject 1 change:: tsconfig.json + >> Screen clear [12:00:46 AM] File change detected. Starting incremental compilation... @@ -341,6 +349,8 @@ Input:: Output:: +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject 1 change:: tsconfig.json + >> Screen clear [12:00:51 AM] File change detected. Starting incremental compilation... @@ -396,6 +406,8 @@ Input:: Output:: +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject 1 change:: tsconfig.json + >> Screen clear [12:00:56 AM] File change detected. Starting incremental compilation... diff --git a/tests/baselines/reference/tscWatch/projectsWithReferences/on-sample-project.js b/tests/baselines/reference/tscWatch/projectsWithReferences/on-sample-project.js index 82a4e297d83..8116d53563f 100644 --- a/tests/baselines/reference/tscWatch/projectsWithReferences/on-sample-project.js +++ b/tests/baselines/reference/tscWatch/projectsWithReferences/on-sample-project.js @@ -536,6 +536,13 @@ function foo() { } Output:: +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/sample1/logic 1 change:: index.ts +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/sample1/logic 1 change:: index.js.map +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/sample1/logic 1 change:: index.js +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/sample1/logic 1 change:: index.d.ts +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/sample1/logic 1 change:: tsconfig.tsbuildinfo +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/sample1/logic 1 change:: tsconfig.tsbuildinfo.readable.baseline.txt + >> Screen clear [12:01:32 AM] File change detected. Starting incremental compilation... @@ -718,6 +725,13 @@ export declare function gfoo(): void; Output:: +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/sample1/logic 1 change:: index.ts +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/sample1/logic 1 change:: index.js.map +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/sample1/logic 1 change:: index.js +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/sample1/logic 1 change:: index.d.ts +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/sample1/logic 1 change:: tsconfig.tsbuildinfo +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/sample1/logic 1 change:: tsconfig.tsbuildinfo.readable.baseline.txt + >> Screen clear [12:01:51 AM] File change detected. Starting incremental compilation... @@ -977,6 +991,15 @@ export declare function gfoo(): void; Output:: +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/sample1/logic 1 change:: tsconfig.json +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/sample1/logic 1 change:: index.js +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/sample1/logic 1 rename:: decls +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/sample1/logic 1 change:: +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/sample1/logic 1 rename:: decls/index.d.ts +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/sample1/logic 1 change:: decls +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/sample1/logic 1 change:: tsconfig.tsbuildinfo +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/sample1/logic 1 change:: tsconfig.tsbuildinfo.readable.baseline.txt + >> Screen clear [12:02:22 AM] File change detected. Starting incremental compilation... diff --git a/tests/baselines/reference/tscWatch/projectsWithReferences/on-transitive-references-in-different-folders-with-no-files-clause.js b/tests/baselines/reference/tscWatch/projectsWithReferences/on-transitive-references-in-different-folders-with-no-files-clause.js index f78e22fda17..7828d8cdf1a 100644 --- a/tests/baselines/reference/tscWatch/projectsWithReferences/on-transitive-references-in-different-folders-with-no-files-clause.js +++ b/tests/baselines/reference/tscWatch/projectsWithReferences/on-transitive-references-in-different-folders-with-no-files-clause.js @@ -346,9 +346,21 @@ export declare function gfoo(): void; Output:: +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/transitivereferences/b 1 change:: index.ts +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/transitiveReferences/b 1 change:: index.ts +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/transitivereferences/b 1 change:: index.js +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/transitiveReferences/b 1 change:: index.js +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/transitivereferences/b 1 change:: index.d.ts +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/transitiveReferences/b 1 change:: index.d.ts +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/transitivereferences/b 1 change:: tsconfig.tsbuildinfo +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/transitiveReferences/b 1 change:: tsconfig.tsbuildinfo +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/transitivereferences/b 1 change:: tsconfig.tsbuildinfo.readable.baseline.txt +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/transitiveReferences/b 1 change:: tsconfig.tsbuildinfo.readable.baseline.txt + >> Screen clear [12:01:16 AM] File change detected. Starting incremental compilation... +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/transitivereferences/c 1 change:: index.js [12:01:20 AM] Found 0 errors. Watching for file changes. @@ -446,9 +458,15 @@ export class A {} Output:: +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/transitiveReferences 1 rename:: nrefs +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/transitiveReferences 1 change:: +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/transitiveReferences 1 change:: nrefs +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/transitivereferences/c 1 change:: tsconfig.json + >> Screen clear [12:01:28 AM] File change detected. Starting incremental compilation... +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/transitivereferences/c 1 change:: index.js [12:01:32 AM] Found 0 errors. Watching for file changes. @@ -545,9 +563,12 @@ Input:: Output:: +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/transitivereferences/c 1 change:: tsconfig.json + >> Screen clear [12:01:36 AM] File change detected. Starting incremental compilation... +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/transitivereferences/c 1 change:: index.js [12:01:40 AM] Found 0 errors. Watching for file changes. @@ -644,6 +665,9 @@ Input:: Output:: +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/transitivereferences/b 1 change:: tsconfig.json +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/transitiveReferences/b 1 change:: tsconfig.json + >> Screen clear [12:01:44 AM] File change detected. Starting incremental compilation... @@ -739,6 +763,9 @@ Input:: Output:: +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/transitivereferences/b 1 change:: tsconfig.json +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/transitiveReferences/b 1 change:: tsconfig.json + >> Screen clear [12:01:50 AM] File change detected. Starting incremental compilation... @@ -821,9 +848,17 @@ Input:: //// [/user/username/projects/transitiveReferences/b/tsconfig.json] deleted Output:: +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/transitivereferences/b 1 rename:: tsconfig.json +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/transitiveReferences/b 1 rename:: tsconfig.json +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/transitiveReferences 1 change:: b +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/transitivereferences/b 1 change:: +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/transitiveReferences/b 1 change:: + >> Screen clear [12:01:53 AM] File change detected. Starting incremental compilation... +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/transitiveReferences/b 1 change:: index.js +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/transitivereferences/c 1 change:: index.js c/tsconfig.json:1:84 - error TS6053: File '/user/username/projects/transitiveReferences/b' not found. 1 {"compilerOptions":{"baseUrl":"./","paths":{"@ref/*":["../refs/*"]}},"references":[{"path":"../b"}]} @@ -909,9 +944,14 @@ Input:: Output:: +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/transitiveReferences/b 1 rename:: tsconfig.json +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/transitiveReferences 1 change:: b +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/transitiveReferences/b 1 change:: + >> Screen clear [12:02:03 AM] File change detected. Starting incremental compilation... +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/transitivereferences/c 1 change:: index.js [12:02:07 AM] Found 0 errors. Watching for file changes. @@ -1006,9 +1046,16 @@ Input:: //// [/user/username/projects/transitiveReferences/a/tsconfig.json] deleted Output:: +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/transitivereferences/a 1 rename:: tsconfig.json +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/transitiveReferences/a 1 rename:: tsconfig.json +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/transitiveReferences 1 change:: a +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/transitivereferences/a 1 change:: +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/transitiveReferences/a 1 change:: + >> Screen clear [12:02:09 AM] File change detected. Starting incremental compilation... +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/transitiveReferences/a 1 change:: index.js b/tsconfig.json:1:96 - error TS6053: File '/user/username/projects/transitiveReferences/a' not found. 1 {"compilerOptions":{"composite":true,"baseUrl":"./","paths":{"@ref/*":["../*"]}},"references":[{"path":"../a"}]} @@ -1105,6 +1152,10 @@ Input:: Output:: +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/transitiveReferences/a 1 rename:: tsconfig.json +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/transitiveReferences 1 change:: a +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/transitiveReferences/a 1 change:: + >> Screen clear [12:02:17 AM] File change detected. Starting incremental compilation... diff --git a/tests/baselines/reference/tscWatch/projectsWithReferences/on-transitive-references-in-different-folders.js b/tests/baselines/reference/tscWatch/projectsWithReferences/on-transitive-references-in-different-folders.js index 1deb26f2868..82edc629807 100644 --- a/tests/baselines/reference/tscWatch/projectsWithReferences/on-transitive-references-in-different-folders.js +++ b/tests/baselines/reference/tscWatch/projectsWithReferences/on-transitive-references-in-different-folders.js @@ -342,6 +342,12 @@ export declare function gfoo(): void; Output:: +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/transitiveReferences/b 1 change:: index.ts +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/transitiveReferences/b 1 change:: index.js +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/transitiveReferences/b 1 change:: index.d.ts +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/transitiveReferences/b 1 change:: tsconfig.tsbuildinfo +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/transitiveReferences/b 1 change:: tsconfig.tsbuildinfo.readable.baseline.txt + >> Screen clear [12:01:16 AM] File change detected. Starting incremental compilation... @@ -438,6 +444,10 @@ export class A {} Output:: +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/transitiveReferences 1 rename:: nrefs +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/transitiveReferences 1 change:: +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/transitiveReferences 1 change:: nrefs + >> Screen clear [12:01:28 AM] File change detected. Starting incremental compilation... @@ -628,6 +638,8 @@ Input:: Output:: +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/transitiveReferences/b 1 change:: tsconfig.json + >> Screen clear [12:01:44 AM] File change detected. Starting incremental compilation... @@ -718,6 +730,8 @@ Input:: Output:: +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/transitiveReferences/b 1 change:: tsconfig.json + >> Screen clear [12:01:50 AM] File change detected. Starting incremental compilation... @@ -795,9 +809,14 @@ Input:: //// [/user/username/projects/transitiveReferences/b/tsconfig.json] deleted Output:: +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/transitiveReferences/b 1 rename:: tsconfig.json +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/transitiveReferences 1 change:: b +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/transitiveReferences/b 1 change:: + >> Screen clear [12:01:53 AM] File change detected. Starting incremental compilation... +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/transitiveReferences/b 1 change:: index.js c/tsconfig.json:1:105 - error TS6053: File '/user/username/projects/transitiveReferences/b' not found. 1 {"compilerOptions":{"baseUrl":"./","paths":{"@ref/*":["../refs/*"]}},"files":["index.ts"],"references":[{"path":"../b"}]} @@ -881,6 +900,10 @@ Input:: Output:: +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/transitiveReferences/b 1 rename:: tsconfig.json +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/transitiveReferences 1 change:: b +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/transitiveReferences/b 1 change:: + >> Screen clear [12:02:03 AM] File change detected. Starting incremental compilation... @@ -974,9 +997,14 @@ Input:: //// [/user/username/projects/transitiveReferences/a/tsconfig.json] deleted Output:: +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/transitiveReferences/a 1 rename:: tsconfig.json +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/transitiveReferences 1 change:: a +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/transitiveReferences/a 1 change:: + >> Screen clear [12:02:09 AM] File change detected. Starting incremental compilation... +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/transitiveReferences/a 1 change:: index.js b/tsconfig.json:1:117 - error TS6053: File '/user/username/projects/transitiveReferences/a' not found. 1 {"compilerOptions":{"composite":true,"baseUrl":"./","paths":{"@ref/*":["../*"]}},"files":["index.ts"],"references":[{"path":"../a"}]} @@ -1070,6 +1098,10 @@ Input:: Output:: +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/transitiveReferences/a 1 rename:: tsconfig.json +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/transitiveReferences 1 change:: a +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/transitiveReferences/a 1 change:: + >> Screen clear [12:02:17 AM] File change detected. Starting incremental compilation... diff --git a/tests/baselines/reference/tscWatch/resolutionCache/caching-works.js b/tests/baselines/reference/tscWatch/resolutionCache/caching-works.js index ec5ba330688..5a8350b7b0b 100644 --- a/tests/baselines/reference/tscWatch/resolutionCache/caching-works.js +++ b/tests/baselines/reference/tscWatch/resolutionCache/caching-works.js @@ -24,6 +24,10 @@ Output:: >> Screen clear [12:00:15 AM] Starting compilation in watch mode... +sysLog:: watchPresentFileSystemEntry:: /a 1 rename:: f1.js +sysLog:: watchPresentFileSystemEntry:: /a 1 change:: +sysLog:: watchPresentFileSystemEntry:: /a 1 rename:: d/f0.js +sysLog:: watchPresentFileSystemEntry:: /a 1 change:: d a/d/f0.ts:1:17 - error TS2306: File '/a/f1.ts' is not a module. 1 import {x} from "f1" @@ -93,9 +97,12 @@ import {x} from "f1" Output:: +sysLog:: watchPresentFileSystemEntry:: /a 1 change:: d/f0.ts + >> Screen clear [12:00:24 AM] File change detected. Starting incremental compilation... +sysLog:: watchPresentFileSystemEntry:: /a 1 change:: d/f0.js a/d/f0.ts:1:17 - error TS2306: File '/a/f1.ts' is not a module. 1 import {x} from "f1" @@ -162,9 +169,12 @@ import {x} from "f2" Output:: +sysLog:: watchPresentFileSystemEntry:: /a 1 change:: d/f0.ts + >> Screen clear [12:00:32 AM] File change detected. Starting incremental compilation... +sysLog:: watchPresentFileSystemEntry:: /a 1 change:: d/f0.js a/d/f0.ts:1:17 - error TS2792: Cannot find module 'f2'. Did you mean to set the 'moduleResolution' option to 'node', or to add aliases to the 'paths' option? 1 import {x} from "f2" @@ -221,9 +231,13 @@ import {x} from "f1" Output:: +sysLog:: watchPresentFileSystemEntry:: /a 1 change:: d/f0.ts + >> Screen clear [12:00:40 AM] File change detected. Starting incremental compilation... +sysLog:: watchPresentFileSystemEntry:: /a 1 change:: f1.js +sysLog:: watchPresentFileSystemEntry:: /a 1 change:: d/f0.js a/d/f0.ts:1:17 - error TS2306: File '/a/f1.ts' is not a module. 1 import {x} from "f1" diff --git a/tests/baselines/reference/tscWatch/resolutionCache/ignores-changes-in-node_modules-that-start-with-dot/watch-with-configFile.js b/tests/baselines/reference/tscWatch/resolutionCache/ignores-changes-in-node_modules-that-start-with-dot/watch-with-configFile.js index 4983e21f361..8711b2767ab 100644 --- a/tests/baselines/reference/tscWatch/resolutionCache/ignores-changes-in-node_modules-that-start-with-dot/watch-with-configFile.js +++ b/tests/baselines/reference/tscWatch/resolutionCache/ignores-changes-in-node_modules-that-start-with-dot/watch-with-configFile.js @@ -87,6 +87,19 @@ Input:: Output:: +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject/node_modules 1 rename:: .cache +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject 1 rename:: node_modules/.cache +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject/node_modules 1 change:: +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject 1 change:: node_modules +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject/node_modules 1 rename:: .cache/babel-loader +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject 1 rename:: node_modules/.cache/babel-loader +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject/node_modules 1 change:: .cache +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject 1 change:: node_modules/.cache +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject/node_modules 1 rename:: .cache/babel-loader/89c02171edab901b9926470ba6d5677e.ts +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject 1 rename:: node_modules/.cache/babel-loader/89c02171edab901b9926470ba6d5677e.ts +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject/node_modules 1 change:: .cache/babel-loader +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject 1 change:: node_modules/.cache/babel-loader + WatchedFiles:: /user/username/projects/myproject/tsconfig.json: diff --git a/tests/baselines/reference/tscWatch/resolutionCache/ignores-changes-in-node_modules-that-start-with-dot/watch-without-configFile.js b/tests/baselines/reference/tscWatch/resolutionCache/ignores-changes-in-node_modules-that-start-with-dot/watch-without-configFile.js index 85f14d17a90..25ea2f7ce25 100644 --- a/tests/baselines/reference/tscWatch/resolutionCache/ignores-changes-in-node_modules-that-start-with-dot/watch-without-configFile.js +++ b/tests/baselines/reference/tscWatch/resolutionCache/ignores-changes-in-node_modules-that-start-with-dot/watch-without-configFile.js @@ -27,6 +27,8 @@ Output:: >> Screen clear [12:00:27 AM] Starting compilation in watch mode... +sysLog:: watchPresentFileSystemEntry:: /user 1 rename:: username/projects/myproject/test.js +sysLog:: watchPresentFileSystemEntry:: /user 1 change:: username/projects/myproject [12:00:30 AM] Found 0 errors. Watching for file changes. @@ -81,6 +83,13 @@ Input:: Output:: +sysLog:: watchPresentFileSystemEntry:: /user 1 rename:: username/projects/myproject/node_modules/.cache +sysLog:: watchPresentFileSystemEntry:: /user 1 change:: username/projects/myproject/node_modules +sysLog:: watchPresentFileSystemEntry:: /user 1 rename:: username/projects/myproject/node_modules/.cache/babel-loader +sysLog:: watchPresentFileSystemEntry:: /user 1 change:: username/projects/myproject/node_modules/.cache +sysLog:: watchPresentFileSystemEntry:: /user 1 rename:: username/projects/myproject/node_modules/.cache/babel-loader/89c02171edab901b9926470ba6d5677e.ts +sysLog:: watchPresentFileSystemEntry:: /user 1 change:: username/projects/myproject/node_modules/.cache/babel-loader + WatchedFiles:: /user/username/projects/myproject/test.ts: diff --git a/tests/baselines/reference/tscWatch/resolutionCache/loads-missing-files-from-disk.js b/tests/baselines/reference/tscWatch/resolutionCache/loads-missing-files-from-disk.js index fe2afcf3739..26781409f1e 100644 --- a/tests/baselines/reference/tscWatch/resolutionCache/loads-missing-files-from-disk.js +++ b/tests/baselines/reference/tscWatch/resolutionCache/loads-missing-files-from-disk.js @@ -21,6 +21,9 @@ Output:: >> Screen clear [12:00:11 AM] Starting compilation in watch mode... +sysLog:: watchPresentFileSystemEntry:: /a 1 rename:: foo.js +sysLog:: watchPresentFileSystemEntry:: 1 change:: a +sysLog:: watchPresentFileSystemEntry:: /a 1 change:: a/foo.ts:1:17 - error TS2792: Cannot find module 'bar'. Did you mean to set the 'moduleResolution' option to 'node', or to add aliases to the 'paths' option? 1 import {x} from "bar" @@ -82,9 +85,15 @@ export const y = 1; Output:: +sysLog:: watchPresentFileSystemEntry:: /a 1 change:: foo.ts +sysLog:: watchPresentFileSystemEntry:: /a 1 rename:: bar.d.ts +sysLog:: watchPresentFileSystemEntry:: 1 change:: a +sysLog:: watchPresentFileSystemEntry:: /a 1 change:: + >> Screen clear [12:00:20 AM] File change detected. Starting incremental compilation... +sysLog:: watchPresentFileSystemEntry:: /a 1 change:: foo.js [12:00:24 AM] Found 0 errors. Watching for file changes. diff --git a/tests/baselines/reference/tscWatch/resolutionCache/should-compile-correctly-when-resolved-module-goes-missing-and-then-comes-back.js b/tests/baselines/reference/tscWatch/resolutionCache/should-compile-correctly-when-resolved-module-goes-missing-and-then-comes-back.js index a7a69e9bbf8..c76354103ea 100644 --- a/tests/baselines/reference/tscWatch/resolutionCache/should-compile-correctly-when-resolved-module-goes-missing-and-then-comes-back.js +++ b/tests/baselines/reference/tscWatch/resolutionCache/should-compile-correctly-when-resolved-module-goes-missing-and-then-comes-back.js @@ -24,6 +24,8 @@ Output:: >> Screen clear [12:00:13 AM] Starting compilation in watch mode... +sysLog:: watchPresentFileSystemEntry:: /a 1 rename:: foo.js +sysLog:: watchPresentFileSystemEntry:: /a 1 change:: [12:00:16 AM] Found 0 errors. Watching for file changes. @@ -76,9 +78,13 @@ Input:: //// [/a/bar.d.ts] deleted Output:: +sysLog:: watchPresentFileSystemEntry:: /a 1 rename:: bar.d.ts +sysLog:: watchPresentFileSystemEntry:: /a 1 change:: + >> Screen clear [12:00:18 AM] File change detected. Starting incremental compilation... +sysLog:: watchPresentFileSystemEntry:: /a 1 change:: foo.js a/foo.ts:1:17 - error TS2792: Cannot find module 'bar'. Did you mean to set the 'moduleResolution' option to 'node', or to add aliases to the 'paths' option? 1 import {x} from "bar" @@ -129,9 +135,14 @@ export const y = 1;export const x = 10; Output:: +sysLog:: watchPresentFileSystemEntry:: /a 1 rename:: bar.d.ts +sysLog:: watchPresentFileSystemEntry:: 1 change:: a +sysLog:: watchPresentFileSystemEntry:: /a 1 change:: + >> Screen clear [12:00:25 AM] File change detected. Starting incremental compilation... +sysLog:: watchPresentFileSystemEntry:: /a 1 change:: foo.js [12:00:29 AM] Found 0 errors. Watching for file changes. diff --git a/tests/baselines/reference/tscWatch/resolutionCache/when-types-in-compiler-option-are-global-and-installed-at-later-point.js b/tests/baselines/reference/tscWatch/resolutionCache/when-types-in-compiler-option-are-global-and-installed-at-later-point.js index e1320878fe8..e967c45ba9f 100644 --- a/tests/baselines/reference/tscWatch/resolutionCache/when-types-in-compiler-option-are-global-and-installed-at-later-point.js +++ b/tests/baselines/reference/tscWatch/resolutionCache/when-types-in-compiler-option-are-global-and-installed-at-later-point.js @@ -87,11 +87,37 @@ declare namespace myapp { Output:: +sysLog:: watchMissingFileSystemEntry:: /user/username/projects/myproject/node_modules 1 /user/username/projects/myproject/node_modules:: 0 +sysLog:: watchMissingFileSystemEntry:: Callback :: rename, "" and will update the watcher sysLog:: /user/username/projects/myproject/node_modules:: Changing watcher to PresentFileSystemEntryWatcher +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject/node_modules 1 rename:: +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject 1 rename:: node_modules +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject 1 change:: +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject/node_modules 1 rename:: @myapp +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject 1 rename:: node_modules/@myapp +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject/node_modules 1 change:: +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject 1 change:: node_modules +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject/node_modules 1 rename:: @myapp/ts-types +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject 1 rename:: node_modules/@myapp/ts-types +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject/node_modules 1 change:: @myapp +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject 1 change:: node_modules/@myapp +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject/node_modules 1 rename:: @myapp/ts-types/package.json +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject 1 rename:: node_modules/@myapp/ts-types/package.json +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject/node_modules 1 change:: @myapp/ts-types +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject 1 change:: node_modules/@myapp/ts-types +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject/node_modules 1 rename:: @myapp/ts-types/types +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject 1 rename:: node_modules/@myapp/ts-types/types +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject/node_modules 1 change:: @myapp/ts-types +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject 1 change:: node_modules/@myapp/ts-types +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject/node_modules 1 rename:: @myapp/ts-types/types/somefile.define.d.ts +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject 1 rename:: node_modules/@myapp/ts-types/types/somefile.define.d.ts +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject/node_modules 1 change:: @myapp/ts-types/types +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject 1 change:: node_modules/@myapp/ts-types/types >> Screen clear [12:00:39 AM] File change detected. Starting incremental compilation... +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject 1 change:: lib/app.js [12:00:43 AM] Found 0 errors. Watching for file changes. diff --git a/tests/baselines/reference/tscWatch/resolutionCache/works-when-installing-something-in-node_modules-or-@types-when-there-is-no-notification-from-fs-for-index-file.js b/tests/baselines/reference/tscWatch/resolutionCache/works-when-installing-something-in-node_modules-or-@types-when-there-is-no-notification-from-fs-for-index-file.js index 4f41981f7b4..5692c7f704e 100644 --- a/tests/baselines/reference/tscWatch/resolutionCache/works-when-installing-something-in-node_modules-or-@types-when-there-is-no-notification-from-fs-for-index-file.js +++ b/tests/baselines/reference/tscWatch/resolutionCache/works-when-installing-something-in-node_modules-or-@types-when-there-is-no-notification-from-fs-for-index-file.js @@ -138,83 +138,124 @@ Output:: FileWatcher:: Triggered with /user/username/projects/myproject/node_modules/@types/node/base.d.ts 2:: WatchInfo: /user/username/projects/myproject/node_modules/@types/node/base.d.ts 250 undefined Source file Scheduling update Elapsed:: *ms FileWatcher:: Triggered with /user/username/projects/myproject/node_modules/@types/node/base.d.ts 2:: WatchInfo: /user/username/projects/myproject/node_modules/@types/node/base.d.ts 250 undefined Source file +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject/node_modules/@types 1 rename:: node/base.d.ts DirectoryWatcher:: Triggered with /user/username/projects/myproject/node_modules/@types/node/base.d.ts :: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Type roots Scheduling update Scheduling invalidateFailedLookup Elapsed:: *ms DirectoryWatcher:: Triggered with /user/username/projects/myproject/node_modules/@types/node/base.d.ts :: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Type roots +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject/node_modules 1 rename:: @types/node/base.d.ts DirectoryWatcher:: Triggered with /user/username/projects/myproject/node_modules/@types/node/base.d.ts :: WatchInfo: /user/username/projects/myproject/node_modules 1 undefined Failed Lookup Locations Scheduling invalidateFailedLookup, Cancelled earlier one Elapsed:: *ms DirectoryWatcher:: Triggered with /user/username/projects/myproject/node_modules/@types/node/base.d.ts :: WatchInfo: /user/username/projects/myproject/node_modules 1 undefined Failed Lookup Locations +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject 1 rename:: node_modules/@types/node/base.d.ts DirectoryWatcher:: Triggered with /user/username/projects/myproject/node_modules/@types/node/base.d.ts :: WatchInfo: /user/username/projects/myproject 1 undefined Wild card directory Scheduling update Elapsed:: *ms DirectoryWatcher:: Triggered with /user/username/projects/myproject/node_modules/@types/node/base.d.ts :: WatchInfo: /user/username/projects/myproject 1 undefined Wild card directory +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject/node_modules/@types 1 change:: node +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject/node_modules 1 change:: @types/node +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject 1 change:: node_modules/@types/node FileWatcher:: Triggered with /user/username/projects/myproject/node_modules/@types/node/globals.d.ts 2:: WatchInfo: /user/username/projects/myproject/node_modules/@types/node/globals.d.ts 250 undefined Source file Scheduling update Elapsed:: *ms FileWatcher:: Triggered with /user/username/projects/myproject/node_modules/@types/node/globals.d.ts 2:: WatchInfo: /user/username/projects/myproject/node_modules/@types/node/globals.d.ts 250 undefined Source file +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject/node_modules/@types 1 rename:: node/globals.d.ts DirectoryWatcher:: Triggered with /user/username/projects/myproject/node_modules/@types/node/globals.d.ts :: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Type roots Scheduling update Scheduling invalidateFailedLookup, Cancelled earlier one Elapsed:: *ms DirectoryWatcher:: Triggered with /user/username/projects/myproject/node_modules/@types/node/globals.d.ts :: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Type roots +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject/node_modules 1 rename:: @types/node/globals.d.ts DirectoryWatcher:: Triggered with /user/username/projects/myproject/node_modules/@types/node/globals.d.ts :: WatchInfo: /user/username/projects/myproject/node_modules 1 undefined Failed Lookup Locations Scheduling invalidateFailedLookup, Cancelled earlier one Elapsed:: *ms DirectoryWatcher:: Triggered with /user/username/projects/myproject/node_modules/@types/node/globals.d.ts :: WatchInfo: /user/username/projects/myproject/node_modules 1 undefined Failed Lookup Locations +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject 1 rename:: node_modules/@types/node/globals.d.ts DirectoryWatcher:: Triggered with /user/username/projects/myproject/node_modules/@types/node/globals.d.ts :: WatchInfo: /user/username/projects/myproject 1 undefined Wild card directory Scheduling update Elapsed:: *ms DirectoryWatcher:: Triggered with /user/username/projects/myproject/node_modules/@types/node/globals.d.ts :: WatchInfo: /user/username/projects/myproject 1 undefined Wild card directory +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject/node_modules/@types 1 change:: node +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject/node_modules 1 change:: @types/node +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject 1 change:: node_modules/@types/node FileWatcher:: Triggered with /user/username/projects/myproject/node_modules/@types/node/index.d.ts 2:: WatchInfo: /user/username/projects/myproject/node_modules/@types/node/index.d.ts 250 undefined Source file Scheduling update Elapsed:: *ms FileWatcher:: Triggered with /user/username/projects/myproject/node_modules/@types/node/index.d.ts 2:: WatchInfo: /user/username/projects/myproject/node_modules/@types/node/index.d.ts 250 undefined Source file +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject/node_modules/@types 1 rename:: node/index.d.ts DirectoryWatcher:: Triggered with /user/username/projects/myproject/node_modules/@types/node/index.d.ts :: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Type roots Scheduling update Scheduling invalidateFailedLookup, Cancelled earlier one Elapsed:: *ms DirectoryWatcher:: Triggered with /user/username/projects/myproject/node_modules/@types/node/index.d.ts :: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Type roots +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject/node_modules 1 rename:: @types/node/index.d.ts DirectoryWatcher:: Triggered with /user/username/projects/myproject/node_modules/@types/node/index.d.ts :: WatchInfo: /user/username/projects/myproject/node_modules 1 undefined Failed Lookup Locations Scheduling invalidateFailedLookup, Cancelled earlier one Elapsed:: *ms DirectoryWatcher:: Triggered with /user/username/projects/myproject/node_modules/@types/node/index.d.ts :: WatchInfo: /user/username/projects/myproject/node_modules 1 undefined Failed Lookup Locations +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject 1 rename:: node_modules/@types/node/index.d.ts DirectoryWatcher:: Triggered with /user/username/projects/myproject/node_modules/@types/node/index.d.ts :: WatchInfo: /user/username/projects/myproject 1 undefined Wild card directory Scheduling update Elapsed:: *ms DirectoryWatcher:: Triggered with /user/username/projects/myproject/node_modules/@types/node/index.d.ts :: WatchInfo: /user/username/projects/myproject 1 undefined Wild card directory +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject/node_modules/@types 1 change:: node +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject/node_modules 1 change:: @types/node +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject 1 change:: node_modules/@types/node FileWatcher:: Triggered with /user/username/projects/myproject/node_modules/@types/node/ts3.6/base.d.ts 2:: WatchInfo: /user/username/projects/myproject/node_modules/@types/node/ts3.6/base.d.ts 250 undefined Source file Scheduling update Elapsed:: *ms FileWatcher:: Triggered with /user/username/projects/myproject/node_modules/@types/node/ts3.6/base.d.ts 2:: WatchInfo: /user/username/projects/myproject/node_modules/@types/node/ts3.6/base.d.ts 250 undefined Source file +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject/node_modules/@types 1 rename:: node/ts3.6/base.d.ts DirectoryWatcher:: Triggered with /user/username/projects/myproject/node_modules/@types/node/ts3.6/base.d.ts :: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Type roots Scheduling update Scheduling invalidateFailedLookup, Cancelled earlier one Elapsed:: *ms DirectoryWatcher:: Triggered with /user/username/projects/myproject/node_modules/@types/node/ts3.6/base.d.ts :: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Type roots +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject/node_modules 1 rename:: @types/node/ts3.6/base.d.ts DirectoryWatcher:: Triggered with /user/username/projects/myproject/node_modules/@types/node/ts3.6/base.d.ts :: WatchInfo: /user/username/projects/myproject/node_modules 1 undefined Failed Lookup Locations Scheduling invalidateFailedLookup, Cancelled earlier one Elapsed:: *ms DirectoryWatcher:: Triggered with /user/username/projects/myproject/node_modules/@types/node/ts3.6/base.d.ts :: WatchInfo: /user/username/projects/myproject/node_modules 1 undefined Failed Lookup Locations +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject 1 rename:: node_modules/@types/node/ts3.6/base.d.ts DirectoryWatcher:: Triggered with /user/username/projects/myproject/node_modules/@types/node/ts3.6/base.d.ts :: WatchInfo: /user/username/projects/myproject 1 undefined Wild card directory Scheduling update Elapsed:: *ms DirectoryWatcher:: Triggered with /user/username/projects/myproject/node_modules/@types/node/ts3.6/base.d.ts :: WatchInfo: /user/username/projects/myproject 1 undefined Wild card directory +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject/node_modules/@types 1 change:: node/ts3.6 +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject/node_modules 1 change:: @types/node/ts3.6 +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject 1 change:: node_modules/@types/node/ts3.6 +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject/node_modules/@types 1 rename:: node/ts3.6 DirectoryWatcher:: Triggered with /user/username/projects/myproject/node_modules/@types/node/ts3.6 :: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Type roots Scheduling update Elapsed:: *ms DirectoryWatcher:: Triggered with /user/username/projects/myproject/node_modules/@types/node/ts3.6 :: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Type roots +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject/node_modules 1 rename:: @types/node/ts3.6 DirectoryWatcher:: Triggered with /user/username/projects/myproject/node_modules/@types/node/ts3.6 :: WatchInfo: /user/username/projects/myproject/node_modules 1 undefined Failed Lookup Locations Elapsed:: *ms DirectoryWatcher:: Triggered with /user/username/projects/myproject/node_modules/@types/node/ts3.6 :: WatchInfo: /user/username/projects/myproject/node_modules 1 undefined Failed Lookup Locations +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject 1 rename:: node_modules/@types/node/ts3.6 DirectoryWatcher:: Triggered with /user/username/projects/myproject/node_modules/@types/node/ts3.6 :: WatchInfo: /user/username/projects/myproject 1 undefined Wild card directory Project: /user/username/projects/myproject/tsconfig.json Detected file add/remove of non supported extension: /user/username/projects/myproject/node_modules/@types/node/ts3.6 Elapsed:: *ms DirectoryWatcher:: Triggered with /user/username/projects/myproject/node_modules/@types/node/ts3.6 :: WatchInfo: /user/username/projects/myproject 1 undefined Wild card directory +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject/node_modules/@types 1 change:: node +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject/node_modules 1 change:: @types/node +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject 1 change:: node_modules/@types/node +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject/node_modules/@types 1 rename:: node DirectoryWatcher:: Triggered with /user/username/projects/myproject/node_modules/@types/node :: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Type roots Scheduling update Scheduling invalidateFailedLookup, Cancelled earlier one Elapsed:: *ms DirectoryWatcher:: Triggered with /user/username/projects/myproject/node_modules/@types/node :: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Type roots +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject/node_modules 1 rename:: @types/node DirectoryWatcher:: Triggered with /user/username/projects/myproject/node_modules/@types/node :: WatchInfo: /user/username/projects/myproject/node_modules 1 undefined Failed Lookup Locations Scheduling invalidateFailedLookup, Cancelled earlier one Elapsed:: *ms DirectoryWatcher:: Triggered with /user/username/projects/myproject/node_modules/@types/node :: WatchInfo: /user/username/projects/myproject/node_modules 1 undefined Failed Lookup Locations +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject 1 rename:: node_modules/@types/node DirectoryWatcher:: Triggered with /user/username/projects/myproject/node_modules/@types/node :: WatchInfo: /user/username/projects/myproject 1 undefined Wild card directory Scheduling update Elapsed:: *ms DirectoryWatcher:: Triggered with /user/username/projects/myproject/node_modules/@types/node :: WatchInfo: /user/username/projects/myproject 1 undefined Wild card directory +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject/node_modules/@types 1 change:: +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject/node_modules 1 change:: @types +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject 1 change:: node_modules/@types +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject/node_modules/@types 1 rename:: DirectoryWatcher:: Triggered with /user/username/projects/myproject/node_modules/@types :: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Type roots Scheduling update Scheduling invalidateFailedLookup, Cancelled earlier one Elapsed:: *ms DirectoryWatcher:: Triggered with /user/username/projects/myproject/node_modules/@types :: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Type roots +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject/node_modules 1 rename:: @types DirectoryWatcher:: Triggered with /user/username/projects/myproject/node_modules/@types :: WatchInfo: /user/username/projects/myproject/node_modules 1 undefined Failed Lookup Locations Scheduling invalidateFailedLookup, Cancelled earlier one Elapsed:: *ms DirectoryWatcher:: Triggered with /user/username/projects/myproject/node_modules/@types :: WatchInfo: /user/username/projects/myproject/node_modules 1 undefined Failed Lookup Locations +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject 1 rename:: node_modules/@types DirectoryWatcher:: Triggered with /user/username/projects/myproject/node_modules/@types :: WatchInfo: /user/username/projects/myproject 1 undefined Wild card directory Scheduling update Elapsed:: *ms DirectoryWatcher:: Triggered with /user/username/projects/myproject/node_modules/@types :: WatchInfo: /user/username/projects/myproject 1 undefined Wild card directory +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject/node_modules 1 change:: +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject 1 change:: node_modules Reloading new file names and options Synchronizing program [12:00:48 AM] File change detected. Starting incremental compilation... @@ -227,6 +268,7 @@ FileWatcher:: Close:: WatchInfo: /user/username/projects/myproject/node_modules/ FileWatcher:: Close:: WatchInfo: /user/username/projects/myproject/node_modules/@types/node/base.d.ts 250 undefined Source file FileWatcher:: Close:: WatchInfo: /user/username/projects/myproject/node_modules/@types/node/index.d.ts 250 undefined Source file FileWatcher:: Close:: WatchInfo: /user/username/projects/myproject/node_modules/@types/node/package.json 2000 undefined package.json file +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject 1 change:: worker.js worker.ts:1:1 - error TS2580: Cannot find name 'process'. Do you need to install type definitions for node? Try `npm i --save-dev @types/node`. 1 process.on("uncaughtException"); @@ -280,36 +322,53 @@ export const foo = 10; Output:: +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject/node_modules/@types 1 rename:: DirectoryWatcher:: Triggered with /user/username/projects/myproject/node_modules/@types :: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Type roots Scheduling update Scheduling invalidateFailedLookup Elapsed:: *ms DirectoryWatcher:: Triggered with /user/username/projects/myproject/node_modules/@types :: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Type roots +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject/node_modules 1 rename:: @types DirectoryWatcher:: Triggered with /user/username/projects/myproject/node_modules/@types :: WatchInfo: /user/username/projects/myproject/node_modules 1 undefined Failed Lookup Locations Scheduling invalidateFailedLookup, Cancelled earlier one Elapsed:: *ms DirectoryWatcher:: Triggered with /user/username/projects/myproject/node_modules/@types :: WatchInfo: /user/username/projects/myproject/node_modules 1 undefined Failed Lookup Locations +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject 1 rename:: node_modules/@types DirectoryWatcher:: Triggered with /user/username/projects/myproject/node_modules/@types :: WatchInfo: /user/username/projects/myproject 1 undefined Wild card directory Scheduling update Elapsed:: *ms DirectoryWatcher:: Triggered with /user/username/projects/myproject/node_modules/@types :: WatchInfo: /user/username/projects/myproject 1 undefined Wild card directory +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject/node_modules 1 change:: +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject 1 change:: node_modules +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject/node_modules/@types 1 rename:: mocha DirectoryWatcher:: Triggered with /user/username/projects/myproject/node_modules/@types/mocha :: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Type roots Scheduling update Scheduling invalidateFailedLookup, Cancelled earlier one Elapsed:: *ms DirectoryWatcher:: Triggered with /user/username/projects/myproject/node_modules/@types/mocha :: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Type roots +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject/node_modules 1 rename:: @types/mocha DirectoryWatcher:: Triggered with /user/username/projects/myproject/node_modules/@types/mocha :: WatchInfo: /user/username/projects/myproject/node_modules 1 undefined Failed Lookup Locations Scheduling invalidateFailedLookup, Cancelled earlier one Elapsed:: *ms DirectoryWatcher:: Triggered with /user/username/projects/myproject/node_modules/@types/mocha :: WatchInfo: /user/username/projects/myproject/node_modules 1 undefined Failed Lookup Locations +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject 1 rename:: node_modules/@types/mocha DirectoryWatcher:: Triggered with /user/username/projects/myproject/node_modules/@types/mocha :: WatchInfo: /user/username/projects/myproject 1 undefined Wild card directory Scheduling update Elapsed:: *ms DirectoryWatcher:: Triggered with /user/username/projects/myproject/node_modules/@types/mocha :: WatchInfo: /user/username/projects/myproject 1 undefined Wild card directory +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject/node_modules/@types 1 change:: +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject/node_modules 1 change:: @types +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject 1 change:: node_modules/@types +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject/node_modules/@types 1 rename:: mocha/index.d.ts DirectoryWatcher:: Triggered with /user/username/projects/myproject/node_modules/@types/mocha/index.d.ts :: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Type roots Scheduling update Scheduling invalidateFailedLookup, Cancelled earlier one Elapsed:: *ms DirectoryWatcher:: Triggered with /user/username/projects/myproject/node_modules/@types/mocha/index.d.ts :: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Type roots +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject/node_modules 1 rename:: @types/mocha/index.d.ts DirectoryWatcher:: Triggered with /user/username/projects/myproject/node_modules/@types/mocha/index.d.ts :: WatchInfo: /user/username/projects/myproject/node_modules 1 undefined Failed Lookup Locations Scheduling invalidateFailedLookup, Cancelled earlier one Elapsed:: *ms DirectoryWatcher:: Triggered with /user/username/projects/myproject/node_modules/@types/mocha/index.d.ts :: WatchInfo: /user/username/projects/myproject/node_modules 1 undefined Failed Lookup Locations +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject 1 rename:: node_modules/@types/mocha/index.d.ts DirectoryWatcher:: Triggered with /user/username/projects/myproject/node_modules/@types/mocha/index.d.ts :: WatchInfo: /user/username/projects/myproject 1 undefined Wild card directory Scheduling update Elapsed:: *ms DirectoryWatcher:: Triggered with /user/username/projects/myproject/node_modules/@types/mocha/index.d.ts :: WatchInfo: /user/username/projects/myproject 1 undefined Wild card directory +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject/node_modules/@types 1 change:: mocha +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject/node_modules 1 change:: @types/mocha +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject 1 change:: node_modules/@types/mocha Reloading new file names and options Synchronizing program [12:00:59 AM] File change detected. Starting incremental compilation... @@ -372,16 +431,22 @@ Change:: npm ci step three: create atTypes node folder Input:: Output:: +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject/node_modules/@types 1 rename:: node DirectoryWatcher:: Triggered with /user/username/projects/myproject/node_modules/@types/node :: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Type roots Scheduling update Scheduling invalidateFailedLookup Elapsed:: *ms DirectoryWatcher:: Triggered with /user/username/projects/myproject/node_modules/@types/node :: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Type roots +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject/node_modules 1 rename:: @types/node DirectoryWatcher:: Triggered with /user/username/projects/myproject/node_modules/@types/node :: WatchInfo: /user/username/projects/myproject/node_modules 1 undefined Failed Lookup Locations Scheduling invalidateFailedLookup, Cancelled earlier one Elapsed:: *ms DirectoryWatcher:: Triggered with /user/username/projects/myproject/node_modules/@types/node :: WatchInfo: /user/username/projects/myproject/node_modules 1 undefined Failed Lookup Locations +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject 1 rename:: node_modules/@types/node DirectoryWatcher:: Triggered with /user/username/projects/myproject/node_modules/@types/node :: WatchInfo: /user/username/projects/myproject 1 undefined Wild card directory Scheduling update Elapsed:: *ms DirectoryWatcher:: Triggered with /user/username/projects/myproject/node_modules/@types/node :: WatchInfo: /user/username/projects/myproject 1 undefined Wild card directory +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject/node_modules/@types 1 change:: +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject/node_modules 1 change:: @types +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject 1 change:: node_modules/@types Reloading new file names and options Synchronizing program [12:01:03 AM] File change detected. Starting incremental compilation... @@ -462,24 +527,36 @@ declare namespace NodeJS { Output:: +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject/node_modules/@types 1 rename:: node/base.d.ts DirectoryWatcher:: Triggered with /user/username/projects/myproject/node_modules/@types/node/base.d.ts :: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Type roots Scheduling update Scheduling invalidateFailedLookup Elapsed:: *ms DirectoryWatcher:: Triggered with /user/username/projects/myproject/node_modules/@types/node/base.d.ts :: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Type roots +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject/node_modules 1 rename:: @types/node/base.d.ts DirectoryWatcher:: Triggered with /user/username/projects/myproject/node_modules/@types/node/base.d.ts :: WatchInfo: /user/username/projects/myproject/node_modules 1 undefined Failed Lookup Locations Scheduling invalidateFailedLookup, Cancelled earlier one Elapsed:: *ms DirectoryWatcher:: Triggered with /user/username/projects/myproject/node_modules/@types/node/base.d.ts :: WatchInfo: /user/username/projects/myproject/node_modules 1 undefined Failed Lookup Locations +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject 1 rename:: node_modules/@types/node/base.d.ts DirectoryWatcher:: Triggered with /user/username/projects/myproject/node_modules/@types/node/base.d.ts :: WatchInfo: /user/username/projects/myproject 1 undefined Wild card directory Scheduling update Elapsed:: *ms DirectoryWatcher:: Triggered with /user/username/projects/myproject/node_modules/@types/node/base.d.ts :: WatchInfo: /user/username/projects/myproject 1 undefined Wild card directory +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject/node_modules/@types 1 change:: node +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject/node_modules 1 change:: @types/node +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject 1 change:: node_modules/@types/node +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject/node_modules/@types 1 rename:: node/ts3.6 DirectoryWatcher:: Triggered with /user/username/projects/myproject/node_modules/@types/node/ts3.6 :: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Type roots Scheduling update Elapsed:: *ms DirectoryWatcher:: Triggered with /user/username/projects/myproject/node_modules/@types/node/ts3.6 :: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Type roots +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject/node_modules 1 rename:: @types/node/ts3.6 DirectoryWatcher:: Triggered with /user/username/projects/myproject/node_modules/@types/node/ts3.6 :: WatchInfo: /user/username/projects/myproject/node_modules 1 undefined Failed Lookup Locations Elapsed:: *ms DirectoryWatcher:: Triggered with /user/username/projects/myproject/node_modules/@types/node/ts3.6 :: WatchInfo: /user/username/projects/myproject/node_modules 1 undefined Failed Lookup Locations +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject 1 rename:: node_modules/@types/node/ts3.6 DirectoryWatcher:: Triggered with /user/username/projects/myproject/node_modules/@types/node/ts3.6 :: WatchInfo: /user/username/projects/myproject 1 undefined Wild card directory Project: /user/username/projects/myproject/tsconfig.json Detected file add/remove of non supported extension: /user/username/projects/myproject/node_modules/@types/node/ts3.6 Elapsed:: *ms DirectoryWatcher:: Triggered with /user/username/projects/myproject/node_modules/@types/node/ts3.6 :: WatchInfo: /user/username/projects/myproject 1 undefined Wild card directory +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject/node_modules/@types 1 change:: node +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject/node_modules 1 change:: @types/node +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject 1 change:: node_modules/@types/node Scheduling update Reloading new file names and options Synchronizing program @@ -493,6 +570,7 @@ FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/ FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types/node/ts3.6/base.d.ts 250 undefined Source file FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types/node/globals.d.ts 250 undefined Source file FileWatcher:: Close:: WatchInfo: /user/username/projects/myproject/node_modules/node/package.json 2000 undefined package.json file +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject 1 change:: worker.js [12:01:20 AM] Found 0 errors. Watching for file changes. diff --git a/tests/baselines/reference/tscWatch/resolutionCache/works-when-module-resolution-changes-to-ambient-module.js b/tests/baselines/reference/tscWatch/resolutionCache/works-when-module-resolution-changes-to-ambient-module.js index 8dea1d815e3..66f5bb5c292 100644 --- a/tests/baselines/reference/tscWatch/resolutionCache/works-when-module-resolution-changes-to-ambient-module.js +++ b/tests/baselines/reference/tscWatch/resolutionCache/works-when-module-resolution-changes-to-ambient-module.js @@ -87,8 +87,28 @@ declare module "fs" { Output:: +sysLog:: watchMissingFileSystemEntry:: /a/b/node_modules 1 /a/b/node_modules:: 0 +sysLog:: watchMissingFileSystemEntry:: Callback :: rename, "" and will update the watcher sysLog:: /a/b/node_modules:: Changing watcher to PresentFileSystemEntryWatcher +sysLog:: watchPresentFileSystemEntry:: /a/b/node_modules 1 rename:: +sysLog:: watchMissingFileSystemEntry:: /a/b/node_modules/@types 1 /a/b/node_modules/@types:: 0 +sysLog:: watchMissingFileSystemEntry:: Callback :: rename, "" and will update the watcher sysLog:: /a/b/node_modules/@types:: Changing watcher to PresentFileSystemEntryWatcher +sysLog:: watchPresentFileSystemEntry:: /a/b/node_modules/@types 1 rename:: +sysLog:: watchPresentFileSystemEntry:: /a/b/node_modules 1 rename:: @types +sysLog:: watchPresentFileSystemEntry:: /a/b/node_modules 1 change:: +sysLog:: watchPresentFileSystemEntry:: /a/b/node_modules/@types 1 rename:: node +sysLog:: watchPresentFileSystemEntry:: /a/b/node_modules 1 rename:: @types/node +sysLog:: watchPresentFileSystemEntry:: /a/b/node_modules/@types 1 change:: +sysLog:: watchPresentFileSystemEntry:: /a/b/node_modules 1 change:: @types +sysLog:: watchPresentFileSystemEntry:: /a/b/node_modules/@types 1 rename:: node/package.json +sysLog:: watchPresentFileSystemEntry:: /a/b/node_modules 1 rename:: @types/node/package.json +sysLog:: watchPresentFileSystemEntry:: /a/b/node_modules/@types 1 change:: node +sysLog:: watchPresentFileSystemEntry:: /a/b/node_modules 1 change:: @types/node +sysLog:: watchPresentFileSystemEntry:: /a/b/node_modules/@types 1 rename:: node/index.d.ts +sysLog:: watchPresentFileSystemEntry:: /a/b/node_modules 1 rename:: @types/node/index.d.ts +sysLog:: watchPresentFileSystemEntry:: /a/b/node_modules/@types 1 change:: node +sysLog:: watchPresentFileSystemEntry:: /a/b/node_modules 1 change:: @types/node >> Screen clear [12:00:27 AM] File change detected. Starting incremental compilation... diff --git a/tests/baselines/reference/tscWatch/resolutionCache/works-when-renaming-node_modules-folder-that-already-contains-@types-folder.js b/tests/baselines/reference/tscWatch/resolutionCache/works-when-renaming-node_modules-folder-that-already-contains-@types-folder.js index 682abdee157..4d3c1fce6de 100644 --- a/tests/baselines/reference/tscWatch/resolutionCache/works-when-renaming-node_modules-folder-that-already-contains-@types-folder.js +++ b/tests/baselines/reference/tscWatch/resolutionCache/works-when-renaming-node_modules-folder-that-already-contains-@types-folder.js @@ -79,8 +79,19 @@ export {} //// [/user/username/projects/myproject/node_modules2/@types/qqq/index.d.ts] deleted Output:: +sysLog:: watchMissingFileSystemEntry:: /user/username/projects/myproject/node_modules 1 /user/username/projects/myproject/node_modules:: 0 +sysLog:: watchMissingFileSystemEntry:: Callback :: rename, "" and will update the watcher sysLog:: /user/username/projects/myproject/node_modules:: Changing watcher to PresentFileSystemEntryWatcher +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject/node_modules 1 rename:: +sysLog:: watchMissingFileSystemEntry:: /user/username/projects/myproject/node_modules/@types 1 /user/username/projects/myproject/node_modules/@types:: 0 +sysLog:: watchMissingFileSystemEntry:: Callback :: rename, "" and will update the watcher sysLog:: /user/username/projects/myproject/node_modules/@types:: Changing watcher to PresentFileSystemEntryWatcher +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject/node_modules/@types 1 rename:: +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject/node_modules 1 rename:: @types +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject/node_modules/@types 1 rename:: qqq +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject/node_modules 1 rename:: @types/qqq +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject/node_modules/@types 1 rename:: qqq/index.d.ts +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject/node_modules 1 rename:: @types/qqq/index.d.ts >> Screen clear [12:00:34 AM] File change detected. Starting incremental compilation... diff --git a/tests/baselines/reference/tscWatch/resolutionCache/works-when-reusing-program-with-files-from-external-library.js b/tests/baselines/reference/tscWatch/resolutionCache/works-when-reusing-program-with-files-from-external-library.js index 57076cf6e3a..89d98c62aeb 100644 --- a/tests/baselines/reference/tscWatch/resolutionCache/works-when-reusing-program-with-files-from-external-library.js +++ b/tests/baselines/reference/tscWatch/resolutionCache/works-when-reusing-program-with-files-from-external-library.js @@ -112,6 +112,8 @@ module1("hello"); Output:: +sysLog:: watchPresentFileSystemEntry:: /a/b/projects/myproject/src 1 change:: file1.ts + >> Screen clear [12:00:40 AM] File change detected. Starting incremental compilation... diff --git a/tests/baselines/reference/tscWatch/watchApi/extraFileExtensions-are-supported.js b/tests/baselines/reference/tscWatch/watchApi/extraFileExtensions-are-supported.js index 059b90a59d1..725e197cdc9 100644 --- a/tests/baselines/reference/tscWatch/watchApi/extraFileExtensions-are-supported.js +++ b/tests/baselines/reference/tscWatch/watchApi/extraFileExtensions-are-supported.js @@ -85,9 +85,14 @@ Input:: Output:: +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject 1 rename:: other2.vue +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject 1 change:: + >> Screen clear [12:00:31 AM] File change detected. Starting incremental compilation... +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject 1 rename:: other2.vue.js +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject 1 change:: [12:00:34 AM] Found 0 errors. Watching for file changes. diff --git a/tests/baselines/reference/tscWatch/watchApi/verifies-that-noEmit-is-handled-on-createSemanticDiagnosticsBuilderProgram.js b/tests/baselines/reference/tscWatch/watchApi/verifies-that-noEmit-is-handled-on-createSemanticDiagnosticsBuilderProgram.js index 7f5292f597f..83286fc8537 100644 --- a/tests/baselines/reference/tscWatch/watchApi/verifies-that-noEmit-is-handled-on-createSemanticDiagnosticsBuilderProgram.js +++ b/tests/baselines/reference/tscWatch/watchApi/verifies-that-noEmit-is-handled-on-createSemanticDiagnosticsBuilderProgram.js @@ -79,6 +79,8 @@ export const x = 10; Output:: +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject 1 change:: main.ts + >> Screen clear [12:00:27 AM] File change detected. Starting incremental compilation... diff --git a/tests/baselines/reference/tscWatch/watchApi/when-new-file-is-added-to-the-referenced-project-with-host-implementing-getParsedCommandLine-without-implementing-useSourceOfProjectReferenceRedirect.js b/tests/baselines/reference/tscWatch/watchApi/when-new-file-is-added-to-the-referenced-project-with-host-implementing-getParsedCommandLine-without-implementing-useSourceOfProjectReferenceRedirect.js index 96a7d413c8c..765829369f0 100644 --- a/tests/baselines/reference/tscWatch/watchApi/when-new-file-is-added-to-the-referenced-project-with-host-implementing-getParsedCommandLine-without-implementing-useSourceOfProjectReferenceRedirect.js +++ b/tests/baselines/reference/tscWatch/watchApi/when-new-file-is-added-to-the-referenced-project-with-host-implementing-getParsedCommandLine-without-implementing-useSourceOfProjectReferenceRedirect.js @@ -168,9 +168,11 @@ class class3 {} Output:: +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject/projects/project1 1 rename:: class3.ts DirectoryWatcher:: Triggered with /user/username/projects/myproject/projects/project1/class3.ts :: WatchInfo: /user/username/projects/myproject/projects/project1 1 undefined Wild card directory of referenced project Scheduling update Elapsed:: *ms DirectoryWatcher:: Triggered with /user/username/projects/myproject/projects/project1/class3.ts :: WatchInfo: /user/username/projects/myproject/projects/project1 1 undefined Wild card directory of referenced project +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject/projects/project1 1 change:: Synchronizing program Loading config file: /user/username/projects/myproject/projects/project1/tsconfig.json [12:00:45 AM] File change detected. Starting incremental compilation... @@ -248,9 +250,11 @@ FileWatcher:: Triggered with /user/username/projects/myproject/projects/project1 FileWatcher:: Close:: WatchInfo: /user/username/projects/myproject/projects/project1/class3.d.ts 500 undefined Missing file Scheduling update Elapsed:: *ms 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 Missing file +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject/projects/project1 1 rename:: class3.d.ts DirectoryWatcher:: Triggered with /user/username/projects/myproject/projects/project1/class3.d.ts :: WatchInfo: /user/username/projects/myproject/projects/project1 1 undefined Wild card directory of referenced project Project: /user/username/projects/myproject/projects/project1/tsconfig.json Detected output file: /user/username/projects/myproject/projects/project1/class3.d.ts Elapsed:: *ms DirectoryWatcher:: Triggered with /user/username/projects/myproject/projects/project1/class3.d.ts :: WatchInfo: /user/username/projects/myproject/projects/project1 1 undefined Wild card directory of referenced project +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject/projects/project1 1 change:: Synchronizing program [12:00:49 AM] File change detected. Starting incremental compilation... @@ -259,8 +263,12 @@ CreatingProgramWith:: options: {"module":0,"composite":true,"extendedDiagnostics":true,"configFilePath":"/user/username/projects/myproject/projects/project2/tsconfig.json"} projectReferences: [{"path":"/user/username/projects/myproject/projects/project1","originalPath":"../project1"}] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/projects/project1/class3.d.ts 250 undefined Source file +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject/projects/project2 1 change:: class2.js +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject/projects/project2 1 change:: class2.d.ts +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject/projects/project2 1 change:: tsconfig.tsbuildinfo [12:00:59 AM] Found 0 errors. Watching for file changes. +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject/projects/project2 1 change:: tsconfig.tsbuildinfo.readable.baseline.txt Program root files: ["/user/username/projects/myproject/projects/project2/class2.ts"] @@ -373,12 +381,16 @@ declare class file {} Output:: +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject/projects/project1 1 rename:: temp DirectoryWatcher:: Triggered with /user/username/projects/myproject/projects/project1/temp :: WatchInfo: /user/username/projects/myproject/projects/project1 1 undefined Wild card directory of referenced project Project: /user/username/projects/myproject/projects/project1/tsconfig.json Detected excluded file: /user/username/projects/myproject/projects/project1/temp Elapsed:: *ms DirectoryWatcher:: Triggered with /user/username/projects/myproject/projects/project1/temp :: WatchInfo: /user/username/projects/myproject/projects/project1 1 undefined Wild card directory of referenced project +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject/projects/project1 1 change:: +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject/projects/project1 1 rename:: temp/file.d.ts DirectoryWatcher:: Triggered with /user/username/projects/myproject/projects/project1/temp/file.d.ts :: WatchInfo: /user/username/projects/myproject/projects/project1 1 undefined Wild card directory of referenced project Project: /user/username/projects/myproject/projects/project1/tsconfig.json Detected excluded file: /user/username/projects/myproject/projects/project1/temp/file.d.ts Elapsed:: *ms DirectoryWatcher:: Triggered with /user/username/projects/myproject/projects/project1/temp/file.d.ts :: WatchInfo: /user/username/projects/myproject/projects/project1 1 undefined Wild card directory of referenced project +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject/projects/project1 1 change:: temp WatchedFiles:: @@ -421,9 +433,11 @@ Output:: FileWatcher:: Triggered with /user/username/projects/myproject/projects/project1/class3.d.ts 2:: WatchInfo: /user/username/projects/myproject/projects/project1/class3.d.ts 250 undefined Source file Scheduling update Elapsed:: *ms FileWatcher:: Triggered with /user/username/projects/myproject/projects/project1/class3.d.ts 2:: WatchInfo: /user/username/projects/myproject/projects/project1/class3.d.ts 250 undefined Source file +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject/projects/project1 1 rename:: class3.d.ts DirectoryWatcher:: Triggered with /user/username/projects/myproject/projects/project1/class3.d.ts :: WatchInfo: /user/username/projects/myproject/projects/project1 1 undefined Wild card directory of referenced project Project: /user/username/projects/myproject/projects/project1/tsconfig.json Detected output file: /user/username/projects/myproject/projects/project1/class3.d.ts Elapsed:: *ms DirectoryWatcher:: Triggered with /user/username/projects/myproject/projects/project1/class3.d.ts :: WatchInfo: /user/username/projects/myproject/projects/project1 1 undefined Wild card directory of referenced project +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject/projects/project1 1 change:: Synchronizing program [12:01:08 AM] File change detected. Starting incremental compilation... @@ -433,6 +447,9 @@ CreatingProgramWith:: projectReferences: [{"path":"/user/username/projects/myproject/projects/project1","originalPath":"../project1"}] FileWatcher:: Close:: WatchInfo: /user/username/projects/myproject/projects/project1/class3.d.ts 250 undefined Source file FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/projects/project1/class3.d.ts 500 undefined Missing file +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject/projects/project2 1 change:: class2.js +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject/projects/project2 1 change:: class2.d.ts +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject/projects/project2 1 change:: tsconfig.tsbuildinfo error TS6053: File '/user/username/projects/myproject/projects/project1/class3.d.ts' not found. The file is in the program because: Output from referenced project '/user/username/projects/myproject/projects/project1/tsconfig.json' included because '--module' is specified as 'none' @@ -444,6 +461,7 @@ FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/projects/proj [12:01:18 AM] Found 1 error. Watching for file changes. +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject/projects/project2 1 change:: tsconfig.tsbuildinfo.readable.baseline.txt Program root files: ["/user/username/projects/myproject/projects/project2/class2.ts"] @@ -547,9 +565,11 @@ FileWatcher:: Triggered with /user/username/projects/myproject/projects/project1 FileWatcher:: Close:: WatchInfo: /user/username/projects/myproject/projects/project1/class3.d.ts 500 undefined Missing file Scheduling update Elapsed:: *ms 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 Missing file +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject/projects/project1 1 rename:: class3.d.ts DirectoryWatcher:: Triggered with /user/username/projects/myproject/projects/project1/class3.d.ts :: WatchInfo: /user/username/projects/myproject/projects/project1 1 undefined Wild card directory of referenced project Project: /user/username/projects/myproject/projects/project1/tsconfig.json Detected output file: /user/username/projects/myproject/projects/project1/class3.d.ts Elapsed:: *ms DirectoryWatcher:: Triggered with /user/username/projects/myproject/projects/project1/class3.d.ts :: WatchInfo: /user/username/projects/myproject/projects/project1 1 undefined Wild card directory of referenced project +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject/projects/project1 1 change:: Synchronizing program [12:01:25 AM] File change detected. Starting incremental compilation... @@ -558,8 +578,12 @@ CreatingProgramWith:: options: {"module":0,"composite":true,"extendedDiagnostics":true,"configFilePath":"/user/username/projects/myproject/projects/project2/tsconfig.json"} projectReferences: [{"path":"/user/username/projects/myproject/projects/project1","originalPath":"../project1"}] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/projects/project1/class3.d.ts 250 undefined Source file +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject/projects/project2 1 change:: class2.js +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject/projects/project2 1 change:: class2.d.ts +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject/projects/project2 1 change:: tsconfig.tsbuildinfo [12:01:35 AM] Found 0 errors. Watching for file changes. +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject/projects/project2 1 change:: tsconfig.tsbuildinfo.readable.baseline.txt Program root files: ["/user/username/projects/myproject/projects/project2/class2.ts"] diff --git a/tests/baselines/reference/tscWatch/watchApi/when-new-file-is-added-to-the-referenced-project-with-host-implementing-getParsedCommandLine.js b/tests/baselines/reference/tscWatch/watchApi/when-new-file-is-added-to-the-referenced-project-with-host-implementing-getParsedCommandLine.js index 83f887411c9..7b25ba1e0ca 100644 --- a/tests/baselines/reference/tscWatch/watchApi/when-new-file-is-added-to-the-referenced-project-with-host-implementing-getParsedCommandLine.js +++ b/tests/baselines/reference/tscWatch/watchApi/when-new-file-is-added-to-the-referenced-project-with-host-implementing-getParsedCommandLine.js @@ -168,9 +168,11 @@ class class3 {} Output:: +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject/projects/project1 1 rename:: class3.ts DirectoryWatcher:: Triggered with /user/username/projects/myproject/projects/project1/class3.ts :: WatchInfo: /user/username/projects/myproject/projects/project1 1 undefined Wild card directory of referenced project Scheduling update Elapsed:: *ms DirectoryWatcher:: Triggered with /user/username/projects/myproject/projects/project1/class3.ts :: WatchInfo: /user/username/projects/myproject/projects/project1 1 undefined Wild card directory of referenced project +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject/projects/project1 1 change:: Synchronizing program Loading config file: /user/username/projects/myproject/projects/project1/tsconfig.json [12:00:45 AM] File change detected. Starting incremental compilation... @@ -180,8 +182,12 @@ CreatingProgramWith:: options: {"module":0,"composite":true,"extendedDiagnostics":true,"configFilePath":"/user/username/projects/myproject/projects/project2/tsconfig.json"} projectReferences: [{"path":"/user/username/projects/myproject/projects/project1","originalPath":"../project1"}] FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/projects/project1/class3.ts 250 undefined Source file +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject/projects/project2 1 change:: class2.js +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject/projects/project2 1 change:: class2.d.ts +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject/projects/project2 1 change:: tsconfig.tsbuildinfo [12:00:55 AM] Found 0 errors. Watching for file changes. +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject/projects/project2 1 change:: tsconfig.tsbuildinfo.readable.baseline.txt Program root files: ["/user/username/projects/myproject/projects/project2/class2.ts"] @@ -294,12 +300,16 @@ declare class file {} Output:: +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject/projects/project1 1 rename:: temp DirectoryWatcher:: Triggered with /user/username/projects/myproject/projects/project1/temp :: WatchInfo: /user/username/projects/myproject/projects/project1 1 undefined Wild card directory of referenced project Project: /user/username/projects/myproject/projects/project1/tsconfig.json Detected excluded file: /user/username/projects/myproject/projects/project1/temp Elapsed:: *ms DirectoryWatcher:: Triggered with /user/username/projects/myproject/projects/project1/temp :: WatchInfo: /user/username/projects/myproject/projects/project1 1 undefined Wild card directory of referenced project +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject/projects/project1 1 change:: +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject/projects/project1 1 rename:: temp/file.d.ts DirectoryWatcher:: Triggered with /user/username/projects/myproject/projects/project1/temp/file.d.ts :: WatchInfo: /user/username/projects/myproject/projects/project1 1 undefined Wild card directory of referenced project Project: /user/username/projects/myproject/projects/project1/tsconfig.json Detected excluded file: /user/username/projects/myproject/projects/project1/temp/file.d.ts Elapsed:: *ms DirectoryWatcher:: Triggered with /user/username/projects/myproject/projects/project1/temp/file.d.ts :: WatchInfo: /user/username/projects/myproject/projects/project1 1 undefined Wild card directory of referenced project +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject/projects/project1 1 change:: temp WatchedFiles:: @@ -341,9 +351,11 @@ declare class class3 {} Output:: +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject/projects/project1 1 rename:: class3.d.ts DirectoryWatcher:: Triggered with /user/username/projects/myproject/projects/project1/class3.d.ts :: WatchInfo: /user/username/projects/myproject/projects/project1 1 undefined Wild card directory of referenced project Project: /user/username/projects/myproject/projects/project1/tsconfig.json Detected output file: /user/username/projects/myproject/projects/project1/class3.d.ts Elapsed:: *ms DirectoryWatcher:: Triggered with /user/username/projects/myproject/projects/project1/class3.d.ts :: WatchInfo: /user/username/projects/myproject/projects/project1 1 undefined Wild card directory of referenced project +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject/projects/project1 1 change:: WatchedFiles:: diff --git a/tests/baselines/reference/tscWatch/watchApi/without-timesouts-on-host-program-gets-updated.js b/tests/baselines/reference/tscWatch/watchApi/without-timesouts-on-host-program-gets-updated.js index 4c5a5c4a2a4..995a6339443 100644 --- a/tests/baselines/reference/tscWatch/watchApi/without-timesouts-on-host-program-gets-updated.js +++ b/tests/baselines/reference/tscWatch/watchApi/without-timesouts-on-host-program-gets-updated.js @@ -74,6 +74,11 @@ const y =10; Output:: +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject 1 rename:: bar.ts +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject 1 change:: +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject 1 rename:: bar.js +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject 1 change:: +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject 1 change:: main.js [12:00:32 AM] Found 0 errors. Watching for file changes. diff --git a/tests/baselines/reference/tscWatch/watchEnvironment/fsWatch/when-using-file-watching-thats-on-inode-when-rename-event-ends-with-tilde.js b/tests/baselines/reference/tscWatch/watchEnvironment/fsWatch/when-using-file-watching-thats-on-inode-when-rename-event-ends-with-tilde.js index 534e0e71614..b55a99c6574 100644 --- a/tests/baselines/reference/tscWatch/watchEnvironment/fsWatch/when-using-file-watching-thats-on-inode-when-rename-event-ends-with-tilde.js +++ b/tests/baselines/reference/tscWatch/watchEnvironment/fsWatch/when-using-file-watching-thats-on-inode-when-rename-event-ends-with-tilde.js @@ -39,8 +39,10 @@ Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/mypr FileWatcher:: Added:: WatchInfo: /a/lib/lib.d.ts 250 {"watchFile":4} Source file DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 {"watchFile":4} Type roots Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 {"watchFile":4} Type roots +sysLog:: callbackChangingToMissingFileSystemEntry:: /user/username/projects/myproject 1 rename:: main.js true myproject /myproject DirectoryWatcher:: Triggered with /user/username/projects/myproject/main.js :: WatchInfo: /user/username/projects/myproject 0 {"watchFile":4} Failed Lookup Locations Elapsed:: *ms DirectoryWatcher:: Triggered with /user/username/projects/myproject/main.js :: WatchInfo: /user/username/projects/myproject 0 {"watchFile":4} Failed Lookup Locations +sysLog:: callbackChangingToMissingFileSystemEntry:: /user/username/projects/myproject 1 change:: true myproject /myproject [12:00:26 AM] Found 0 errors. Watching for file changes. @@ -99,30 +101,45 @@ export function foo2(): string; Output:: +sysLog:: callbackChangingToMissingFileSystemEntry:: /user/username/projects/myproject/foo.d.ts 0 rename:: foo.d.ts~ true foo.d.ts /foo.d.ts +sysLog:: callbackChangingToMissingFileSystemEntry:: changed the relative name to foo.d.ts FileWatcher:: Triggered with /user/username/projects/myproject/foo.d.ts 2:: WatchInfo: /user/username/projects/myproject/foo.d.ts 250 {"watchFile":4} Source file Scheduling update Elapsed:: *ms FileWatcher:: Triggered with /user/username/projects/myproject/foo.d.ts 2:: WatchInfo: /user/username/projects/myproject/foo.d.ts 250 {"watchFile":4} Source file sysLog:: /user/username/projects/myproject/foo.d.ts:: Changing watcher to MissingFileSystemEntryWatcher +sysLog:: callbackChangingToMissingFileSystemEntry:: /user/username/projects/myproject 1 rename:: foo.d.ts~ true myproject /myproject +sysLog:: callbackChangingToMissingFileSystemEntry:: changed the relative name to foo.d.ts DirectoryWatcher:: Triggered with /user/username/projects/myproject/foo.d.ts :: WatchInfo: /user/username/projects/myproject 0 {"watchFile":4} Failed Lookup Locations Scheduling invalidateFailedLookup Elapsed:: *ms DirectoryWatcher:: Triggered with /user/username/projects/myproject/foo.d.ts :: WatchInfo: /user/username/projects/myproject 0 {"watchFile":4} Failed Lookup Locations +sysLog:: callbackChangingToMissingFileSystemEntry:: /user/username/projects/myproject 1 change:: myproject~ true myproject /myproject +sysLog:: callbackChangingToMissingFileSystemEntry:: changed the relative name to myproject +sysLog:: watchMissingFileSystemEntry:: /user/username/projects/myproject/foo.d.ts 0 /user/username/projects/myproject/foo.d.ts:: 0 +sysLog:: watchMissingFileSystemEntry:: Callback :: rename, "" and will update the watcher FileWatcher:: Triggered with /user/username/projects/myproject/foo.d.ts 0:: WatchInfo: /user/username/projects/myproject/foo.d.ts 250 {"watchFile":4} Source file Scheduling update Elapsed:: *ms FileWatcher:: Triggered with /user/username/projects/myproject/foo.d.ts 0:: WatchInfo: /user/username/projects/myproject/foo.d.ts 250 {"watchFile":4} Source file sysLog:: /user/username/projects/myproject/foo.d.ts:: Changing watcher to PresentFileSystemEntryWatcher +sysLog:: callbackChangingToMissingFileSystemEntry:: /user/username/projects/myproject/foo.d.ts 0 rename:: foo.d.ts~ true foo.d.ts /foo.d.ts +sysLog:: callbackChangingToMissingFileSystemEntry:: changed the relative name to foo.d.ts FileWatcher:: Triggered with /user/username/projects/myproject/foo.d.ts 0:: WatchInfo: /user/username/projects/myproject/foo.d.ts 250 {"watchFile":4} Source file Scheduling update Elapsed:: *ms FileWatcher:: Triggered with /user/username/projects/myproject/foo.d.ts 0:: WatchInfo: /user/username/projects/myproject/foo.d.ts 250 {"watchFile":4} Source file sysLog:: /user/username/projects/myproject/foo.d.ts:: Changing watcher to PresentFileSystemEntryWatcher +sysLog:: callbackChangingToMissingFileSystemEntry:: /user/username/projects/myproject 1 rename:: foo.d.ts~ true myproject /myproject +sysLog:: callbackChangingToMissingFileSystemEntry:: changed the relative name to foo.d.ts DirectoryWatcher:: Triggered with /user/username/projects/myproject/foo.d.ts :: WatchInfo: /user/username/projects/myproject 0 {"watchFile":4} Failed Lookup Locations Scheduling invalidateFailedLookup, Cancelled earlier one Elapsed:: *ms DirectoryWatcher:: Triggered with /user/username/projects/myproject/foo.d.ts :: WatchInfo: /user/username/projects/myproject 0 {"watchFile":4} Failed Lookup Locations +sysLog:: callbackChangingToMissingFileSystemEntry:: /user/username/projects/myproject 1 change:: myproject~ true myproject /myproject +sysLog:: callbackChangingToMissingFileSystemEntry:: changed the relative name to myproject Synchronizing program [12:00:30 AM] File change detected. Starting incremental compilation... CreatingProgramWith:: roots: ["/user/username/projects/myproject/foo.d.ts","/user/username/projects/myproject/main.ts"] options: {"watch":true,"extendedDiagnostics":true,"configFilePath":"/user/username/projects/myproject/tsconfig.json"} +sysLog:: callbackChangingToMissingFileSystemEntry:: /user/username/projects/myproject 1 change:: main.js true myproject /myproject main.ts:1:10 - error TS2724: '"./foo"' has no exported member named 'foo'. Did you mean 'foo2'? 1 import { foo } from "./foo"; foo(); @@ -183,30 +200,45 @@ export function foo(): string; Output:: +sysLog:: callbackChangingToMissingFileSystemEntry:: /user/username/projects/myproject/foo.d.ts 0 rename:: foo.d.ts~ true foo.d.ts /foo.d.ts +sysLog:: callbackChangingToMissingFileSystemEntry:: changed the relative name to foo.d.ts FileWatcher:: Triggered with /user/username/projects/myproject/foo.d.ts 2:: WatchInfo: /user/username/projects/myproject/foo.d.ts 250 {"watchFile":4} Source file Scheduling update Elapsed:: *ms FileWatcher:: Triggered with /user/username/projects/myproject/foo.d.ts 2:: WatchInfo: /user/username/projects/myproject/foo.d.ts 250 {"watchFile":4} Source file sysLog:: /user/username/projects/myproject/foo.d.ts:: Changing watcher to MissingFileSystemEntryWatcher +sysLog:: callbackChangingToMissingFileSystemEntry:: /user/username/projects/myproject 1 rename:: foo.d.ts~ true myproject /myproject +sysLog:: callbackChangingToMissingFileSystemEntry:: changed the relative name to foo.d.ts DirectoryWatcher:: Triggered with /user/username/projects/myproject/foo.d.ts :: WatchInfo: /user/username/projects/myproject 0 {"watchFile":4} Failed Lookup Locations Scheduling invalidateFailedLookup Elapsed:: *ms DirectoryWatcher:: Triggered with /user/username/projects/myproject/foo.d.ts :: WatchInfo: /user/username/projects/myproject 0 {"watchFile":4} Failed Lookup Locations +sysLog:: callbackChangingToMissingFileSystemEntry:: /user/username/projects/myproject 1 change:: myproject~ true myproject /myproject +sysLog:: callbackChangingToMissingFileSystemEntry:: changed the relative name to myproject +sysLog:: watchMissingFileSystemEntry:: /user/username/projects/myproject/foo.d.ts 0 /user/username/projects/myproject/foo.d.ts:: 0 +sysLog:: watchMissingFileSystemEntry:: Callback :: rename, "" and will update the watcher FileWatcher:: Triggered with /user/username/projects/myproject/foo.d.ts 0:: WatchInfo: /user/username/projects/myproject/foo.d.ts 250 {"watchFile":4} Source file Scheduling update Elapsed:: *ms FileWatcher:: Triggered with /user/username/projects/myproject/foo.d.ts 0:: WatchInfo: /user/username/projects/myproject/foo.d.ts 250 {"watchFile":4} Source file sysLog:: /user/username/projects/myproject/foo.d.ts:: Changing watcher to PresentFileSystemEntryWatcher +sysLog:: callbackChangingToMissingFileSystemEntry:: /user/username/projects/myproject/foo.d.ts 0 rename:: foo.d.ts~ true foo.d.ts /foo.d.ts +sysLog:: callbackChangingToMissingFileSystemEntry:: changed the relative name to foo.d.ts FileWatcher:: Triggered with /user/username/projects/myproject/foo.d.ts 0:: WatchInfo: /user/username/projects/myproject/foo.d.ts 250 {"watchFile":4} Source file Scheduling update Elapsed:: *ms FileWatcher:: Triggered with /user/username/projects/myproject/foo.d.ts 0:: WatchInfo: /user/username/projects/myproject/foo.d.ts 250 {"watchFile":4} Source file sysLog:: /user/username/projects/myproject/foo.d.ts:: Changing watcher to PresentFileSystemEntryWatcher +sysLog:: callbackChangingToMissingFileSystemEntry:: /user/username/projects/myproject 1 rename:: foo.d.ts~ true myproject /myproject +sysLog:: callbackChangingToMissingFileSystemEntry:: changed the relative name to foo.d.ts DirectoryWatcher:: Triggered with /user/username/projects/myproject/foo.d.ts :: WatchInfo: /user/username/projects/myproject 0 {"watchFile":4} Failed Lookup Locations Scheduling invalidateFailedLookup, Cancelled earlier one Elapsed:: *ms DirectoryWatcher:: Triggered with /user/username/projects/myproject/foo.d.ts :: WatchInfo: /user/username/projects/myproject 0 {"watchFile":4} Failed Lookup Locations +sysLog:: callbackChangingToMissingFileSystemEntry:: /user/username/projects/myproject 1 change:: myproject~ true myproject /myproject +sysLog:: callbackChangingToMissingFileSystemEntry:: changed the relative name to myproject Synchronizing program [12:00:38 AM] File change detected. Starting incremental compilation... CreatingProgramWith:: roots: ["/user/username/projects/myproject/foo.d.ts","/user/username/projects/myproject/main.ts"] options: {"watch":true,"extendedDiagnostics":true,"configFilePath":"/user/username/projects/myproject/tsconfig.json"} +sysLog:: callbackChangingToMissingFileSystemEntry:: /user/username/projects/myproject 1 change:: main.js true myproject /myproject [12:00:42 AM] Found 0 errors. Watching for file changes. diff --git a/tests/baselines/reference/tscWatch/watchEnvironment/fsWatch/when-using-file-watching-thats-on-inode-when-rename-occurs-when-file-is-still-on-the-disk.js b/tests/baselines/reference/tscWatch/watchEnvironment/fsWatch/when-using-file-watching-thats-on-inode-when-rename-occurs-when-file-is-still-on-the-disk.js index c4141fa5d04..6713120866d 100644 --- a/tests/baselines/reference/tscWatch/watchEnvironment/fsWatch/when-using-file-watching-thats-on-inode-when-rename-occurs-when-file-is-still-on-the-disk.js +++ b/tests/baselines/reference/tscWatch/watchEnvironment/fsWatch/when-using-file-watching-thats-on-inode-when-rename-occurs-when-file-is-still-on-the-disk.js @@ -98,6 +98,7 @@ export declare function foo2(): string; Output:: +sysLog:: callbackChangingToMissingFileSystemEntry:: /user/username/projects/myproject/foo.ts 0 rename:: true foo.ts /foo.ts FileWatcher:: Triggered with /user/username/projects/myproject/foo.ts 0:: WatchInfo: /user/username/projects/myproject/foo.ts 250 {"watchFile":4} Source file Scheduling update Elapsed:: *ms FileWatcher:: Triggered with /user/username/projects/myproject/foo.ts 0:: WatchInfo: /user/username/projects/myproject/foo.ts 250 {"watchFile":4} Source file @@ -167,14 +168,18 @@ export declare function foo(): string; Output:: +sysLog:: callbackChangingToMissingFileSystemEntry:: /user/username/projects/myproject/foo.ts 0 rename:: true foo.ts /foo.ts FileWatcher:: Triggered with /user/username/projects/myproject/foo.ts 2:: WatchInfo: /user/username/projects/myproject/foo.ts 250 {"watchFile":4} Source file Scheduling update Elapsed:: *ms FileWatcher:: Triggered with /user/username/projects/myproject/foo.ts 2:: WatchInfo: /user/username/projects/myproject/foo.ts 250 {"watchFile":4} Source file sysLog:: /user/username/projects/myproject/foo.ts:: Changing watcher to MissingFileSystemEntryWatcher +sysLog:: watchMissingFileSystemEntry:: /user/username/projects/myproject/foo.ts 0 /user/username/projects/myproject/foo.ts:: 0 +sysLog:: watchMissingFileSystemEntry:: Callback :: rename, "" and will update the watcher FileWatcher:: Triggered with /user/username/projects/myproject/foo.ts 0:: WatchInfo: /user/username/projects/myproject/foo.ts 250 {"watchFile":4} Source file Scheduling update Elapsed:: *ms FileWatcher:: Triggered with /user/username/projects/myproject/foo.ts 0:: WatchInfo: /user/username/projects/myproject/foo.ts 250 {"watchFile":4} Source file sysLog:: /user/username/projects/myproject/foo.ts:: Changing watcher to PresentFileSystemEntryWatcher +sysLog:: callbackChangingToMissingFileSystemEntry:: /user/username/projects/myproject/foo.ts 0 rename:: true foo.ts /foo.ts FileWatcher:: Triggered with /user/username/projects/myproject/foo.ts 0:: WatchInfo: /user/username/projects/myproject/foo.ts 250 {"watchFile":4} Source file Scheduling update Elapsed:: *ms FileWatcher:: Triggered with /user/username/projects/myproject/foo.ts 0:: WatchInfo: /user/username/projects/myproject/foo.ts 250 {"watchFile":4} Source file diff --git a/tests/baselines/reference/tscWatch/watchEnvironment/fsWatch/when-using-file-watching-thats-on-inode.js b/tests/baselines/reference/tscWatch/watchEnvironment/fsWatch/when-using-file-watching-thats-on-inode.js index 534e0e71614..70cfa01d272 100644 --- a/tests/baselines/reference/tscWatch/watchEnvironment/fsWatch/when-using-file-watching-thats-on-inode.js +++ b/tests/baselines/reference/tscWatch/watchEnvironment/fsWatch/when-using-file-watching-thats-on-inode.js @@ -39,8 +39,10 @@ Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/mypr FileWatcher:: Added:: WatchInfo: /a/lib/lib.d.ts 250 {"watchFile":4} Source file DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 {"watchFile":4} Type roots Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 {"watchFile":4} Type roots +sysLog:: callbackChangingToMissingFileSystemEntry:: /user/username/projects/myproject 1 rename:: main.js true myproject /myproject DirectoryWatcher:: Triggered with /user/username/projects/myproject/main.js :: WatchInfo: /user/username/projects/myproject 0 {"watchFile":4} Failed Lookup Locations Elapsed:: *ms DirectoryWatcher:: Triggered with /user/username/projects/myproject/main.js :: WatchInfo: /user/username/projects/myproject 0 {"watchFile":4} Failed Lookup Locations +sysLog:: callbackChangingToMissingFileSystemEntry:: /user/username/projects/myproject 1 change:: true myproject /myproject [12:00:26 AM] Found 0 errors. Watching for file changes. @@ -99,30 +101,39 @@ export function foo2(): string; Output:: +sysLog:: callbackChangingToMissingFileSystemEntry:: /user/username/projects/myproject/foo.d.ts 0 rename:: true foo.d.ts /foo.d.ts FileWatcher:: Triggered with /user/username/projects/myproject/foo.d.ts 2:: WatchInfo: /user/username/projects/myproject/foo.d.ts 250 {"watchFile":4} Source file Scheduling update Elapsed:: *ms FileWatcher:: Triggered with /user/username/projects/myproject/foo.d.ts 2:: WatchInfo: /user/username/projects/myproject/foo.d.ts 250 {"watchFile":4} Source file sysLog:: /user/username/projects/myproject/foo.d.ts:: Changing watcher to MissingFileSystemEntryWatcher +sysLog:: callbackChangingToMissingFileSystemEntry:: /user/username/projects/myproject 1 rename:: foo.d.ts true myproject /myproject DirectoryWatcher:: Triggered with /user/username/projects/myproject/foo.d.ts :: WatchInfo: /user/username/projects/myproject 0 {"watchFile":4} Failed Lookup Locations Scheduling invalidateFailedLookup Elapsed:: *ms DirectoryWatcher:: Triggered with /user/username/projects/myproject/foo.d.ts :: WatchInfo: /user/username/projects/myproject 0 {"watchFile":4} Failed Lookup Locations +sysLog:: callbackChangingToMissingFileSystemEntry:: /user/username/projects/myproject 1 change:: true myproject /myproject +sysLog:: watchMissingFileSystemEntry:: /user/username/projects/myproject/foo.d.ts 0 /user/username/projects/myproject/foo.d.ts:: 0 +sysLog:: watchMissingFileSystemEntry:: Callback :: rename, "" and will update the watcher FileWatcher:: Triggered with /user/username/projects/myproject/foo.d.ts 0:: WatchInfo: /user/username/projects/myproject/foo.d.ts 250 {"watchFile":4} Source file Scheduling update Elapsed:: *ms FileWatcher:: Triggered with /user/username/projects/myproject/foo.d.ts 0:: WatchInfo: /user/username/projects/myproject/foo.d.ts 250 {"watchFile":4} Source file sysLog:: /user/username/projects/myproject/foo.d.ts:: Changing watcher to PresentFileSystemEntryWatcher +sysLog:: callbackChangingToMissingFileSystemEntry:: /user/username/projects/myproject/foo.d.ts 0 rename:: true foo.d.ts /foo.d.ts FileWatcher:: Triggered with /user/username/projects/myproject/foo.d.ts 0:: WatchInfo: /user/username/projects/myproject/foo.d.ts 250 {"watchFile":4} Source file Scheduling update Elapsed:: *ms FileWatcher:: Triggered with /user/username/projects/myproject/foo.d.ts 0:: WatchInfo: /user/username/projects/myproject/foo.d.ts 250 {"watchFile":4} Source file sysLog:: /user/username/projects/myproject/foo.d.ts:: Changing watcher to PresentFileSystemEntryWatcher +sysLog:: callbackChangingToMissingFileSystemEntry:: /user/username/projects/myproject 1 rename:: foo.d.ts true myproject /myproject DirectoryWatcher:: Triggered with /user/username/projects/myproject/foo.d.ts :: WatchInfo: /user/username/projects/myproject 0 {"watchFile":4} Failed Lookup Locations Scheduling invalidateFailedLookup, Cancelled earlier one Elapsed:: *ms DirectoryWatcher:: Triggered with /user/username/projects/myproject/foo.d.ts :: WatchInfo: /user/username/projects/myproject 0 {"watchFile":4} Failed Lookup Locations +sysLog:: callbackChangingToMissingFileSystemEntry:: /user/username/projects/myproject 1 change:: true myproject /myproject Synchronizing program [12:00:30 AM] File change detected. Starting incremental compilation... CreatingProgramWith:: roots: ["/user/username/projects/myproject/foo.d.ts","/user/username/projects/myproject/main.ts"] options: {"watch":true,"extendedDiagnostics":true,"configFilePath":"/user/username/projects/myproject/tsconfig.json"} +sysLog:: callbackChangingToMissingFileSystemEntry:: /user/username/projects/myproject 1 change:: main.js true myproject /myproject main.ts:1:10 - error TS2724: '"./foo"' has no exported member named 'foo'. Did you mean 'foo2'? 1 import { foo } from "./foo"; foo(); @@ -183,30 +194,39 @@ export function foo(): string; Output:: +sysLog:: callbackChangingToMissingFileSystemEntry:: /user/username/projects/myproject/foo.d.ts 0 rename:: true foo.d.ts /foo.d.ts FileWatcher:: Triggered with /user/username/projects/myproject/foo.d.ts 2:: WatchInfo: /user/username/projects/myproject/foo.d.ts 250 {"watchFile":4} Source file Scheduling update Elapsed:: *ms FileWatcher:: Triggered with /user/username/projects/myproject/foo.d.ts 2:: WatchInfo: /user/username/projects/myproject/foo.d.ts 250 {"watchFile":4} Source file sysLog:: /user/username/projects/myproject/foo.d.ts:: Changing watcher to MissingFileSystemEntryWatcher +sysLog:: callbackChangingToMissingFileSystemEntry:: /user/username/projects/myproject 1 rename:: foo.d.ts true myproject /myproject DirectoryWatcher:: Triggered with /user/username/projects/myproject/foo.d.ts :: WatchInfo: /user/username/projects/myproject 0 {"watchFile":4} Failed Lookup Locations Scheduling invalidateFailedLookup Elapsed:: *ms DirectoryWatcher:: Triggered with /user/username/projects/myproject/foo.d.ts :: WatchInfo: /user/username/projects/myproject 0 {"watchFile":4} Failed Lookup Locations +sysLog:: callbackChangingToMissingFileSystemEntry:: /user/username/projects/myproject 1 change:: true myproject /myproject +sysLog:: watchMissingFileSystemEntry:: /user/username/projects/myproject/foo.d.ts 0 /user/username/projects/myproject/foo.d.ts:: 0 +sysLog:: watchMissingFileSystemEntry:: Callback :: rename, "" and will update the watcher FileWatcher:: Triggered with /user/username/projects/myproject/foo.d.ts 0:: WatchInfo: /user/username/projects/myproject/foo.d.ts 250 {"watchFile":4} Source file Scheduling update Elapsed:: *ms FileWatcher:: Triggered with /user/username/projects/myproject/foo.d.ts 0:: WatchInfo: /user/username/projects/myproject/foo.d.ts 250 {"watchFile":4} Source file sysLog:: /user/username/projects/myproject/foo.d.ts:: Changing watcher to PresentFileSystemEntryWatcher +sysLog:: callbackChangingToMissingFileSystemEntry:: /user/username/projects/myproject/foo.d.ts 0 rename:: true foo.d.ts /foo.d.ts FileWatcher:: Triggered with /user/username/projects/myproject/foo.d.ts 0:: WatchInfo: /user/username/projects/myproject/foo.d.ts 250 {"watchFile":4} Source file Scheduling update Elapsed:: *ms FileWatcher:: Triggered with /user/username/projects/myproject/foo.d.ts 0:: WatchInfo: /user/username/projects/myproject/foo.d.ts 250 {"watchFile":4} Source file sysLog:: /user/username/projects/myproject/foo.d.ts:: Changing watcher to PresentFileSystemEntryWatcher +sysLog:: callbackChangingToMissingFileSystemEntry:: /user/username/projects/myproject 1 rename:: foo.d.ts true myproject /myproject DirectoryWatcher:: Triggered with /user/username/projects/myproject/foo.d.ts :: WatchInfo: /user/username/projects/myproject 0 {"watchFile":4} Failed Lookup Locations Scheduling invalidateFailedLookup, Cancelled earlier one Elapsed:: *ms DirectoryWatcher:: Triggered with /user/username/projects/myproject/foo.d.ts :: WatchInfo: /user/username/projects/myproject 0 {"watchFile":4} Failed Lookup Locations +sysLog:: callbackChangingToMissingFileSystemEntry:: /user/username/projects/myproject 1 change:: true myproject /myproject Synchronizing program [12:00:38 AM] File change detected. Starting incremental compilation... CreatingProgramWith:: roots: ["/user/username/projects/myproject/foo.d.ts","/user/username/projects/myproject/main.ts"] options: {"watch":true,"extendedDiagnostics":true,"configFilePath":"/user/username/projects/myproject/tsconfig.json"} +sysLog:: callbackChangingToMissingFileSystemEntry:: /user/username/projects/myproject 1 change:: main.js true myproject /myproject [12:00:42 AM] Found 0 errors. Watching for file changes. diff --git a/tests/baselines/reference/tscWatch/watchEnvironment/fsWatch/when-using-file-watching-thats-when-rename-occurs-when-file-is-still-on-the-disk.js b/tests/baselines/reference/tscWatch/watchEnvironment/fsWatch/when-using-file-watching-thats-when-rename-occurs-when-file-is-still-on-the-disk.js index 129e3ec2f79..56bf549b473 100644 --- a/tests/baselines/reference/tscWatch/watchEnvironment/fsWatch/when-using-file-watching-thats-when-rename-occurs-when-file-is-still-on-the-disk.js +++ b/tests/baselines/reference/tscWatch/watchEnvironment/fsWatch/when-using-file-watching-thats-when-rename-occurs-when-file-is-still-on-the-disk.js @@ -98,6 +98,7 @@ export declare function foo2(): string; Output:: +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject/foo.ts 0 rename:: FileWatcher:: Triggered with /user/username/projects/myproject/foo.ts 0:: WatchInfo: /user/username/projects/myproject/foo.ts 250 {"watchFile":4} Source file Scheduling update Elapsed:: *ms FileWatcher:: Triggered with /user/username/projects/myproject/foo.ts 0:: WatchInfo: /user/username/projects/myproject/foo.ts 250 {"watchFile":4} Source file @@ -166,9 +167,11 @@ export declare function foo(): string; Output:: +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject/foo.ts 0 rename:: FileWatcher:: Triggered with /user/username/projects/myproject/foo.ts 2:: WatchInfo: /user/username/projects/myproject/foo.ts 250 {"watchFile":4} Source file Scheduling update Elapsed:: *ms FileWatcher:: Triggered with /user/username/projects/myproject/foo.ts 2:: WatchInfo: /user/username/projects/myproject/foo.ts 250 {"watchFile":4} Source file +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject/foo.ts 0 rename:: FileWatcher:: Triggered with /user/username/projects/myproject/foo.ts 0:: WatchInfo: /user/username/projects/myproject/foo.ts 250 {"watchFile":4} Source file Scheduling update Elapsed:: *ms FileWatcher:: Triggered with /user/username/projects/myproject/foo.ts 0:: WatchInfo: /user/username/projects/myproject/foo.ts 250 {"watchFile":4} Source file diff --git a/tests/baselines/reference/tscWatch/watchEnvironment/watchDirectories/uses-non-recursive-watchDirectory-when-renaming-file-in-subfolder.js b/tests/baselines/reference/tscWatch/watchEnvironment/watchDirectories/uses-non-recursive-watchDirectory-when-renaming-file-in-subfolder.js index 3e010dd8582..559a7dba4e8 100644 --- a/tests/baselines/reference/tscWatch/watchEnvironment/watchDirectories/uses-non-recursive-watchDirectory-when-renaming-file-in-subfolder.js +++ b/tests/baselines/reference/tscWatch/watchEnvironment/watchDirectories/uses-non-recursive-watchDirectory-when-renaming-file-in-subfolder.js @@ -76,9 +76,19 @@ Input:: //// [/a/username/project/src/file1.ts] deleted Output:: +sysLog:: watchPresentFileSystemEntry:: /a/username/project/src 1 rename:: file1.ts +sysLog:: watchPresentFileSystemEntry:: /a/username/project/src 1 change:: +sysLog:: watchPresentFileSystemEntry:: /a/username/project 1 change:: src +sysLog:: watchPresentFileSystemEntry:: /a/username/project/src 1 rename:: file2.ts +sysLog:: watchPresentFileSystemEntry:: /a/username/project/src 1 change:: +sysLog:: watchPresentFileSystemEntry:: /a/username/project 1 change:: src + >> Screen clear [12:00:26 AM] File change detected. Starting incremental compilation... +sysLog:: watchPresentFileSystemEntry:: /a/username/project/src 1 rename:: file2.js +sysLog:: watchPresentFileSystemEntry:: /a/username/project/src 1 change:: +sysLog:: watchPresentFileSystemEntry:: /a/username/project 1 change:: src [12:00:29 AM] Found 0 errors. Watching for file changes. diff --git a/tests/baselines/reference/tscWatch/watchEnvironment/watchDirectories/when-there-are-symlinks-to-folders-in-recursive-folders.js b/tests/baselines/reference/tscWatch/watchEnvironment/watchDirectories/when-there-are-symlinks-to-folders-in-recursive-folders.js index 571d2cfcb72..71b85643f68 100644 --- a/tests/baselines/reference/tscWatch/watchEnvironment/watchDirectories/when-there-are-symlinks-to-folders-in-recursive-folders.js +++ b/tests/baselines/reference/tscWatch/watchEnvironment/watchDirectories/when-there-are-symlinks-to-folders-in-recursive-folders.js @@ -62,6 +62,8 @@ Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/user/projects/myprojec FileWatcher:: Added:: WatchInfo: /home/user/projects/myproject/node_modules/reala/package.json 2000 undefined package.json file DirectoryWatcher:: Added:: WatchInfo: /home/user/projects/myproject/node_modules/@types 1 undefined Type roots Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/user/projects/myproject/node_modules/@types 1 undefined Type roots +sysLog:: watchPresentFileSystemEntry:: /home/user/projects/myproject/src 1 rename:: file.js +sysLog:: watchPresentFileSystemEntry:: /home/user/projects/myproject/src 1 change:: [12:00:48 AM] Found 0 errors. Watching for file changes. DirectoryWatcher:: Added:: WatchInfo: /home/user/projects/myproject 1 undefined Wild card directory diff --git a/tests/baselines/reference/tscWatch/watchEnvironment/watchDirectories/with-non-synchronous-watch-directory-renaming-a-file.js b/tests/baselines/reference/tscWatch/watchEnvironment/watchDirectories/with-non-synchronous-watch-directory-renaming-a-file.js index 5f9740db448..9c804645065 100644 --- a/tests/baselines/reference/tscWatch/watchEnvironment/watchDirectories/with-non-synchronous-watch-directory-renaming-a-file.js +++ b/tests/baselines/reference/tscWatch/watchEnvironment/watchDirectories/with-non-synchronous-watch-directory-renaming-a-file.js @@ -126,9 +126,17 @@ export const x = 10; //// [/user/username/projects/myproject/src/file2.ts] deleted Output:: +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject/src 1 rename:: file2.ts +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject/src 1 change:: +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject 1 change:: src +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject/src 1 rename:: renamed.ts +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject/src 1 change:: +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject 1 change:: src + >> Screen clear [12:00:37 AM] File change detected. Starting incremental compilation... +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject/dist 1 change:: file1.js error TS6053: File '/user/username/projects/myproject/src/file2.ts' not found. The file is in the program because: Matched by default include pattern '**/*' @@ -184,6 +192,9 @@ Output:: >> Screen clear [12:00:42 AM] File change detected. Starting incremental compilation... +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject/dist 1 rename:: renamed.js +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject/dist 1 change:: +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject 1 change:: dist user/username/projects/myproject/src/file1.ts:1:19 - error TS2307: Cannot find module './file2' or its corresponding type declarations. 1 import { x } from "./file2"; diff --git a/tests/baselines/reference/tscWatch/watchEnvironment/watchDirectories/with-non-synchronous-watch-directory-with-outDir-and-declaration-enabled.js b/tests/baselines/reference/tscWatch/watchEnvironment/watchDirectories/with-non-synchronous-watch-directory-with-outDir-and-declaration-enabled.js index 59faa168aad..df4cbd683cf 100644 --- a/tests/baselines/reference/tscWatch/watchEnvironment/watchDirectories/with-non-synchronous-watch-directory-with-outDir-and-declaration-enabled.js +++ b/tests/baselines/reference/tscWatch/watchEnvironment/watchDirectories/with-non-synchronous-watch-directory-with-outDir-and-declaration-enabled.js @@ -134,6 +134,10 @@ export const y = 10; Output:: +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject/src 1 rename:: file3.ts +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject/src 1 change:: +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject 1 change:: src + WatchedFiles:: /user/username/projects/myproject/tsconfig.json: @@ -174,6 +178,12 @@ Output:: >> Screen clear [12:00:41 AM] File change detected. Starting incremental compilation... +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject/dist 1 rename:: file3.js +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject/dist 1 change:: +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject 1 change:: dist +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject/dist 1 rename:: file3.d.ts +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject/dist 1 change:: +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject 1 change:: dist [12:00:46 AM] Found 0 errors. Watching for file changes. diff --git a/tests/baselines/reference/tscWatch/watchEnvironment/watchDirectories/with-non-synchronous-watch-directory.js b/tests/baselines/reference/tscWatch/watchEnvironment/watchDirectories/with-non-synchronous-watch-directory.js index ae378d1bdd3..58e1a7dd71c 100644 --- a/tests/baselines/reference/tscWatch/watchEnvironment/watchDirectories/with-non-synchronous-watch-directory.js +++ b/tests/baselines/reference/tscWatch/watchEnvironment/watchDirectories/with-non-synchronous-watch-directory.js @@ -27,6 +27,8 @@ Output:: >> Screen clear [12:00:29 AM] Starting compilation in watch mode... +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject/src 1 rename:: file1.js +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject/src 1 change:: [12:00:32 AM] Found 0 errors. Watching for file changes. @@ -124,9 +126,21 @@ Input:: //// [/user/username/projects/myproject/node_modules/file2/index.d.ts] deleted Output:: +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject/node_modules/file2 1 rename:: index.d.ts +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject/node_modules/file2 1 change:: +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject/node_modules 1 change:: file2 +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject/node_modules/file2 1 rename:: +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject/node_modules 1 rename:: file2 +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject/node_modules 1 change:: +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject 1 change:: node_modules +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject/node_modules 1 rename:: +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject 1 rename:: node_modules +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject 1 change:: + >> Screen clear [12:00:36 AM] File change detected. Starting incremental compilation... +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject/src 1 change:: file1.js user/username/projects/myproject/src/file1.ts:1:19 - error TS2307: Cannot find module 'file2' or its corresponding type declarations. 1 import { x } from "file2"; @@ -229,6 +243,10 @@ Change:: Start npm install Input:: Output:: +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject/node_modules 1 rename:: +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject 1 rename:: node_modules +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject 1 change:: + WatchedFiles:: /user/username/projects/myproject/tsconfig.json: @@ -258,6 +276,10 @@ Change:: npm install folder creation of file2 Input:: Output:: +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject/node_modules 1 rename:: file2 +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject/node_modules 1 change:: +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject 1 change:: node_modules + WatchedFiles:: /user/username/projects/myproject/tsconfig.json: @@ -290,6 +312,8 @@ export const x = 10; Output:: +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject/node_modules 1 change:: file2 + WatchedFiles:: /user/username/projects/myproject/tsconfig.json: @@ -384,6 +408,7 @@ Output:: >> Screen clear [12:00:50 AM] File change detected. Starting incremental compilation... +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject/src 1 change:: file1.js [12:00:54 AM] Found 0 errors. Watching for file changes. diff --git a/tests/baselines/reference/tscWatch/watchEnvironment/watchFile/setting-default-as-fixed-chunk-size-watch-file-works.js b/tests/baselines/reference/tscWatch/watchEnvironment/watchFile/setting-default-as-fixed-chunk-size-watch-file-works.js index 48df9d0d09b..ee3b0cb995f 100644 --- a/tests/baselines/reference/tscWatch/watchEnvironment/watchFile/setting-default-as-fixed-chunk-size-watch-file-works.js +++ b/tests/baselines/reference/tscWatch/watchEnvironment/watchFile/setting-default-as-fixed-chunk-size-watch-file-works.js @@ -78,6 +78,8 @@ var zz30 = 100; Output:: +sysLog:: watchPresentFileSystemEntry:: /a/b 1 change:: commonFile1.ts + WatchedFiles:: /a/b/node_modules/@types: @@ -100,6 +102,8 @@ Output:: >> Screen clear [12:00:26 AM] File change detected. Starting incremental compilation... +sysLog:: watchPresentFileSystemEntry:: /a/b 1 change:: commonFile1.js +sysLog:: watchPresentFileSystemEntry:: /a/b 1 change:: commonFile2.js [12:00:33 AM] Found 0 errors. Watching for file changes. diff --git a/tests/baselines/reference/tscWatch/watchEnvironment/watchFile/using-fixed-chunk-size-polling.js b/tests/baselines/reference/tscWatch/watchEnvironment/watchFile/using-fixed-chunk-size-polling.js index 37d63eb42a6..25f4f1161f6 100644 --- a/tests/baselines/reference/tscWatch/watchEnvironment/watchFile/using-fixed-chunk-size-polling.js +++ b/tests/baselines/reference/tscWatch/watchEnvironment/watchFile/using-fixed-chunk-size-polling.js @@ -97,6 +97,8 @@ var zz30 = 100; Output:: +sysLog:: watchPresentFileSystemEntry:: /a/b 1 change:: commonFile1.ts + WatchedFiles:: /a/b/node_modules/@types: @@ -119,6 +121,8 @@ Output:: >> Screen clear [12:00:32 AM] File change detected. Starting incremental compilation... +sysLog:: watchPresentFileSystemEntry:: /a/b 1 change:: commonFile1.js +sysLog:: watchPresentFileSystemEntry:: /a/b 1 change:: commonFile2.js [12:00:39 AM] Found 0 errors. Watching for file changes. diff --git a/tests/baselines/reference/tscWatch/watchEnvironment/watchOptions/with-excludeDirectories-option-extendedDiagnostics.js b/tests/baselines/reference/tscWatch/watchEnvironment/watchOptions/with-excludeDirectories-option-extendedDiagnostics.js index 8a4d9817b7f..ff40d55d26c 100644 --- a/tests/baselines/reference/tscWatch/watchEnvironment/watchOptions/with-excludeDirectories-option-extendedDiagnostics.js +++ b/tests/baselines/reference/tscWatch/watchEnvironment/watchOptions/with-excludeDirectories-option-extendedDiagnostics.js @@ -50,8 +50,10 @@ DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/src 1 {" Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/src 1 {"excludeDirectories":["/user/username/projects/myproject/node_modules"]} Failed Lookup Locations FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/bar/package.json 2000 {"excludeDirectories":["/user/username/projects/myproject/node_modules"]} package.json file ExcludeWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 {"excludeDirectories":["/user/username/projects/myproject/node_modules"]} Type roots +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject/src 1 rename:: main.js DirectoryWatcher:: Triggered with /user/username/projects/myproject/src/main.js :: WatchInfo: /user/username/projects/myproject/src 1 {"excludeDirectories":["/user/username/projects/myproject/node_modules"]} Failed Lookup Locations Elapsed:: *ms DirectoryWatcher:: Triggered with /user/username/projects/myproject/src/main.js :: WatchInfo: /user/username/projects/myproject/src 1 {"excludeDirectories":["/user/username/projects/myproject/node_modules"]} Failed Lookup Locations +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject/src 1 change:: [12:00:40 AM] Found 0 errors. Watching for file changes. DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject 1 {"excludeDirectories":["/user/username/projects/myproject/node_modules"]} Wild card directory @@ -117,6 +119,9 @@ Input:: //// [/user/username/projects/myproject/node_modules/bar/fooBar.d.ts] deleted Output:: +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject 1 rename:: node_modules/bar/fooBar.d.ts +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject 1 change:: node_modules/bar + WatchedFiles:: /user/username/projects/myproject/tsconfig.json: diff --git a/tests/baselines/reference/tscWatch/watchEnvironment/watchOptions/with-excludeDirectories-option-with-recursive-directory-watching-extendedDiagnostics.js b/tests/baselines/reference/tscWatch/watchEnvironment/watchOptions/with-excludeDirectories-option-with-recursive-directory-watching-extendedDiagnostics.js index 17445c13fa1..ecbbd881cd0 100644 --- a/tests/baselines/reference/tscWatch/watchEnvironment/watchOptions/with-excludeDirectories-option-with-recursive-directory-watching-extendedDiagnostics.js +++ b/tests/baselines/reference/tscWatch/watchEnvironment/watchOptions/with-excludeDirectories-option-with-recursive-directory-watching-extendedDiagnostics.js @@ -52,6 +52,8 @@ Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/mypr FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/bar/package.json 2000 {"excludeDirectories":["/user/username/projects/myproject/**/temp"]} package.json file DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 {"excludeDirectories":["/user/username/projects/myproject/**/temp"]} Type roots Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 {"excludeDirectories":["/user/username/projects/myproject/**/temp"]} Type roots +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject/src 1 rename:: main.js +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject/src 1 change:: [12:00:40 AM] Found 0 errors. Watching for file changes. DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject 1 {"excludeDirectories":["/user/username/projects/myproject/**/temp"]} Wild card directory @@ -171,6 +173,8 @@ export function temp(): string; Output:: +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject/node_modules/bar 1 change:: temp + WatchedFiles:: /user/username/projects/myproject/tsconfig.json: diff --git a/tests/baselines/reference/tscWatch/watchEnvironment/watchOptions/with-excludeDirectories-option-with-recursive-directory-watching.js b/tests/baselines/reference/tscWatch/watchEnvironment/watchOptions/with-excludeDirectories-option-with-recursive-directory-watching.js index d633c62afa8..396906bdcf6 100644 --- a/tests/baselines/reference/tscWatch/watchEnvironment/watchOptions/with-excludeDirectories-option-with-recursive-directory-watching.js +++ b/tests/baselines/reference/tscWatch/watchEnvironment/watchOptions/with-excludeDirectories-option-with-recursive-directory-watching.js @@ -36,6 +36,8 @@ Output:: >> Screen clear [12:00:37 AM] Starting compilation in watch mode... +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject/src 1 rename:: main.js +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject/src 1 change:: [12:00:40 AM] Found 0 errors. Watching for file changes. @@ -144,6 +146,8 @@ export function temp(): string; Output:: +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject/node_modules/bar 1 change:: temp + WatchedFiles:: /user/username/projects/myproject/tsconfig.json: diff --git a/tests/baselines/reference/tscWatch/watchEnvironment/watchOptions/with-excludeDirectories-option.js b/tests/baselines/reference/tscWatch/watchEnvironment/watchOptions/with-excludeDirectories-option.js index 77eb64d9347..ca464f91011 100644 --- a/tests/baselines/reference/tscWatch/watchEnvironment/watchOptions/with-excludeDirectories-option.js +++ b/tests/baselines/reference/tscWatch/watchEnvironment/watchOptions/with-excludeDirectories-option.js @@ -36,6 +36,8 @@ Output:: >> Screen clear [12:00:37 AM] Starting compilation in watch mode... +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject/src 1 rename:: main.js +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject/src 1 change:: [12:00:40 AM] Found 0 errors. Watching for file changes. @@ -99,6 +101,9 @@ Input:: //// [/user/username/projects/myproject/node_modules/bar/fooBar.d.ts] deleted Output:: +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject 1 rename:: node_modules/bar/fooBar.d.ts +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject 1 change:: node_modules/bar + WatchedFiles:: /user/username/projects/myproject/tsconfig.json: diff --git a/tests/baselines/reference/tscWatch/watchEnvironment/watchOptions/with-excludeFiles-option-extendedDiagnostics.js b/tests/baselines/reference/tscWatch/watchEnvironment/watchOptions/with-excludeFiles-option-extendedDiagnostics.js index 88d25cde1fc..75ef71c5a16 100644 --- a/tests/baselines/reference/tscWatch/watchEnvironment/watchOptions/with-excludeFiles-option-extendedDiagnostics.js +++ b/tests/baselines/reference/tscWatch/watchEnvironment/watchOptions/with-excludeFiles-option-extendedDiagnostics.js @@ -52,8 +52,10 @@ Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/mypr ExcludeWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/bar/package.json 2000 {"excludeFiles":["/user/username/projects/myproject/node_modules/*"]} package.json file DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 {"excludeFiles":["/user/username/projects/myproject/node_modules/*"]} Type roots Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 {"excludeFiles":["/user/username/projects/myproject/node_modules/*"]} Type roots +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject/src 1 rename:: main.js DirectoryWatcher:: Triggered with /user/username/projects/myproject/src/main.js :: WatchInfo: /user/username/projects/myproject/src 1 {"excludeFiles":["/user/username/projects/myproject/node_modules/*"]} Failed Lookup Locations Elapsed:: *ms DirectoryWatcher:: Triggered with /user/username/projects/myproject/src/main.js :: WatchInfo: /user/username/projects/myproject/src 1 {"excludeFiles":["/user/username/projects/myproject/node_modules/*"]} Failed Lookup Locations +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject/src 1 change:: [12:00:40 AM] Found 0 errors. Watching for file changes. DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject 1 {"excludeFiles":["/user/username/projects/myproject/node_modules/*"]} Wild card directory @@ -119,6 +121,9 @@ export function fooBar(): string; Output:: +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject/node_modules 1 change:: bar/foo.d.ts +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject 1 change:: node_modules/bar/foo.d.ts + WatchedFiles:: /user/username/projects/myproject/tsconfig.json: diff --git a/tests/baselines/reference/tscWatch/watchEnvironment/watchOptions/with-excludeFiles-option.js b/tests/baselines/reference/tscWatch/watchEnvironment/watchOptions/with-excludeFiles-option.js index 54ce05a590c..e516101ea4f 100644 --- a/tests/baselines/reference/tscWatch/watchEnvironment/watchOptions/with-excludeFiles-option.js +++ b/tests/baselines/reference/tscWatch/watchEnvironment/watchOptions/with-excludeFiles-option.js @@ -36,6 +36,8 @@ Output:: >> Screen clear [12:00:37 AM] Starting compilation in watch mode... +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject/src 1 rename:: main.js +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject/src 1 change:: [12:00:40 AM] Found 0 errors. Watching for file changes. @@ -99,6 +101,9 @@ export function fooBar(): string; Output:: +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject/node_modules 1 change:: bar/foo.d.ts +sysLog:: watchPresentFileSystemEntry:: /user/username/projects/myproject 1 change:: node_modules/bar/foo.d.ts + WatchedFiles:: /user/username/projects/myproject/tsconfig.json: