Start using cache as perDirectory lookup

This commit is contained in:
Sheetal Nandi
2022-12-09 14:49:27 -08:00
parent 84cda33850
commit 2219b5dc95
27 changed files with 23280 additions and 8347 deletions
+16 -35
View File
@@ -1439,41 +1439,22 @@ function toPerDirectoryAndNonRelativeNameCache<T>(
cache: ModeAwareCache<T> | undefined,
fOrPath: SourceFile | Path,
) {
if (!cache?.size()) return perDirectoryAndNonRelativeNameCache;
let dirPath: Path, redirectedReference: ResolvedProjectReference | undefined;
if (!isString(fOrPath)) {
redirectedReference = state.program!.getRedirectReferenceForResolution(fOrPath);
dirPath = getDirectoryPath(fOrPath.path);
}
else {
dirPath = getDirectoryPath(fOrPath);
}
const mapForRedirects = perDirectoryAndNonRelativeNameCache?.perDirectory.perDirectoryMap.getMapOfCacheRedirects(redirectedReference);
let dirCache = mapForRedirects?.get(dirPath);
cache.forEach((resolution, name, mode) => {
if (!getResolvedFileName(resolution)) return;
if (dirCache?.has(name, mode)) return;
// If there was already external module resolution that is same, set for child directory, dont set resolution for this directory
if (!isExternalModuleNameRelative(name) &&
perDirectoryAndNonRelativeNameCache?.nonRelativeName.getFromNonRelativeNameCacheWithPath(name, mode, dirPath, redirectedReference)) {
return;
}
(dirCache ??= (perDirectoryAndNonRelativeNameCache ??= createPerDirectoryAndNonRelativeNameCache(
state.program!.getCurrentDirectory(),
state.program!.getCanonicalFileName,
state.compilerOptions,
getResolvedFileName,
)).perDirectory.getOrCreateCacheForDirectoryWithPath(dirPath, redirectedReference)).set(name, mode, resolution);
// put result in per-module name cache and delete everything that is not needed
if (!isExternalModuleNameRelative(name)) {
perDirectoryAndNonRelativeNameCache!.nonRelativeName.getOrCreateCacheForNonRelativeName(name, mode, redirectedReference).setWithPath(
dirPath,
resolution,
ancestorPath => mapForRedirects?.get(ancestorPath)?.delete(name, mode),
);
}
});
return perDirectoryAndNonRelativeNameCache;
return ts.toPerDirectoryAndNonRelativeNameCache(
state.program!,
perDirectoryAndNonRelativeNameCache,
getResolvedFileName,
cache,
fOrPath,
noop,
(resolution, name, mode, dirPath, redirectedReference) =>
// If this is not resolved, dont put in per dir Cache
!getResolvedFileName(resolution) ||
// If there was already external module resolution that is same, set for child directory, dont set resolution for this directory
(!isExternalModuleNameRelative(name) &&
!!perDirectoryAndNonRelativeNameCache?.nonRelativeName.getFromNonRelativeNameCacheWithPath(name, mode, dirPath, redirectedReference)),
// when adding non relative mode resolution, delete everything that is not needed
(ancestorPath, mapOfRedirects, name, mode) => mapOfRedirects?.get(ancestorPath)?.delete(name, mode),
);
}
/** @internal */
+44
View File
@@ -77,6 +77,7 @@ import {
Pattern,
patternText,
perfLogger,
Program,
Push,
readJson,
removeExtension,
@@ -1184,6 +1185,49 @@ export function createPerDirectoryAndNonRelativeNameCache<T>(currentDirectory: s
}
}
/** @internal */
export function toPerDirectoryAndNonRelativeNameCache<T, U, V>(
program: Program,
perDirectoryAndNonRelativeNameCache: PerDirectoryAndNonRelativeNameCache<T> | undefined,
getResolvedFileName: (resolved: T) => string | undefined,
cache: ModeAwareCache<T> | undefined,
fOrPath: SourceFile | Path,
withRedirects: (redirectedReference: ResolvedProjectReference | undefined) => U,
forEachResolution: (r: T, name: string, mode: ResolutionMode, dirPath: Path, redirectedReference: ResolvedProjectReference | undefined, redirectsResult: U) => V | undefined,
ancestoryWorker: (ancestorPath: Path, mapOfRedirects: Map<Path, ModeAwareCache<T>> | undefined, name: string, mode: ResolutionMode) => void,
) {
if (!cache?.size()) return perDirectoryAndNonRelativeNameCache;
let dirPath: Path, redirectedReference: ResolvedProjectReference | undefined;
if (!isString(fOrPath)) {
redirectedReference = program.getRedirectReferenceForResolution(fOrPath);
dirPath = getDirectoryPath(fOrPath.path);
}
else {
dirPath = getDirectoryPath(fOrPath);
}
const redirectsResult = withRedirects(redirectedReference);
const mapForRedirects = perDirectoryAndNonRelativeNameCache?.perDirectory.perDirectoryMap.getMapOfCacheRedirects(redirectedReference);
let dirCache = mapForRedirects?.get(dirPath);
cache.forEach((resolution, name, mode) => {
if (forEachResolution(resolution, name, mode, dirPath, redirectedReference, redirectsResult)) return;
if (dirCache?.has(name, mode)) return;
(dirCache ??= (perDirectoryAndNonRelativeNameCache ??= createPerDirectoryAndNonRelativeNameCache(
program.getCurrentDirectory(),
program.getCanonicalFileName,
program.getCompilerOptions(),
getResolvedFileName,
)).perDirectory.getOrCreateCacheForDirectoryWithPath(dirPath, redirectedReference)).set(name, mode, resolution);
if (!isExternalModuleNameRelative(name)) {
perDirectoryAndNonRelativeNameCache!.nonRelativeName.getOrCreateCacheForNonRelativeName(name, mode, redirectedReference).setWithPath(
dirPath,
resolution,
ancestoryWorker === noop ? noop : ancestorPath => ancestoryWorker(ancestorPath, mapForRedirects, name, mode),
);
}
});
return perDirectoryAndNonRelativeNameCache;
}
interface ModuleOrTypeReferenceResolutionCache<T> extends PerDirectoryResolutionCache<T>, NonRelativeNameResolutionCache<T>, PackageJsonInfoCache {
getPackageJsonInfoCache(): PackageJsonInfoCache;
clearAllExceptPackageJsonInfoCache(): void;
+235 -120
View File
@@ -30,6 +30,8 @@ import {
getDirectoryPath,
getEffectiveTypeRoots,
getNormalizedAbsolutePath,
getOriginalOrResolvedModuleFileName,
getOriginalOrResolvedTypeReferenceFileName,
getRootLength,
HasInvalidatedResolutions,
ignoredPaths,
@@ -48,13 +50,16 @@ import {
ModuleResolutionCache,
moduleResolutionNameAndModeGetter,
mutateMap,
noop,
noopFileWatcher,
normalizePath,
OldResolutionCache,
PackageId,
packageIdToString,
parseNodeModuleFromPath,
Path,
pathContainsNodeModules,
PerDirectoryAndNonRelativeNameCache,
Program,
RedirectsCacheKey,
removeSuffix,
@@ -72,12 +77,19 @@ import {
stringContains,
StringLiteralLike,
StructureIsReused,
toPerDirectoryAndNonRelativeNameCache,
trace,
TypeReferenceDirectiveResolutionCache,
updateResolutionField,
WatchDirectoryFlags,
} from "./_namespaces/ts";
/** @internal */
export interface UnresolvedImports {
readonly packages: readonly string[];
readonly imports: readonly { name: string; mode: ResolutionMode; }[];
}
/**
* This is the cache of module/typedirectives resolution that can be retained across program
*
@@ -111,11 +123,12 @@ export interface ResolutionCache {
invalidateResolutionsOfFailedLookupLocations(): boolean;
invalidateResolutionOfFile(filePath: Path): void;
setFilesWithInvalidatedNonRelativeUnresolvedImports(filesWithUnresolvedImports: Map<Path, readonly string[]>): void;
setFilesWithInvalidatedNonRelativeUnresolvedImports(filesWithUnresolvedImports: Map<Path, UnresolvedImports>): void;
createHasInvalidatedResolutions(customHasInvalidatedResolutions: HasInvalidatedResolutions): HasInvalidatedResolutions;
hasChangedAutomaticTypeDirectiveNames(): boolean;
isFileWithInvalidatedNonRelativeUnresolvedImports(path: Path): boolean;
resolvedModuleNames: PerFileCache<CachedResolvedModuleWithFailedLookupLocations>;
resolvedTypeReferenceDirectives: PerFileCache<CachedResolvedTypeReferenceDirectiveWithFailedLookupLocations>;
startCachingPerDirectoryResolution(): void;
finishCachingPerDirectoryResolution(newProgram: Program | undefined, oldProgram: Program | undefined): void;
@@ -133,6 +146,9 @@ export interface ResolutionWithFailedLookupLocations {
isInvalidated?: boolean;
// Files that have this resolution using
files?: Set<Path>;
watchedFailed?: number | false;
watchedAffected?: number;
setAtRoot?: boolean;
}
interface ResolutionWithResolvedFileName {
@@ -144,15 +160,23 @@ interface ResolutionWithResolvedFileName {
export interface CachedResolvedModuleWithFailedLookupLocations extends ResolvedModuleWithFailedLookupLocations, ResolutionWithFailedLookupLocations {
}
interface CachedResolvedTypeReferenceDirectiveWithFailedLookupLocations extends ResolvedTypeReferenceDirectiveWithFailedLookupLocations, ResolutionWithFailedLookupLocations {
/** @internal */
export interface CachedResolvedTypeReferenceDirectiveWithFailedLookupLocations extends ResolvedTypeReferenceDirectiveWithFailedLookupLocations, ResolutionWithFailedLookupLocations {
}
interface PerFileCacheEntry<T> {
/** @internal */
export interface PerFileCacheEntry<T> {
cache: ModeAwareCache<T>;
options: CompilerOptions;
key: RedirectsCacheKey | undefined;
}
type PerFileCache<T> = Map<Path, PerFileCacheEntry<T>>;
/** @internal */
export type PerFileCache<T> = Map<Path, PerFileCacheEntry<T>>;
interface OldModuleAndTypeRefCache {
modules: OldResolutionCache<ResolvedModuleWithFailedLookupLocations> | undefined;
typeRefs: OldResolutionCache<ResolvedTypeReferenceDirectiveWithFailedLookupLocations> | undefined;
}
/** @internal */
export interface ResolutionCacheHost extends MinimalResolutionCacheHost {
@@ -268,12 +292,12 @@ type GetResolutionWithResolvedFileName<T extends ResolutionWithFailedLookupLocat
export function createResolutionCache(resolutionHost: ResolutionCacheHost, rootDirForResolution: string | undefined, logChangesWhenResolvingModule: boolean): ResolutionCache {
let filesWithChangedSetOfUnresolvedImports: Path[] | undefined;
let filesWithInvalidatedResolutions: Set<Path> | undefined;
let filesWithInvalidatedNonRelativeUnresolvedImports: ReadonlyMap<Path, readonly string[]> | undefined;
const resolutionsWithFailedLookups = new Set<ResolutionWithFailedLookupLocations>();
const resolutionsWithOnlyAffectingLocations = new Set<ResolutionWithFailedLookupLocations>();
const resolvedFileToResolution = new Map<Path, Set<ResolutionWithFailedLookupLocations>>();
const impliedFormatPackageJsons = new Map<Path, readonly string[]>();
let resolutionsToCloseWatcherOn: { resolution: ResolutionWithFailedLookupLocations; getResolved: GetResolutionWithResolvedFileName; }[] | undefined;
let hasChangedAutomaticTypeDirectiveNames = false;
let affectingPathChecksForFile: Set<string> | undefined;
@@ -284,6 +308,7 @@ export function createResolutionCache(resolutionHost: ResolutionCacheHost, rootD
const getCurrentDirectory = memoize(() => resolutionHost.getCurrentDirectory!()); // TODO: GH#18217
const cachedDirectoryStructureHost = resolutionHost.getCachedDirectoryStructureHost();
let oldModuleAndTypeRefCache: OldModuleAndTypeRefCache | undefined;
// The resolvedModuleNames and resolvedTypeReferenceDirectives are the cache of resolutions per file.
// The key in the map is source file's path.
@@ -322,6 +347,8 @@ export function createResolutionCache(resolutionHost: ResolutionCacheHost, rootD
const typeRootsWatches = new Map<string, FileWatcher>();
return {
resolvedModuleNames,
resolvedTypeReferenceDirectives,
getModuleResolutionCache: () => moduleResolutionCache,
getTypeReferenceDirectiveResolutionCache: () => typeReferenceDirectiveResolutionCache,
startRecordingFilesWithChangedResolutions,
@@ -336,7 +363,6 @@ export function createResolutionCache(resolutionHost: ResolutionCacheHost, rootD
invalidateResolutionsOfFailedLookupLocations,
setFilesWithInvalidatedNonRelativeUnresolvedImports,
createHasInvalidatedResolutions,
isFileWithInvalidatedNonRelativeUnresolvedImports,
clear,
};
@@ -370,6 +396,8 @@ export function createResolutionCache(resolutionHost: ResolutionCacheHost, rootD
isInDirectoryChecks = undefined;
affectingPathChecks = undefined;
affectingPathChecksForFile = undefined;
resolutionsToCloseWatcherOn = undefined;
oldModuleAndTypeRefCache = undefined;
moduleResolutionCache.clear();
typeReferenceDirectiveResolutionCache.clear();
moduleResolutionCache.update(resolutionHost.getCompilationSettings());
@@ -388,24 +416,13 @@ export function createResolutionCache(resolutionHost: ResolutionCacheHost, rootD
return collected;
}
function isFileWithInvalidatedNonRelativeUnresolvedImports(path: Path): boolean {
if (!filesWithInvalidatedNonRelativeUnresolvedImports) {
return false;
}
// Invalidated if file has unresolved imports
const value = filesWithInvalidatedNonRelativeUnresolvedImports.get(path);
return !!value && !!value.length;
}
function createHasInvalidatedResolutions(customHasInvalidatedResolutions: HasInvalidatedResolutions): HasInvalidatedResolutions {
// Ensure pending resolutions are applied
invalidateResolutionsOfFailedLookupLocations();
const collected = filesWithInvalidatedResolutions;
filesWithInvalidatedResolutions = undefined;
return path => customHasInvalidatedResolutions(path) ||
!!collected?.has(path) ||
isFileWithInvalidatedNonRelativeUnresolvedImports(path);
!!collected?.has(path);
}
function startCachingPerDirectoryResolution() {
@@ -413,10 +430,13 @@ export function createResolutionCache(resolutionHost: ResolutionCacheHost, rootD
typeReferenceDirectiveResolutionCache.clearAllExceptPackageJsonInfoCache();
moduleResolutionCache.update(resolutionHost.getCompilationSettings());
typeReferenceDirectiveResolutionCache.update(resolutionHost.getCompilationSettings());
if (oldModuleAndTypeRefCache) {
moduleResolutionCache.setOldResolutionCache(oldModuleAndTypeRefCache.modules);
typeReferenceDirectiveResolutionCache.setOldResolutionCache(oldModuleAndTypeRefCache.typeRefs);
}
}
function finishCachingPerDirectoryResolution(newProgram: Program | undefined, oldProgram: Program | undefined) {
filesWithInvalidatedNonRelativeUnresolvedImports = undefined;
hasChangedAutomaticTypeDirectiveNames = false;
if (!newProgram) {
clear();
@@ -424,10 +444,28 @@ export function createResolutionCache(resolutionHost: ResolutionCacheHost, rootD
}
if (newProgram === oldProgram) return;
const needsResolutionUpdate = newProgram.structureIsReused !== StructureIsReused.Completely;
let modules: PerDirectoryAndNonRelativeNameCache<ResolvedModuleWithFailedLookupLocations> | undefined;
let typeRefs: PerDirectoryAndNonRelativeNameCache<ResolvedTypeReferenceDirectiveWithFailedLookupLocations> | undefined;
for (const newFile of newProgram.getSourceFiles()) {
if (needsResolutionUpdate) {
ensureResolutionsOfFile(newProgram, resolvedModuleNames, newFile.resolvedModules, newFile, getResolvedModule);
ensureResolutionsOfFile(newProgram, resolvedTypeReferenceDirectives, newFile.resolvedTypeReferenceDirectiveNames, newFile, getResolvedTypeReferenceDirective);
modules = ensureResolutionsOfFile(
newProgram,
modules,
getOriginalOrResolvedModuleFileName,
newFile.resolvedModules,
newFile,
resolvedModuleNames,
getResolvedModule,
);
typeRefs = ensureResolutionsOfFile(
newProgram,
typeRefs,
getOriginalOrResolvedTypeReferenceFileName,
newFile.resolvedTypeReferenceDirectiveNames,
newFile,
resolvedTypeReferenceDirectives,
getResolvedTypeReferenceDirective,
);
}
const expected = isExternalOrCommonJsModule(newFile) ? newFile.packageJsonLocations?.length ?? 0 : 0;
const existing = impliedFormatPackageJsons.get(newFile.path) ?? emptyArray;
@@ -444,7 +482,16 @@ export function createResolutionCache(resolutionHost: ResolutionCacheHost, rootD
}
if (needsResolutionUpdate) {
const newProgramAutoTypeRefContainingFile = resolutionHost.toPath(newProgram.getAutomaticTypeDirectiveContainingFile());
ensureResolutionsOfFile(newProgram, resolvedTypeReferenceDirectives, newProgram.getAutomaticTypeDirectiveResolutions(), newProgramAutoTypeRefContainingFile, getResolvedTypeReferenceDirective);
typeRefs = ensureResolutionsOfFile(
newProgram,
typeRefs,
getOriginalOrResolvedTypeReferenceFileName,
newProgram.getAutomaticTypeDirectiveResolutions(),
newProgramAutoTypeRefContainingFile,
resolvedTypeReferenceDirectives,
getResolvedTypeReferenceDirective,
);
oldModuleAndTypeRefCache = getOldResolutionCache(modules, typeRefs);
// Remove resolutions for files not in the program
if (oldProgram) {
for (const f of oldProgram.getSourceFiles()) {
@@ -463,12 +510,9 @@ export function createResolutionCache(resolutionHost: ResolutionCacheHost, rootD
}
});
if (needsResolutionUpdate && (!oldProgram || newProgram.getCompilerOptions() !== oldProgram.getCompilerOptions())) updateTypeRootsWatch();
directoryWatchesOfFailedLookups.forEach((watcher, path) => {
if (watcher.refCount === 0) {
directoryWatchesOfFailedLookups.delete(path);
watcher.watcher.close();
}
});
// Remove symlinked watchers that have zero ref count
resolutionsToCloseWatcherOn?.forEach(closeWatchersOfResolution);
resolutionsToCloseWatcherOn = undefined;
fileWatchesOfAffectingLocations.forEach((watcher, path) => {
if (watcher.files === 0 && watcher.resolutions === 0) {
fileWatchesOfAffectingLocations.delete(path);
@@ -479,42 +523,84 @@ export function createResolutionCache(resolutionHost: ResolutionCacheHost, rootD
function ensureResolutionsOfFile<T extends ResolutionWithFailedLookupLocations, R extends ResolutionWithResolvedFileName>(
newProgram: Program,
perFileCache: PerFileCache<T>,
perDirCache: PerDirectoryAndNonRelativeNameCache<T> | undefined,
getResolvedFileName: (resolved: T) => string | undefined,
fileCacheFromProgram: ModeAwareCache<T> | undefined,
sourceFileOrPath: SourceFile | Path,
perFileCache: PerFileCache<T>,
getResolutionWithResolvedFileName: GetResolutionWithResolvedFileName<T, R>,
) {
): PerDirectoryAndNonRelativeNameCache<T> | undefined {
const path = !isString(sourceFileOrPath) ? sourceFileOrPath.path : sourceFileOrPath;
let resolutionsInFile = perFileCache.get(path);
const seenNamesInFile = createModeAwareCache<true>();
if (fileCacheFromProgram?.size()) {
// If keys dont match release existing resolutions
const options = newProgram.getCompilerOptions();
const redirectedReference = !isString(sourceFileOrPath) ? newProgram.getRedirectReferenceForResolution(sourceFileOrPath) : undefined;
const key = resolutionsInFile && getKeyIfOptionsChange(resolutionsInFile, options, redirectedReference);
if (resolutionsInFile && key) {
resolutionsInFile.cache.forEach(r => stopWatchFailedLookupLocationOfResolution(r, path, getResolutionWithResolvedFileName));
resolutionsInFile = undefined;
}
fileCacheFromProgram.forEach((r, name, mode) => {
perDirCache = toPerDirectoryAndNonRelativeNameCache(
newProgram,
perDirCache,
getResolvedFileName,
fileCacheFromProgram,
sourceFileOrPath,
redirectedReference => {
const key = resolutionsInFile && getKeyIfOptionsChange(resolutionsInFile, newProgram.getCompilerOptions(), redirectedReference);
if (resolutionsInFile && key) {
resolutionsInFile.cache.forEach(r => stopWatchingResolution(r, path, getResolutionWithResolvedFileName));
resolutionsInFile = undefined;
}
return key;
},
(resolution, name, mode, _dirPath, redirectedReference, key) => {
seenNamesInFile.set(name, mode, true);
const existing = resolutionsInFile?.cache.get(name, mode);
if (existing && r !== existing) stopWatchFailedLookupLocationOfResolution(existing, path, getResolutionWithResolvedFileName);
watchFailedLookupLocationsOfExternalModuleResolutions(newProgram, name, r, path, getResolutionWithResolvedFileName);
if (!resolutionsInFile) perFileCache.set(path, resolutionsInFile = { cache: createModeAwareCache(), options: redirectedReference?.commandLine.options || options, key });
resolutionsInFile.cache.set(name, mode, r);
});
}
if (existing && resolution !== existing) stopWatchingResolution(existing, path, getResolutionWithResolvedFileName);
watchResolution(newProgram, name, resolution, path, getResolutionWithResolvedFileName);
if (!resolutionsInFile) {
perFileCache.set(path, resolutionsInFile = {
cache: createModeAwareCache(),
options: redirectedReference?.commandLine.options || newProgram.getCompilerOptions(),
key,
});
}
resolutionsInFile.cache.set(name, mode, resolution);
},
noop,
);
if ((resolutionsInFile?.cache.size() || 0) !== seenNamesInFile.size()) {
// Stop watching and remove the unused name
resolutionsInFile!.cache.forEach((resolution, name, mode) => {
if (!seenNamesInFile.has(name, mode)) {
stopWatchFailedLookupLocationOfResolution(resolution, path, getResolutionWithResolvedFileName);
stopWatchingResolution(resolution, path, getResolutionWithResolvedFileName);
resolutionsInFile!.cache.delete(name, mode);
}
});
if (!resolutionsInFile?.cache.size) perFileCache.delete(path);
}
return perDirCache;
}
function getOldResolutionCache(
modules: PerDirectoryAndNonRelativeNameCache<ResolvedModuleWithFailedLookupLocations> | undefined,
typeRefs: PerDirectoryAndNonRelativeNameCache<ResolvedTypeReferenceDirectiveWithFailedLookupLocations> | undefined,
): OldModuleAndTypeRefCache | undefined {
if (!modules && !typeRefs) return undefined;
return {
modules: {
getResolved: (name, mode, dirPath, redirectedReference) => getResolvedWithOldCache(modules, name, mode, dirPath, redirectedReference)
},
typeRefs: {
getResolved: (name, mode, dirPath, redirectedReference) => getResolvedWithOldCache(typeRefs, name, mode, dirPath, redirectedReference)
},
};
}
function getResolvedWithOldCache<T extends ResolutionWithFailedLookupLocations>(
cache: PerDirectoryAndNonRelativeNameCache<T> | undefined,
name: string,
mode: ResolutionMode,
dirPath: Path,
redirectedReference: ResolvedProjectReference | undefined,
): T | undefined {
if (!cache) return undefined;
const result = cache.getFromCache(name, mode, dirPath, redirectedReference?.commandLine.options || resolutionHost.getCompilationSettings());
return result && !result.isInvalidated ? result : undefined;
}
function resolveModuleName(moduleName: string, containingFile: string, compilerOptions: CompilerOptions, redirectedReference?: ResolvedProjectReference, mode?: ResolutionMode): CachedResolvedModuleWithFailedLookupLocations {
@@ -588,25 +674,23 @@ export function createResolutionCache(resolutionHost: ResolutionCacheHost, rootD
perFileCache: PerFileCache<T>;
loader: ResolutionLoader<Entry, T, SourceFile>;
getResolutionWithResolvedFileName: GetResolutionWithResolvedFileName<T, R>;
shouldRetryResolution: (t: T) => boolean;
logChanges?: boolean;
}
function resolveNamesWithLocalCache<Entry, SourceFile, T extends ResolutionWithFailedLookupLocations, R extends ResolutionWithResolvedFileName>({
entries, containingFile, containingSourceFile, redirectedReference, options,
perFileCache, reusedNames,
loader, getResolutionWithResolvedFileName,
shouldRetryResolution, logChanges,
logChanges,
}: ResolveNamesWithLocalCacheInput<Entry, SourceFile, T, R>): readonly T[] {
const path = resolutionHost.toPath(containingFile);
let resolutionsInFile = perFileCache.get(path);
const optionsForFile = redirectedReference?.commandLine.options || options;
const key = resolutionsInFile && getKeyIfOptionsChange(resolutionsInFile, options, redirectedReference);
if (!resolutionsInFile || key) {
resolutionsInFile?.cache.forEach(r => stopWatchFailedLookupLocationOfResolution(r, path, getResolutionWithResolvedFileName));
resolutionsInFile?.cache.forEach(r => stopWatchingResolution(r, path, getResolutionWithResolvedFileName));
perFileCache.set(path, resolutionsInFile = { cache: createModeAwareCache(), options: optionsForFile, key });
}
const resolvedModules: T[] = [];
const hasInvalidatedNonRelativeUnresolvedImport = logChanges && isFileWithInvalidatedNonRelativeUnresolvedImports(path);
const seenNamesInFile = createModeAwareCache<true>();
for (const entry of entries) {
const name = loader.nameAndMode.getName(entry);
@@ -614,9 +698,7 @@ export function createResolutionCache(resolutionHost: ResolutionCacheHost, rootD
let resolution = resolutionsInFile.cache.get(name, mode);
if (!seenNamesInFile.has(name, mode)) {
// Resolution is valid if it is present and not invalidated
if (!resolution || resolution.isInvalidated ||
// If the name is unresolved import that was invalidated, recalculate
(hasInvalidatedNonRelativeUnresolvedImport && !isExternalModuleNameRelative(name) && shouldRetryResolution(resolution))) {
if (!resolution || resolution.isInvalidated) {
const existingResolution = resolution;
resolution = loader.resolve(name, mode);
if (resolutionHost.onDiscoveredSymlink && resolutionIsSymlink(resolution)) {
@@ -624,7 +706,7 @@ export function createResolutionCache(resolutionHost: ResolutionCacheHost, rootD
}
resolutionsInFile.cache.set(name, mode, resolution);
if (existingResolution) {
stopWatchFailedLookupLocationOfResolution(existingResolution, path, getResolutionWithResolvedFileName);
stopWatchingResolution(existingResolution, path, getResolutionWithResolvedFileName);
}
if (logChanges && filesWithChangedSetOfUnresolvedImports && !resolutionIsEqualTo(existingResolution, resolution)) {
@@ -671,7 +753,7 @@ export function createResolutionCache(resolutionHost: ResolutionCacheHost, rootD
// Stop watching and remove the unused name
resolutionsInFile.cache.forEach((resolution, name, mode) => {
if (!seenNamesInFile.has(name, mode)) {
stopWatchFailedLookupLocationOfResolution(resolution, path, getResolutionWithResolvedFileName);
stopWatchingResolution(resolution, path, getResolutionWithResolvedFileName);
resolutionsInFile!.cache.delete(name, mode);
}
});
@@ -721,7 +803,6 @@ export function createResolutionCache(resolutionHost: ResolutionCacheHost, rootD
typeReferenceDirectiveResolutionCache
),
getResolutionWithResolvedFileName: getResolvedTypeReferenceDirective,
shouldRetryResolution: resolution => resolution.resolvedTypeReferenceDirective === undefined,
});
}
@@ -747,7 +828,6 @@ export function createResolutionCache(resolutionHost: ResolutionCacheHost, rootD
options,
),
getResolutionWithResolvedFileName: getResolvedModule,
shouldRetryResolution: resolution => !resolution.resolvedModule || !resolutionExtensionIsTSOrJson(resolution.resolvedModule.extension),
logChanges: logChangesWhenResolvingModule,
});
}
@@ -830,7 +910,7 @@ export function createResolutionCache(resolutionHost: ResolutionCacheHost, rootD
return fileExtensionIsOneOf(path, failedLookupDefaultExtensions);
}
function watchFailedLookupLocationsOfExternalModuleResolutions<T extends ResolutionWithFailedLookupLocations, R extends ResolutionWithResolvedFileName>(
function watchResolution<T extends ResolutionWithFailedLookupLocations, R extends ResolutionWithResolvedFileName>(
newProgram: Program,
name: string,
resolution: T,
@@ -839,17 +919,13 @@ export function createResolutionCache(resolutionHost: ResolutionCacheHost, rootD
) {
if (resolution.files) {
resolution.files.add(filePath);
if (resolution.watchedFailed !== false) watchFailedLookupLocationOfResolution(resolution);
watchAffectingLocationsOfResolution(resolution);
return;
}
resolution.files = new Set();
resolution.files.add(filePath);
if (isExternalModuleNameRelative(name) || !newProgram.getTypeChecker().tryFindAmbientModuleWithoutAugmentations(name)) {
watchFailedLookupLocationOfResolution(resolution);
}
else {
watchAffectingLocationsOfResolution(resolution, /*addToResolutionWithOnlyAffectingLocations*/ true);
}
const resolved = getResolutionWithResolvedFileName(resolution);
if (resolved && resolved.resolvedFileName) {
const key = resolutionHost.toPath(resolved.resolvedFileName);
@@ -857,55 +933,64 @@ export function createResolutionCache(resolutionHost: ResolutionCacheHost, rootD
if (!resolutions) resolvedFileToResolution.set(key, resolutions = new Set());
resolutions.add(resolution);
}
if (isExternalModuleNameRelative(name) || !newProgram.getTypeChecker().tryFindAmbientModuleWithoutAugmentations(name)) {
watchFailedLookupLocationOfResolution(resolution);
watchAffectingLocationsOfResolution(resolution);
}
else {
resolution.watchedFailed = false;
watchAffectingLocationsOfResolution(resolution);
}
}
function watchFailedLookupLocationOfResolution(resolution: ResolutionWithFailedLookupLocations) {
Debug.assert(!!resolution.files?.size);
const { failedLookupLocations } = resolution;
if (!failedLookupLocations?.length || resolution.watchedFailed === failedLookupLocations.length) return;
if (!resolution.watchedFailed) {
resolutionsWithFailedLookups.add(resolution);
// Remove resolution from only watching affected locations
if (resolution.watchedAffected) resolutionsWithOnlyAffectingLocations.delete(resolution);
}
const { failedLookupLocations, affectingLocations } = resolution;
if (!failedLookupLocations?.length && !affectingLocations?.length) return;
if (failedLookupLocations?.length) resolutionsWithFailedLookups.add(resolution);
let setAtRoot = false;
if (failedLookupLocations) {
for (const failedLookupLocation of failedLookupLocations) {
const failedLookupLocationPath = resolutionHost.toPath(failedLookupLocation);
const toWatch = getDirectoryToWatchFailedLookupLocation(failedLookupLocation, failedLookupLocationPath);
if (toWatch) {
const { dir, dirPath, nonRecursive } = toWatch;
// If the failed lookup location path is not one of the supported extensions,
// store it in the custom path
if (!isPathWithDefaultFailedLookupExtension(failedLookupLocationPath)) {
const refCount = customFailedLookupPaths.get(failedLookupLocationPath) || 0;
customFailedLookupPaths.set(failedLookupLocationPath, refCount + 1);
}
if (dirPath === rootPath) {
Debug.assert(!nonRecursive);
setAtRoot = true;
}
else {
setDirectoryWatcher(dir, dirPath, nonRecursive);
}
let setAtRoot = !!resolution.setAtRoot;
for (let i = resolution.watchedFailed || 0; i < failedLookupLocations.length; i++) {
const failedLookupLocation = failedLookupLocations[i];
const failedLookupLocationPath = resolutionHost.toPath(failedLookupLocation);
const toWatch = getDirectoryToWatchFailedLookupLocation(failedLookupLocation, failedLookupLocationPath);
if (toWatch) {
const { dir, dirPath, nonRecursive } = toWatch;
// If the failed lookup location path is not one of the supported extensions,
// store it in the custom path
if (!isPathWithDefaultFailedLookupExtension(failedLookupLocationPath)) {
const refCount = customFailedLookupPaths.get(failedLookupLocationPath) || 0;
customFailedLookupPaths.set(failedLookupLocationPath, refCount + 1);
}
if (dirPath === rootPath) {
Debug.assert(!nonRecursive);
setAtRoot = true;
}
else {
setDirectoryWatcher(dir, dirPath, nonRecursive);
}
}
if (setAtRoot) {
// This is always non recursive
setDirectoryWatcher(rootDir!, rootPath, /*nonRecursive*/ true); // TODO: GH#18217
}
}
watchAffectingLocationsOfResolution(resolution, !failedLookupLocations?.length);
if (setAtRoot && !resolution.setAtRoot) {
// This is always non recursive
setDirectoryWatcher(rootDir!, rootPath, /*nonRecursive*/ true); // TODO: GH#18217
}
resolution.setAtRoot = setAtRoot;
resolution.watchedFailed = failedLookupLocations.length;
}
function watchAffectingLocationsOfResolution(resolution: ResolutionWithFailedLookupLocations, addToResolutionsWithOnlyAffectingLocations: boolean) {
Debug.assert(!!resolution.files?.size);
function watchAffectingLocationsOfResolution(resolution: ResolutionWithFailedLookupLocations) {
const { affectingLocations } = resolution;
if (!affectingLocations?.length) return;
if (addToResolutionsWithOnlyAffectingLocations) resolutionsWithOnlyAffectingLocations.add(resolution);
if (!affectingLocations?.length || resolution.watchedAffected === affectingLocations.length) return;
if (!resolution.watchedFailed && !resolution.watchedAffected) resolutionsWithOnlyAffectingLocations.add(resolution);
// Watch package json
for (const affectingLocation of affectingLocations) {
createFileWatcherOfAffectingLocation(affectingLocation, /*forResolution*/ true);
for (let i = resolution.watchedAffected || 0; i < affectingLocations.length; i++) {
createFileWatcherOfAffectingLocation(affectingLocations[i], /*forResolution*/ true);
}
resolution.watchedAffected = affectingLocations.length;
}
function createFileWatcherOfAffectingLocation(affectingLocation: string, forResolution: boolean) {
@@ -972,27 +1057,34 @@ export function createResolutionCache(resolutionHost: ResolutionCacheHost, rootD
}
}
function stopWatchFailedLookupLocationOfResolution<T extends ResolutionWithFailedLookupLocations, R extends ResolutionWithResolvedFileName>(
function stopWatchingResolution<T extends ResolutionWithFailedLookupLocations, R extends ResolutionWithResolvedFileName>(
resolution: T,
filePath: Path,
getResolutionWithResolvedFileName: GetResolutionWithResolvedFileName<T, R>,
) {
resolution.files?.delete(filePath);
if (resolution.files?.size || !resolution.files) {
return;
}
if (!resolution.files?.size) (resolutionsToCloseWatcherOn ??= []).push({ resolution, getResolved: getResolutionWithResolvedFileName });
}
function closeWatchersOfResolution({ resolution, getResolved }: {
resolution: ResolutionWithFailedLookupLocations;
getResolved: (resolution: ResolutionWithFailedLookupLocations) => ResolutionWithResolvedFileName;
}) {
// If some files are using this resolution or we have already closed all watchers ignore
if (resolution.files?.size || !resolution.files) return;
resolution.files = undefined;
const resolved = getResolutionWithResolvedFileName(resolution);
const resolved = getResolved(resolution);
if (resolved && resolved.resolvedFileName) {
const key = resolutionHost.toPath(resolved.resolvedFileName);
const resolutions = resolvedFileToResolution.get(key);
if (resolutions?.delete(resolution) && !resolutions.size) resolvedFileToResolution.delete(key);
}
const { failedLookupLocations, affectingLocations } = resolution;
if (resolutionsWithFailedLookups.delete(resolution)) {
if (resolution.watchedFailed) {
resolutionsWithFailedLookups.delete(resolution);
let removeAtRoot = false;
for (const failedLookupLocation of failedLookupLocations!) {
for (let i = 0; i < resolution.watchedFailed; i++) {
const failedLookupLocation = resolution.failedLookupLocations![i];
const failedLookupLocationPath = resolutionHost.toPath(failedLookupLocation);
const toWatch = getDirectoryToWatchFailedLookupLocation(failedLookupLocation, failedLookupLocationPath);
if (toWatch) {
@@ -1016,26 +1108,33 @@ export function createResolutionCache(resolutionHost: ResolutionCacheHost, rootD
}
}
}
Debug.assert(resolution.setAtRoot === removeAtRoot);
if (removeAtRoot) {
removeDirectoryWatcher(rootPath);
}
resolution.watchedFailed = undefined;
resolution.setAtRoot = undefined;
}
else if (affectingLocations?.length) {
else if (resolution.watchedAffected) {
resolutionsWithOnlyAffectingLocations.delete(resolution);
}
if (affectingLocations) {
for (const affectingLocation of affectingLocations) {
const watcher = fileWatchesOfAffectingLocations.get(affectingLocation)!;
if (resolution.watchedAffected) {
for (let i = 0; i < resolution.watchedAffected; i++) {
const watcher = fileWatchesOfAffectingLocations.get(resolution.affectingLocations![i])!;
watcher.resolutions--;
}
resolution.watchedAffected = undefined;
}
}
function removeDirectoryWatcher(dirPath: string) {
const dirWatcher = directoryWatchesOfFailedLookups.get(dirPath)!;
// Do not close the watcher yet since it might be needed by other failed lookup locations.
dirWatcher.refCount--;
if (dirWatcher.refCount === 0) {
directoryWatchesOfFailedLookups.delete(dirPath);
dirWatcher.watcher.close();
}
}
function createDirectoryWatcher(directory: string, dirPath: Path, nonRecursive: boolean | undefined) {
@@ -1058,7 +1157,7 @@ export function createResolutionCache(resolutionHost: ResolutionCacheHost, rootD
// Deleted file, stop watching failed lookups for all the resolutions in the file
const resolutions = cache.get(filePath);
if (resolutions) {
resolutions.cache.forEach(resolution => stopWatchFailedLookupLocationOfResolution(resolution, filePath, getResolutionWithResolvedFileName));
resolutions.cache.forEach(resolution => stopWatchingResolution(resolution, filePath, getResolutionWithResolvedFileName));
cache.delete(filePath);
}
}
@@ -1093,9 +1192,25 @@ export function createResolutionCache(resolutionHost: ResolutionCacheHost, rootD
}
}
function setFilesWithInvalidatedNonRelativeUnresolvedImports(filesMap: ReadonlyMap<Path, readonly string[]>) {
Debug.assert(filesWithInvalidatedNonRelativeUnresolvedImports === filesMap || filesWithInvalidatedNonRelativeUnresolvedImports === undefined);
filesWithInvalidatedNonRelativeUnresolvedImports = filesMap;
function setFilesWithInvalidatedNonRelativeUnresolvedImports(filesMap: ReadonlyMap<Path, UnresolvedImports>) {
filesMap.forEach(({ imports }, filePath) => {
if (!imports.length) return;
const resolvedModules = resolvedModuleNames.get(filePath);
const resolvedTypeRefs = resolvedTypeReferenceDirectives.get(filePath);
if (!resolvedModules?.cache.size() && !resolvedTypeRefs?.cache.size()) return;
imports.forEach(({ name, mode }) => {
const resolvedModule = resolvedModules?.cache.get(name, mode);
if (resolvedModule && !resolvedModule.isInvalidated && (!resolvedModule.resolvedModule || !resolutionExtensionIsTSOrJson(resolvedModule.resolvedModule.extension))) {
resolvedModule.isInvalidated = true;
(filesWithInvalidatedResolutions ??= new Set()).add(filePath);
}
const resolvedTypeRef = resolvedTypeRefs?.cache.get(name, mode);
if (resolvedTypeRef && !resolvedTypeRef.isInvalidated && !resolvedTypeRef.resolvedTypeReferenceDirective) {
resolvedTypeRef.isInvalidated = true;
(filesWithInvalidatedResolutions ??= new Set()).add(filePath);
}
});
});
}
function scheduleInvalidateResolutionOfFailedLookupLocation(fileOrDirectoryPath: Path, isCreatingWatchedDirectory: boolean) {
+28 -18
View File
@@ -79,7 +79,6 @@ import {
getEmitDeclarations,
getEntrypointsFromPackageJsonInfo,
getNormalizedAbsolutePath,
getOrUpdate,
getStringComparer,
HasInvalidatedResolutions,
HostCancellationToken,
@@ -119,6 +118,7 @@ import {
removeFileExtension,
ResolutionCache,
resolutionExtensionIsTSOrJson,
ResolutionMode,
ResolvedModuleWithFailedLookupLocations,
ResolvedProjectReference,
ResolvedTypeReferenceDirectiveWithFailedLookupLocations,
@@ -143,6 +143,7 @@ import {
tracing,
TypeAcquisition,
TypeReferenceDirectiveResolutionCache,
UnresolvedImports,
updateErrorForNoInputFiles,
updateMissingFilePathsWatch,
WatchDirectoryFlags,
@@ -299,12 +300,10 @@ export abstract class Project implements LanguageServiceHost, ModuleResolutionHo
/**
* This is map from files to unresolved imports in it
* Maop does not contain entries for files that do not have unresolved imports
* This helps in containing the set of files to invalidate
*
* @internal
*/
cachedUnresolvedImportsPerFile = new Map<Path, readonly string[]>();
cachedUnresolvedImportsPerFile = new Map<Path, UnresolvedImports>();
/** @internal */
lastCachedUnresolvedImportsList: SortedReadonlyArray<string> | undefined;
@@ -2075,7 +2074,7 @@ export abstract class Project implements LanguageServiceHost, ModuleResolutionHo
}
}
function getUnresolvedImports(program: Program, cachedUnresolvedImportsPerFile: Map<Path, readonly string[]>): SortedReadonlyArray<string> {
function getUnresolvedImports(program: Program, cachedUnresolvedImportsPerFile: Map<Path, UnresolvedImports>): SortedReadonlyArray<string> {
const sourceFiles = program.getSourceFiles();
tracing?.push(tracing.Phase.Session, "getUnresolvedImports", { count: sourceFiles.length });
const ambientModules = program.getTypeChecker().getAmbientModules().map(mod => stripQuotes(mod.getName()));
@@ -2090,20 +2089,31 @@ function getUnresolvedImports(program: Program, cachedUnresolvedImportsPerFile:
tracing?.pop();
return result;
}
function extractUnresolvedImportsFromSourceFile(file: SourceFile, ambientModules: readonly string[], cachedUnresolvedImportsPerFile: Map<Path, readonly string[]>): readonly string[] {
return getOrUpdate(cachedUnresolvedImportsPerFile, file.path, () => {
if (!file.resolvedModules) return emptyArray;
let unresolvedImports: string[] | undefined;
file.resolvedModules.forEach(({ resolvedModule }, name) => {
// pick unresolved non-relative names
if ((!resolvedModule || !resolutionExtensionIsTSOrJson(resolvedModule.extension)) &&
!isExternalModuleNameRelative(name) &&
!ambientModules.some(m => m === name)) {
unresolvedImports = append(unresolvedImports, parsePackageName(name).packageName);
}
});
return unresolvedImports || emptyArray;
const emptyUnresolvedImports: UnresolvedImports = {
packages: emptyArray,
imports: emptyArray,
};
function extractUnresolvedImportsFromSourceFile(file: SourceFile, ambientModules: readonly string[], cachedUnresolvedImportsPerFile: Map<Path, UnresolvedImports>): readonly string[] {
let result = cachedUnresolvedImportsPerFile.get(file.path);
if (result) return result.packages;
if (!file.resolvedModules?.size()) {
cachedUnresolvedImportsPerFile.set(file.path, emptyUnresolvedImports);
return emptyArray;
}
let packages: string[] | undefined;
let imports: { name: string; mode: ResolutionMode; }[] | undefined;
file.resolvedModules.forEach(({ resolvedModule }, name, mode) => {
// pick unresolved non-relative names
if ((!resolvedModule || !resolutionExtensionIsTSOrJson(resolvedModule.extension)) &&
!isExternalModuleNameRelative(name) &&
!ambientModules.some(m => m === name)) {
packages = append(packages, parsePackageName(name).packageName);
imports = append(imports, { name, mode });
}
});
cachedUnresolvedImportsPerFile.set(file.path, result = packages ? { packages, imports: imports! } : emptyUnresolvedImports);
return result.packages;
}
/**
+1 -1
View File
@@ -259,7 +259,7 @@ function baselineCache<T>(baseline: string[], cacheType: string, cache: ts.ModeA
if (!cache?.size()) return;
baseline.push(`${cacheType}:`);
cache.forEach((resolved, key, mode) => baseline.push(`${key}: ${mode ? ts.getNameOfCompilerOptionValue(mode, ts.moduleOptionDeclaration.type) + ": " : ""}${JSON.stringify(
{ ...resolved, files: undefined, isInvalidated: undefined, },
{ ...resolved, files: undefined, isInvalidated: undefined, watchedFailed: undefined, watchedAffected: undefined, setAtRoot: undefined },
/*replacer*/ undefined,
2,
)}`));
@@ -1265,7 +1265,7 @@ describe("unittests:: tsserver:: typingsInstaller:: General functionality", () =
proj.updateGraph();
assert.deepEqual(
proj.cachedUnresolvedImportsPerFile.get(f1.path as ts.Path),
proj.cachedUnresolvedImportsPerFile.get(f1.path as ts.Path)!.packages,
["foo", "foo", "foo", "@bar/router", "@bar/common", "@bar/common"]
);
@@ -2011,7 +2011,8 @@ describe("unittests:: tsserver:: typingsInstaller:: recomputing resolutions of u
host.runQueuedTimeoutCallbacks(); // Update the graph
// Update the typing
host.checkTimeoutQueueLength(0);
assert.isFalse(proj.resolutionCache.isFileWithInvalidatedNonRelativeUnresolvedImports(app.path as ts.Path));
proj.resolutionCache.resolvedModuleNames.get(app.path as ts.Path)?.cache.forEach(r => assert.isTrue(!r.isInvalidated));
proj.resolutionCache.resolvedTypeReferenceDirectives.get(app.path as ts.Path)?.cache.forEach(r => assert.isTrue(!r.isInvalidated));
}
it("correctly invalidate the resolutions with typing names", () => {
@@ -2115,7 +2116,8 @@ declare module "stream" {
checkProjectActualFiles(proj, [file.path, libFile.path, nodeTyping.path]);
// Update the typing
host.checkTimeoutQueueLength(0);
assert.isFalse(proj.resolutionCache.isFileWithInvalidatedNonRelativeUnresolvedImports(file.path as ts.Path));
proj.resolutionCache.resolvedModuleNames.get(file.path as ts.Path)?.cache.forEach(r => assert.isTrue(!r.isInvalidated));
proj.resolutionCache.resolvedTypeReferenceDirectives.get(file.path as ts.Path)?.cache.forEach(r => assert.isTrue(!r.isInvalidated));
});
});
@@ -680,10 +680,7 @@ Reusing resolution of module 'pkg1' from '/src/project/fileWithImports.ts' of ol
Reusing resolution of type reference directive 'pkg2' from '/src/project/fileWithTypeRefs.ts' of old program, it was successfully resolved to '/src/project/node_modules/pkg2/index.d.ts'.
Reusing resolution of type reference directive 'pkg3' from '/src/project/fileWithTypeRefs.ts' of old program, it was not resolved.
======== Resolving module 'pkg0' from '/src/project/randomFileForImport.ts'. ========
Module resolution kind is not specified, using 'Classic'.
File '/src/project/pkg0.ts' does not exist.
File '/src/project/pkg0.tsx' does not exist.
File '/src/project/pkg0.d.ts' exist - use it as a name resolution result.
Resolution for module 'pkg0' was found in cache from location '/src/project'.
======== Module name 'pkg0' was successfully resolved to '/src/project/pkg0.d.ts'. ========
Reusing resolution of type reference directive 'pkg4' from '/src/project/__inferred type names__.ts' of old program, it was successfully resolved to '/src/project/node_modules/@types/pkg4/index.d.ts'.
fileWithImports.ts:2:40 - error TS2792: Cannot find module 'pkg1'. Did you mean to set the 'moduleResolution' option to 'node', or to add aliases to the 'paths' option?
@@ -1099,13 +1096,8 @@ Reusing resolution of module 'pkg1' from '/src/project/fileWithImports.ts' of ol
Reusing resolution of type reference directive 'pkg2' from '/src/project/fileWithTypeRefs.ts' of old program, it was successfully resolved to '/src/project/node_modules/pkg2/index.d.ts'.
Reusing resolution of type reference directive 'pkg3' from '/src/project/fileWithTypeRefs.ts' of old program, it was not resolved.
Reusing resolution of module 'pkg0' from '/src/project/randomFileForImport.ts' of old program, it was successfully resolved to '/src/project/pkg0.d.ts'.
======== Resolving type reference directive 'pkg2', containing file '/src/project/randomFileForTypeRef.ts', root directory '/src/project/node_modules/@types'. ========
Resolving with primary search path '/src/project/node_modules/@types'.
Looking up in 'node_modules' folder, initial location '/src/project'.
File '/src/project/node_modules/pkg2/package.json' does not exist according to earlier cached lookups.
File '/src/project/node_modules/pkg2.d.ts' does not exist.
File '/src/project/node_modules/pkg2/index.d.ts' exist - use it as a name resolution result.
Resolving real path for '/src/project/node_modules/pkg2/index.d.ts', result '/src/project/node_modules/pkg2/index.d.ts'.
======== Resolving type reference directive 'pkg2', containing file '/src/project/randomFileForTypeRef.ts'. ========
Resolution for type reference directive 'pkg2' was found in cache from location '/src/project'.
======== Type reference directive 'pkg2' was successfully resolved to '/src/project/node_modules/pkg2/index.d.ts', primary: false. ========
Reusing resolution of type reference directive 'pkg4' from '/src/project/__inferred type names__.ts' of old program, it was successfully resolved to '/src/project/node_modules/@types/pkg4/index.d.ts'.
fileWithImports.ts:2:40 - error TS2792: Cannot find module 'pkg1'. Did you mean to set the 'moduleResolution' option to 'node', or to add aliases to the 'paths' option?
@@ -616,10 +616,7 @@ Reusing resolution of module 'pkg1' from '/src/project/fileWithImports.ts' of ol
Reusing resolution of type reference directive 'pkg2' from '/src/project/fileWithTypeRefs.ts' of old program, it was successfully resolved to '/src/project/node_modules/pkg2/index.d.ts'.
Reusing resolution of type reference directive 'pkg3' from '/src/project/fileWithTypeRefs.ts' of old program, it was not resolved.
======== Resolving module 'pkg0' from '/src/project/randomFileForImport.ts'. ========
Module resolution kind is not specified, using 'Classic'.
File '/src/project/pkg0.ts' does not exist.
File '/src/project/pkg0.tsx' does not exist.
File '/src/project/pkg0.d.ts' exist - use it as a name resolution result.
Resolution for module 'pkg0' was found in cache from location '/src/project'.
======== Module name 'pkg0' was successfully resolved to '/src/project/pkg0.d.ts'. ========
Reusing resolution of type reference directive 'pkg4' from '/src/project/__inferred type names__.ts' of old program, it was successfully resolved to '/src/project/node_modules/@types/pkg4/index.d.ts'.
fileWithImports.ts:2:40 - error TS2792: Cannot find module 'pkg1'. Did you mean to set the 'moduleResolution' option to 'node', or to add aliases to the 'paths' option?
@@ -1035,13 +1032,8 @@ Reusing resolution of module 'pkg1' from '/src/project/fileWithImports.ts' of ol
Reusing resolution of type reference directive 'pkg2' from '/src/project/fileWithTypeRefs.ts' of old program, it was successfully resolved to '/src/project/node_modules/pkg2/index.d.ts'.
Reusing resolution of type reference directive 'pkg3' from '/src/project/fileWithTypeRefs.ts' of old program, it was not resolved.
Reusing resolution of module 'pkg0' from '/src/project/randomFileForImport.ts' of old program, it was successfully resolved to '/src/project/pkg0.d.ts'.
======== Resolving type reference directive 'pkg2', containing file '/src/project/randomFileForTypeRef.ts', root directory '/src/project/node_modules/@types'. ========
Resolving with primary search path '/src/project/node_modules/@types'.
Looking up in 'node_modules' folder, initial location '/src/project'.
File '/src/project/node_modules/pkg2/package.json' does not exist according to earlier cached lookups.
File '/src/project/node_modules/pkg2.d.ts' does not exist.
File '/src/project/node_modules/pkg2/index.d.ts' exist - use it as a name resolution result.
Resolving real path for '/src/project/node_modules/pkg2/index.d.ts', result '/src/project/node_modules/pkg2/index.d.ts'.
======== Resolving type reference directive 'pkg2', containing file '/src/project/randomFileForTypeRef.ts'. ========
Resolution for type reference directive 'pkg2' was found in cache from location '/src/project'.
======== Type reference directive 'pkg2' was successfully resolved to '/src/project/node_modules/pkg2/index.d.ts', primary: false. ========
Reusing resolution of type reference directive 'pkg4' from '/src/project/__inferred type names__.ts' of old program, it was successfully resolved to '/src/project/node_modules/@types/pkg4/index.d.ts'.
fileWithImports.ts:2:40 - error TS2792: Cannot find module 'pkg1'. Did you mean to set the 'moduleResolution' option to 'node', or to add aliases to the 'paths' option?
@@ -1443,20 +1443,7 @@ File '/src/project/package.json' does not exist according to earlier cached look
File '/src/package.json' does not exist according to earlier cached lookups.
File '/package.json' does not exist according to earlier cached lookups.
======== Resolving module 'pkg0' from '/src/project/randomFileForImport.ts'. ========
Explicitly specified module resolution kind: 'Node16'.
Resolving in ESM mode with conditions 'node', 'import', 'types'.
File '/src/project/package.json' does not exist according to earlier cached lookups.
File '/src/package.json' does not exist according to earlier cached lookups.
File '/package.json' does not exist according to earlier cached lookups.
Loading module 'pkg0' from 'node_modules' folder, target file types: TypeScript, JavaScript, Declaration.
File '/src/project/node_modules/pkg0/package.json' exists according to earlier cached lookups.
Matched 'exports' condition 'import'.
Using 'exports' subpath '.' with target './import.js'.
File name '/src/project/node_modules/pkg0/import.js' has a '.js' extension - stripping it.
File '/src/project/node_modules/pkg0/import.ts' does not exist.
File '/src/project/node_modules/pkg0/import.tsx' does not exist.
File '/src/project/node_modules/pkg0/import.d.ts' exist - use it as a name resolution result.
Resolving real path for '/src/project/node_modules/pkg0/import.d.ts', result '/src/project/node_modules/pkg0/import.d.ts'.
Resolution for module 'pkg0' was found in cache from location '/src/project'.
======== Module name 'pkg0' was successfully resolved to '/src/project/node_modules/pkg0/import.d.ts' with Package ID 'pkg0/import.d.ts@0.0.1'. ========
File '/src/project/package.json' does not exist according to earlier cached lookups.
File '/src/package.json' does not exist according to earlier cached lookups.
@@ -1677,13 +1664,13 @@ resolvedModules:
pkg0: esnext: {
"resolvedModule": {
"resolvedFileName": "/src/project/node_modules/pkg0/import.d.ts",
"extension": ".d.ts",
"isExternalLibraryImport": true,
"packageId": {
"name": "pkg0",
"subModuleName": "import.d.ts",
"version": "0.0.1"
}
},
"extension": ".d.ts"
},
"affectingLocations": [
"/src/project/node_modules/pkg0/package.json"
@@ -2189,15 +2176,8 @@ Reusing resolution of module 'pkg0' from '/src/project/randomFileForImport.ts' o
File '/src/project/package.json' does not exist according to earlier cached lookups.
File '/src/package.json' does not exist according to earlier cached lookups.
File '/package.json' does not exist according to earlier cached lookups.
======== Resolving type reference directive 'pkg2', containing file '/src/project/randomFileForTypeRef.ts', root directory '/src/project/node_modules/@types'. ========
Resolving with primary search path '/src/project/node_modules/@types'.
Looking up in 'node_modules' folder, initial location '/src/project'.
File '/src/project/node_modules/pkg2/package.json' exists according to earlier cached lookups.
Matched 'exports' condition 'import'.
Using 'exports' subpath '.' with target './import.js'.
File name '/src/project/node_modules/pkg2/import.js' has a '.js' extension - stripping it.
File '/src/project/node_modules/pkg2/import.d.ts' exist - use it as a name resolution result.
Resolving real path for '/src/project/node_modules/pkg2/import.d.ts', result '/src/project/node_modules/pkg2/import.d.ts'.
======== Resolving type reference directive 'pkg2', containing file '/src/project/randomFileForTypeRef.ts'. ========
Resolution for type reference directive 'pkg2' was found in cache from location '/src/project'.
======== Type reference directive 'pkg2' was successfully resolved to '/src/project/node_modules/pkg2/import.d.ts' with Package ID 'pkg2/import.d.ts@0.0.1', primary: false. ========
Reusing resolution of type reference directive 'pkg4' from '/src/project/__inferred type names__.ts' of old program, it was successfully resolved to '/src/project/node_modules/@types/pkg4/index.d.ts'.
File '/src/project/node_modules/@types/pkg4/package.json' does not exist according to earlier cached lookups.
@@ -2415,13 +2395,13 @@ resolvedModules:
pkg0: esnext: {
"resolvedModule": {
"resolvedFileName": "/src/project/node_modules/pkg0/import.d.ts",
"extension": ".d.ts",
"isExternalLibraryImport": true,
"packageId": {
"name": "pkg0",
"subModuleName": "import.d.ts",
"version": "0.0.1"
}
},
"extension": ".d.ts"
},
"affectingLocations": [
"/src/project/node_modules/pkg0/package.json"
@@ -2432,7 +2412,6 @@ File: /src/project/randomFileForTypeRef.ts
resolvedTypeReferenceDirectiveNames:
pkg2: esnext: {
"resolvedTypeReferenceDirective": {
"primary": false,
"resolvedFileName": "/src/project/node_modules/pkg2/import.d.ts",
"packageId": {
"name": "pkg2",
@@ -3174,13 +3153,13 @@ resolvedModules:
pkg0: esnext: {
"resolvedModule": {
"resolvedFileName": "/src/project/node_modules/pkg0/import.d.ts",
"extension": ".d.ts",
"isExternalLibraryImport": true,
"packageId": {
"name": "pkg0",
"subModuleName": "import.d.ts",
"version": "0.0.1"
}
},
"extension": ".d.ts"
},
"affectingLocations": [
"/src/project/node_modules/pkg0/package.json"
@@ -3191,7 +3170,6 @@ File: /src/project/randomFileForTypeRef.ts
resolvedTypeReferenceDirectiveNames:
pkg2: esnext: {
"resolvedTypeReferenceDirective": {
"primary": false,
"resolvedFileName": "/src/project/node_modules/pkg2/import.d.ts",
"packageId": {
"name": "pkg2",
@@ -4022,13 +4000,13 @@ resolvedModules:
pkg0: esnext: {
"resolvedModule": {
"resolvedFileName": "/src/project/node_modules/pkg0/import.d.ts",
"extension": ".d.ts",
"isExternalLibraryImport": true,
"packageId": {
"name": "pkg0",
"subModuleName": "import.d.ts",
"version": "0.0.1"
}
},
"extension": ".d.ts"
},
"affectingLocations": [
"/src/project/node_modules/pkg0/package.json"
@@ -4039,7 +4017,6 @@ File: /src/project/randomFileForTypeRef.ts
resolvedTypeReferenceDirectiveNames:
pkg2: esnext: {
"resolvedTypeReferenceDirective": {
"primary": false,
"resolvedFileName": "/src/project/node_modules/pkg2/import.d.ts",
"packageId": {
"name": "pkg2",
@@ -4836,13 +4813,13 @@ resolvedModules:
pkg0: esnext: {
"resolvedModule": {
"resolvedFileName": "/src/project/node_modules/pkg0/import.d.ts",
"extension": ".d.ts",
"isExternalLibraryImport": true,
"packageId": {
"name": "pkg0",
"subModuleName": "import.d.ts",
"version": "0.0.1"
}
},
"extension": ".d.ts"
},
"affectingLocations": [
"/src/project/node_modules/pkg0/package.json"
@@ -4853,7 +4830,6 @@ File: /src/project/randomFileForTypeRef.ts
resolvedTypeReferenceDirectiveNames:
pkg2: esnext: {
"resolvedTypeReferenceDirective": {
"primary": false,
"resolvedFileName": "/src/project/node_modules/pkg2/import.d.ts",
"packageId": {
"name": "pkg2",
@@ -5467,13 +5443,13 @@ resolvedModules:
pkg0: esnext: {
"resolvedModule": {
"resolvedFileName": "/src/project/node_modules/pkg0/import.d.ts",
"extension": ".d.ts",
"isExternalLibraryImport": true,
"packageId": {
"name": "pkg0",
"subModuleName": "import.d.ts",
"version": "0.0.1"
}
},
"extension": ".d.ts"
},
"affectingLocations": [
"/src/project/node_modules/pkg0/package.json"
@@ -5499,7 +5475,6 @@ File: /src/project/randomFileForTypeRef.ts
resolvedTypeReferenceDirectiveNames:
pkg2: esnext: {
"resolvedTypeReferenceDirective": {
"primary": false,
"resolvedFileName": "/src/project/node_modules/pkg2/import.d.ts",
"packageId": {
"name": "pkg2",
@@ -6045,7 +6020,6 @@ File: /src/project/randomFileForTypeRef.ts
resolvedTypeReferenceDirectiveNames:
pkg2: esnext: {
"resolvedTypeReferenceDirective": {
"primary": false,
"resolvedFileName": "/src/project/node_modules/pkg2/import.d.ts",
"packageId": {
"name": "pkg2",
@@ -977,20 +977,7 @@ File '/src/project/package.json' does not exist according to earlier cached look
File '/src/package.json' does not exist according to earlier cached lookups.
File '/package.json' does not exist according to earlier cached lookups.
======== Resolving module 'pkg0' from '/src/project/randomFileForImport.ts'. ========
Explicitly specified module resolution kind: 'Node16'.
Resolving in ESM mode with conditions 'node', 'import', 'types'.
File '/src/project/package.json' does not exist according to earlier cached lookups.
File '/src/package.json' does not exist according to earlier cached lookups.
File '/package.json' does not exist according to earlier cached lookups.
Loading module 'pkg0' from 'node_modules' folder, target file types: TypeScript, JavaScript, Declaration.
File '/src/project/node_modules/pkg0/package.json' exists according to earlier cached lookups.
Matched 'exports' condition 'import'.
Using 'exports' subpath '.' with target './import.js'.
File name '/src/project/node_modules/pkg0/import.js' has a '.js' extension - stripping it.
File '/src/project/node_modules/pkg0/import.ts' does not exist.
File '/src/project/node_modules/pkg0/import.tsx' does not exist.
File '/src/project/node_modules/pkg0/import.d.ts' exist - use it as a name resolution result.
Resolving real path for '/src/project/node_modules/pkg0/import.d.ts', result '/src/project/node_modules/pkg0/import.d.ts'.
Resolution for module 'pkg0' was found in cache from location '/src/project'.
======== Module name 'pkg0' was successfully resolved to '/src/project/node_modules/pkg0/import.d.ts' with Package ID 'pkg0/import.d.ts@0.0.1'. ========
File '/src/project/package.json' does not exist according to earlier cached lookups.
File '/src/package.json' does not exist according to earlier cached lookups.
@@ -1724,15 +1711,8 @@ Reusing resolution of module 'pkg0' from '/src/project/randomFileForImport.ts' o
File '/src/project/package.json' does not exist according to earlier cached lookups.
File '/src/package.json' does not exist according to earlier cached lookups.
File '/package.json' does not exist according to earlier cached lookups.
======== Resolving type reference directive 'pkg2', containing file '/src/project/randomFileForTypeRef.ts', root directory '/src/project/node_modules/@types'. ========
Resolving with primary search path '/src/project/node_modules/@types'.
Looking up in 'node_modules' folder, initial location '/src/project'.
File '/src/project/node_modules/pkg2/package.json' exists according to earlier cached lookups.
Matched 'exports' condition 'import'.
Using 'exports' subpath '.' with target './import.js'.
File name '/src/project/node_modules/pkg2/import.js' has a '.js' extension - stripping it.
File '/src/project/node_modules/pkg2/import.d.ts' exist - use it as a name resolution result.
Resolving real path for '/src/project/node_modules/pkg2/import.d.ts', result '/src/project/node_modules/pkg2/import.d.ts'.
======== Resolving type reference directive 'pkg2', containing file '/src/project/randomFileForTypeRef.ts'. ========
Resolution for type reference directive 'pkg2' was found in cache from location '/src/project'.
======== Type reference directive 'pkg2' was successfully resolved to '/src/project/node_modules/pkg2/import.d.ts' with Package ID 'pkg2/import.d.ts@0.0.1', primary: false. ========
Reusing resolution of type reference directive 'pkg4' from '/src/project/__inferred type names__.ts' of old program, it was successfully resolved to '/src/project/node_modules/@types/pkg4/index.d.ts'.
File '/src/project/node_modules/@types/pkg4/package.json' does not exist according to earlier cached lookups.
@@ -1348,10 +1348,7 @@ Reusing resolution of module './bRandomFileForImport' from '/src/project/bFileWi
Reusing resolution of module './aRandomFileForImport' from '/src/project/aFileWithImports.ts' of old program, it was successfully resolved to '/src/project/aRandomFileForImport.ts'.
Reusing resolution of module './aRandomFileForImport2' from '/src/project/aFileWithImports.ts' of old program, it was successfully resolved to '/src/project/aRandomFileForImport2.ts'.
======== Resolving module 'pkg0' from '/src/project/cRandomFileForImport.ts'. ========
Module resolution kind is not specified, using 'Classic'.
File '/src/project/pkg0.ts' does not exist.
File '/src/project/pkg0.tsx' does not exist.
File '/src/project/pkg0.d.ts' exist - use it as a name resolution result.
Resolution for module 'pkg0' was found in cache from location '/src/project'.
======== Module name 'pkg0' was successfully resolved to '/src/project/pkg0.d.ts'. ========
../../a/lib/lib.d.ts
Default library for target 'es5'
@@ -1454,8 +1451,7 @@ resolvedModules:
pkg0: {
"resolvedModule": {
"resolvedFileName": "/src/project/pkg0.d.ts",
"extension": ".d.ts",
"isExternalLibraryImport": false
"extension": ".d.ts"
}
}
@@ -1325,16 +1325,7 @@ Reusing resolution of module 'pkg0' from '/src/project/bFileWithImports.ts' of o
Reusing resolution of module './aRandomFileForImport' from '/src/project/aFileWithImports.ts' of old program, it was successfully resolved to '/src/project/aRandomFileForImport.ts'.
Reusing resolution of module './aRandomFileForImport2' from '/src/project/aFileWithImports.ts' of old program, it was successfully resolved to '/src/project/aRandomFileForImport2.ts'.
======== Resolving module 'pkg0' from '/src/project/bRandomFileForImport.ts'. ========
Module resolution kind is not specified, using 'NodeJs'.
Loading module 'pkg0' from 'node_modules' folder, target file types: TypeScript, Declaration.
File '/src/project/node_modules/pkg0/package.json' does not exist.
File '/src/project/node_modules/pkg0.ts' does not exist.
File '/src/project/node_modules/pkg0.tsx' does not exist.
File '/src/project/node_modules/pkg0.d.ts' does not exist.
File '/src/project/node_modules/pkg0/index.ts' does not exist.
File '/src/project/node_modules/pkg0/index.tsx' does not exist.
File '/src/project/node_modules/pkg0/index.d.ts' exist - use it as a name resolution result.
Resolving real path for '/src/project/node_modules/pkg0/index.d.ts', result '/src/project/node_modules/pkg0/index.d.ts'.
Resolution for module 'pkg0' was found in cache from location '/src/project'.
======== Module name 'pkg0' was successfully resolved to '/src/project/node_modules/pkg0/index.d.ts'. ========
../../a/lib/lib.d.ts
Default library for target 'es5'
@@ -1402,8 +1393,8 @@ resolvedModules:
pkg0: {
"resolvedModule": {
"resolvedFileName": "/src/project/node_modules/pkg0/index.d.ts",
"extension": ".d.ts",
"isExternalLibraryImport": true
"isExternalLibraryImport": true,
"extension": ".d.ts"
}
}
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
@@ -227,22 +227,7 @@ File '/user/username/package.json' does not exist according to earlier cached lo
File '/user/package.json' does not exist according to earlier cached lookups.
File '/package.json' does not exist according to earlier cached lookups.
======== Resolving module 'pkg' from '/user/username/projects/myproject/a.ts'. ========
Explicitly specified module resolution kind: 'Node16'.
Resolving in ESM mode with conditions 'node', 'import', 'types'.
File '/user/username/projects/myproject/package.json' does not exist according to earlier cached lookups.
File '/user/username/projects/package.json' does not exist according to earlier cached lookups.
File '/user/username/package.json' does not exist according to earlier cached lookups.
File '/user/package.json' does not exist according to earlier cached lookups.
File '/package.json' does not exist according to earlier cached lookups.
Loading module 'pkg' from 'node_modules' folder, target file types: TypeScript, JavaScript, Declaration.
File '/user/username/projects/myproject/node_modules/pkg/package.json' exists according to earlier cached lookups.
Matched 'exports' condition 'import'.
Using 'exports' subpath '.' with target './import.js'.
File name '/user/username/projects/myproject/node_modules/pkg/import.js' has a '.js' extension - stripping it.
File '/user/username/projects/myproject/node_modules/pkg/import.ts' does not exist.
File '/user/username/projects/myproject/node_modules/pkg/import.tsx' does not exist.
File '/user/username/projects/myproject/node_modules/pkg/import.d.ts' exist - use it as a name resolution result.
Resolving real path for '/user/username/projects/myproject/node_modules/pkg/import.d.ts', result '/user/username/projects/myproject/node_modules/pkg/import.d.ts'.
Resolution for module 'pkg' was found in cache from location '/user/username/projects/myproject'.
======== Module name 'pkg' was successfully resolved to '/user/username/projects/myproject/node_modules/pkg/import.d.ts' with Package ID 'pkg/import.d.ts@0.0.1'. ========
File '/user/username/projects/myproject/node_modules/pkg/package.json' exists according to earlier cached lookups.
File '/user/username/projects/myproject/package.json' does not exist according to earlier cached lookups.
@@ -247,15 +247,8 @@ File '/user/username/projects/package.json' does not exist according to earlier
File '/user/username/package.json' does not exist according to earlier cached lookups.
File '/user/package.json' does not exist according to earlier cached lookups.
File '/package.json' does not exist according to earlier cached lookups.
======== Resolving type reference directive 'pkg', containing file '/user/username/projects/myproject/a.ts', root directory '/user/username/projects/myproject/node_modules/@types'. ========
Resolving with primary search path '/user/username/projects/myproject/node_modules/@types'.
Looking up in 'node_modules' folder, initial location '/user/username/projects/myproject'.
File '/user/username/projects/myproject/node_modules/pkg/package.json' exists according to earlier cached lookups.
Matched 'exports' condition 'import'.
Using 'exports' subpath '.' with target './import.js'.
File name '/user/username/projects/myproject/node_modules/pkg/import.js' has a '.js' extension - stripping it.
File '/user/username/projects/myproject/node_modules/pkg/import.d.ts' exist - use it as a name resolution result.
Resolving real path for '/user/username/projects/myproject/node_modules/pkg/import.d.ts', result '/user/username/projects/myproject/node_modules/pkg/import.d.ts'.
======== Resolving type reference directive 'pkg', containing file '/user/username/projects/myproject/a.ts'. ========
Resolution for type reference directive 'pkg' was found in cache from location '/user/username/projects/myproject'.
======== Type reference directive 'pkg' was successfully resolved to '/user/username/projects/myproject/node_modules/pkg/import.d.ts' with Package ID 'pkg/import.d.ts@0.0.1', primary: false. ========
File '/user/username/projects/myproject/node_modules/pkg/package.json' exists according to earlier cached lookups.
File '/user/username/projects/myproject/package.json' does not exist according to earlier cached lookups.
@@ -853,7 +853,7 @@ Reusing resolution of module './b' from '/user/username/projects/transitiveRefer
Reusing resolution of module '@ref/a' from '/user/username/projects/transitiveReferences/c.ts' of old program, it was successfully resolved to '/user/username/projects/transitiveReferences/refs/a.d.ts'.
======== Resolving module '@ref/a' from '/user/username/projects/transitiveReferences/b.ts'. ========
Using compiler options of project reference redirect '/user/username/projects/transitiveReferences/tsconfig.b.json'.
Module resolution kind is not specified, using 'NodeJs'.
Resolution for module '@ref/a' was found in cache from location '/user/username/projects/transitiveReferences'.
======== Module name '@ref/a' was successfully resolved to '/user/username/projects/transitiveReferences/refs/a.d.ts'. ========
../../../../a/lib/lib.d.ts
Default library for target 'es5'
@@ -368,16 +368,13 @@ Info 91 [00:02:22.000] Reusing resolution of module 'pkg1' from '/src/project/
Info 92 [00:02:23.000] Reusing resolution of type reference directive 'pkg2' from '/src/project/fileWithTypeRefs.ts' of old program, it was successfully resolved to '/src/project/node_modules/pkg2/index.d.ts'.
Info 93 [00:02:24.000] Reusing resolution of type reference directive 'pkg3' from '/src/project/fileWithTypeRefs.ts' of old program, it was not resolved.
Info 94 [00:02:25.000] ======== Resolving module 'pkg0' from '/src/project/randomFileForImport.ts'. ========
Info 95 [00:02:26.000] Module resolution kind is not specified, using 'Classic'.
Info 96 [00:02:27.000] File '/src/project/pkg0.ts' does not exist.
Info 97 [00:02:28.000] File '/src/project/pkg0.tsx' does not exist.
Info 98 [00:02:29.000] File '/src/project/pkg0.d.ts' exist - use it as a name resolution result.
Info 99 [00:02:30.000] ======== Module name 'pkg0' was successfully resolved to '/src/project/pkg0.d.ts'. ========
Info 100 [00:02:31.000] Reusing resolution of type reference directive 'pkg4' from '/src/project/__inferred type names__.ts' of old program, it was successfully resolved to '/src/project/node_modules/@types/pkg4/index.d.ts'.
Info 101 [00:02:32.000] Finishing updateGraphWorker: Project: /src/project/tsconfig.json Version: 2 structureChanged: true structureIsReused:: SafeModules Elapsed:: *ms
Info 102 [00:02:33.000] Different program with same set of files
Info 103 [00:02:34.000] modify randomFileForTypeRef by adding typeRef
Info 104 [00:02:35.000] request:
Info 95 [00:02:26.000] Resolution for module 'pkg0' was found in cache from location '/src/project'.
Info 96 [00:02:27.000] ======== Module name 'pkg0' was successfully resolved to '/src/project/pkg0.d.ts'. ========
Info 97 [00:02:28.000] Reusing resolution of type reference directive 'pkg4' from '/src/project/__inferred type names__.ts' of old program, it was successfully resolved to '/src/project/node_modules/@types/pkg4/index.d.ts'.
Info 98 [00:02:29.000] Finishing updateGraphWorker: Project: /src/project/tsconfig.json Version: 2 structureChanged: true structureIsReused:: SafeModules Elapsed:: *ms
Info 99 [00:02:30.000] Different program with same set of files
Info 100 [00:02:31.000] modify randomFileForTypeRef by adding typeRef
Info 101 [00:02:32.000] request:
{
"command": "change",
"arguments": {
@@ -439,34 +436,29 @@ FsWatchesRecursive::
/src/project/node_modules/@types:
{}
Info 105 [00:02:36.000] response:
Info 102 [00:02:33.000] response:
{
"responseRequired": false
}
Info 106 [00:02:37.000] Starting updateGraphWorker: Project: /src/project/tsconfig.json
Info 107 [00:02:38.000] Reusing resolution of module 'pkg0' from '/src/project/fileWithImports.ts' of old program, it was successfully resolved to '/src/project/pkg0.d.ts'.
Info 108 [00:02:39.000] Reusing resolution of module 'pkg1' from '/src/project/fileWithImports.ts' of old program, it was not resolved.
Info 109 [00:02:40.000] Reusing resolution of type reference directive 'pkg2' from '/src/project/fileWithTypeRefs.ts' of old program, it was successfully resolved to '/src/project/node_modules/pkg2/index.d.ts'.
Info 110 [00:02:41.000] Reusing resolution of type reference directive 'pkg3' from '/src/project/fileWithTypeRefs.ts' of old program, it was not resolved.
Info 111 [00:02:42.000] Reusing resolution of module 'pkg0' from '/src/project/randomFileForImport.ts' of old program, it was successfully resolved to '/src/project/pkg0.d.ts'.
Info 112 [00:02:43.000] ======== Resolving type reference directive 'pkg2', containing file '/src/project/randomFileForTypeRef.ts', root directory '/src/project/node_modules/@types'. ========
Info 113 [00:02:44.000] Resolving with primary search path '/src/project/node_modules/@types'.
Info 114 [00:02:45.000] Looking up in 'node_modules' folder, initial location '/src/project'.
Info 115 [00:02:46.000] File '/src/project/node_modules/pkg2/package.json' does not exist according to earlier cached lookups.
Info 116 [00:02:47.000] File '/src/project/node_modules/pkg2.d.ts' does not exist.
Info 117 [00:02:48.000] File '/src/project/node_modules/pkg2/index.d.ts' exist - use it as a name resolution result.
Info 118 [00:02:49.000] Resolving real path for '/src/project/node_modules/pkg2/index.d.ts', result '/src/project/node_modules/pkg2/index.d.ts'.
Info 119 [00:02:50.000] ======== Type reference directive 'pkg2' was successfully resolved to '/src/project/node_modules/pkg2/index.d.ts', primary: false. ========
Info 120 [00:02:51.000] Reusing resolution of type reference directive 'pkg4' from '/src/project/__inferred type names__.ts' of old program, it was successfully resolved to '/src/project/node_modules/@types/pkg4/index.d.ts'.
Info 121 [00:02:52.000] Finishing updateGraphWorker: Project: /src/project/tsconfig.json Version: 3 structureChanged: true structureIsReused:: SafeModules Elapsed:: *ms
Info 122 [00:02:53.000] Different program with same set of files
Info 123 [00:02:54.000] write file not resolved by import
Info 124 [00:02:57.000] DirectoryWatcher:: Triggered with /src/project/pkg1.d.ts :: WatchInfo: /src/project 0 undefined Config: /src/project/tsconfig.json WatchType: Wild card directory
Info 125 [00:02:58.000] Project: /src/project/tsconfig.json Detected excluded file: /src/project/pkg1.d.ts
Info 126 [00:02:59.000] Elapsed:: *ms DirectoryWatcher:: Triggered with /src/project/pkg1.d.ts :: WatchInfo: /src/project 0 undefined Config: /src/project/tsconfig.json WatchType: Wild card directory
Info 127 [00:03:00.000] DirectoryWatcher:: Triggered with /src/project/pkg1.d.ts :: WatchInfo: /src/project 0 undefined Project: /src/project/tsconfig.json WatchType: Failed Lookup Locations
Info 128 [00:03:01.000] Scheduled: /src/project/tsconfig.jsonFailedLookupInvalidation
Info 129 [00:03:02.000] Elapsed:: *ms DirectoryWatcher:: Triggered with /src/project/pkg1.d.ts :: WatchInfo: /src/project 0 undefined Project: /src/project/tsconfig.json WatchType: Failed Lookup Locations
Info 103 [00:02:34.000] Starting updateGraphWorker: Project: /src/project/tsconfig.json
Info 104 [00:02:35.000] Reusing resolution of module 'pkg0' from '/src/project/fileWithImports.ts' of old program, it was successfully resolved to '/src/project/pkg0.d.ts'.
Info 105 [00:02:36.000] Reusing resolution of module 'pkg1' from '/src/project/fileWithImports.ts' of old program, it was not resolved.
Info 106 [00:02:37.000] Reusing resolution of type reference directive 'pkg2' from '/src/project/fileWithTypeRefs.ts' of old program, it was successfully resolved to '/src/project/node_modules/pkg2/index.d.ts'.
Info 107 [00:02:38.000] Reusing resolution of type reference directive 'pkg3' from '/src/project/fileWithTypeRefs.ts' of old program, it was not resolved.
Info 108 [00:02:39.000] Reusing resolution of module 'pkg0' from '/src/project/randomFileForImport.ts' of old program, it was successfully resolved to '/src/project/pkg0.d.ts'.
Info 109 [00:02:40.000] ======== Resolving type reference directive 'pkg2', containing file '/src/project/randomFileForTypeRef.ts'. ========
Info 110 [00:02:41.000] Resolution for type reference directive 'pkg2' was found in cache from location '/src/project'.
Info 111 [00:02:42.000] ======== Type reference directive 'pkg2' was successfully resolved to '/src/project/node_modules/pkg2/index.d.ts', primary: false. ========
Info 112 [00:02:43.000] Reusing resolution of type reference directive 'pkg4' from '/src/project/__inferred type names__.ts' of old program, it was successfully resolved to '/src/project/node_modules/@types/pkg4/index.d.ts'.
Info 113 [00:02:44.000] Finishing updateGraphWorker: Project: /src/project/tsconfig.json Version: 3 structureChanged: true structureIsReused:: SafeModules Elapsed:: *ms
Info 114 [00:02:45.000] Different program with same set of files
Info 115 [00:02:46.000] write file not resolved by import
Info 116 [00:02:49.000] DirectoryWatcher:: Triggered with /src/project/pkg1.d.ts :: WatchInfo: /src/project 0 undefined Config: /src/project/tsconfig.json WatchType: Wild card directory
Info 117 [00:02:50.000] Project: /src/project/tsconfig.json Detected excluded file: /src/project/pkg1.d.ts
Info 118 [00:02:51.000] Elapsed:: *ms DirectoryWatcher:: Triggered with /src/project/pkg1.d.ts :: WatchInfo: /src/project 0 undefined Config: /src/project/tsconfig.json WatchType: Wild card directory
Info 119 [00:02:52.000] DirectoryWatcher:: Triggered with /src/project/pkg1.d.ts :: WatchInfo: /src/project 0 undefined Project: /src/project/tsconfig.json WatchType: Failed Lookup Locations
Info 120 [00:02:53.000] Scheduled: /src/project/tsconfig.jsonFailedLookupInvalidation
Info 121 [00:02:54.000] Elapsed:: *ms DirectoryWatcher:: Triggered with /src/project/pkg1.d.ts :: WatchInfo: /src/project 0 undefined Project: /src/project/tsconfig.json WatchType: Failed Lookup Locations
Before running timeout callbacks
//// [/src/project/pkg1.d.ts]
export interface RequireInterface1 {}
@@ -494,9 +486,9 @@ FsWatchesRecursive::
/src/project/node_modules/@types:
{}
Info 130 [00:03:03.000] Running: /src/project/tsconfig.jsonFailedLookupInvalidation
Info 131 [00:03:04.000] Scheduled: /src/project/tsconfig.json
Info 132 [00:03:05.000] Scheduled: *ensureProjectForOpenFiles*
Info 122 [00:02:55.000] Running: /src/project/tsconfig.jsonFailedLookupInvalidation
Info 123 [00:02:56.000] Scheduled: /src/project/tsconfig.json
Info 124 [00:02:57.000] Scheduled: *ensureProjectForOpenFiles*
After running timeout callbacks
PolledWatches::
@@ -545,26 +537,26 @@ FsWatchesRecursive::
/src/project/node_modules/@types:
{}
Info 133 [00:03:06.000] Running: /src/project/tsconfig.json
Info 134 [00:03:07.000] Starting updateGraphWorker: Project: /src/project/tsconfig.json
Info 135 [00:03:08.000] Reusing resolution of module 'pkg0' from '/src/project/fileWithImports.ts' of old program, it was successfully resolved to '/src/project/pkg0.d.ts'.
Info 136 [00:03:09.000] ======== Resolving module 'pkg1' from '/src/project/fileWithImports.ts'. ========
Info 137 [00:03:10.000] Module resolution kind is not specified, using 'Classic'.
Info 138 [00:03:11.000] File '/src/project/pkg1.ts' does not exist.
Info 139 [00:03:12.000] File '/src/project/pkg1.tsx' does not exist.
Info 140 [00:03:13.000] File '/src/project/pkg1.d.ts' exist - use it as a name resolution result.
Info 141 [00:03:14.000] ======== Module name 'pkg1' was successfully resolved to '/src/project/pkg1.d.ts'. ========
Info 142 [00:03:15.000] FileWatcher:: Added:: WatchInfo: /src/project/pkg1.d.ts 500 undefined WatchType: Closed Script info
Info 143 [00:03:16.000] Reusing resolution of type reference directive 'pkg2' from '/src/project/fileWithTypeRefs.ts' of old program, it was successfully resolved to '/src/project/node_modules/pkg2/index.d.ts'.
Info 144 [00:03:17.000] Reusing resolution of type reference directive 'pkg3' from '/src/project/fileWithTypeRefs.ts' of old program, it was not resolved.
Info 145 [00:03:18.000] Reusing resolution of module 'pkg0' from '/src/project/randomFileForImport.ts' of old program, it was successfully resolved to '/src/project/pkg0.d.ts'.
Info 146 [00:03:19.000] Reusing resolution of type reference directive 'pkg2' from '/src/project/randomFileForTypeRef.ts' of old program, it was successfully resolved to '/src/project/node_modules/pkg2/index.d.ts'.
Info 147 [00:03:20.000] Reusing resolution of type reference directive 'pkg4' from '/src/project/__inferred type names__.ts' of old program, it was successfully resolved to '/src/project/node_modules/@types/pkg4/index.d.ts'.
Info 148 [00:03:21.000] DirectoryWatcher:: Close:: WatchInfo: /src/project 0 undefined Project: /src/project/tsconfig.json WatchType: Failed Lookup Locations
Info 149 [00:03:22.000] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /src/project 0 undefined Project: /src/project/tsconfig.json WatchType: Failed Lookup Locations
Info 150 [00:03:23.000] Finishing updateGraphWorker: Project: /src/project/tsconfig.json Version: 4 structureChanged: true structureIsReused:: SafeModules Elapsed:: *ms
Info 151 [00:03:24.000] Project '/src/project/tsconfig.json' (Configured)
Info 152 [00:03:25.000] Files (9)
Info 125 [00:02:58.000] Running: /src/project/tsconfig.json
Info 126 [00:02:59.000] Starting updateGraphWorker: Project: /src/project/tsconfig.json
Info 127 [00:03:00.000] Reusing resolution of module 'pkg0' from '/src/project/fileWithImports.ts' of old program, it was successfully resolved to '/src/project/pkg0.d.ts'.
Info 128 [00:03:01.000] ======== Resolving module 'pkg1' from '/src/project/fileWithImports.ts'. ========
Info 129 [00:03:02.000] Module resolution kind is not specified, using 'Classic'.
Info 130 [00:03:03.000] File '/src/project/pkg1.ts' does not exist.
Info 131 [00:03:04.000] File '/src/project/pkg1.tsx' does not exist.
Info 132 [00:03:05.000] File '/src/project/pkg1.d.ts' exist - use it as a name resolution result.
Info 133 [00:03:06.000] ======== Module name 'pkg1' was successfully resolved to '/src/project/pkg1.d.ts'. ========
Info 134 [00:03:07.000] FileWatcher:: Added:: WatchInfo: /src/project/pkg1.d.ts 500 undefined WatchType: Closed Script info
Info 135 [00:03:08.000] Reusing resolution of type reference directive 'pkg2' from '/src/project/fileWithTypeRefs.ts' of old program, it was successfully resolved to '/src/project/node_modules/pkg2/index.d.ts'.
Info 136 [00:03:09.000] Reusing resolution of type reference directive 'pkg3' from '/src/project/fileWithTypeRefs.ts' of old program, it was not resolved.
Info 137 [00:03:10.000] Reusing resolution of module 'pkg0' from '/src/project/randomFileForImport.ts' of old program, it was successfully resolved to '/src/project/pkg0.d.ts'.
Info 138 [00:03:11.000] Reusing resolution of type reference directive 'pkg2' from '/src/project/randomFileForTypeRef.ts' of old program, it was successfully resolved to '/src/project/node_modules/pkg2/index.d.ts'.
Info 139 [00:03:12.000] Reusing resolution of type reference directive 'pkg4' from '/src/project/__inferred type names__.ts' of old program, it was successfully resolved to '/src/project/node_modules/@types/pkg4/index.d.ts'.
Info 140 [00:03:13.000] DirectoryWatcher:: Close:: WatchInfo: /src/project 0 undefined Project: /src/project/tsconfig.json WatchType: Failed Lookup Locations
Info 141 [00:03:14.000] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /src/project 0 undefined Project: /src/project/tsconfig.json WatchType: Failed Lookup Locations
Info 142 [00:03:15.000] Finishing updateGraphWorker: Project: /src/project/tsconfig.json Version: 4 structureChanged: true structureIsReused:: SafeModules Elapsed:: *ms
Info 143 [00:03:16.000] Project '/src/project/tsconfig.json' (Configured)
Info 144 [00:03:17.000] Files (9)
/a/lib/lib.d.ts
/src/project/pkg0.d.ts
/src/project/pkg1.d.ts
@@ -596,28 +588,28 @@ Info 152 [00:03:25.000] Files (9)
node_modules/@types/pkg4/index.d.ts
Entry point for implicit type library 'pkg4'
Info 153 [00:03:26.000] -----------------------------------------------
Info 154 [00:03:27.000] Running: *ensureProjectForOpenFiles*
Info 155 [00:03:28.000] Before ensureProjectForOpenFiles:
Info 156 [00:03:29.000] Project '/src/project/tsconfig.json' (Configured)
Info 156 [00:03:30.000] Files (9)
Info 145 [00:03:18.000] -----------------------------------------------
Info 146 [00:03:19.000] Running: *ensureProjectForOpenFiles*
Info 147 [00:03:20.000] Before ensureProjectForOpenFiles:
Info 148 [00:03:21.000] Project '/src/project/tsconfig.json' (Configured)
Info 148 [00:03:22.000] Files (9)
Info 156 [00:03:31.000] -----------------------------------------------
Info 156 [00:03:32.000] Open files:
Info 156 [00:03:33.000] FileName: /src/project/randomFileForImport.ts ProjectRootPath: undefined
Info 156 [00:03:34.000] Projects: /src/project/tsconfig.json
Info 156 [00:03:35.000] FileName: /src/project/randomFileForTypeRef.ts ProjectRootPath: undefined
Info 156 [00:03:36.000] Projects: /src/project/tsconfig.json
Info 156 [00:03:37.000] After ensureProjectForOpenFiles:
Info 157 [00:03:38.000] Project '/src/project/tsconfig.json' (Configured)
Info 157 [00:03:39.000] Files (9)
Info 148 [00:03:23.000] -----------------------------------------------
Info 148 [00:03:24.000] Open files:
Info 148 [00:03:25.000] FileName: /src/project/randomFileForImport.ts ProjectRootPath: undefined
Info 148 [00:03:26.000] Projects: /src/project/tsconfig.json
Info 148 [00:03:27.000] FileName: /src/project/randomFileForTypeRef.ts ProjectRootPath: undefined
Info 148 [00:03:28.000] Projects: /src/project/tsconfig.json
Info 148 [00:03:29.000] After ensureProjectForOpenFiles:
Info 149 [00:03:30.000] Project '/src/project/tsconfig.json' (Configured)
Info 149 [00:03:31.000] Files (9)
Info 157 [00:03:40.000] -----------------------------------------------
Info 157 [00:03:41.000] Open files:
Info 157 [00:03:42.000] FileName: /src/project/randomFileForImport.ts ProjectRootPath: undefined
Info 157 [00:03:43.000] Projects: /src/project/tsconfig.json
Info 157 [00:03:44.000] FileName: /src/project/randomFileForTypeRef.ts ProjectRootPath: undefined
Info 157 [00:03:45.000] Projects: /src/project/tsconfig.json
Info 149 [00:03:32.000] -----------------------------------------------
Info 149 [00:03:33.000] Open files:
Info 149 [00:03:34.000] FileName: /src/project/randomFileForImport.ts ProjectRootPath: undefined
Info 149 [00:03:35.000] Projects: /src/project/tsconfig.json
Info 149 [00:03:36.000] FileName: /src/project/randomFileForTypeRef.ts ProjectRootPath: undefined
Info 149 [00:03:37.000] Projects: /src/project/tsconfig.json
After running timeout callbacks
PolledWatches::
@@ -644,17 +636,17 @@ FsWatchesRecursive::
/src/project/node_modules/@types:
{}
Info 157 [00:03:46.000] write file not resolved by typeRef
Info 158 [00:03:50.000] DirectoryWatcher:: Triggered with /src/project/node_modules/pkg3 :: WatchInfo: /src/project/node_modules 1 undefined WatchType: node_modules for closed script infos and package.jsons affecting module specifier cache
Info 159 [00:03:51.000] Elapsed:: *ms DirectoryWatcher:: Triggered with /src/project/node_modules/pkg3 :: WatchInfo: /src/project/node_modules 1 undefined WatchType: node_modules for closed script infos and package.jsons affecting module specifier cache
Info 160 [00:03:52.000] DirectoryWatcher:: Triggered with /src/project/node_modules/pkg3 :: WatchInfo: /src/project/node_modules 1 undefined Project: /src/project/tsconfig.json WatchType: Failed Lookup Locations
Info 161 [00:03:53.000] Scheduled: /src/project/tsconfig.jsonFailedLookupInvalidation
Info 162 [00:03:54.000] Elapsed:: *ms DirectoryWatcher:: Triggered with /src/project/node_modules/pkg3 :: WatchInfo: /src/project/node_modules 1 undefined Project: /src/project/tsconfig.json WatchType: Failed Lookup Locations
Info 163 [00:03:56.000] DirectoryWatcher:: Triggered with /src/project/node_modules/pkg3/index.d.ts :: WatchInfo: /src/project/node_modules 1 undefined WatchType: node_modules for closed script infos and package.jsons affecting module specifier cache
Info 164 [00:03:57.000] Elapsed:: *ms DirectoryWatcher:: Triggered with /src/project/node_modules/pkg3/index.d.ts :: WatchInfo: /src/project/node_modules 1 undefined WatchType: node_modules for closed script infos and package.jsons affecting module specifier cache
Info 165 [00:03:58.000] DirectoryWatcher:: Triggered with /src/project/node_modules/pkg3/index.d.ts :: WatchInfo: /src/project/node_modules 1 undefined Project: /src/project/tsconfig.json WatchType: Failed Lookup Locations
Info 166 [00:03:59.000] Scheduled: /src/project/tsconfig.jsonFailedLookupInvalidation, Cancelled earlier one
Info 167 [00:04:00.000] Elapsed:: *ms DirectoryWatcher:: Triggered with /src/project/node_modules/pkg3/index.d.ts :: WatchInfo: /src/project/node_modules 1 undefined Project: /src/project/tsconfig.json WatchType: Failed Lookup Locations
Info 149 [00:03:38.000] write file not resolved by typeRef
Info 150 [00:03:42.000] DirectoryWatcher:: Triggered with /src/project/node_modules/pkg3 :: WatchInfo: /src/project/node_modules 1 undefined WatchType: node_modules for closed script infos and package.jsons affecting module specifier cache
Info 151 [00:03:43.000] Elapsed:: *ms DirectoryWatcher:: Triggered with /src/project/node_modules/pkg3 :: WatchInfo: /src/project/node_modules 1 undefined WatchType: node_modules for closed script infos and package.jsons affecting module specifier cache
Info 152 [00:03:44.000] DirectoryWatcher:: Triggered with /src/project/node_modules/pkg3 :: WatchInfo: /src/project/node_modules 1 undefined Project: /src/project/tsconfig.json WatchType: Failed Lookup Locations
Info 153 [00:03:45.000] Scheduled: /src/project/tsconfig.jsonFailedLookupInvalidation
Info 154 [00:03:46.000] Elapsed:: *ms DirectoryWatcher:: Triggered with /src/project/node_modules/pkg3 :: WatchInfo: /src/project/node_modules 1 undefined Project: /src/project/tsconfig.json WatchType: Failed Lookup Locations
Info 155 [00:03:48.000] DirectoryWatcher:: Triggered with /src/project/node_modules/pkg3/index.d.ts :: WatchInfo: /src/project/node_modules 1 undefined WatchType: node_modules for closed script infos and package.jsons affecting module specifier cache
Info 156 [00:03:49.000] Elapsed:: *ms DirectoryWatcher:: Triggered with /src/project/node_modules/pkg3/index.d.ts :: WatchInfo: /src/project/node_modules 1 undefined WatchType: node_modules for closed script infos and package.jsons affecting module specifier cache
Info 157 [00:03:50.000] DirectoryWatcher:: Triggered with /src/project/node_modules/pkg3/index.d.ts :: WatchInfo: /src/project/node_modules 1 undefined Project: /src/project/tsconfig.json WatchType: Failed Lookup Locations
Info 158 [00:03:51.000] Scheduled: /src/project/tsconfig.jsonFailedLookupInvalidation, Cancelled earlier one
Info 159 [00:03:52.000] Elapsed:: *ms DirectoryWatcher:: Triggered with /src/project/node_modules/pkg3/index.d.ts :: WatchInfo: /src/project/node_modules 1 undefined Project: /src/project/tsconfig.json WatchType: Failed Lookup Locations
Before running timeout callbacks
//// [/src/project/node_modules/pkg3/index.d.ts]
export interface RequireInterface3 {}
@@ -684,9 +676,9 @@ FsWatchesRecursive::
/src/project/node_modules/@types:
{}
Info 168 [00:04:01.000] Running: /src/project/tsconfig.jsonFailedLookupInvalidation
Info 169 [00:04:02.000] Scheduled: /src/project/tsconfig.json
Info 170 [00:04:03.000] Scheduled: *ensureProjectForOpenFiles*
Info 160 [00:03:53.000] Running: /src/project/tsconfig.jsonFailedLookupInvalidation
Info 161 [00:03:54.000] Scheduled: /src/project/tsconfig.json
Info 162 [00:03:55.000] Scheduled: *ensureProjectForOpenFiles*
After running timeout callbacks
PolledWatches::
@@ -739,27 +731,27 @@ FsWatchesRecursive::
/src/project/node_modules/@types:
{}
Info 171 [00:04:04.000] Running: /src/project/tsconfig.json
Info 172 [00:04:05.000] Starting updateGraphWorker: Project: /src/project/tsconfig.json
Info 173 [00:04:06.000] Reusing resolution of module 'pkg0' from '/src/project/fileWithImports.ts' of old program, it was successfully resolved to '/src/project/pkg0.d.ts'.
Info 174 [00:04:07.000] Reusing resolution of module 'pkg1' from '/src/project/fileWithImports.ts' of old program, it was successfully resolved to '/src/project/pkg1.d.ts'.
Info 175 [00:04:08.000] Reusing resolution of type reference directive 'pkg2' from '/src/project/fileWithTypeRefs.ts' of old program, it was successfully resolved to '/src/project/node_modules/pkg2/index.d.ts'.
Info 176 [00:04:09.000] ======== Resolving type reference directive 'pkg3', containing file '/src/project/fileWithTypeRefs.ts', root directory '/src/project/node_modules/@types'. ========
Info 177 [00:04:10.000] Resolving with primary search path '/src/project/node_modules/@types'.
Info 178 [00:04:11.000] Looking up in 'node_modules' folder, initial location '/src/project'.
Info 179 [00:04:12.000] File '/src/project/node_modules/pkg3/package.json' does not exist.
Info 180 [00:04:13.000] File '/src/project/node_modules/pkg3.d.ts' does not exist.
Info 181 [00:04:14.000] File '/src/project/node_modules/pkg3/index.d.ts' exist - use it as a name resolution result.
Info 182 [00:04:15.000] Resolving real path for '/src/project/node_modules/pkg3/index.d.ts', result '/src/project/node_modules/pkg3/index.d.ts'.
Info 183 [00:04:16.000] ======== Type reference directive 'pkg3' was successfully resolved to '/src/project/node_modules/pkg3/index.d.ts', primary: false. ========
Info 184 [00:04:17.000] Reusing resolution of module 'pkg0' from '/src/project/randomFileForImport.ts' of old program, it was successfully resolved to '/src/project/pkg0.d.ts'.
Info 185 [00:04:18.000] Reusing resolution of type reference directive 'pkg2' from '/src/project/randomFileForTypeRef.ts' of old program, it was successfully resolved to '/src/project/node_modules/pkg2/index.d.ts'.
Info 186 [00:04:19.000] Reusing resolution of type reference directive 'pkg4' from '/src/project/__inferred type names__.ts' of old program, it was successfully resolved to '/src/project/node_modules/@types/pkg4/index.d.ts'.
Info 187 [00:04:20.000] DirectoryWatcher:: Close:: WatchInfo: /src/project/node_modules 1 undefined Project: /src/project/tsconfig.json WatchType: Failed Lookup Locations
Info 188 [00:04:21.000] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /src/project/node_modules 1 undefined Project: /src/project/tsconfig.json WatchType: Failed Lookup Locations
Info 189 [00:04:22.000] Finishing updateGraphWorker: Project: /src/project/tsconfig.json Version: 5 structureChanged: true structureIsReused:: SafeModules Elapsed:: *ms
Info 190 [00:04:23.000] Project '/src/project/tsconfig.json' (Configured)
Info 191 [00:04:24.000] Files (10)
Info 163 [00:03:56.000] Running: /src/project/tsconfig.json
Info 164 [00:03:57.000] Starting updateGraphWorker: Project: /src/project/tsconfig.json
Info 165 [00:03:58.000] Reusing resolution of module 'pkg0' from '/src/project/fileWithImports.ts' of old program, it was successfully resolved to '/src/project/pkg0.d.ts'.
Info 166 [00:03:59.000] Reusing resolution of module 'pkg1' from '/src/project/fileWithImports.ts' of old program, it was successfully resolved to '/src/project/pkg1.d.ts'.
Info 167 [00:04:00.000] Reusing resolution of type reference directive 'pkg2' from '/src/project/fileWithTypeRefs.ts' of old program, it was successfully resolved to '/src/project/node_modules/pkg2/index.d.ts'.
Info 168 [00:04:01.000] ======== Resolving type reference directive 'pkg3', containing file '/src/project/fileWithTypeRefs.ts', root directory '/src/project/node_modules/@types'. ========
Info 169 [00:04:02.000] Resolving with primary search path '/src/project/node_modules/@types'.
Info 170 [00:04:03.000] Looking up in 'node_modules' folder, initial location '/src/project'.
Info 171 [00:04:04.000] File '/src/project/node_modules/pkg3/package.json' does not exist.
Info 172 [00:04:05.000] File '/src/project/node_modules/pkg3.d.ts' does not exist.
Info 173 [00:04:06.000] File '/src/project/node_modules/pkg3/index.d.ts' exist - use it as a name resolution result.
Info 174 [00:04:07.000] Resolving real path for '/src/project/node_modules/pkg3/index.d.ts', result '/src/project/node_modules/pkg3/index.d.ts'.
Info 175 [00:04:08.000] ======== Type reference directive 'pkg3' was successfully resolved to '/src/project/node_modules/pkg3/index.d.ts', primary: false. ========
Info 176 [00:04:09.000] Reusing resolution of module 'pkg0' from '/src/project/randomFileForImport.ts' of old program, it was successfully resolved to '/src/project/pkg0.d.ts'.
Info 177 [00:04:10.000] Reusing resolution of type reference directive 'pkg2' from '/src/project/randomFileForTypeRef.ts' of old program, it was successfully resolved to '/src/project/node_modules/pkg2/index.d.ts'.
Info 178 [00:04:11.000] Reusing resolution of type reference directive 'pkg4' from '/src/project/__inferred type names__.ts' of old program, it was successfully resolved to '/src/project/node_modules/@types/pkg4/index.d.ts'.
Info 179 [00:04:12.000] DirectoryWatcher:: Close:: WatchInfo: /src/project/node_modules 1 undefined Project: /src/project/tsconfig.json WatchType: Failed Lookup Locations
Info 180 [00:04:13.000] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /src/project/node_modules 1 undefined Project: /src/project/tsconfig.json WatchType: Failed Lookup Locations
Info 181 [00:04:14.000] Finishing updateGraphWorker: Project: /src/project/tsconfig.json Version: 5 structureChanged: true structureIsReused:: SafeModules Elapsed:: *ms
Info 182 [00:04:15.000] Project '/src/project/tsconfig.json' (Configured)
Info 183 [00:04:16.000] Files (10)
/a/lib/lib.d.ts
/src/project/pkg0.d.ts
/src/project/pkg1.d.ts
@@ -794,28 +786,28 @@ Info 191 [00:04:24.000] Files (10)
node_modules/@types/pkg4/index.d.ts
Entry point for implicit type library 'pkg4'
Info 192 [00:04:25.000] -----------------------------------------------
Info 193 [00:04:26.000] Running: *ensureProjectForOpenFiles*
Info 194 [00:04:27.000] Before ensureProjectForOpenFiles:
Info 195 [00:04:28.000] Project '/src/project/tsconfig.json' (Configured)
Info 195 [00:04:29.000] Files (10)
Info 184 [00:04:17.000] -----------------------------------------------
Info 185 [00:04:18.000] Running: *ensureProjectForOpenFiles*
Info 186 [00:04:19.000] Before ensureProjectForOpenFiles:
Info 187 [00:04:20.000] Project '/src/project/tsconfig.json' (Configured)
Info 187 [00:04:21.000] Files (10)
Info 195 [00:04:30.000] -----------------------------------------------
Info 195 [00:04:31.000] Open files:
Info 195 [00:04:32.000] FileName: /src/project/randomFileForImport.ts ProjectRootPath: undefined
Info 195 [00:04:33.000] Projects: /src/project/tsconfig.json
Info 195 [00:04:34.000] FileName: /src/project/randomFileForTypeRef.ts ProjectRootPath: undefined
Info 195 [00:04:35.000] Projects: /src/project/tsconfig.json
Info 195 [00:04:36.000] After ensureProjectForOpenFiles:
Info 196 [00:04:37.000] Project '/src/project/tsconfig.json' (Configured)
Info 196 [00:04:38.000] Files (10)
Info 187 [00:04:22.000] -----------------------------------------------
Info 187 [00:04:23.000] Open files:
Info 187 [00:04:24.000] FileName: /src/project/randomFileForImport.ts ProjectRootPath: undefined
Info 187 [00:04:25.000] Projects: /src/project/tsconfig.json
Info 187 [00:04:26.000] FileName: /src/project/randomFileForTypeRef.ts ProjectRootPath: undefined
Info 187 [00:04:27.000] Projects: /src/project/tsconfig.json
Info 187 [00:04:28.000] After ensureProjectForOpenFiles:
Info 188 [00:04:29.000] Project '/src/project/tsconfig.json' (Configured)
Info 188 [00:04:30.000] Files (10)
Info 196 [00:04:39.000] -----------------------------------------------
Info 196 [00:04:40.000] Open files:
Info 196 [00:04:41.000] FileName: /src/project/randomFileForImport.ts ProjectRootPath: undefined
Info 196 [00:04:42.000] Projects: /src/project/tsconfig.json
Info 196 [00:04:43.000] FileName: /src/project/randomFileForTypeRef.ts ProjectRootPath: undefined
Info 196 [00:04:44.000] Projects: /src/project/tsconfig.json
Info 188 [00:04:31.000] -----------------------------------------------
Info 188 [00:04:32.000] Open files:
Info 188 [00:04:33.000] FileName: /src/project/randomFileForImport.ts ProjectRootPath: undefined
Info 188 [00:04:34.000] Projects: /src/project/tsconfig.json
Info 188 [00:04:35.000] FileName: /src/project/randomFileForTypeRef.ts ProjectRootPath: undefined
Info 188 [00:04:36.000] Projects: /src/project/tsconfig.json
After running timeout callbacks
PolledWatches::
@@ -842,16 +834,16 @@ FsWatchesRecursive::
/src/project/node_modules/@types:
{}
Info 196 [00:04:45.000] delete file with imports
Info 197 [00:04:47.000] FileWatcher:: Triggered with /src/project/fileWithImports.ts 2:: WatchInfo: /src/project/fileWithImports.ts 500 undefined WatchType: Closed Script info
Info 198 [00:04:48.000] FileWatcher:: Close:: WatchInfo: /src/project/fileWithImports.ts 500 undefined WatchType: Closed Script info
Info 199 [00:04:49.000] Scheduled: /src/project/tsconfig.json
Info 200 [00:04:50.000] Scheduled: *ensureProjectForOpenFiles*
Info 201 [00:04:51.000] Elapsed:: *ms FileWatcher:: Triggered with /src/project/fileWithImports.ts 2:: WatchInfo: /src/project/fileWithImports.ts 500 undefined WatchType: Closed Script info
Info 202 [00:04:52.000] DirectoryWatcher:: Triggered with /src/project/fileWithImports.ts :: WatchInfo: /src/project 0 undefined Config: /src/project/tsconfig.json WatchType: Wild card directory
Info 203 [00:04:53.000] Scheduled: /src/project/tsconfig.json, Cancelled earlier one
Info 204 [00:04:54.000] Scheduled: *ensureProjectForOpenFiles*, Cancelled earlier one
Info 205 [00:04:55.000] Elapsed:: *ms DirectoryWatcher:: Triggered with /src/project/fileWithImports.ts :: WatchInfo: /src/project 0 undefined Config: /src/project/tsconfig.json WatchType: Wild card directory
Info 188 [00:04:37.000] delete file with imports
Info 189 [00:04:39.000] FileWatcher:: Triggered with /src/project/fileWithImports.ts 2:: WatchInfo: /src/project/fileWithImports.ts 500 undefined WatchType: Closed Script info
Info 190 [00:04:40.000] FileWatcher:: Close:: WatchInfo: /src/project/fileWithImports.ts 500 undefined WatchType: Closed Script info
Info 191 [00:04:41.000] Scheduled: /src/project/tsconfig.json
Info 192 [00:04:42.000] Scheduled: *ensureProjectForOpenFiles*
Info 193 [00:04:43.000] Elapsed:: *ms FileWatcher:: Triggered with /src/project/fileWithImports.ts 2:: WatchInfo: /src/project/fileWithImports.ts 500 undefined WatchType: Closed Script info
Info 194 [00:04:44.000] DirectoryWatcher:: Triggered with /src/project/fileWithImports.ts :: WatchInfo: /src/project 0 undefined Config: /src/project/tsconfig.json WatchType: Wild card directory
Info 195 [00:04:45.000] Scheduled: /src/project/tsconfig.json, Cancelled earlier one
Info 196 [00:04:46.000] Scheduled: *ensureProjectForOpenFiles*, Cancelled earlier one
Info 197 [00:04:47.000] Elapsed:: *ms DirectoryWatcher:: Triggered with /src/project/fileWithImports.ts :: WatchInfo: /src/project 0 undefined Config: /src/project/tsconfig.json WatchType: Wild card directory
Before running timeout callbacks
//// [/src/project/fileWithImports.ts] deleted
@@ -877,16 +869,16 @@ FsWatchesRecursive::
/src/project/node_modules/@types:
{}
Info 206 [00:04:56.000] Running: /src/project/tsconfig.json
Info 207 [00:04:57.000] Starting updateGraphWorker: Project: /src/project/tsconfig.json
Info 208 [00:04:58.000] Reusing resolution of type reference directive 'pkg2' from '/src/project/fileWithTypeRefs.ts' of old program, it was successfully resolved to '/src/project/node_modules/pkg2/index.d.ts'.
Info 209 [00:04:59.000] Reusing resolution of type reference directive 'pkg3' from '/src/project/fileWithTypeRefs.ts' of old program, it was successfully resolved to '/src/project/node_modules/pkg3/index.d.ts'.
Info 210 [00:05:00.000] Reusing resolution of module 'pkg0' from '/src/project/randomFileForImport.ts' of old program, it was successfully resolved to '/src/project/pkg0.d.ts'.
Info 211 [00:05:01.000] Reusing resolution of type reference directive 'pkg2' from '/src/project/randomFileForTypeRef.ts' of old program, it was successfully resolved to '/src/project/node_modules/pkg2/index.d.ts'.
Info 212 [00:05:02.000] Reusing resolution of type reference directive 'pkg4' from '/src/project/__inferred type names__.ts' of old program, it was successfully resolved to '/src/project/node_modules/@types/pkg4/index.d.ts'.
Info 213 [00:05:03.000] Finishing updateGraphWorker: Project: /src/project/tsconfig.json Version: 6 structureChanged: true structureIsReused:: SafeModuleCache Elapsed:: *ms
Info 214 [00:05:04.000] Project '/src/project/tsconfig.json' (Configured)
Info 215 [00:05:05.000] Files (8)
Info 198 [00:04:48.000] Running: /src/project/tsconfig.json
Info 199 [00:04:49.000] Starting updateGraphWorker: Project: /src/project/tsconfig.json
Info 200 [00:04:50.000] Reusing resolution of type reference directive 'pkg2' from '/src/project/fileWithTypeRefs.ts' of old program, it was successfully resolved to '/src/project/node_modules/pkg2/index.d.ts'.
Info 201 [00:04:51.000] Reusing resolution of type reference directive 'pkg3' from '/src/project/fileWithTypeRefs.ts' of old program, it was successfully resolved to '/src/project/node_modules/pkg3/index.d.ts'.
Info 202 [00:04:52.000] Reusing resolution of module 'pkg0' from '/src/project/randomFileForImport.ts' of old program, it was successfully resolved to '/src/project/pkg0.d.ts'.
Info 203 [00:04:53.000] Reusing resolution of type reference directive 'pkg2' from '/src/project/randomFileForTypeRef.ts' of old program, it was successfully resolved to '/src/project/node_modules/pkg2/index.d.ts'.
Info 204 [00:04:54.000] Reusing resolution of type reference directive 'pkg4' from '/src/project/__inferred type names__.ts' of old program, it was successfully resolved to '/src/project/node_modules/@types/pkg4/index.d.ts'.
Info 205 [00:04:55.000] Finishing updateGraphWorker: Project: /src/project/tsconfig.json Version: 6 structureChanged: true structureIsReused:: SafeModuleCache Elapsed:: *ms
Info 206 [00:04:56.000] Project '/src/project/tsconfig.json' (Configured)
Info 207 [00:04:57.000] Files (8)
/a/lib/lib.d.ts
/src/project/node_modules/pkg2/index.d.ts
/src/project/node_modules/pkg3/index.d.ts
@@ -914,28 +906,28 @@ Info 215 [00:05:05.000] Files (8)
node_modules/@types/pkg4/index.d.ts
Entry point for implicit type library 'pkg4'
Info 216 [00:05:06.000] -----------------------------------------------
Info 217 [00:05:07.000] Running: *ensureProjectForOpenFiles*
Info 218 [00:05:08.000] Before ensureProjectForOpenFiles:
Info 219 [00:05:09.000] Project '/src/project/tsconfig.json' (Configured)
Info 219 [00:05:10.000] Files (8)
Info 208 [00:04:58.000] -----------------------------------------------
Info 209 [00:04:59.000] Running: *ensureProjectForOpenFiles*
Info 210 [00:05:00.000] Before ensureProjectForOpenFiles:
Info 211 [00:05:01.000] Project '/src/project/tsconfig.json' (Configured)
Info 211 [00:05:02.000] Files (8)
Info 219 [00:05:11.000] -----------------------------------------------
Info 219 [00:05:12.000] Open files:
Info 219 [00:05:13.000] FileName: /src/project/randomFileForImport.ts ProjectRootPath: undefined
Info 219 [00:05:14.000] Projects: /src/project/tsconfig.json
Info 219 [00:05:15.000] FileName: /src/project/randomFileForTypeRef.ts ProjectRootPath: undefined
Info 219 [00:05:16.000] Projects: /src/project/tsconfig.json
Info 219 [00:05:17.000] After ensureProjectForOpenFiles:
Info 220 [00:05:18.000] Project '/src/project/tsconfig.json' (Configured)
Info 220 [00:05:19.000] Files (8)
Info 211 [00:05:03.000] -----------------------------------------------
Info 211 [00:05:04.000] Open files:
Info 211 [00:05:05.000] FileName: /src/project/randomFileForImport.ts ProjectRootPath: undefined
Info 211 [00:05:06.000] Projects: /src/project/tsconfig.json
Info 211 [00:05:07.000] FileName: /src/project/randomFileForTypeRef.ts ProjectRootPath: undefined
Info 211 [00:05:08.000] Projects: /src/project/tsconfig.json
Info 211 [00:05:09.000] After ensureProjectForOpenFiles:
Info 212 [00:05:10.000] Project '/src/project/tsconfig.json' (Configured)
Info 212 [00:05:11.000] Files (8)
Info 220 [00:05:20.000] -----------------------------------------------
Info 220 [00:05:21.000] Open files:
Info 220 [00:05:22.000] FileName: /src/project/randomFileForImport.ts ProjectRootPath: undefined
Info 220 [00:05:23.000] Projects: /src/project/tsconfig.json
Info 220 [00:05:24.000] FileName: /src/project/randomFileForTypeRef.ts ProjectRootPath: undefined
Info 220 [00:05:25.000] Projects: /src/project/tsconfig.json
Info 212 [00:05:12.000] -----------------------------------------------
Info 212 [00:05:13.000] Open files:
Info 212 [00:05:14.000] FileName: /src/project/randomFileForImport.ts ProjectRootPath: undefined
Info 212 [00:05:15.000] Projects: /src/project/tsconfig.json
Info 212 [00:05:16.000] FileName: /src/project/randomFileForTypeRef.ts ProjectRootPath: undefined
Info 212 [00:05:17.000] Projects: /src/project/tsconfig.json
After running timeout callbacks
PolledWatches::
@@ -960,16 +952,16 @@ FsWatchesRecursive::
/src/project/node_modules/@types:
{}
Info 220 [00:05:26.000] delete file with typeRefs
Info 221 [00:05:28.000] FileWatcher:: Triggered with /src/project/fileWithTypeRefs.ts 2:: WatchInfo: /src/project/fileWithTypeRefs.ts 500 undefined WatchType: Closed Script info
Info 222 [00:05:29.000] FileWatcher:: Close:: WatchInfo: /src/project/fileWithTypeRefs.ts 500 undefined WatchType: Closed Script info
Info 223 [00:05:30.000] Scheduled: /src/project/tsconfig.json
Info 224 [00:05:31.000] Scheduled: *ensureProjectForOpenFiles*
Info 225 [00:05:32.000] Elapsed:: *ms FileWatcher:: Triggered with /src/project/fileWithTypeRefs.ts 2:: WatchInfo: /src/project/fileWithTypeRefs.ts 500 undefined WatchType: Closed Script info
Info 226 [00:05:33.000] DirectoryWatcher:: Triggered with /src/project/fileWithTypeRefs.ts :: WatchInfo: /src/project 0 undefined Config: /src/project/tsconfig.json WatchType: Wild card directory
Info 227 [00:05:34.000] Scheduled: /src/project/tsconfig.json, Cancelled earlier one
Info 228 [00:05:35.000] Scheduled: *ensureProjectForOpenFiles*, Cancelled earlier one
Info 229 [00:05:36.000] Elapsed:: *ms DirectoryWatcher:: Triggered with /src/project/fileWithTypeRefs.ts :: WatchInfo: /src/project 0 undefined Config: /src/project/tsconfig.json WatchType: Wild card directory
Info 212 [00:05:18.000] delete file with typeRefs
Info 213 [00:05:20.000] FileWatcher:: Triggered with /src/project/fileWithTypeRefs.ts 2:: WatchInfo: /src/project/fileWithTypeRefs.ts 500 undefined WatchType: Closed Script info
Info 214 [00:05:21.000] FileWatcher:: Close:: WatchInfo: /src/project/fileWithTypeRefs.ts 500 undefined WatchType: Closed Script info
Info 215 [00:05:22.000] Scheduled: /src/project/tsconfig.json
Info 216 [00:05:23.000] Scheduled: *ensureProjectForOpenFiles*
Info 217 [00:05:24.000] Elapsed:: *ms FileWatcher:: Triggered with /src/project/fileWithTypeRefs.ts 2:: WatchInfo: /src/project/fileWithTypeRefs.ts 500 undefined WatchType: Closed Script info
Info 218 [00:05:25.000] DirectoryWatcher:: Triggered with /src/project/fileWithTypeRefs.ts :: WatchInfo: /src/project 0 undefined Config: /src/project/tsconfig.json WatchType: Wild card directory
Info 219 [00:05:26.000] Scheduled: /src/project/tsconfig.json, Cancelled earlier one
Info 220 [00:05:27.000] Scheduled: *ensureProjectForOpenFiles*, Cancelled earlier one
Info 221 [00:05:28.000] Elapsed:: *ms DirectoryWatcher:: Triggered with /src/project/fileWithTypeRefs.ts :: WatchInfo: /src/project 0 undefined Config: /src/project/tsconfig.json WatchType: Wild card directory
Before running timeout callbacks
//// [/src/project/fileWithTypeRefs.ts] deleted
@@ -993,14 +985,14 @@ FsWatchesRecursive::
/src/project/node_modules/@types:
{}
Info 230 [00:05:37.000] Running: /src/project/tsconfig.json
Info 231 [00:05:38.000] Starting updateGraphWorker: Project: /src/project/tsconfig.json
Info 232 [00:05:39.000] Reusing resolution of module 'pkg0' from '/src/project/randomFileForImport.ts' of old program, it was successfully resolved to '/src/project/pkg0.d.ts'.
Info 233 [00:05:40.000] Reusing resolution of type reference directive 'pkg2' from '/src/project/randomFileForTypeRef.ts' of old program, it was successfully resolved to '/src/project/node_modules/pkg2/index.d.ts'.
Info 234 [00:05:41.000] Reusing resolution of type reference directive 'pkg4' from '/src/project/__inferred type names__.ts' of old program, it was successfully resolved to '/src/project/node_modules/@types/pkg4/index.d.ts'.
Info 235 [00:05:42.000] Finishing updateGraphWorker: Project: /src/project/tsconfig.json Version: 7 structureChanged: true structureIsReused:: SafeModuleCache Elapsed:: *ms
Info 236 [00:05:43.000] Project '/src/project/tsconfig.json' (Configured)
Info 237 [00:05:44.000] Files (6)
Info 222 [00:05:29.000] Running: /src/project/tsconfig.json
Info 223 [00:05:30.000] Starting updateGraphWorker: Project: /src/project/tsconfig.json
Info 224 [00:05:31.000] Reusing resolution of module 'pkg0' from '/src/project/randomFileForImport.ts' of old program, it was successfully resolved to '/src/project/pkg0.d.ts'.
Info 225 [00:05:32.000] Reusing resolution of type reference directive 'pkg2' from '/src/project/randomFileForTypeRef.ts' of old program, it was successfully resolved to '/src/project/node_modules/pkg2/index.d.ts'.
Info 226 [00:05:33.000] Reusing resolution of type reference directive 'pkg4' from '/src/project/__inferred type names__.ts' of old program, it was successfully resolved to '/src/project/node_modules/@types/pkg4/index.d.ts'.
Info 227 [00:05:34.000] Finishing updateGraphWorker: Project: /src/project/tsconfig.json Version: 7 structureChanged: true structureIsReused:: SafeModuleCache Elapsed:: *ms
Info 228 [00:05:35.000] Project '/src/project/tsconfig.json' (Configured)
Info 229 [00:05:36.000] Files (6)
/a/lib/lib.d.ts
/src/project/pkg0.d.ts
/src/project/randomFileForImport.ts
@@ -1022,28 +1014,28 @@ Info 237 [00:05:44.000] Files (6)
node_modules/@types/pkg4/index.d.ts
Entry point for implicit type library 'pkg4'
Info 238 [00:05:45.000] -----------------------------------------------
Info 239 [00:05:46.000] Running: *ensureProjectForOpenFiles*
Info 240 [00:05:47.000] Before ensureProjectForOpenFiles:
Info 241 [00:05:48.000] Project '/src/project/tsconfig.json' (Configured)
Info 241 [00:05:49.000] Files (6)
Info 230 [00:05:37.000] -----------------------------------------------
Info 231 [00:05:38.000] Running: *ensureProjectForOpenFiles*
Info 232 [00:05:39.000] Before ensureProjectForOpenFiles:
Info 233 [00:05:40.000] Project '/src/project/tsconfig.json' (Configured)
Info 233 [00:05:41.000] Files (6)
Info 241 [00:05:50.000] -----------------------------------------------
Info 241 [00:05:51.000] Open files:
Info 241 [00:05:52.000] FileName: /src/project/randomFileForImport.ts ProjectRootPath: undefined
Info 241 [00:05:53.000] Projects: /src/project/tsconfig.json
Info 241 [00:05:54.000] FileName: /src/project/randomFileForTypeRef.ts ProjectRootPath: undefined
Info 241 [00:05:55.000] Projects: /src/project/tsconfig.json
Info 241 [00:05:56.000] After ensureProjectForOpenFiles:
Info 242 [00:05:57.000] Project '/src/project/tsconfig.json' (Configured)
Info 242 [00:05:58.000] Files (6)
Info 233 [00:05:42.000] -----------------------------------------------
Info 233 [00:05:43.000] Open files:
Info 233 [00:05:44.000] FileName: /src/project/randomFileForImport.ts ProjectRootPath: undefined
Info 233 [00:05:45.000] Projects: /src/project/tsconfig.json
Info 233 [00:05:46.000] FileName: /src/project/randomFileForTypeRef.ts ProjectRootPath: undefined
Info 233 [00:05:47.000] Projects: /src/project/tsconfig.json
Info 233 [00:05:48.000] After ensureProjectForOpenFiles:
Info 234 [00:05:49.000] Project '/src/project/tsconfig.json' (Configured)
Info 234 [00:05:50.000] Files (6)
Info 242 [00:05:59.000] -----------------------------------------------
Info 242 [00:06:00.000] Open files:
Info 242 [00:06:01.000] FileName: /src/project/randomFileForImport.ts ProjectRootPath: undefined
Info 242 [00:06:02.000] Projects: /src/project/tsconfig.json
Info 242 [00:06:03.000] FileName: /src/project/randomFileForTypeRef.ts ProjectRootPath: undefined
Info 242 [00:06:04.000] Projects: /src/project/tsconfig.json
Info 234 [00:05:51.000] -----------------------------------------------
Info 234 [00:05:52.000] Open files:
Info 234 [00:05:53.000] FileName: /src/project/randomFileForImport.ts ProjectRootPath: undefined
Info 234 [00:05:54.000] Projects: /src/project/tsconfig.json
Info 234 [00:05:55.000] FileName: /src/project/randomFileForTypeRef.ts ProjectRootPath: undefined
Info 234 [00:05:56.000] Projects: /src/project/tsconfig.json
After running timeout callbacks
PolledWatches::
@@ -1066,15 +1058,15 @@ FsWatchesRecursive::
/src/project/node_modules/@types:
{}
Info 242 [00:06:05.000] delete resolved import file
Info 243 [00:06:07.000] FileWatcher:: Triggered with /src/project/pkg0.d.ts 2:: WatchInfo: /src/project/pkg0.d.ts 500 undefined WatchType: Closed Script info
Info 244 [00:06:08.000] FileWatcher:: Close:: WatchInfo: /src/project/pkg0.d.ts 500 undefined WatchType: Closed Script info
Info 245 [00:06:09.000] Scheduled: /src/project/tsconfig.json
Info 246 [00:06:10.000] Scheduled: *ensureProjectForOpenFiles*
Info 247 [00:06:11.000] Elapsed:: *ms FileWatcher:: Triggered with /src/project/pkg0.d.ts 2:: WatchInfo: /src/project/pkg0.d.ts 500 undefined WatchType: Closed Script info
Info 248 [00:06:12.000] DirectoryWatcher:: Triggered with /src/project/pkg0.d.ts :: WatchInfo: /src/project 0 undefined Config: /src/project/tsconfig.json WatchType: Wild card directory
Info 249 [00:06:13.000] Project: /src/project/tsconfig.json Detected excluded file: /src/project/pkg0.d.ts
Info 250 [00:06:14.000] Elapsed:: *ms DirectoryWatcher:: Triggered with /src/project/pkg0.d.ts :: WatchInfo: /src/project 0 undefined Config: /src/project/tsconfig.json WatchType: Wild card directory
Info 234 [00:05:57.000] delete resolved import file
Info 235 [00:05:59.000] FileWatcher:: Triggered with /src/project/pkg0.d.ts 2:: WatchInfo: /src/project/pkg0.d.ts 500 undefined WatchType: Closed Script info
Info 236 [00:06:00.000] FileWatcher:: Close:: WatchInfo: /src/project/pkg0.d.ts 500 undefined WatchType: Closed Script info
Info 237 [00:06:01.000] Scheduled: /src/project/tsconfig.json
Info 238 [00:06:02.000] Scheduled: *ensureProjectForOpenFiles*
Info 239 [00:06:03.000] Elapsed:: *ms FileWatcher:: Triggered with /src/project/pkg0.d.ts 2:: WatchInfo: /src/project/pkg0.d.ts 500 undefined WatchType: Closed Script info
Info 240 [00:06:04.000] DirectoryWatcher:: Triggered with /src/project/pkg0.d.ts :: WatchInfo: /src/project 0 undefined Config: /src/project/tsconfig.json WatchType: Wild card directory
Info 241 [00:06:05.000] Project: /src/project/tsconfig.json Detected excluded file: /src/project/pkg0.d.ts
Info 242 [00:06:06.000] Elapsed:: *ms DirectoryWatcher:: Triggered with /src/project/pkg0.d.ts :: WatchInfo: /src/project 0 undefined Config: /src/project/tsconfig.json WatchType: Wild card directory
Before running timeout callbacks
//// [/src/project/pkg0.d.ts] deleted
@@ -1096,38 +1088,38 @@ FsWatchesRecursive::
/src/project/node_modules/@types:
{}
Info 251 [00:06:15.000] Running: /src/project/tsconfig.json
Info 252 [00:06:16.000] Starting updateGraphWorker: Project: /src/project/tsconfig.json
Info 253 [00:06:17.000] ======== Resolving module 'pkg0' from '/src/project/randomFileForImport.ts'. ========
Info 254 [00:06:18.000] Module resolution kind is not specified, using 'Classic'.
Info 255 [00:06:19.000] File '/src/project/pkg0.ts' does not exist.
Info 256 [00:06:20.000] File '/src/project/pkg0.tsx' does not exist.
Info 257 [00:06:21.000] File '/src/project/pkg0.d.ts' does not exist.
Info 258 [00:06:22.000] File '/src/pkg0.ts' does not exist.
Info 259 [00:06:23.000] File '/src/pkg0.tsx' does not exist.
Info 260 [00:06:24.000] File '/src/pkg0.d.ts' does not exist.
Info 261 [00:06:25.000] File '/pkg0.ts' does not exist.
Info 262 [00:06:26.000] File '/pkg0.tsx' does not exist.
Info 263 [00:06:27.000] File '/pkg0.d.ts' does not exist.
Info 264 [00:06:28.000] File '/src/project/node_modules/@types/pkg0.d.ts' does not exist.
Info 265 [00:06:29.000] Directory '/src/node_modules' does not exist, skipping all lookups in it.
Info 266 [00:06:30.000] Directory '/node_modules' does not exist, skipping all lookups in it.
Info 267 [00:06:31.000] File '/src/project/pkg0.js' does not exist.
Info 268 [00:06:32.000] File '/src/project/pkg0.jsx' does not exist.
Info 269 [00:06:33.000] File '/src/pkg0.js' does not exist.
Info 270 [00:06:34.000] File '/src/pkg0.jsx' does not exist.
Info 271 [00:06:35.000] File '/pkg0.js' does not exist.
Info 272 [00:06:36.000] File '/pkg0.jsx' does not exist.
Info 273 [00:06:37.000] ======== Module name 'pkg0' was not resolved. ========
Info 274 [00:06:38.000] Reusing resolution of type reference directive 'pkg2' from '/src/project/randomFileForTypeRef.ts' of old program, it was successfully resolved to '/src/project/node_modules/pkg2/index.d.ts'.
Info 275 [00:06:39.000] Reusing resolution of type reference directive 'pkg4' from '/src/project/__inferred type names__.ts' of old program, it was successfully resolved to '/src/project/node_modules/@types/pkg4/index.d.ts'.
Info 276 [00:06:40.000] DirectoryWatcher:: Added:: WatchInfo: /src/project/node_modules 1 undefined Project: /src/project/tsconfig.json WatchType: Failed Lookup Locations
Info 277 [00:06:41.000] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /src/project/node_modules 1 undefined Project: /src/project/tsconfig.json WatchType: Failed Lookup Locations
Info 278 [00:06:42.000] DirectoryWatcher:: Added:: WatchInfo: /src/project 0 undefined Project: /src/project/tsconfig.json WatchType: Failed Lookup Locations
Info 279 [00:06:43.000] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /src/project 0 undefined Project: /src/project/tsconfig.json WatchType: Failed Lookup Locations
Info 280 [00:06:44.000] Finishing updateGraphWorker: Project: /src/project/tsconfig.json Version: 8 structureChanged: true structureIsReused:: SafeModuleCache Elapsed:: *ms
Info 281 [00:06:45.000] Project '/src/project/tsconfig.json' (Configured)
Info 282 [00:06:46.000] Files (5)
Info 243 [00:06:07.000] Running: /src/project/tsconfig.json
Info 244 [00:06:08.000] Starting updateGraphWorker: Project: /src/project/tsconfig.json
Info 245 [00:06:09.000] ======== Resolving module 'pkg0' from '/src/project/randomFileForImport.ts'. ========
Info 246 [00:06:10.000] Module resolution kind is not specified, using 'Classic'.
Info 247 [00:06:11.000] File '/src/project/pkg0.ts' does not exist.
Info 248 [00:06:12.000] File '/src/project/pkg0.tsx' does not exist.
Info 249 [00:06:13.000] File '/src/project/pkg0.d.ts' does not exist.
Info 250 [00:06:14.000] File '/src/pkg0.ts' does not exist.
Info 251 [00:06:15.000] File '/src/pkg0.tsx' does not exist.
Info 252 [00:06:16.000] File '/src/pkg0.d.ts' does not exist.
Info 253 [00:06:17.000] File '/pkg0.ts' does not exist.
Info 254 [00:06:18.000] File '/pkg0.tsx' does not exist.
Info 255 [00:06:19.000] File '/pkg0.d.ts' does not exist.
Info 256 [00:06:20.000] File '/src/project/node_modules/@types/pkg0.d.ts' does not exist.
Info 257 [00:06:21.000] Directory '/src/node_modules' does not exist, skipping all lookups in it.
Info 258 [00:06:22.000] Directory '/node_modules' does not exist, skipping all lookups in it.
Info 259 [00:06:23.000] File '/src/project/pkg0.js' does not exist.
Info 260 [00:06:24.000] File '/src/project/pkg0.jsx' does not exist.
Info 261 [00:06:25.000] File '/src/pkg0.js' does not exist.
Info 262 [00:06:26.000] File '/src/pkg0.jsx' does not exist.
Info 263 [00:06:27.000] File '/pkg0.js' does not exist.
Info 264 [00:06:28.000] File '/pkg0.jsx' does not exist.
Info 265 [00:06:29.000] ======== Module name 'pkg0' was not resolved. ========
Info 266 [00:06:30.000] Reusing resolution of type reference directive 'pkg2' from '/src/project/randomFileForTypeRef.ts' of old program, it was successfully resolved to '/src/project/node_modules/pkg2/index.d.ts'.
Info 267 [00:06:31.000] Reusing resolution of type reference directive 'pkg4' from '/src/project/__inferred type names__.ts' of old program, it was successfully resolved to '/src/project/node_modules/@types/pkg4/index.d.ts'.
Info 268 [00:06:32.000] DirectoryWatcher:: Added:: WatchInfo: /src/project/node_modules 1 undefined Project: /src/project/tsconfig.json WatchType: Failed Lookup Locations
Info 269 [00:06:33.000] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /src/project/node_modules 1 undefined Project: /src/project/tsconfig.json WatchType: Failed Lookup Locations
Info 270 [00:06:34.000] DirectoryWatcher:: Added:: WatchInfo: /src/project 0 undefined Project: /src/project/tsconfig.json WatchType: Failed Lookup Locations
Info 271 [00:06:35.000] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /src/project 0 undefined Project: /src/project/tsconfig.json WatchType: Failed Lookup Locations
Info 272 [00:06:36.000] Finishing updateGraphWorker: Project: /src/project/tsconfig.json Version: 8 structureChanged: true structureIsReused:: SafeModuleCache Elapsed:: *ms
Info 273 [00:06:37.000] Project '/src/project/tsconfig.json' (Configured)
Info 274 [00:06:38.000] Files (5)
/a/lib/lib.d.ts
/src/project/randomFileForImport.ts
/src/project/node_modules/pkg2/index.d.ts
@@ -1146,28 +1138,28 @@ Info 282 [00:06:46.000] Files (5)
node_modules/@types/pkg4/index.d.ts
Entry point for implicit type library 'pkg4'
Info 283 [00:06:47.000] -----------------------------------------------
Info 284 [00:06:48.000] Running: *ensureProjectForOpenFiles*
Info 285 [00:06:49.000] Before ensureProjectForOpenFiles:
Info 286 [00:06:50.000] Project '/src/project/tsconfig.json' (Configured)
Info 286 [00:06:51.000] Files (5)
Info 275 [00:06:39.000] -----------------------------------------------
Info 276 [00:06:40.000] Running: *ensureProjectForOpenFiles*
Info 277 [00:06:41.000] Before ensureProjectForOpenFiles:
Info 278 [00:06:42.000] Project '/src/project/tsconfig.json' (Configured)
Info 278 [00:06:43.000] Files (5)
Info 286 [00:06:52.000] -----------------------------------------------
Info 286 [00:06:53.000] Open files:
Info 286 [00:06:54.000] FileName: /src/project/randomFileForImport.ts ProjectRootPath: undefined
Info 286 [00:06:55.000] Projects: /src/project/tsconfig.json
Info 286 [00:06:56.000] FileName: /src/project/randomFileForTypeRef.ts ProjectRootPath: undefined
Info 286 [00:06:57.000] Projects: /src/project/tsconfig.json
Info 286 [00:06:58.000] After ensureProjectForOpenFiles:
Info 287 [00:06:59.000] Project '/src/project/tsconfig.json' (Configured)
Info 287 [00:07:00.000] Files (5)
Info 278 [00:06:44.000] -----------------------------------------------
Info 278 [00:06:45.000] Open files:
Info 278 [00:06:46.000] FileName: /src/project/randomFileForImport.ts ProjectRootPath: undefined
Info 278 [00:06:47.000] Projects: /src/project/tsconfig.json
Info 278 [00:06:48.000] FileName: /src/project/randomFileForTypeRef.ts ProjectRootPath: undefined
Info 278 [00:06:49.000] Projects: /src/project/tsconfig.json
Info 278 [00:06:50.000] After ensureProjectForOpenFiles:
Info 279 [00:06:51.000] Project '/src/project/tsconfig.json' (Configured)
Info 279 [00:06:52.000] Files (5)
Info 287 [00:07:01.000] -----------------------------------------------
Info 287 [00:07:02.000] Open files:
Info 287 [00:07:03.000] FileName: /src/project/randomFileForImport.ts ProjectRootPath: undefined
Info 287 [00:07:04.000] Projects: /src/project/tsconfig.json
Info 287 [00:07:05.000] FileName: /src/project/randomFileForTypeRef.ts ProjectRootPath: undefined
Info 287 [00:07:06.000] Projects: /src/project/tsconfig.json
Info 279 [00:06:53.000] -----------------------------------------------
Info 279 [00:06:54.000] Open files:
Info 279 [00:06:55.000] FileName: /src/project/randomFileForImport.ts ProjectRootPath: undefined
Info 279 [00:06:56.000] Projects: /src/project/tsconfig.json
Info 279 [00:06:57.000] FileName: /src/project/randomFileForTypeRef.ts ProjectRootPath: undefined
Info 279 [00:06:58.000] Projects: /src/project/tsconfig.json
After running timeout callbacks
PolledWatches::
@@ -1188,14 +1180,14 @@ FsWatchesRecursive::
/src/project/node_modules/@types:
{}
Info 287 [00:07:07.000] delete resolved typeRef file
Info 288 [00:07:09.000] DirectoryWatcher:: Triggered with /src/project/node_modules/pkg2/index.d.ts :: WatchInfo: /src/project/node_modules 1 undefined WatchType: node_modules for closed script infos and package.jsons affecting module specifier cache
Info 289 [00:07:10.000] Scheduled: /src/project/tsconfig.json
Info 290 [00:07:11.000] Scheduled: *ensureProjectForOpenFiles*
Info 291 [00:07:12.000] Elapsed:: *ms DirectoryWatcher:: Triggered with /src/project/node_modules/pkg2/index.d.ts :: WatchInfo: /src/project/node_modules 1 undefined WatchType: node_modules for closed script infos and package.jsons affecting module specifier cache
Info 292 [00:07:13.000] DirectoryWatcher:: Triggered with /src/project/node_modules/pkg2/index.d.ts :: WatchInfo: /src/project/node_modules 1 undefined Project: /src/project/tsconfig.json WatchType: Failed Lookup Locations
Info 293 [00:07:14.000] Scheduled: /src/project/tsconfig.jsonFailedLookupInvalidation
Info 294 [00:07:15.000] Elapsed:: *ms DirectoryWatcher:: Triggered with /src/project/node_modules/pkg2/index.d.ts :: WatchInfo: /src/project/node_modules 1 undefined Project: /src/project/tsconfig.json WatchType: Failed Lookup Locations
Info 279 [00:06:59.000] delete resolved typeRef file
Info 280 [00:07:01.000] DirectoryWatcher:: Triggered with /src/project/node_modules/pkg2/index.d.ts :: WatchInfo: /src/project/node_modules 1 undefined WatchType: node_modules for closed script infos and package.jsons affecting module specifier cache
Info 281 [00:07:02.000] Scheduled: /src/project/tsconfig.json
Info 282 [00:07:03.000] Scheduled: *ensureProjectForOpenFiles*
Info 283 [00:07:04.000] Elapsed:: *ms DirectoryWatcher:: Triggered with /src/project/node_modules/pkg2/index.d.ts :: WatchInfo: /src/project/node_modules 1 undefined WatchType: node_modules for closed script infos and package.jsons affecting module specifier cache
Info 284 [00:07:05.000] DirectoryWatcher:: Triggered with /src/project/node_modules/pkg2/index.d.ts :: WatchInfo: /src/project/node_modules 1 undefined Project: /src/project/tsconfig.json WatchType: Failed Lookup Locations
Info 285 [00:07:06.000] Scheduled: /src/project/tsconfig.jsonFailedLookupInvalidation
Info 286 [00:07:07.000] Elapsed:: *ms DirectoryWatcher:: Triggered with /src/project/node_modules/pkg2/index.d.ts :: WatchInfo: /src/project/node_modules 1 undefined Project: /src/project/tsconfig.json WatchType: Failed Lookup Locations
Before running timeout callbacks
//// [/src/project/node_modules/pkg2/index.d.ts] deleted
@@ -1217,23 +1209,23 @@ FsWatchesRecursive::
/src/project/node_modules/@types:
{}
Info 295 [00:07:16.000] Running: /src/project/tsconfig.json
Info 296 [00:07:17.000] Starting updateGraphWorker: Project: /src/project/tsconfig.json
Info 297 [00:07:18.000] Reusing resolution of module 'pkg0' from '/src/project/randomFileForImport.ts' of old program, it was not resolved.
Info 298 [00:07:19.000] ======== Resolving type reference directive 'pkg2', containing file '/src/project/randomFileForTypeRef.ts', root directory '/src/project/node_modules/@types'. ========
Info 299 [00:07:20.000] Resolving with primary search path '/src/project/node_modules/@types'.
Info 300 [00:07:21.000] Looking up in 'node_modules' folder, initial location '/src/project'.
Info 301 [00:07:22.000] File '/src/project/node_modules/pkg2/package.json' does not exist.
Info 302 [00:07:23.000] File '/src/project/node_modules/pkg2.d.ts' does not exist.
Info 303 [00:07:24.000] File '/src/project/node_modules/pkg2/index.d.ts' does not exist.
Info 304 [00:07:25.000] File '/src/project/node_modules/@types/pkg2.d.ts' does not exist.
Info 305 [00:07:26.000] Directory '/src/node_modules' does not exist, skipping all lookups in it.
Info 306 [00:07:27.000] Directory '/node_modules' does not exist, skipping all lookups in it.
Info 307 [00:07:28.000] ======== Type reference directive 'pkg2' was not resolved. ========
Info 308 [00:07:29.000] Reusing resolution of type reference directive 'pkg4' from '/src/project/__inferred type names__.ts' of old program, it was successfully resolved to '/src/project/node_modules/@types/pkg4/index.d.ts'.
Info 309 [00:07:30.000] Finishing updateGraphWorker: Project: /src/project/tsconfig.json Version: 9 structureChanged: true structureIsReused:: SafeModuleCache Elapsed:: *ms
Info 310 [00:07:31.000] Project '/src/project/tsconfig.json' (Configured)
Info 311 [00:07:32.000] Files (4)
Info 287 [00:07:08.000] Running: /src/project/tsconfig.json
Info 288 [00:07:09.000] Starting updateGraphWorker: Project: /src/project/tsconfig.json
Info 289 [00:07:10.000] Reusing resolution of module 'pkg0' from '/src/project/randomFileForImport.ts' of old program, it was not resolved.
Info 290 [00:07:11.000] ======== Resolving type reference directive 'pkg2', containing file '/src/project/randomFileForTypeRef.ts', root directory '/src/project/node_modules/@types'. ========
Info 291 [00:07:12.000] Resolving with primary search path '/src/project/node_modules/@types'.
Info 292 [00:07:13.000] Looking up in 'node_modules' folder, initial location '/src/project'.
Info 293 [00:07:14.000] File '/src/project/node_modules/pkg2/package.json' does not exist.
Info 294 [00:07:15.000] File '/src/project/node_modules/pkg2.d.ts' does not exist.
Info 295 [00:07:16.000] File '/src/project/node_modules/pkg2/index.d.ts' does not exist.
Info 296 [00:07:17.000] File '/src/project/node_modules/@types/pkg2.d.ts' does not exist.
Info 297 [00:07:18.000] Directory '/src/node_modules' does not exist, skipping all lookups in it.
Info 298 [00:07:19.000] Directory '/node_modules' does not exist, skipping all lookups in it.
Info 299 [00:07:20.000] ======== Type reference directive 'pkg2' was not resolved. ========
Info 300 [00:07:21.000] Reusing resolution of type reference directive 'pkg4' from '/src/project/__inferred type names__.ts' of old program, it was successfully resolved to '/src/project/node_modules/@types/pkg4/index.d.ts'.
Info 301 [00:07:22.000] Finishing updateGraphWorker: Project: /src/project/tsconfig.json Version: 9 structureChanged: true structureIsReused:: SafeModuleCache Elapsed:: *ms
Info 302 [00:07:23.000] Project '/src/project/tsconfig.json' (Configured)
Info 303 [00:07:24.000] Files (4)
/a/lib/lib.d.ts
/src/project/randomFileForImport.ts
/src/project/randomFileForTypeRef.ts
@@ -1249,28 +1241,28 @@ Info 311 [00:07:32.000] Files (4)
node_modules/@types/pkg4/index.d.ts
Entry point for implicit type library 'pkg4'
Info 312 [00:07:33.000] -----------------------------------------------
Info 313 [00:07:34.000] Running: *ensureProjectForOpenFiles*
Info 314 [00:07:35.000] Before ensureProjectForOpenFiles:
Info 315 [00:07:36.000] Project '/src/project/tsconfig.json' (Configured)
Info 315 [00:07:37.000] Files (4)
Info 304 [00:07:25.000] -----------------------------------------------
Info 305 [00:07:26.000] Running: *ensureProjectForOpenFiles*
Info 306 [00:07:27.000] Before ensureProjectForOpenFiles:
Info 307 [00:07:28.000] Project '/src/project/tsconfig.json' (Configured)
Info 307 [00:07:29.000] Files (4)
Info 315 [00:07:38.000] -----------------------------------------------
Info 315 [00:07:39.000] Open files:
Info 315 [00:07:40.000] FileName: /src/project/randomFileForImport.ts ProjectRootPath: undefined
Info 315 [00:07:41.000] Projects: /src/project/tsconfig.json
Info 315 [00:07:42.000] FileName: /src/project/randomFileForTypeRef.ts ProjectRootPath: undefined
Info 315 [00:07:43.000] Projects: /src/project/tsconfig.json
Info 315 [00:07:44.000] After ensureProjectForOpenFiles:
Info 316 [00:07:45.000] Project '/src/project/tsconfig.json' (Configured)
Info 316 [00:07:46.000] Files (4)
Info 307 [00:07:30.000] -----------------------------------------------
Info 307 [00:07:31.000] Open files:
Info 307 [00:07:32.000] FileName: /src/project/randomFileForImport.ts ProjectRootPath: undefined
Info 307 [00:07:33.000] Projects: /src/project/tsconfig.json
Info 307 [00:07:34.000] FileName: /src/project/randomFileForTypeRef.ts ProjectRootPath: undefined
Info 307 [00:07:35.000] Projects: /src/project/tsconfig.json
Info 307 [00:07:36.000] After ensureProjectForOpenFiles:
Info 308 [00:07:37.000] Project '/src/project/tsconfig.json' (Configured)
Info 308 [00:07:38.000] Files (4)
Info 316 [00:07:47.000] -----------------------------------------------
Info 316 [00:07:48.000] Open files:
Info 316 [00:07:49.000] FileName: /src/project/randomFileForImport.ts ProjectRootPath: undefined
Info 316 [00:07:50.000] Projects: /src/project/tsconfig.json
Info 316 [00:07:51.000] FileName: /src/project/randomFileForTypeRef.ts ProjectRootPath: undefined
Info 316 [00:07:52.000] Projects: /src/project/tsconfig.json
Info 308 [00:07:39.000] -----------------------------------------------
Info 308 [00:07:40.000] Open files:
Info 308 [00:07:41.000] FileName: /src/project/randomFileForImport.ts ProjectRootPath: undefined
Info 308 [00:07:42.000] Projects: /src/project/tsconfig.json
Info 308 [00:07:43.000] FileName: /src/project/randomFileForTypeRef.ts ProjectRootPath: undefined
Info 308 [00:07:44.000] Projects: /src/project/tsconfig.json
After running timeout callbacks
PolledWatches::
@@ -368,16 +368,13 @@ Info 91 [00:02:22.000] Reusing resolution of module 'pkg1' from '/src/project/
Info 92 [00:02:23.000] Reusing resolution of type reference directive 'pkg2' from '/src/project/fileWithTypeRefs.ts' of old program, it was successfully resolved to '/src/project/node_modules/pkg2/index.d.ts'.
Info 93 [00:02:24.000] Reusing resolution of type reference directive 'pkg3' from '/src/project/fileWithTypeRefs.ts' of old program, it was not resolved.
Info 94 [00:02:25.000] ======== Resolving module 'pkg0' from '/src/project/randomFileForImport.ts'. ========
Info 95 [00:02:26.000] Module resolution kind is not specified, using 'Classic'.
Info 96 [00:02:27.000] File '/src/project/pkg0.ts' does not exist.
Info 97 [00:02:28.000] File '/src/project/pkg0.tsx' does not exist.
Info 98 [00:02:29.000] File '/src/project/pkg0.d.ts' exist - use it as a name resolution result.
Info 99 [00:02:30.000] ======== Module name 'pkg0' was successfully resolved to '/src/project/pkg0.d.ts'. ========
Info 100 [00:02:31.000] Reusing resolution of type reference directive 'pkg4' from '/src/project/__inferred type names__.ts' of old program, it was successfully resolved to '/src/project/node_modules/@types/pkg4/index.d.ts'.
Info 101 [00:02:32.000] Finishing updateGraphWorker: Project: /src/project/tsconfig.json Version: 2 structureChanged: true structureIsReused:: SafeModules Elapsed:: *ms
Info 102 [00:02:33.000] Different program with same set of files
Info 103 [00:02:34.000] modify randomFileForTypeRef by adding typeRef
Info 104 [00:02:35.000] request:
Info 95 [00:02:26.000] Resolution for module 'pkg0' was found in cache from location '/src/project'.
Info 96 [00:02:27.000] ======== Module name 'pkg0' was successfully resolved to '/src/project/pkg0.d.ts'. ========
Info 97 [00:02:28.000] Reusing resolution of type reference directive 'pkg4' from '/src/project/__inferred type names__.ts' of old program, it was successfully resolved to '/src/project/node_modules/@types/pkg4/index.d.ts'.
Info 98 [00:02:29.000] Finishing updateGraphWorker: Project: /src/project/tsconfig.json Version: 2 structureChanged: true structureIsReused:: SafeModules Elapsed:: *ms
Info 99 [00:02:30.000] Different program with same set of files
Info 100 [00:02:31.000] modify randomFileForTypeRef by adding typeRef
Info 101 [00:02:32.000] request:
{
"command": "change",
"arguments": {
@@ -439,34 +436,29 @@ FsWatchesRecursive::
/src/project/node_modules/@types:
{}
Info 105 [00:02:36.000] response:
Info 102 [00:02:33.000] response:
{
"responseRequired": false
}
Info 106 [00:02:37.000] Starting updateGraphWorker: Project: /src/project/tsconfig.json
Info 107 [00:02:38.000] Reusing resolution of module 'pkg0' from '/src/project/fileWithImports.ts' of old program, it was successfully resolved to '/src/project/pkg0.d.ts'.
Info 108 [00:02:39.000] Reusing resolution of module 'pkg1' from '/src/project/fileWithImports.ts' of old program, it was not resolved.
Info 109 [00:02:40.000] Reusing resolution of type reference directive 'pkg2' from '/src/project/fileWithTypeRefs.ts' of old program, it was successfully resolved to '/src/project/node_modules/pkg2/index.d.ts'.
Info 110 [00:02:41.000] Reusing resolution of type reference directive 'pkg3' from '/src/project/fileWithTypeRefs.ts' of old program, it was not resolved.
Info 111 [00:02:42.000] Reusing resolution of module 'pkg0' from '/src/project/randomFileForImport.ts' of old program, it was successfully resolved to '/src/project/pkg0.d.ts'.
Info 112 [00:02:43.000] ======== Resolving type reference directive 'pkg2', containing file '/src/project/randomFileForTypeRef.ts', root directory '/src/project/node_modules/@types'. ========
Info 113 [00:02:44.000] Resolving with primary search path '/src/project/node_modules/@types'.
Info 114 [00:02:45.000] Looking up in 'node_modules' folder, initial location '/src/project'.
Info 115 [00:02:46.000] File '/src/project/node_modules/pkg2/package.json' does not exist according to earlier cached lookups.
Info 116 [00:02:47.000] File '/src/project/node_modules/pkg2.d.ts' does not exist.
Info 117 [00:02:48.000] File '/src/project/node_modules/pkg2/index.d.ts' exist - use it as a name resolution result.
Info 118 [00:02:49.000] Resolving real path for '/src/project/node_modules/pkg2/index.d.ts', result '/src/project/node_modules/pkg2/index.d.ts'.
Info 119 [00:02:50.000] ======== Type reference directive 'pkg2' was successfully resolved to '/src/project/node_modules/pkg2/index.d.ts', primary: false. ========
Info 120 [00:02:51.000] Reusing resolution of type reference directive 'pkg4' from '/src/project/__inferred type names__.ts' of old program, it was successfully resolved to '/src/project/node_modules/@types/pkg4/index.d.ts'.
Info 121 [00:02:52.000] Finishing updateGraphWorker: Project: /src/project/tsconfig.json Version: 3 structureChanged: true structureIsReused:: SafeModules Elapsed:: *ms
Info 122 [00:02:53.000] Different program with same set of files
Info 123 [00:02:54.000] write file not resolved by import
Info 124 [00:02:57.000] DirectoryWatcher:: Triggered with /src/project/pkg1.d.ts :: WatchInfo: /src/project 0 undefined Config: /src/project/tsconfig.json WatchType: Wild card directory
Info 125 [00:02:58.000] Project: /src/project/tsconfig.json Detected excluded file: /src/project/pkg1.d.ts
Info 126 [00:02:59.000] Elapsed:: *ms DirectoryWatcher:: Triggered with /src/project/pkg1.d.ts :: WatchInfo: /src/project 0 undefined Config: /src/project/tsconfig.json WatchType: Wild card directory
Info 127 [00:03:00.000] DirectoryWatcher:: Triggered with /src/project/pkg1.d.ts :: WatchInfo: /src/project 0 undefined Project: /src/project/tsconfig.json WatchType: Failed Lookup Locations
Info 128 [00:03:01.000] Scheduled: /src/project/tsconfig.jsonFailedLookupInvalidation
Info 129 [00:03:02.000] Elapsed:: *ms DirectoryWatcher:: Triggered with /src/project/pkg1.d.ts :: WatchInfo: /src/project 0 undefined Project: /src/project/tsconfig.json WatchType: Failed Lookup Locations
Info 103 [00:02:34.000] Starting updateGraphWorker: Project: /src/project/tsconfig.json
Info 104 [00:02:35.000] Reusing resolution of module 'pkg0' from '/src/project/fileWithImports.ts' of old program, it was successfully resolved to '/src/project/pkg0.d.ts'.
Info 105 [00:02:36.000] Reusing resolution of module 'pkg1' from '/src/project/fileWithImports.ts' of old program, it was not resolved.
Info 106 [00:02:37.000] Reusing resolution of type reference directive 'pkg2' from '/src/project/fileWithTypeRefs.ts' of old program, it was successfully resolved to '/src/project/node_modules/pkg2/index.d.ts'.
Info 107 [00:02:38.000] Reusing resolution of type reference directive 'pkg3' from '/src/project/fileWithTypeRefs.ts' of old program, it was not resolved.
Info 108 [00:02:39.000] Reusing resolution of module 'pkg0' from '/src/project/randomFileForImport.ts' of old program, it was successfully resolved to '/src/project/pkg0.d.ts'.
Info 109 [00:02:40.000] ======== Resolving type reference directive 'pkg2', containing file '/src/project/randomFileForTypeRef.ts'. ========
Info 110 [00:02:41.000] Resolution for type reference directive 'pkg2' was found in cache from location '/src/project'.
Info 111 [00:02:42.000] ======== Type reference directive 'pkg2' was successfully resolved to '/src/project/node_modules/pkg2/index.d.ts', primary: false. ========
Info 112 [00:02:43.000] Reusing resolution of type reference directive 'pkg4' from '/src/project/__inferred type names__.ts' of old program, it was successfully resolved to '/src/project/node_modules/@types/pkg4/index.d.ts'.
Info 113 [00:02:44.000] Finishing updateGraphWorker: Project: /src/project/tsconfig.json Version: 3 structureChanged: true structureIsReused:: SafeModules Elapsed:: *ms
Info 114 [00:02:45.000] Different program with same set of files
Info 115 [00:02:46.000] write file not resolved by import
Info 116 [00:02:49.000] DirectoryWatcher:: Triggered with /src/project/pkg1.d.ts :: WatchInfo: /src/project 0 undefined Config: /src/project/tsconfig.json WatchType: Wild card directory
Info 117 [00:02:50.000] Project: /src/project/tsconfig.json Detected excluded file: /src/project/pkg1.d.ts
Info 118 [00:02:51.000] Elapsed:: *ms DirectoryWatcher:: Triggered with /src/project/pkg1.d.ts :: WatchInfo: /src/project 0 undefined Config: /src/project/tsconfig.json WatchType: Wild card directory
Info 119 [00:02:52.000] DirectoryWatcher:: Triggered with /src/project/pkg1.d.ts :: WatchInfo: /src/project 0 undefined Project: /src/project/tsconfig.json WatchType: Failed Lookup Locations
Info 120 [00:02:53.000] Scheduled: /src/project/tsconfig.jsonFailedLookupInvalidation
Info 121 [00:02:54.000] Elapsed:: *ms DirectoryWatcher:: Triggered with /src/project/pkg1.d.ts :: WatchInfo: /src/project 0 undefined Project: /src/project/tsconfig.json WatchType: Failed Lookup Locations
Before running timeout callbacks
//// [/src/project/pkg1.d.ts]
export interface RequireInterface1 {}
@@ -494,9 +486,9 @@ FsWatchesRecursive::
/src/project/node_modules/@types:
{}
Info 130 [00:03:03.000] Running: /src/project/tsconfig.jsonFailedLookupInvalidation
Info 131 [00:03:04.000] Scheduled: /src/project/tsconfig.json
Info 132 [00:03:05.000] Scheduled: *ensureProjectForOpenFiles*
Info 122 [00:02:55.000] Running: /src/project/tsconfig.jsonFailedLookupInvalidation
Info 123 [00:02:56.000] Scheduled: /src/project/tsconfig.json
Info 124 [00:02:57.000] Scheduled: *ensureProjectForOpenFiles*
After running timeout callbacks
PolledWatches::
@@ -545,26 +537,26 @@ FsWatchesRecursive::
/src/project/node_modules/@types:
{}
Info 133 [00:03:06.000] Running: /src/project/tsconfig.json
Info 134 [00:03:07.000] Starting updateGraphWorker: Project: /src/project/tsconfig.json
Info 135 [00:03:08.000] Reusing resolution of module 'pkg0' from '/src/project/fileWithImports.ts' of old program, it was successfully resolved to '/src/project/pkg0.d.ts'.
Info 136 [00:03:09.000] ======== Resolving module 'pkg1' from '/src/project/fileWithImports.ts'. ========
Info 137 [00:03:10.000] Module resolution kind is not specified, using 'Classic'.
Info 138 [00:03:11.000] File '/src/project/pkg1.ts' does not exist.
Info 139 [00:03:12.000] File '/src/project/pkg1.tsx' does not exist.
Info 140 [00:03:13.000] File '/src/project/pkg1.d.ts' exist - use it as a name resolution result.
Info 141 [00:03:14.000] ======== Module name 'pkg1' was successfully resolved to '/src/project/pkg1.d.ts'. ========
Info 142 [00:03:15.000] FileWatcher:: Added:: WatchInfo: /src/project/pkg1.d.ts 500 undefined WatchType: Closed Script info
Info 143 [00:03:16.000] Reusing resolution of type reference directive 'pkg2' from '/src/project/fileWithTypeRefs.ts' of old program, it was successfully resolved to '/src/project/node_modules/pkg2/index.d.ts'.
Info 144 [00:03:17.000] Reusing resolution of type reference directive 'pkg3' from '/src/project/fileWithTypeRefs.ts' of old program, it was not resolved.
Info 145 [00:03:18.000] Reusing resolution of module 'pkg0' from '/src/project/randomFileForImport.ts' of old program, it was successfully resolved to '/src/project/pkg0.d.ts'.
Info 146 [00:03:19.000] Reusing resolution of type reference directive 'pkg2' from '/src/project/randomFileForTypeRef.ts' of old program, it was successfully resolved to '/src/project/node_modules/pkg2/index.d.ts'.
Info 147 [00:03:20.000] Reusing resolution of type reference directive 'pkg4' from '/src/project/__inferred type names__.ts' of old program, it was successfully resolved to '/src/project/node_modules/@types/pkg4/index.d.ts'.
Info 148 [00:03:21.000] DirectoryWatcher:: Close:: WatchInfo: /src/project 0 undefined Project: /src/project/tsconfig.json WatchType: Failed Lookup Locations
Info 149 [00:03:22.000] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /src/project 0 undefined Project: /src/project/tsconfig.json WatchType: Failed Lookup Locations
Info 150 [00:03:23.000] Finishing updateGraphWorker: Project: /src/project/tsconfig.json Version: 4 structureChanged: true structureIsReused:: SafeModules Elapsed:: *ms
Info 151 [00:03:24.000] Project '/src/project/tsconfig.json' (Configured)
Info 152 [00:03:25.000] Files (9)
Info 125 [00:02:58.000] Running: /src/project/tsconfig.json
Info 126 [00:02:59.000] Starting updateGraphWorker: Project: /src/project/tsconfig.json
Info 127 [00:03:00.000] Reusing resolution of module 'pkg0' from '/src/project/fileWithImports.ts' of old program, it was successfully resolved to '/src/project/pkg0.d.ts'.
Info 128 [00:03:01.000] ======== Resolving module 'pkg1' from '/src/project/fileWithImports.ts'. ========
Info 129 [00:03:02.000] Module resolution kind is not specified, using 'Classic'.
Info 130 [00:03:03.000] File '/src/project/pkg1.ts' does not exist.
Info 131 [00:03:04.000] File '/src/project/pkg1.tsx' does not exist.
Info 132 [00:03:05.000] File '/src/project/pkg1.d.ts' exist - use it as a name resolution result.
Info 133 [00:03:06.000] ======== Module name 'pkg1' was successfully resolved to '/src/project/pkg1.d.ts'. ========
Info 134 [00:03:07.000] FileWatcher:: Added:: WatchInfo: /src/project/pkg1.d.ts 500 undefined WatchType: Closed Script info
Info 135 [00:03:08.000] Reusing resolution of type reference directive 'pkg2' from '/src/project/fileWithTypeRefs.ts' of old program, it was successfully resolved to '/src/project/node_modules/pkg2/index.d.ts'.
Info 136 [00:03:09.000] Reusing resolution of type reference directive 'pkg3' from '/src/project/fileWithTypeRefs.ts' of old program, it was not resolved.
Info 137 [00:03:10.000] Reusing resolution of module 'pkg0' from '/src/project/randomFileForImport.ts' of old program, it was successfully resolved to '/src/project/pkg0.d.ts'.
Info 138 [00:03:11.000] Reusing resolution of type reference directive 'pkg2' from '/src/project/randomFileForTypeRef.ts' of old program, it was successfully resolved to '/src/project/node_modules/pkg2/index.d.ts'.
Info 139 [00:03:12.000] Reusing resolution of type reference directive 'pkg4' from '/src/project/__inferred type names__.ts' of old program, it was successfully resolved to '/src/project/node_modules/@types/pkg4/index.d.ts'.
Info 140 [00:03:13.000] DirectoryWatcher:: Close:: WatchInfo: /src/project 0 undefined Project: /src/project/tsconfig.json WatchType: Failed Lookup Locations
Info 141 [00:03:14.000] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /src/project 0 undefined Project: /src/project/tsconfig.json WatchType: Failed Lookup Locations
Info 142 [00:03:15.000] Finishing updateGraphWorker: Project: /src/project/tsconfig.json Version: 4 structureChanged: true structureIsReused:: SafeModules Elapsed:: *ms
Info 143 [00:03:16.000] Project '/src/project/tsconfig.json' (Configured)
Info 144 [00:03:17.000] Files (9)
/a/lib/lib.d.ts
/src/project/pkg0.d.ts
/src/project/pkg1.d.ts
@@ -596,28 +588,28 @@ Info 152 [00:03:25.000] Files (9)
node_modules/@types/pkg4/index.d.ts
Entry point for implicit type library 'pkg4'
Info 153 [00:03:26.000] -----------------------------------------------
Info 154 [00:03:27.000] Running: *ensureProjectForOpenFiles*
Info 155 [00:03:28.000] Before ensureProjectForOpenFiles:
Info 156 [00:03:29.000] Project '/src/project/tsconfig.json' (Configured)
Info 156 [00:03:30.000] Files (9)
Info 145 [00:03:18.000] -----------------------------------------------
Info 146 [00:03:19.000] Running: *ensureProjectForOpenFiles*
Info 147 [00:03:20.000] Before ensureProjectForOpenFiles:
Info 148 [00:03:21.000] Project '/src/project/tsconfig.json' (Configured)
Info 148 [00:03:22.000] Files (9)
Info 156 [00:03:31.000] -----------------------------------------------
Info 156 [00:03:32.000] Open files:
Info 156 [00:03:33.000] FileName: /src/project/randomFileForImport.ts ProjectRootPath: undefined
Info 156 [00:03:34.000] Projects: /src/project/tsconfig.json
Info 156 [00:03:35.000] FileName: /src/project/randomFileForTypeRef.ts ProjectRootPath: undefined
Info 156 [00:03:36.000] Projects: /src/project/tsconfig.json
Info 156 [00:03:37.000] After ensureProjectForOpenFiles:
Info 157 [00:03:38.000] Project '/src/project/tsconfig.json' (Configured)
Info 157 [00:03:39.000] Files (9)
Info 148 [00:03:23.000] -----------------------------------------------
Info 148 [00:03:24.000] Open files:
Info 148 [00:03:25.000] FileName: /src/project/randomFileForImport.ts ProjectRootPath: undefined
Info 148 [00:03:26.000] Projects: /src/project/tsconfig.json
Info 148 [00:03:27.000] FileName: /src/project/randomFileForTypeRef.ts ProjectRootPath: undefined
Info 148 [00:03:28.000] Projects: /src/project/tsconfig.json
Info 148 [00:03:29.000] After ensureProjectForOpenFiles:
Info 149 [00:03:30.000] Project '/src/project/tsconfig.json' (Configured)
Info 149 [00:03:31.000] Files (9)
Info 157 [00:03:40.000] -----------------------------------------------
Info 157 [00:03:41.000] Open files:
Info 157 [00:03:42.000] FileName: /src/project/randomFileForImport.ts ProjectRootPath: undefined
Info 157 [00:03:43.000] Projects: /src/project/tsconfig.json
Info 157 [00:03:44.000] FileName: /src/project/randomFileForTypeRef.ts ProjectRootPath: undefined
Info 157 [00:03:45.000] Projects: /src/project/tsconfig.json
Info 149 [00:03:32.000] -----------------------------------------------
Info 149 [00:03:33.000] Open files:
Info 149 [00:03:34.000] FileName: /src/project/randomFileForImport.ts ProjectRootPath: undefined
Info 149 [00:03:35.000] Projects: /src/project/tsconfig.json
Info 149 [00:03:36.000] FileName: /src/project/randomFileForTypeRef.ts ProjectRootPath: undefined
Info 149 [00:03:37.000] Projects: /src/project/tsconfig.json
After running timeout callbacks
PolledWatches::
@@ -644,17 +636,17 @@ FsWatchesRecursive::
/src/project/node_modules/@types:
{}
Info 157 [00:03:46.000] write file not resolved by typeRef
Info 158 [00:03:50.000] DirectoryWatcher:: Triggered with /src/project/node_modules/pkg3 :: WatchInfo: /src/project/node_modules 1 undefined WatchType: node_modules for closed script infos and package.jsons affecting module specifier cache
Info 159 [00:03:51.000] Elapsed:: *ms DirectoryWatcher:: Triggered with /src/project/node_modules/pkg3 :: WatchInfo: /src/project/node_modules 1 undefined WatchType: node_modules for closed script infos and package.jsons affecting module specifier cache
Info 160 [00:03:52.000] DirectoryWatcher:: Triggered with /src/project/node_modules/pkg3 :: WatchInfo: /src/project/node_modules 1 undefined Project: /src/project/tsconfig.json WatchType: Failed Lookup Locations
Info 161 [00:03:53.000] Scheduled: /src/project/tsconfig.jsonFailedLookupInvalidation
Info 162 [00:03:54.000] Elapsed:: *ms DirectoryWatcher:: Triggered with /src/project/node_modules/pkg3 :: WatchInfo: /src/project/node_modules 1 undefined Project: /src/project/tsconfig.json WatchType: Failed Lookup Locations
Info 163 [00:03:56.000] DirectoryWatcher:: Triggered with /src/project/node_modules/pkg3/index.d.ts :: WatchInfo: /src/project/node_modules 1 undefined WatchType: node_modules for closed script infos and package.jsons affecting module specifier cache
Info 164 [00:03:57.000] Elapsed:: *ms DirectoryWatcher:: Triggered with /src/project/node_modules/pkg3/index.d.ts :: WatchInfo: /src/project/node_modules 1 undefined WatchType: node_modules for closed script infos and package.jsons affecting module specifier cache
Info 165 [00:03:58.000] DirectoryWatcher:: Triggered with /src/project/node_modules/pkg3/index.d.ts :: WatchInfo: /src/project/node_modules 1 undefined Project: /src/project/tsconfig.json WatchType: Failed Lookup Locations
Info 166 [00:03:59.000] Scheduled: /src/project/tsconfig.jsonFailedLookupInvalidation, Cancelled earlier one
Info 167 [00:04:00.000] Elapsed:: *ms DirectoryWatcher:: Triggered with /src/project/node_modules/pkg3/index.d.ts :: WatchInfo: /src/project/node_modules 1 undefined Project: /src/project/tsconfig.json WatchType: Failed Lookup Locations
Info 149 [00:03:38.000] write file not resolved by typeRef
Info 150 [00:03:42.000] DirectoryWatcher:: Triggered with /src/project/node_modules/pkg3 :: WatchInfo: /src/project/node_modules 1 undefined WatchType: node_modules for closed script infos and package.jsons affecting module specifier cache
Info 151 [00:03:43.000] Elapsed:: *ms DirectoryWatcher:: Triggered with /src/project/node_modules/pkg3 :: WatchInfo: /src/project/node_modules 1 undefined WatchType: node_modules for closed script infos and package.jsons affecting module specifier cache
Info 152 [00:03:44.000] DirectoryWatcher:: Triggered with /src/project/node_modules/pkg3 :: WatchInfo: /src/project/node_modules 1 undefined Project: /src/project/tsconfig.json WatchType: Failed Lookup Locations
Info 153 [00:03:45.000] Scheduled: /src/project/tsconfig.jsonFailedLookupInvalidation
Info 154 [00:03:46.000] Elapsed:: *ms DirectoryWatcher:: Triggered with /src/project/node_modules/pkg3 :: WatchInfo: /src/project/node_modules 1 undefined Project: /src/project/tsconfig.json WatchType: Failed Lookup Locations
Info 155 [00:03:48.000] DirectoryWatcher:: Triggered with /src/project/node_modules/pkg3/index.d.ts :: WatchInfo: /src/project/node_modules 1 undefined WatchType: node_modules for closed script infos and package.jsons affecting module specifier cache
Info 156 [00:03:49.000] Elapsed:: *ms DirectoryWatcher:: Triggered with /src/project/node_modules/pkg3/index.d.ts :: WatchInfo: /src/project/node_modules 1 undefined WatchType: node_modules for closed script infos and package.jsons affecting module specifier cache
Info 157 [00:03:50.000] DirectoryWatcher:: Triggered with /src/project/node_modules/pkg3/index.d.ts :: WatchInfo: /src/project/node_modules 1 undefined Project: /src/project/tsconfig.json WatchType: Failed Lookup Locations
Info 158 [00:03:51.000] Scheduled: /src/project/tsconfig.jsonFailedLookupInvalidation, Cancelled earlier one
Info 159 [00:03:52.000] Elapsed:: *ms DirectoryWatcher:: Triggered with /src/project/node_modules/pkg3/index.d.ts :: WatchInfo: /src/project/node_modules 1 undefined Project: /src/project/tsconfig.json WatchType: Failed Lookup Locations
Before running timeout callbacks
//// [/src/project/node_modules/pkg3/index.d.ts]
export interface RequireInterface3 {}
@@ -684,9 +676,9 @@ FsWatchesRecursive::
/src/project/node_modules/@types:
{}
Info 168 [00:04:01.000] Running: /src/project/tsconfig.jsonFailedLookupInvalidation
Info 169 [00:04:02.000] Scheduled: /src/project/tsconfig.json
Info 170 [00:04:03.000] Scheduled: *ensureProjectForOpenFiles*
Info 160 [00:03:53.000] Running: /src/project/tsconfig.jsonFailedLookupInvalidation
Info 161 [00:03:54.000] Scheduled: /src/project/tsconfig.json
Info 162 [00:03:55.000] Scheduled: *ensureProjectForOpenFiles*
After running timeout callbacks
PolledWatches::
@@ -739,27 +731,27 @@ FsWatchesRecursive::
/src/project/node_modules/@types:
{}
Info 171 [00:04:04.000] Running: /src/project/tsconfig.json
Info 172 [00:04:05.000] Starting updateGraphWorker: Project: /src/project/tsconfig.json
Info 173 [00:04:06.000] Reusing resolution of module 'pkg0' from '/src/project/fileWithImports.ts' of old program, it was successfully resolved to '/src/project/pkg0.d.ts'.
Info 174 [00:04:07.000] Reusing resolution of module 'pkg1' from '/src/project/fileWithImports.ts' of old program, it was successfully resolved to '/src/project/pkg1.d.ts'.
Info 175 [00:04:08.000] Reusing resolution of type reference directive 'pkg2' from '/src/project/fileWithTypeRefs.ts' of old program, it was successfully resolved to '/src/project/node_modules/pkg2/index.d.ts'.
Info 176 [00:04:09.000] ======== Resolving type reference directive 'pkg3', containing file '/src/project/fileWithTypeRefs.ts', root directory '/src/project/node_modules/@types'. ========
Info 177 [00:04:10.000] Resolving with primary search path '/src/project/node_modules/@types'.
Info 178 [00:04:11.000] Looking up in 'node_modules' folder, initial location '/src/project'.
Info 179 [00:04:12.000] File '/src/project/node_modules/pkg3/package.json' does not exist.
Info 180 [00:04:13.000] File '/src/project/node_modules/pkg3.d.ts' does not exist.
Info 181 [00:04:14.000] File '/src/project/node_modules/pkg3/index.d.ts' exist - use it as a name resolution result.
Info 182 [00:04:15.000] Resolving real path for '/src/project/node_modules/pkg3/index.d.ts', result '/src/project/node_modules/pkg3/index.d.ts'.
Info 183 [00:04:16.000] ======== Type reference directive 'pkg3' was successfully resolved to '/src/project/node_modules/pkg3/index.d.ts', primary: false. ========
Info 184 [00:04:17.000] Reusing resolution of module 'pkg0' from '/src/project/randomFileForImport.ts' of old program, it was successfully resolved to '/src/project/pkg0.d.ts'.
Info 185 [00:04:18.000] Reusing resolution of type reference directive 'pkg2' from '/src/project/randomFileForTypeRef.ts' of old program, it was successfully resolved to '/src/project/node_modules/pkg2/index.d.ts'.
Info 186 [00:04:19.000] Reusing resolution of type reference directive 'pkg4' from '/src/project/__inferred type names__.ts' of old program, it was successfully resolved to '/src/project/node_modules/@types/pkg4/index.d.ts'.
Info 187 [00:04:20.000] DirectoryWatcher:: Close:: WatchInfo: /src/project/node_modules 1 undefined Project: /src/project/tsconfig.json WatchType: Failed Lookup Locations
Info 188 [00:04:21.000] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /src/project/node_modules 1 undefined Project: /src/project/tsconfig.json WatchType: Failed Lookup Locations
Info 189 [00:04:22.000] Finishing updateGraphWorker: Project: /src/project/tsconfig.json Version: 5 structureChanged: true structureIsReused:: SafeModules Elapsed:: *ms
Info 190 [00:04:23.000] Project '/src/project/tsconfig.json' (Configured)
Info 191 [00:04:24.000] Files (10)
Info 163 [00:03:56.000] Running: /src/project/tsconfig.json
Info 164 [00:03:57.000] Starting updateGraphWorker: Project: /src/project/tsconfig.json
Info 165 [00:03:58.000] Reusing resolution of module 'pkg0' from '/src/project/fileWithImports.ts' of old program, it was successfully resolved to '/src/project/pkg0.d.ts'.
Info 166 [00:03:59.000] Reusing resolution of module 'pkg1' from '/src/project/fileWithImports.ts' of old program, it was successfully resolved to '/src/project/pkg1.d.ts'.
Info 167 [00:04:00.000] Reusing resolution of type reference directive 'pkg2' from '/src/project/fileWithTypeRefs.ts' of old program, it was successfully resolved to '/src/project/node_modules/pkg2/index.d.ts'.
Info 168 [00:04:01.000] ======== Resolving type reference directive 'pkg3', containing file '/src/project/fileWithTypeRefs.ts', root directory '/src/project/node_modules/@types'. ========
Info 169 [00:04:02.000] Resolving with primary search path '/src/project/node_modules/@types'.
Info 170 [00:04:03.000] Looking up in 'node_modules' folder, initial location '/src/project'.
Info 171 [00:04:04.000] File '/src/project/node_modules/pkg3/package.json' does not exist.
Info 172 [00:04:05.000] File '/src/project/node_modules/pkg3.d.ts' does not exist.
Info 173 [00:04:06.000] File '/src/project/node_modules/pkg3/index.d.ts' exist - use it as a name resolution result.
Info 174 [00:04:07.000] Resolving real path for '/src/project/node_modules/pkg3/index.d.ts', result '/src/project/node_modules/pkg3/index.d.ts'.
Info 175 [00:04:08.000] ======== Type reference directive 'pkg3' was successfully resolved to '/src/project/node_modules/pkg3/index.d.ts', primary: false. ========
Info 176 [00:04:09.000] Reusing resolution of module 'pkg0' from '/src/project/randomFileForImport.ts' of old program, it was successfully resolved to '/src/project/pkg0.d.ts'.
Info 177 [00:04:10.000] Reusing resolution of type reference directive 'pkg2' from '/src/project/randomFileForTypeRef.ts' of old program, it was successfully resolved to '/src/project/node_modules/pkg2/index.d.ts'.
Info 178 [00:04:11.000] Reusing resolution of type reference directive 'pkg4' from '/src/project/__inferred type names__.ts' of old program, it was successfully resolved to '/src/project/node_modules/@types/pkg4/index.d.ts'.
Info 179 [00:04:12.000] DirectoryWatcher:: Close:: WatchInfo: /src/project/node_modules 1 undefined Project: /src/project/tsconfig.json WatchType: Failed Lookup Locations
Info 180 [00:04:13.000] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /src/project/node_modules 1 undefined Project: /src/project/tsconfig.json WatchType: Failed Lookup Locations
Info 181 [00:04:14.000] Finishing updateGraphWorker: Project: /src/project/tsconfig.json Version: 5 structureChanged: true structureIsReused:: SafeModules Elapsed:: *ms
Info 182 [00:04:15.000] Project '/src/project/tsconfig.json' (Configured)
Info 183 [00:04:16.000] Files (10)
/a/lib/lib.d.ts
/src/project/pkg0.d.ts
/src/project/pkg1.d.ts
@@ -794,28 +786,28 @@ Info 191 [00:04:24.000] Files (10)
node_modules/@types/pkg4/index.d.ts
Entry point for implicit type library 'pkg4'
Info 192 [00:04:25.000] -----------------------------------------------
Info 193 [00:04:26.000] Running: *ensureProjectForOpenFiles*
Info 194 [00:04:27.000] Before ensureProjectForOpenFiles:
Info 195 [00:04:28.000] Project '/src/project/tsconfig.json' (Configured)
Info 195 [00:04:29.000] Files (10)
Info 184 [00:04:17.000] -----------------------------------------------
Info 185 [00:04:18.000] Running: *ensureProjectForOpenFiles*
Info 186 [00:04:19.000] Before ensureProjectForOpenFiles:
Info 187 [00:04:20.000] Project '/src/project/tsconfig.json' (Configured)
Info 187 [00:04:21.000] Files (10)
Info 195 [00:04:30.000] -----------------------------------------------
Info 195 [00:04:31.000] Open files:
Info 195 [00:04:32.000] FileName: /src/project/randomFileForImport.ts ProjectRootPath: undefined
Info 195 [00:04:33.000] Projects: /src/project/tsconfig.json
Info 195 [00:04:34.000] FileName: /src/project/randomFileForTypeRef.ts ProjectRootPath: undefined
Info 195 [00:04:35.000] Projects: /src/project/tsconfig.json
Info 195 [00:04:36.000] After ensureProjectForOpenFiles:
Info 196 [00:04:37.000] Project '/src/project/tsconfig.json' (Configured)
Info 196 [00:04:38.000] Files (10)
Info 187 [00:04:22.000] -----------------------------------------------
Info 187 [00:04:23.000] Open files:
Info 187 [00:04:24.000] FileName: /src/project/randomFileForImport.ts ProjectRootPath: undefined
Info 187 [00:04:25.000] Projects: /src/project/tsconfig.json
Info 187 [00:04:26.000] FileName: /src/project/randomFileForTypeRef.ts ProjectRootPath: undefined
Info 187 [00:04:27.000] Projects: /src/project/tsconfig.json
Info 187 [00:04:28.000] After ensureProjectForOpenFiles:
Info 188 [00:04:29.000] Project '/src/project/tsconfig.json' (Configured)
Info 188 [00:04:30.000] Files (10)
Info 196 [00:04:39.000] -----------------------------------------------
Info 196 [00:04:40.000] Open files:
Info 196 [00:04:41.000] FileName: /src/project/randomFileForImport.ts ProjectRootPath: undefined
Info 196 [00:04:42.000] Projects: /src/project/tsconfig.json
Info 196 [00:04:43.000] FileName: /src/project/randomFileForTypeRef.ts ProjectRootPath: undefined
Info 196 [00:04:44.000] Projects: /src/project/tsconfig.json
Info 188 [00:04:31.000] -----------------------------------------------
Info 188 [00:04:32.000] Open files:
Info 188 [00:04:33.000] FileName: /src/project/randomFileForImport.ts ProjectRootPath: undefined
Info 188 [00:04:34.000] Projects: /src/project/tsconfig.json
Info 188 [00:04:35.000] FileName: /src/project/randomFileForTypeRef.ts ProjectRootPath: undefined
Info 188 [00:04:36.000] Projects: /src/project/tsconfig.json
After running timeout callbacks
PolledWatches::
@@ -842,16 +834,16 @@ FsWatchesRecursive::
/src/project/node_modules/@types:
{}
Info 196 [00:04:45.000] delete file with imports
Info 197 [00:04:47.000] FileWatcher:: Triggered with /src/project/fileWithImports.ts 2:: WatchInfo: /src/project/fileWithImports.ts 500 undefined WatchType: Closed Script info
Info 198 [00:04:48.000] FileWatcher:: Close:: WatchInfo: /src/project/fileWithImports.ts 500 undefined WatchType: Closed Script info
Info 199 [00:04:49.000] Scheduled: /src/project/tsconfig.json
Info 200 [00:04:50.000] Scheduled: *ensureProjectForOpenFiles*
Info 201 [00:04:51.000] Elapsed:: *ms FileWatcher:: Triggered with /src/project/fileWithImports.ts 2:: WatchInfo: /src/project/fileWithImports.ts 500 undefined WatchType: Closed Script info
Info 202 [00:04:52.000] DirectoryWatcher:: Triggered with /src/project/fileWithImports.ts :: WatchInfo: /src/project 0 undefined Config: /src/project/tsconfig.json WatchType: Wild card directory
Info 203 [00:04:53.000] Scheduled: /src/project/tsconfig.json, Cancelled earlier one
Info 204 [00:04:54.000] Scheduled: *ensureProjectForOpenFiles*, Cancelled earlier one
Info 205 [00:04:55.000] Elapsed:: *ms DirectoryWatcher:: Triggered with /src/project/fileWithImports.ts :: WatchInfo: /src/project 0 undefined Config: /src/project/tsconfig.json WatchType: Wild card directory
Info 188 [00:04:37.000] delete file with imports
Info 189 [00:04:39.000] FileWatcher:: Triggered with /src/project/fileWithImports.ts 2:: WatchInfo: /src/project/fileWithImports.ts 500 undefined WatchType: Closed Script info
Info 190 [00:04:40.000] FileWatcher:: Close:: WatchInfo: /src/project/fileWithImports.ts 500 undefined WatchType: Closed Script info
Info 191 [00:04:41.000] Scheduled: /src/project/tsconfig.json
Info 192 [00:04:42.000] Scheduled: *ensureProjectForOpenFiles*
Info 193 [00:04:43.000] Elapsed:: *ms FileWatcher:: Triggered with /src/project/fileWithImports.ts 2:: WatchInfo: /src/project/fileWithImports.ts 500 undefined WatchType: Closed Script info
Info 194 [00:04:44.000] DirectoryWatcher:: Triggered with /src/project/fileWithImports.ts :: WatchInfo: /src/project 0 undefined Config: /src/project/tsconfig.json WatchType: Wild card directory
Info 195 [00:04:45.000] Scheduled: /src/project/tsconfig.json, Cancelled earlier one
Info 196 [00:04:46.000] Scheduled: *ensureProjectForOpenFiles*, Cancelled earlier one
Info 197 [00:04:47.000] Elapsed:: *ms DirectoryWatcher:: Triggered with /src/project/fileWithImports.ts :: WatchInfo: /src/project 0 undefined Config: /src/project/tsconfig.json WatchType: Wild card directory
Before running timeout callbacks
//// [/src/project/fileWithImports.ts] deleted
@@ -877,16 +869,16 @@ FsWatchesRecursive::
/src/project/node_modules/@types:
{}
Info 206 [00:04:56.000] Running: /src/project/tsconfig.json
Info 207 [00:04:57.000] Starting updateGraphWorker: Project: /src/project/tsconfig.json
Info 208 [00:04:58.000] Reusing resolution of type reference directive 'pkg2' from '/src/project/fileWithTypeRefs.ts' of old program, it was successfully resolved to '/src/project/node_modules/pkg2/index.d.ts'.
Info 209 [00:04:59.000] Reusing resolution of type reference directive 'pkg3' from '/src/project/fileWithTypeRefs.ts' of old program, it was successfully resolved to '/src/project/node_modules/pkg3/index.d.ts'.
Info 210 [00:05:00.000] Reusing resolution of module 'pkg0' from '/src/project/randomFileForImport.ts' of old program, it was successfully resolved to '/src/project/pkg0.d.ts'.
Info 211 [00:05:01.000] Reusing resolution of type reference directive 'pkg2' from '/src/project/randomFileForTypeRef.ts' of old program, it was successfully resolved to '/src/project/node_modules/pkg2/index.d.ts'.
Info 212 [00:05:02.000] Reusing resolution of type reference directive 'pkg4' from '/src/project/__inferred type names__.ts' of old program, it was successfully resolved to '/src/project/node_modules/@types/pkg4/index.d.ts'.
Info 213 [00:05:03.000] Finishing updateGraphWorker: Project: /src/project/tsconfig.json Version: 6 structureChanged: true structureIsReused:: SafeModuleCache Elapsed:: *ms
Info 214 [00:05:04.000] Project '/src/project/tsconfig.json' (Configured)
Info 215 [00:05:05.000] Files (8)
Info 198 [00:04:48.000] Running: /src/project/tsconfig.json
Info 199 [00:04:49.000] Starting updateGraphWorker: Project: /src/project/tsconfig.json
Info 200 [00:04:50.000] Reusing resolution of type reference directive 'pkg2' from '/src/project/fileWithTypeRefs.ts' of old program, it was successfully resolved to '/src/project/node_modules/pkg2/index.d.ts'.
Info 201 [00:04:51.000] Reusing resolution of type reference directive 'pkg3' from '/src/project/fileWithTypeRefs.ts' of old program, it was successfully resolved to '/src/project/node_modules/pkg3/index.d.ts'.
Info 202 [00:04:52.000] Reusing resolution of module 'pkg0' from '/src/project/randomFileForImport.ts' of old program, it was successfully resolved to '/src/project/pkg0.d.ts'.
Info 203 [00:04:53.000] Reusing resolution of type reference directive 'pkg2' from '/src/project/randomFileForTypeRef.ts' of old program, it was successfully resolved to '/src/project/node_modules/pkg2/index.d.ts'.
Info 204 [00:04:54.000] Reusing resolution of type reference directive 'pkg4' from '/src/project/__inferred type names__.ts' of old program, it was successfully resolved to '/src/project/node_modules/@types/pkg4/index.d.ts'.
Info 205 [00:04:55.000] Finishing updateGraphWorker: Project: /src/project/tsconfig.json Version: 6 structureChanged: true structureIsReused:: SafeModuleCache Elapsed:: *ms
Info 206 [00:04:56.000] Project '/src/project/tsconfig.json' (Configured)
Info 207 [00:04:57.000] Files (8)
/a/lib/lib.d.ts
/src/project/node_modules/pkg2/index.d.ts
/src/project/node_modules/pkg3/index.d.ts
@@ -914,28 +906,28 @@ Info 215 [00:05:05.000] Files (8)
node_modules/@types/pkg4/index.d.ts
Entry point for implicit type library 'pkg4'
Info 216 [00:05:06.000] -----------------------------------------------
Info 217 [00:05:07.000] Running: *ensureProjectForOpenFiles*
Info 218 [00:05:08.000] Before ensureProjectForOpenFiles:
Info 219 [00:05:09.000] Project '/src/project/tsconfig.json' (Configured)
Info 219 [00:05:10.000] Files (8)
Info 208 [00:04:58.000] -----------------------------------------------
Info 209 [00:04:59.000] Running: *ensureProjectForOpenFiles*
Info 210 [00:05:00.000] Before ensureProjectForOpenFiles:
Info 211 [00:05:01.000] Project '/src/project/tsconfig.json' (Configured)
Info 211 [00:05:02.000] Files (8)
Info 219 [00:05:11.000] -----------------------------------------------
Info 219 [00:05:12.000] Open files:
Info 219 [00:05:13.000] FileName: /src/project/randomFileForImport.ts ProjectRootPath: undefined
Info 219 [00:05:14.000] Projects: /src/project/tsconfig.json
Info 219 [00:05:15.000] FileName: /src/project/randomFileForTypeRef.ts ProjectRootPath: undefined
Info 219 [00:05:16.000] Projects: /src/project/tsconfig.json
Info 219 [00:05:17.000] After ensureProjectForOpenFiles:
Info 220 [00:05:18.000] Project '/src/project/tsconfig.json' (Configured)
Info 220 [00:05:19.000] Files (8)
Info 211 [00:05:03.000] -----------------------------------------------
Info 211 [00:05:04.000] Open files:
Info 211 [00:05:05.000] FileName: /src/project/randomFileForImport.ts ProjectRootPath: undefined
Info 211 [00:05:06.000] Projects: /src/project/tsconfig.json
Info 211 [00:05:07.000] FileName: /src/project/randomFileForTypeRef.ts ProjectRootPath: undefined
Info 211 [00:05:08.000] Projects: /src/project/tsconfig.json
Info 211 [00:05:09.000] After ensureProjectForOpenFiles:
Info 212 [00:05:10.000] Project '/src/project/tsconfig.json' (Configured)
Info 212 [00:05:11.000] Files (8)
Info 220 [00:05:20.000] -----------------------------------------------
Info 220 [00:05:21.000] Open files:
Info 220 [00:05:22.000] FileName: /src/project/randomFileForImport.ts ProjectRootPath: undefined
Info 220 [00:05:23.000] Projects: /src/project/tsconfig.json
Info 220 [00:05:24.000] FileName: /src/project/randomFileForTypeRef.ts ProjectRootPath: undefined
Info 220 [00:05:25.000] Projects: /src/project/tsconfig.json
Info 212 [00:05:12.000] -----------------------------------------------
Info 212 [00:05:13.000] Open files:
Info 212 [00:05:14.000] FileName: /src/project/randomFileForImport.ts ProjectRootPath: undefined
Info 212 [00:05:15.000] Projects: /src/project/tsconfig.json
Info 212 [00:05:16.000] FileName: /src/project/randomFileForTypeRef.ts ProjectRootPath: undefined
Info 212 [00:05:17.000] Projects: /src/project/tsconfig.json
After running timeout callbacks
PolledWatches::
@@ -960,16 +952,16 @@ FsWatchesRecursive::
/src/project/node_modules/@types:
{}
Info 220 [00:05:26.000] delete file with typeRefs
Info 221 [00:05:28.000] FileWatcher:: Triggered with /src/project/fileWithTypeRefs.ts 2:: WatchInfo: /src/project/fileWithTypeRefs.ts 500 undefined WatchType: Closed Script info
Info 222 [00:05:29.000] FileWatcher:: Close:: WatchInfo: /src/project/fileWithTypeRefs.ts 500 undefined WatchType: Closed Script info
Info 223 [00:05:30.000] Scheduled: /src/project/tsconfig.json
Info 224 [00:05:31.000] Scheduled: *ensureProjectForOpenFiles*
Info 225 [00:05:32.000] Elapsed:: *ms FileWatcher:: Triggered with /src/project/fileWithTypeRefs.ts 2:: WatchInfo: /src/project/fileWithTypeRefs.ts 500 undefined WatchType: Closed Script info
Info 226 [00:05:33.000] DirectoryWatcher:: Triggered with /src/project/fileWithTypeRefs.ts :: WatchInfo: /src/project 0 undefined Config: /src/project/tsconfig.json WatchType: Wild card directory
Info 227 [00:05:34.000] Scheduled: /src/project/tsconfig.json, Cancelled earlier one
Info 228 [00:05:35.000] Scheduled: *ensureProjectForOpenFiles*, Cancelled earlier one
Info 229 [00:05:36.000] Elapsed:: *ms DirectoryWatcher:: Triggered with /src/project/fileWithTypeRefs.ts :: WatchInfo: /src/project 0 undefined Config: /src/project/tsconfig.json WatchType: Wild card directory
Info 212 [00:05:18.000] delete file with typeRefs
Info 213 [00:05:20.000] FileWatcher:: Triggered with /src/project/fileWithTypeRefs.ts 2:: WatchInfo: /src/project/fileWithTypeRefs.ts 500 undefined WatchType: Closed Script info
Info 214 [00:05:21.000] FileWatcher:: Close:: WatchInfo: /src/project/fileWithTypeRefs.ts 500 undefined WatchType: Closed Script info
Info 215 [00:05:22.000] Scheduled: /src/project/tsconfig.json
Info 216 [00:05:23.000] Scheduled: *ensureProjectForOpenFiles*
Info 217 [00:05:24.000] Elapsed:: *ms FileWatcher:: Triggered with /src/project/fileWithTypeRefs.ts 2:: WatchInfo: /src/project/fileWithTypeRefs.ts 500 undefined WatchType: Closed Script info
Info 218 [00:05:25.000] DirectoryWatcher:: Triggered with /src/project/fileWithTypeRefs.ts :: WatchInfo: /src/project 0 undefined Config: /src/project/tsconfig.json WatchType: Wild card directory
Info 219 [00:05:26.000] Scheduled: /src/project/tsconfig.json, Cancelled earlier one
Info 220 [00:05:27.000] Scheduled: *ensureProjectForOpenFiles*, Cancelled earlier one
Info 221 [00:05:28.000] Elapsed:: *ms DirectoryWatcher:: Triggered with /src/project/fileWithTypeRefs.ts :: WatchInfo: /src/project 0 undefined Config: /src/project/tsconfig.json WatchType: Wild card directory
Before running timeout callbacks
//// [/src/project/fileWithTypeRefs.ts] deleted
@@ -993,14 +985,14 @@ FsWatchesRecursive::
/src/project/node_modules/@types:
{}
Info 230 [00:05:37.000] Running: /src/project/tsconfig.json
Info 231 [00:05:38.000] Starting updateGraphWorker: Project: /src/project/tsconfig.json
Info 232 [00:05:39.000] Reusing resolution of module 'pkg0' from '/src/project/randomFileForImport.ts' of old program, it was successfully resolved to '/src/project/pkg0.d.ts'.
Info 233 [00:05:40.000] Reusing resolution of type reference directive 'pkg2' from '/src/project/randomFileForTypeRef.ts' of old program, it was successfully resolved to '/src/project/node_modules/pkg2/index.d.ts'.
Info 234 [00:05:41.000] Reusing resolution of type reference directive 'pkg4' from '/src/project/__inferred type names__.ts' of old program, it was successfully resolved to '/src/project/node_modules/@types/pkg4/index.d.ts'.
Info 235 [00:05:42.000] Finishing updateGraphWorker: Project: /src/project/tsconfig.json Version: 7 structureChanged: true structureIsReused:: SafeModuleCache Elapsed:: *ms
Info 236 [00:05:43.000] Project '/src/project/tsconfig.json' (Configured)
Info 237 [00:05:44.000] Files (6)
Info 222 [00:05:29.000] Running: /src/project/tsconfig.json
Info 223 [00:05:30.000] Starting updateGraphWorker: Project: /src/project/tsconfig.json
Info 224 [00:05:31.000] Reusing resolution of module 'pkg0' from '/src/project/randomFileForImport.ts' of old program, it was successfully resolved to '/src/project/pkg0.d.ts'.
Info 225 [00:05:32.000] Reusing resolution of type reference directive 'pkg2' from '/src/project/randomFileForTypeRef.ts' of old program, it was successfully resolved to '/src/project/node_modules/pkg2/index.d.ts'.
Info 226 [00:05:33.000] Reusing resolution of type reference directive 'pkg4' from '/src/project/__inferred type names__.ts' of old program, it was successfully resolved to '/src/project/node_modules/@types/pkg4/index.d.ts'.
Info 227 [00:05:34.000] Finishing updateGraphWorker: Project: /src/project/tsconfig.json Version: 7 structureChanged: true structureIsReused:: SafeModuleCache Elapsed:: *ms
Info 228 [00:05:35.000] Project '/src/project/tsconfig.json' (Configured)
Info 229 [00:05:36.000] Files (6)
/a/lib/lib.d.ts
/src/project/pkg0.d.ts
/src/project/randomFileForImport.ts
@@ -1022,28 +1014,28 @@ Info 237 [00:05:44.000] Files (6)
node_modules/@types/pkg4/index.d.ts
Entry point for implicit type library 'pkg4'
Info 238 [00:05:45.000] -----------------------------------------------
Info 239 [00:05:46.000] Running: *ensureProjectForOpenFiles*
Info 240 [00:05:47.000] Before ensureProjectForOpenFiles:
Info 241 [00:05:48.000] Project '/src/project/tsconfig.json' (Configured)
Info 241 [00:05:49.000] Files (6)
Info 230 [00:05:37.000] -----------------------------------------------
Info 231 [00:05:38.000] Running: *ensureProjectForOpenFiles*
Info 232 [00:05:39.000] Before ensureProjectForOpenFiles:
Info 233 [00:05:40.000] Project '/src/project/tsconfig.json' (Configured)
Info 233 [00:05:41.000] Files (6)
Info 241 [00:05:50.000] -----------------------------------------------
Info 241 [00:05:51.000] Open files:
Info 241 [00:05:52.000] FileName: /src/project/randomFileForImport.ts ProjectRootPath: undefined
Info 241 [00:05:53.000] Projects: /src/project/tsconfig.json
Info 241 [00:05:54.000] FileName: /src/project/randomFileForTypeRef.ts ProjectRootPath: undefined
Info 241 [00:05:55.000] Projects: /src/project/tsconfig.json
Info 241 [00:05:56.000] After ensureProjectForOpenFiles:
Info 242 [00:05:57.000] Project '/src/project/tsconfig.json' (Configured)
Info 242 [00:05:58.000] Files (6)
Info 233 [00:05:42.000] -----------------------------------------------
Info 233 [00:05:43.000] Open files:
Info 233 [00:05:44.000] FileName: /src/project/randomFileForImport.ts ProjectRootPath: undefined
Info 233 [00:05:45.000] Projects: /src/project/tsconfig.json
Info 233 [00:05:46.000] FileName: /src/project/randomFileForTypeRef.ts ProjectRootPath: undefined
Info 233 [00:05:47.000] Projects: /src/project/tsconfig.json
Info 233 [00:05:48.000] After ensureProjectForOpenFiles:
Info 234 [00:05:49.000] Project '/src/project/tsconfig.json' (Configured)
Info 234 [00:05:50.000] Files (6)
Info 242 [00:05:59.000] -----------------------------------------------
Info 242 [00:06:00.000] Open files:
Info 242 [00:06:01.000] FileName: /src/project/randomFileForImport.ts ProjectRootPath: undefined
Info 242 [00:06:02.000] Projects: /src/project/tsconfig.json
Info 242 [00:06:03.000] FileName: /src/project/randomFileForTypeRef.ts ProjectRootPath: undefined
Info 242 [00:06:04.000] Projects: /src/project/tsconfig.json
Info 234 [00:05:51.000] -----------------------------------------------
Info 234 [00:05:52.000] Open files:
Info 234 [00:05:53.000] FileName: /src/project/randomFileForImport.ts ProjectRootPath: undefined
Info 234 [00:05:54.000] Projects: /src/project/tsconfig.json
Info 234 [00:05:55.000] FileName: /src/project/randomFileForTypeRef.ts ProjectRootPath: undefined
Info 234 [00:05:56.000] Projects: /src/project/tsconfig.json
After running timeout callbacks
PolledWatches::
@@ -1066,15 +1058,15 @@ FsWatchesRecursive::
/src/project/node_modules/@types:
{}
Info 242 [00:06:05.000] delete resolved import file
Info 243 [00:06:07.000] FileWatcher:: Triggered with /src/project/pkg0.d.ts 2:: WatchInfo: /src/project/pkg0.d.ts 500 undefined WatchType: Closed Script info
Info 244 [00:06:08.000] FileWatcher:: Close:: WatchInfo: /src/project/pkg0.d.ts 500 undefined WatchType: Closed Script info
Info 245 [00:06:09.000] Scheduled: /src/project/tsconfig.json
Info 246 [00:06:10.000] Scheduled: *ensureProjectForOpenFiles*
Info 247 [00:06:11.000] Elapsed:: *ms FileWatcher:: Triggered with /src/project/pkg0.d.ts 2:: WatchInfo: /src/project/pkg0.d.ts 500 undefined WatchType: Closed Script info
Info 248 [00:06:12.000] DirectoryWatcher:: Triggered with /src/project/pkg0.d.ts :: WatchInfo: /src/project 0 undefined Config: /src/project/tsconfig.json WatchType: Wild card directory
Info 249 [00:06:13.000] Project: /src/project/tsconfig.json Detected excluded file: /src/project/pkg0.d.ts
Info 250 [00:06:14.000] Elapsed:: *ms DirectoryWatcher:: Triggered with /src/project/pkg0.d.ts :: WatchInfo: /src/project 0 undefined Config: /src/project/tsconfig.json WatchType: Wild card directory
Info 234 [00:05:57.000] delete resolved import file
Info 235 [00:05:59.000] FileWatcher:: Triggered with /src/project/pkg0.d.ts 2:: WatchInfo: /src/project/pkg0.d.ts 500 undefined WatchType: Closed Script info
Info 236 [00:06:00.000] FileWatcher:: Close:: WatchInfo: /src/project/pkg0.d.ts 500 undefined WatchType: Closed Script info
Info 237 [00:06:01.000] Scheduled: /src/project/tsconfig.json
Info 238 [00:06:02.000] Scheduled: *ensureProjectForOpenFiles*
Info 239 [00:06:03.000] Elapsed:: *ms FileWatcher:: Triggered with /src/project/pkg0.d.ts 2:: WatchInfo: /src/project/pkg0.d.ts 500 undefined WatchType: Closed Script info
Info 240 [00:06:04.000] DirectoryWatcher:: Triggered with /src/project/pkg0.d.ts :: WatchInfo: /src/project 0 undefined Config: /src/project/tsconfig.json WatchType: Wild card directory
Info 241 [00:06:05.000] Project: /src/project/tsconfig.json Detected excluded file: /src/project/pkg0.d.ts
Info 242 [00:06:06.000] Elapsed:: *ms DirectoryWatcher:: Triggered with /src/project/pkg0.d.ts :: WatchInfo: /src/project 0 undefined Config: /src/project/tsconfig.json WatchType: Wild card directory
Before running timeout callbacks
//// [/src/project/pkg0.d.ts] deleted
@@ -1096,38 +1088,38 @@ FsWatchesRecursive::
/src/project/node_modules/@types:
{}
Info 251 [00:06:15.000] Running: /src/project/tsconfig.json
Info 252 [00:06:16.000] Starting updateGraphWorker: Project: /src/project/tsconfig.json
Info 253 [00:06:17.000] ======== Resolving module 'pkg0' from '/src/project/randomFileForImport.ts'. ========
Info 254 [00:06:18.000] Module resolution kind is not specified, using 'Classic'.
Info 255 [00:06:19.000] File '/src/project/pkg0.ts' does not exist.
Info 256 [00:06:20.000] File '/src/project/pkg0.tsx' does not exist.
Info 257 [00:06:21.000] File '/src/project/pkg0.d.ts' does not exist.
Info 258 [00:06:22.000] File '/src/pkg0.ts' does not exist.
Info 259 [00:06:23.000] File '/src/pkg0.tsx' does not exist.
Info 260 [00:06:24.000] File '/src/pkg0.d.ts' does not exist.
Info 261 [00:06:25.000] File '/pkg0.ts' does not exist.
Info 262 [00:06:26.000] File '/pkg0.tsx' does not exist.
Info 263 [00:06:27.000] File '/pkg0.d.ts' does not exist.
Info 264 [00:06:28.000] File '/src/project/node_modules/@types/pkg0.d.ts' does not exist.
Info 265 [00:06:29.000] Directory '/src/node_modules' does not exist, skipping all lookups in it.
Info 266 [00:06:30.000] Directory '/node_modules' does not exist, skipping all lookups in it.
Info 267 [00:06:31.000] File '/src/project/pkg0.js' does not exist.
Info 268 [00:06:32.000] File '/src/project/pkg0.jsx' does not exist.
Info 269 [00:06:33.000] File '/src/pkg0.js' does not exist.
Info 270 [00:06:34.000] File '/src/pkg0.jsx' does not exist.
Info 271 [00:06:35.000] File '/pkg0.js' does not exist.
Info 272 [00:06:36.000] File '/pkg0.jsx' does not exist.
Info 273 [00:06:37.000] ======== Module name 'pkg0' was not resolved. ========
Info 274 [00:06:38.000] Reusing resolution of type reference directive 'pkg2' from '/src/project/randomFileForTypeRef.ts' of old program, it was successfully resolved to '/src/project/node_modules/pkg2/index.d.ts'.
Info 275 [00:06:39.000] Reusing resolution of type reference directive 'pkg4' from '/src/project/__inferred type names__.ts' of old program, it was successfully resolved to '/src/project/node_modules/@types/pkg4/index.d.ts'.
Info 276 [00:06:40.000] DirectoryWatcher:: Added:: WatchInfo: /src/project/node_modules 1 undefined Project: /src/project/tsconfig.json WatchType: Failed Lookup Locations
Info 277 [00:06:41.000] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /src/project/node_modules 1 undefined Project: /src/project/tsconfig.json WatchType: Failed Lookup Locations
Info 278 [00:06:42.000] DirectoryWatcher:: Added:: WatchInfo: /src/project 0 undefined Project: /src/project/tsconfig.json WatchType: Failed Lookup Locations
Info 279 [00:06:43.000] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /src/project 0 undefined Project: /src/project/tsconfig.json WatchType: Failed Lookup Locations
Info 280 [00:06:44.000] Finishing updateGraphWorker: Project: /src/project/tsconfig.json Version: 8 structureChanged: true structureIsReused:: SafeModuleCache Elapsed:: *ms
Info 281 [00:06:45.000] Project '/src/project/tsconfig.json' (Configured)
Info 282 [00:06:46.000] Files (5)
Info 243 [00:06:07.000] Running: /src/project/tsconfig.json
Info 244 [00:06:08.000] Starting updateGraphWorker: Project: /src/project/tsconfig.json
Info 245 [00:06:09.000] ======== Resolving module 'pkg0' from '/src/project/randomFileForImport.ts'. ========
Info 246 [00:06:10.000] Module resolution kind is not specified, using 'Classic'.
Info 247 [00:06:11.000] File '/src/project/pkg0.ts' does not exist.
Info 248 [00:06:12.000] File '/src/project/pkg0.tsx' does not exist.
Info 249 [00:06:13.000] File '/src/project/pkg0.d.ts' does not exist.
Info 250 [00:06:14.000] File '/src/pkg0.ts' does not exist.
Info 251 [00:06:15.000] File '/src/pkg0.tsx' does not exist.
Info 252 [00:06:16.000] File '/src/pkg0.d.ts' does not exist.
Info 253 [00:06:17.000] File '/pkg0.ts' does not exist.
Info 254 [00:06:18.000] File '/pkg0.tsx' does not exist.
Info 255 [00:06:19.000] File '/pkg0.d.ts' does not exist.
Info 256 [00:06:20.000] File '/src/project/node_modules/@types/pkg0.d.ts' does not exist.
Info 257 [00:06:21.000] Directory '/src/node_modules' does not exist, skipping all lookups in it.
Info 258 [00:06:22.000] Directory '/node_modules' does not exist, skipping all lookups in it.
Info 259 [00:06:23.000] File '/src/project/pkg0.js' does not exist.
Info 260 [00:06:24.000] File '/src/project/pkg0.jsx' does not exist.
Info 261 [00:06:25.000] File '/src/pkg0.js' does not exist.
Info 262 [00:06:26.000] File '/src/pkg0.jsx' does not exist.
Info 263 [00:06:27.000] File '/pkg0.js' does not exist.
Info 264 [00:06:28.000] File '/pkg0.jsx' does not exist.
Info 265 [00:06:29.000] ======== Module name 'pkg0' was not resolved. ========
Info 266 [00:06:30.000] Reusing resolution of type reference directive 'pkg2' from '/src/project/randomFileForTypeRef.ts' of old program, it was successfully resolved to '/src/project/node_modules/pkg2/index.d.ts'.
Info 267 [00:06:31.000] Reusing resolution of type reference directive 'pkg4' from '/src/project/__inferred type names__.ts' of old program, it was successfully resolved to '/src/project/node_modules/@types/pkg4/index.d.ts'.
Info 268 [00:06:32.000] DirectoryWatcher:: Added:: WatchInfo: /src/project/node_modules 1 undefined Project: /src/project/tsconfig.json WatchType: Failed Lookup Locations
Info 269 [00:06:33.000] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /src/project/node_modules 1 undefined Project: /src/project/tsconfig.json WatchType: Failed Lookup Locations
Info 270 [00:06:34.000] DirectoryWatcher:: Added:: WatchInfo: /src/project 0 undefined Project: /src/project/tsconfig.json WatchType: Failed Lookup Locations
Info 271 [00:06:35.000] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /src/project 0 undefined Project: /src/project/tsconfig.json WatchType: Failed Lookup Locations
Info 272 [00:06:36.000] Finishing updateGraphWorker: Project: /src/project/tsconfig.json Version: 8 structureChanged: true structureIsReused:: SafeModuleCache Elapsed:: *ms
Info 273 [00:06:37.000] Project '/src/project/tsconfig.json' (Configured)
Info 274 [00:06:38.000] Files (5)
/a/lib/lib.d.ts
/src/project/randomFileForImport.ts
/src/project/node_modules/pkg2/index.d.ts
@@ -1146,28 +1138,28 @@ Info 282 [00:06:46.000] Files (5)
node_modules/@types/pkg4/index.d.ts
Entry point for implicit type library 'pkg4'
Info 283 [00:06:47.000] -----------------------------------------------
Info 284 [00:06:48.000] Running: *ensureProjectForOpenFiles*
Info 285 [00:06:49.000] Before ensureProjectForOpenFiles:
Info 286 [00:06:50.000] Project '/src/project/tsconfig.json' (Configured)
Info 286 [00:06:51.000] Files (5)
Info 275 [00:06:39.000] -----------------------------------------------
Info 276 [00:06:40.000] Running: *ensureProjectForOpenFiles*
Info 277 [00:06:41.000] Before ensureProjectForOpenFiles:
Info 278 [00:06:42.000] Project '/src/project/tsconfig.json' (Configured)
Info 278 [00:06:43.000] Files (5)
Info 286 [00:06:52.000] -----------------------------------------------
Info 286 [00:06:53.000] Open files:
Info 286 [00:06:54.000] FileName: /src/project/randomFileForImport.ts ProjectRootPath: undefined
Info 286 [00:06:55.000] Projects: /src/project/tsconfig.json
Info 286 [00:06:56.000] FileName: /src/project/randomFileForTypeRef.ts ProjectRootPath: undefined
Info 286 [00:06:57.000] Projects: /src/project/tsconfig.json
Info 286 [00:06:58.000] After ensureProjectForOpenFiles:
Info 287 [00:06:59.000] Project '/src/project/tsconfig.json' (Configured)
Info 287 [00:07:00.000] Files (5)
Info 278 [00:06:44.000] -----------------------------------------------
Info 278 [00:06:45.000] Open files:
Info 278 [00:06:46.000] FileName: /src/project/randomFileForImport.ts ProjectRootPath: undefined
Info 278 [00:06:47.000] Projects: /src/project/tsconfig.json
Info 278 [00:06:48.000] FileName: /src/project/randomFileForTypeRef.ts ProjectRootPath: undefined
Info 278 [00:06:49.000] Projects: /src/project/tsconfig.json
Info 278 [00:06:50.000] After ensureProjectForOpenFiles:
Info 279 [00:06:51.000] Project '/src/project/tsconfig.json' (Configured)
Info 279 [00:06:52.000] Files (5)
Info 287 [00:07:01.000] -----------------------------------------------
Info 287 [00:07:02.000] Open files:
Info 287 [00:07:03.000] FileName: /src/project/randomFileForImport.ts ProjectRootPath: undefined
Info 287 [00:07:04.000] Projects: /src/project/tsconfig.json
Info 287 [00:07:05.000] FileName: /src/project/randomFileForTypeRef.ts ProjectRootPath: undefined
Info 287 [00:07:06.000] Projects: /src/project/tsconfig.json
Info 279 [00:06:53.000] -----------------------------------------------
Info 279 [00:06:54.000] Open files:
Info 279 [00:06:55.000] FileName: /src/project/randomFileForImport.ts ProjectRootPath: undefined
Info 279 [00:06:56.000] Projects: /src/project/tsconfig.json
Info 279 [00:06:57.000] FileName: /src/project/randomFileForTypeRef.ts ProjectRootPath: undefined
Info 279 [00:06:58.000] Projects: /src/project/tsconfig.json
After running timeout callbacks
PolledWatches::
@@ -1188,14 +1180,14 @@ FsWatchesRecursive::
/src/project/node_modules/@types:
{}
Info 287 [00:07:07.000] delete resolved typeRef file
Info 288 [00:07:09.000] DirectoryWatcher:: Triggered with /src/project/node_modules/pkg2/index.d.ts :: WatchInfo: /src/project/node_modules 1 undefined WatchType: node_modules for closed script infos and package.jsons affecting module specifier cache
Info 289 [00:07:10.000] Scheduled: /src/project/tsconfig.json
Info 290 [00:07:11.000] Scheduled: *ensureProjectForOpenFiles*
Info 291 [00:07:12.000] Elapsed:: *ms DirectoryWatcher:: Triggered with /src/project/node_modules/pkg2/index.d.ts :: WatchInfo: /src/project/node_modules 1 undefined WatchType: node_modules for closed script infos and package.jsons affecting module specifier cache
Info 292 [00:07:13.000] DirectoryWatcher:: Triggered with /src/project/node_modules/pkg2/index.d.ts :: WatchInfo: /src/project/node_modules 1 undefined Project: /src/project/tsconfig.json WatchType: Failed Lookup Locations
Info 293 [00:07:14.000] Scheduled: /src/project/tsconfig.jsonFailedLookupInvalidation
Info 294 [00:07:15.000] Elapsed:: *ms DirectoryWatcher:: Triggered with /src/project/node_modules/pkg2/index.d.ts :: WatchInfo: /src/project/node_modules 1 undefined Project: /src/project/tsconfig.json WatchType: Failed Lookup Locations
Info 279 [00:06:59.000] delete resolved typeRef file
Info 280 [00:07:01.000] DirectoryWatcher:: Triggered with /src/project/node_modules/pkg2/index.d.ts :: WatchInfo: /src/project/node_modules 1 undefined WatchType: node_modules for closed script infos and package.jsons affecting module specifier cache
Info 281 [00:07:02.000] Scheduled: /src/project/tsconfig.json
Info 282 [00:07:03.000] Scheduled: *ensureProjectForOpenFiles*
Info 283 [00:07:04.000] Elapsed:: *ms DirectoryWatcher:: Triggered with /src/project/node_modules/pkg2/index.d.ts :: WatchInfo: /src/project/node_modules 1 undefined WatchType: node_modules for closed script infos and package.jsons affecting module specifier cache
Info 284 [00:07:05.000] DirectoryWatcher:: Triggered with /src/project/node_modules/pkg2/index.d.ts :: WatchInfo: /src/project/node_modules 1 undefined Project: /src/project/tsconfig.json WatchType: Failed Lookup Locations
Info 285 [00:07:06.000] Scheduled: /src/project/tsconfig.jsonFailedLookupInvalidation
Info 286 [00:07:07.000] Elapsed:: *ms DirectoryWatcher:: Triggered with /src/project/node_modules/pkg2/index.d.ts :: WatchInfo: /src/project/node_modules 1 undefined Project: /src/project/tsconfig.json WatchType: Failed Lookup Locations
Before running timeout callbacks
//// [/src/project/node_modules/pkg2/index.d.ts] deleted
@@ -1217,23 +1209,23 @@ FsWatchesRecursive::
/src/project/node_modules/@types:
{}
Info 295 [00:07:16.000] Running: /src/project/tsconfig.json
Info 296 [00:07:17.000] Starting updateGraphWorker: Project: /src/project/tsconfig.json
Info 297 [00:07:18.000] Reusing resolution of module 'pkg0' from '/src/project/randomFileForImport.ts' of old program, it was not resolved.
Info 298 [00:07:19.000] ======== Resolving type reference directive 'pkg2', containing file '/src/project/randomFileForTypeRef.ts', root directory '/src/project/node_modules/@types'. ========
Info 299 [00:07:20.000] Resolving with primary search path '/src/project/node_modules/@types'.
Info 300 [00:07:21.000] Looking up in 'node_modules' folder, initial location '/src/project'.
Info 301 [00:07:22.000] File '/src/project/node_modules/pkg2/package.json' does not exist.
Info 302 [00:07:23.000] File '/src/project/node_modules/pkg2.d.ts' does not exist.
Info 303 [00:07:24.000] File '/src/project/node_modules/pkg2/index.d.ts' does not exist.
Info 304 [00:07:25.000] File '/src/project/node_modules/@types/pkg2.d.ts' does not exist.
Info 305 [00:07:26.000] Directory '/src/node_modules' does not exist, skipping all lookups in it.
Info 306 [00:07:27.000] Directory '/node_modules' does not exist, skipping all lookups in it.
Info 307 [00:07:28.000] ======== Type reference directive 'pkg2' was not resolved. ========
Info 308 [00:07:29.000] Reusing resolution of type reference directive 'pkg4' from '/src/project/__inferred type names__.ts' of old program, it was successfully resolved to '/src/project/node_modules/@types/pkg4/index.d.ts'.
Info 309 [00:07:30.000] Finishing updateGraphWorker: Project: /src/project/tsconfig.json Version: 9 structureChanged: true structureIsReused:: SafeModuleCache Elapsed:: *ms
Info 310 [00:07:31.000] Project '/src/project/tsconfig.json' (Configured)
Info 311 [00:07:32.000] Files (4)
Info 287 [00:07:08.000] Running: /src/project/tsconfig.json
Info 288 [00:07:09.000] Starting updateGraphWorker: Project: /src/project/tsconfig.json
Info 289 [00:07:10.000] Reusing resolution of module 'pkg0' from '/src/project/randomFileForImport.ts' of old program, it was not resolved.
Info 290 [00:07:11.000] ======== Resolving type reference directive 'pkg2', containing file '/src/project/randomFileForTypeRef.ts', root directory '/src/project/node_modules/@types'. ========
Info 291 [00:07:12.000] Resolving with primary search path '/src/project/node_modules/@types'.
Info 292 [00:07:13.000] Looking up in 'node_modules' folder, initial location '/src/project'.
Info 293 [00:07:14.000] File '/src/project/node_modules/pkg2/package.json' does not exist.
Info 294 [00:07:15.000] File '/src/project/node_modules/pkg2.d.ts' does not exist.
Info 295 [00:07:16.000] File '/src/project/node_modules/pkg2/index.d.ts' does not exist.
Info 296 [00:07:17.000] File '/src/project/node_modules/@types/pkg2.d.ts' does not exist.
Info 297 [00:07:18.000] Directory '/src/node_modules' does not exist, skipping all lookups in it.
Info 298 [00:07:19.000] Directory '/node_modules' does not exist, skipping all lookups in it.
Info 299 [00:07:20.000] ======== Type reference directive 'pkg2' was not resolved. ========
Info 300 [00:07:21.000] Reusing resolution of type reference directive 'pkg4' from '/src/project/__inferred type names__.ts' of old program, it was successfully resolved to '/src/project/node_modules/@types/pkg4/index.d.ts'.
Info 301 [00:07:22.000] Finishing updateGraphWorker: Project: /src/project/tsconfig.json Version: 9 structureChanged: true structureIsReused:: SafeModuleCache Elapsed:: *ms
Info 302 [00:07:23.000] Project '/src/project/tsconfig.json' (Configured)
Info 303 [00:07:24.000] Files (4)
/a/lib/lib.d.ts
/src/project/randomFileForImport.ts
/src/project/randomFileForTypeRef.ts
@@ -1249,28 +1241,28 @@ Info 311 [00:07:32.000] Files (4)
node_modules/@types/pkg4/index.d.ts
Entry point for implicit type library 'pkg4'
Info 312 [00:07:33.000] -----------------------------------------------
Info 313 [00:07:34.000] Running: *ensureProjectForOpenFiles*
Info 314 [00:07:35.000] Before ensureProjectForOpenFiles:
Info 315 [00:07:36.000] Project '/src/project/tsconfig.json' (Configured)
Info 315 [00:07:37.000] Files (4)
Info 304 [00:07:25.000] -----------------------------------------------
Info 305 [00:07:26.000] Running: *ensureProjectForOpenFiles*
Info 306 [00:07:27.000] Before ensureProjectForOpenFiles:
Info 307 [00:07:28.000] Project '/src/project/tsconfig.json' (Configured)
Info 307 [00:07:29.000] Files (4)
Info 315 [00:07:38.000] -----------------------------------------------
Info 315 [00:07:39.000] Open files:
Info 315 [00:07:40.000] FileName: /src/project/randomFileForImport.ts ProjectRootPath: undefined
Info 315 [00:07:41.000] Projects: /src/project/tsconfig.json
Info 315 [00:07:42.000] FileName: /src/project/randomFileForTypeRef.ts ProjectRootPath: undefined
Info 315 [00:07:43.000] Projects: /src/project/tsconfig.json
Info 315 [00:07:44.000] After ensureProjectForOpenFiles:
Info 316 [00:07:45.000] Project '/src/project/tsconfig.json' (Configured)
Info 316 [00:07:46.000] Files (4)
Info 307 [00:07:30.000] -----------------------------------------------
Info 307 [00:07:31.000] Open files:
Info 307 [00:07:32.000] FileName: /src/project/randomFileForImport.ts ProjectRootPath: undefined
Info 307 [00:07:33.000] Projects: /src/project/tsconfig.json
Info 307 [00:07:34.000] FileName: /src/project/randomFileForTypeRef.ts ProjectRootPath: undefined
Info 307 [00:07:35.000] Projects: /src/project/tsconfig.json
Info 307 [00:07:36.000] After ensureProjectForOpenFiles:
Info 308 [00:07:37.000] Project '/src/project/tsconfig.json' (Configured)
Info 308 [00:07:38.000] Files (4)
Info 316 [00:07:47.000] -----------------------------------------------
Info 316 [00:07:48.000] Open files:
Info 316 [00:07:49.000] FileName: /src/project/randomFileForImport.ts ProjectRootPath: undefined
Info 316 [00:07:50.000] Projects: /src/project/tsconfig.json
Info 316 [00:07:51.000] FileName: /src/project/randomFileForTypeRef.ts ProjectRootPath: undefined
Info 316 [00:07:52.000] Projects: /src/project/tsconfig.json
Info 308 [00:07:39.000] -----------------------------------------------
Info 308 [00:07:40.000] Open files:
Info 308 [00:07:41.000] FileName: /src/project/randomFileForImport.ts ProjectRootPath: undefined
Info 308 [00:07:42.000] Projects: /src/project/tsconfig.json
Info 308 [00:07:43.000] FileName: /src/project/randomFileForTypeRef.ts ProjectRootPath: undefined
Info 308 [00:07:44.000] Projects: /src/project/tsconfig.json
After running timeout callbacks
PolledWatches::
File diff suppressed because it is too large Load Diff
File diff suppressed because it is too large Load Diff
@@ -398,10 +398,7 @@ Info 92 [00:02:24.000] Reusing resolution of module 'pkg0' from '/src/project/
Info 93 [00:02:25.000] Reusing resolution of module './aRandomFileForImport' from '/src/project/aFileWithImports.ts' of old program, it was successfully resolved to '/src/project/aRandomFileForImport.ts'.
Info 94 [00:02:26.000] Reusing resolution of module './aRandomFileForImport2' from '/src/project/aFileWithImports.ts' of old program, it was successfully resolved to '/src/project/aRandomFileForImport2.ts'.
Info 95 [00:02:27.000] ======== Resolving module 'pkg0' from '/src/project/cRandomFileForImport.ts'. ========
Info 96 [00:02:28.000] Module resolution kind is not specified, using 'Classic'.
Info 97 [00:02:29.000] File '/src/project/pkg0.ts' does not exist.
Info 98 [00:02:30.000] File '/src/project/pkg0.tsx' does not exist.
Info 99 [00:02:31.000] File '/src/project/pkg0.d.ts' exist - use it as a name resolution result.
Info 100 [00:02:32.000] ======== Module name 'pkg0' was successfully resolved to '/src/project/pkg0.d.ts'. ========
Info 101 [00:02:33.000] Finishing updateGraphWorker: Project: /src/project/tsconfig.json Version: 2 structureChanged: true structureIsReused:: SafeModules Elapsed:: *ms
Info 102 [00:02:34.000] Different program with same set of files
Info 96 [00:02:28.000] Resolution for module 'pkg0' was found in cache from location '/src/project'.
Info 97 [00:02:29.000] ======== Module name 'pkg0' was successfully resolved to '/src/project/pkg0.d.ts'. ========
Info 98 [00:02:30.000] Finishing updateGraphWorker: Project: /src/project/tsconfig.json Version: 2 structureChanged: true structureIsReused:: SafeModules Elapsed:: *ms
Info 99 [00:02:31.000] Different program with same set of files
@@ -1424,10 +1424,7 @@ Info 64 [00:02:47.000] Reusing resolution of module 'pkg0' from '/src/project/
Info 65 [00:02:48.000] Reusing resolution of module './aRandomFileForImport' from '/src/project/aFileWithImports.ts' of old program, it was successfully resolved to '/src/project/aRandomFileForImport.ts'.
Info 66 [00:02:49.000] Reusing resolution of module './aRandomFileForImport2' from '/src/project/aFileWithImports.ts' of old program, it was successfully resolved to '/src/project/aRandomFileForImport2.ts'.
Info 67 [00:02:50.000] ======== Resolving module 'pkg0' from '/src/project/cRandomFileForImport.ts'. ========
Info 68 [00:02:51.000] Module resolution kind is not specified, using 'Classic'.
Info 69 [00:02:52.000] File '/src/project/pkg0.ts' does not exist.
Info 70 [00:02:53.000] File '/src/project/pkg0.tsx' does not exist.
Info 71 [00:02:54.000] File '/src/project/pkg0.d.ts' exist - use it as a name resolution result.
Info 72 [00:02:55.000] ======== Module name 'pkg0' was successfully resolved to '/src/project/pkg0.d.ts'. ========
Info 73 [00:02:56.000] Finishing updateGraphWorker: Project: /src/project/tsconfig.json Version: 2 structureChanged: true structureIsReused:: SafeModules Elapsed:: *ms
Info 74 [00:02:57.000] Different program with same set of files
Info 68 [00:02:51.000] Resolution for module 'pkg0' was found in cache from location '/src/project'.
Info 69 [00:02:52.000] ======== Module name 'pkg0' was successfully resolved to '/src/project/pkg0.d.ts'. ========
Info 70 [00:02:53.000] Finishing updateGraphWorker: Project: /src/project/tsconfig.json Version: 2 structureChanged: true structureIsReused:: SafeModules Elapsed:: *ms
Info 71 [00:02:54.000] Different program with same set of files
@@ -482,40 +482,22 @@ Info 137 [00:03:12.000] Reusing resolution of module 'pkg0' from '/src/project/
Info 138 [00:03:13.000] Reusing resolution of module './aRandomFileForImport' from '/src/project/aFileWithImports.ts' of old program, it was successfully resolved to '/src/project/aRandomFileForImport.ts'.
Info 139 [00:03:14.000] Reusing resolution of module './aRandomFileForImport2' from '/src/project/aFileWithImports.ts' of old program, it was successfully resolved to '/src/project/aRandomFileForImport2.ts'.
Info 140 [00:03:15.000] ======== Resolving module 'pkg0' from '/src/project/bRandomFileForImport.ts'. ========
Info 141 [00:03:16.000] Module resolution kind is not specified, using 'NodeJs'.
Info 142 [00:03:17.000] Loading module 'pkg0' from 'node_modules' folder, target file types: TypeScript, Declaration.
Info 143 [00:03:18.000] File '/src/project/node_modules/pkg0/package.json' does not exist according to earlier cached lookups.
Info 144 [00:03:19.000] File '/src/project/node_modules/pkg0.ts' does not exist.
Info 145 [00:03:20.000] File '/src/project/node_modules/pkg0.tsx' does not exist.
Info 146 [00:03:21.000] File '/src/project/node_modules/pkg0.d.ts' does not exist.
Info 147 [00:03:22.000] File '/src/project/node_modules/pkg0/index.ts' does not exist.
Info 148 [00:03:23.000] File '/src/project/node_modules/pkg0/index.tsx' does not exist.
Info 149 [00:03:24.000] File '/src/project/node_modules/pkg0/index.d.ts' exist - use it as a name resolution result.
Info 150 [00:03:25.000] Resolving real path for '/src/project/node_modules/pkg0/index.d.ts', result '/src/project/node_modules/pkg0/index.d.ts'.
Info 151 [00:03:26.000] ======== Module name 'pkg0' was successfully resolved to '/src/project/node_modules/pkg0/index.d.ts'. ========
Info 152 [00:03:27.000] Finishing updateGraphWorker: Project: /src/project/tsconfig.b.json Version: 2 structureChanged: true structureIsReused:: SafeModules Elapsed:: *ms
Info 153 [00:03:28.000] Different program with same set of files
Info 154 [00:03:29.000] Starting updateGraphWorker: Project: /src/project/tsconfig.json
Info 155 [00:03:30.000] Reusing resolution of module './bFileWithImports' from '/src/project/cFileWithImports.ts' of old program, it was successfully resolved to '/src/project/bFileWithImports.ts'.
Info 156 [00:03:31.000] Reusing resolution of module 'pkg0' from '/src/project/cFileWithImports.ts' of old program, it was successfully resolved to '/src/project/pkg0.d.ts'.
Info 157 [00:03:32.000] Reusing resolution of module './aFileWithImports' from '/src/project/bFileWithImports.ts' of old program, it was successfully resolved to '/src/project/aFileWithImports.ts'.
Info 158 [00:03:33.000] Reusing resolution of module './bRandomFileForImport' from '/src/project/bFileWithImports.ts' of old program, it was successfully resolved to '/src/project/bRandomFileForImport.ts'.
Info 159 [00:03:34.000] Reusing resolution of module 'pkg0' from '/src/project/bFileWithImports.ts' of old program, it was successfully resolved to '/src/project/node_modules/pkg0/index.d.ts'.
Info 160 [00:03:35.000] Reusing resolution of module 'pkg0' from '/src/project/aFileWithImports.ts' of old program, it was successfully resolved to '/src/project/node_modules/pkg0/index.d.ts'.
Info 161 [00:03:36.000] Reusing resolution of module './aRandomFileForImport' from '/src/project/aFileWithImports.ts' of old program, it was successfully resolved to '/src/project/aRandomFileForImport.ts'.
Info 162 [00:03:37.000] Reusing resolution of module './aRandomFileForImport2' from '/src/project/aFileWithImports.ts' of old program, it was successfully resolved to '/src/project/aRandomFileForImport2.ts'.
Info 163 [00:03:38.000] ======== Resolving module 'pkg0' from '/src/project/bRandomFileForImport.ts'. ========
Info 164 [00:03:39.000] Using compiler options of project reference redirect '/src/project/tsconfig.b.json'.
Info 165 [00:03:40.000] Module resolution kind is not specified, using 'NodeJs'.
Info 166 [00:03:41.000] Loading module 'pkg0' from 'node_modules' folder, target file types: TypeScript, Declaration.
Info 167 [00:03:42.000] File '/src/project/node_modules/pkg0/package.json' does not exist according to earlier cached lookups.
Info 168 [00:03:43.000] File '/src/project/node_modules/pkg0.ts' does not exist.
Info 169 [00:03:44.000] File '/src/project/node_modules/pkg0.tsx' does not exist.
Info 170 [00:03:45.000] File '/src/project/node_modules/pkg0.d.ts' does not exist.
Info 171 [00:03:46.000] File '/src/project/node_modules/pkg0/index.ts' does not exist.
Info 172 [00:03:47.000] File '/src/project/node_modules/pkg0/index.tsx' does not exist.
Info 173 [00:03:48.000] File '/src/project/node_modules/pkg0/index.d.ts' exist - use it as a name resolution result.
Info 174 [00:03:49.000] Resolving real path for '/src/project/node_modules/pkg0/index.d.ts', result '/src/project/node_modules/pkg0/index.d.ts'.
Info 175 [00:03:50.000] ======== Module name 'pkg0' was successfully resolved to '/src/project/node_modules/pkg0/index.d.ts'. ========
Info 176 [00:03:51.000] Finishing updateGraphWorker: Project: /src/project/tsconfig.json Version: 2 structureChanged: true structureIsReused:: SafeModules Elapsed:: *ms
Info 177 [00:03:52.000] Different program with same set of files
Info 141 [00:03:16.000] Resolution for module 'pkg0' was found in cache from location '/src/project'.
Info 142 [00:03:17.000] ======== Module name 'pkg0' was successfully resolved to '/src/project/node_modules/pkg0/index.d.ts'. ========
Info 143 [00:03:18.000] Finishing updateGraphWorker: Project: /src/project/tsconfig.b.json Version: 2 structureChanged: true structureIsReused:: SafeModules Elapsed:: *ms
Info 144 [00:03:19.000] Different program with same set of files
Info 145 [00:03:20.000] Starting updateGraphWorker: Project: /src/project/tsconfig.json
Info 146 [00:03:21.000] Reusing resolution of module './bFileWithImports' from '/src/project/cFileWithImports.ts' of old program, it was successfully resolved to '/src/project/bFileWithImports.ts'.
Info 147 [00:03:22.000] Reusing resolution of module 'pkg0' from '/src/project/cFileWithImports.ts' of old program, it was successfully resolved to '/src/project/pkg0.d.ts'.
Info 148 [00:03:23.000] Reusing resolution of module './aFileWithImports' from '/src/project/bFileWithImports.ts' of old program, it was successfully resolved to '/src/project/aFileWithImports.ts'.
Info 149 [00:03:24.000] Reusing resolution of module './bRandomFileForImport' from '/src/project/bFileWithImports.ts' of old program, it was successfully resolved to '/src/project/bRandomFileForImport.ts'.
Info 150 [00:03:25.000] Reusing resolution of module 'pkg0' from '/src/project/bFileWithImports.ts' of old program, it was successfully resolved to '/src/project/node_modules/pkg0/index.d.ts'.
Info 151 [00:03:26.000] Reusing resolution of module 'pkg0' from '/src/project/aFileWithImports.ts' of old program, it was successfully resolved to '/src/project/node_modules/pkg0/index.d.ts'.
Info 152 [00:03:27.000] Reusing resolution of module './aRandomFileForImport' from '/src/project/aFileWithImports.ts' of old program, it was successfully resolved to '/src/project/aRandomFileForImport.ts'.
Info 153 [00:03:28.000] Reusing resolution of module './aRandomFileForImport2' from '/src/project/aFileWithImports.ts' of old program, it was successfully resolved to '/src/project/aRandomFileForImport2.ts'.
Info 154 [00:03:29.000] ======== Resolving module 'pkg0' from '/src/project/bRandomFileForImport.ts'. ========
Info 155 [00:03:30.000] Using compiler options of project reference redirect '/src/project/tsconfig.b.json'.
Info 156 [00:03:31.000] Resolution for module 'pkg0' was found in cache from location '/src/project'.
Info 157 [00:03:32.000] ======== Module name 'pkg0' was successfully resolved to '/src/project/node_modules/pkg0/index.d.ts'. ========
Info 158 [00:03:33.000] Finishing updateGraphWorker: Project: /src/project/tsconfig.json Version: 2 structureChanged: true structureIsReused:: SafeModules Elapsed:: *ms
Info 159 [00:03:34.000] Different program with same set of files
@@ -1476,40 +1476,22 @@ Info 77 [00:03:03.000] Reusing resolution of module 'pkg0' from '/src/project/
Info 78 [00:03:04.000] Reusing resolution of module './aRandomFileForImport' from '/src/project/aFileWithImports.ts' of old program, it was successfully resolved to '/src/project/aRandomFileForImport.ts'.
Info 79 [00:03:05.000] Reusing resolution of module './aRandomFileForImport2' from '/src/project/aFileWithImports.ts' of old program, it was successfully resolved to '/src/project/aRandomFileForImport2.ts'.
Info 80 [00:03:06.000] ======== Resolving module 'pkg0' from '/src/project/bRandomFileForImport.ts'. ========
Info 81 [00:03:07.000] Module resolution kind is not specified, using 'NodeJs'.
Info 82 [00:03:08.000] Loading module 'pkg0' from 'node_modules' folder, target file types: TypeScript, Declaration.
Info 83 [00:03:09.000] File '/src/project/node_modules/pkg0/package.json' does not exist.
Info 84 [00:03:10.000] File '/src/project/node_modules/pkg0.ts' does not exist.
Info 85 [00:03:11.000] File '/src/project/node_modules/pkg0.tsx' does not exist.
Info 86 [00:03:12.000] File '/src/project/node_modules/pkg0.d.ts' does not exist.
Info 87 [00:03:13.000] File '/src/project/node_modules/pkg0/index.ts' does not exist.
Info 88 [00:03:14.000] File '/src/project/node_modules/pkg0/index.tsx' does not exist.
Info 89 [00:03:15.000] File '/src/project/node_modules/pkg0/index.d.ts' exist - use it as a name resolution result.
Info 90 [00:03:16.000] Resolving real path for '/src/project/node_modules/pkg0/index.d.ts', result '/src/project/node_modules/pkg0/index.d.ts'.
Info 91 [00:03:17.000] ======== Module name 'pkg0' was successfully resolved to '/src/project/node_modules/pkg0/index.d.ts'. ========
Info 92 [00:03:18.000] Finishing updateGraphWorker: Project: /src/project/tsconfig.b.json Version: 2 structureChanged: true structureIsReused:: SafeModules Elapsed:: *ms
Info 93 [00:03:19.000] Different program with same set of files
Info 94 [00:03:20.000] Starting updateGraphWorker: Project: /src/project/tsconfig.json
Info 95 [00:03:21.000] Reusing resolution of module './bFileWithImports' from '/src/project/cFileWithImports.ts' of old program, it was successfully resolved to '/src/project/bFileWithImports.ts'.
Info 96 [00:03:22.000] Reusing resolution of module 'pkg0' from '/src/project/cFileWithImports.ts' of old program, it was successfully resolved to '/src/project/pkg0.d.ts'.
Info 97 [00:03:23.000] Reusing resolution of module './aFileWithImports' from '/src/project/bFileWithImports.ts' of old program, it was successfully resolved to '/src/project/aFileWithImports.ts'.
Info 98 [00:03:24.000] Reusing resolution of module './bRandomFileForImport' from '/src/project/bFileWithImports.ts' of old program, it was successfully resolved to '/src/project/bRandomFileForImport.ts'.
Info 99 [00:03:25.000] Reusing resolution of module 'pkg0' from '/src/project/bFileWithImports.ts' of old program, it was successfully resolved to '/src/project/node_modules/pkg0/index.d.ts'.
Info 100 [00:03:26.000] Reusing resolution of module 'pkg0' from '/src/project/aFileWithImports.ts' of old program, it was successfully resolved to '/src/project/node_modules/pkg0/index.d.ts'.
Info 101 [00:03:27.000] Reusing resolution of module './aRandomFileForImport' from '/src/project/aFileWithImports.ts' of old program, it was successfully resolved to '/src/project/aRandomFileForImport.ts'.
Info 102 [00:03:28.000] Reusing resolution of module './aRandomFileForImport2' from '/src/project/aFileWithImports.ts' of old program, it was successfully resolved to '/src/project/aRandomFileForImport2.ts'.
Info 103 [00:03:29.000] ======== Resolving module 'pkg0' from '/src/project/bRandomFileForImport.ts'. ========
Info 104 [00:03:30.000] Using compiler options of project reference redirect '/src/project/tsconfig.b.json'.
Info 105 [00:03:31.000] Module resolution kind is not specified, using 'NodeJs'.
Info 106 [00:03:32.000] Loading module 'pkg0' from 'node_modules' folder, target file types: TypeScript, Declaration.
Info 107 [00:03:33.000] File '/src/project/node_modules/pkg0/package.json' does not exist according to earlier cached lookups.
Info 108 [00:03:34.000] File '/src/project/node_modules/pkg0.ts' does not exist.
Info 109 [00:03:35.000] File '/src/project/node_modules/pkg0.tsx' does not exist.
Info 110 [00:03:36.000] File '/src/project/node_modules/pkg0.d.ts' does not exist.
Info 111 [00:03:37.000] File '/src/project/node_modules/pkg0/index.ts' does not exist.
Info 112 [00:03:38.000] File '/src/project/node_modules/pkg0/index.tsx' does not exist.
Info 113 [00:03:39.000] File '/src/project/node_modules/pkg0/index.d.ts' exist - use it as a name resolution result.
Info 114 [00:03:40.000] Resolving real path for '/src/project/node_modules/pkg0/index.d.ts', result '/src/project/node_modules/pkg0/index.d.ts'.
Info 115 [00:03:41.000] ======== Module name 'pkg0' was successfully resolved to '/src/project/node_modules/pkg0/index.d.ts'. ========
Info 116 [00:03:42.000] Finishing updateGraphWorker: Project: /src/project/tsconfig.json Version: 2 structureChanged: true structureIsReused:: SafeModules Elapsed:: *ms
Info 117 [00:03:43.000] Different program with same set of files
Info 81 [00:03:07.000] Resolution for module 'pkg0' was found in cache from location '/src/project'.
Info 82 [00:03:08.000] ======== Module name 'pkg0' was successfully resolved to '/src/project/node_modules/pkg0/index.d.ts'. ========
Info 83 [00:03:09.000] Finishing updateGraphWorker: Project: /src/project/tsconfig.b.json Version: 2 structureChanged: true structureIsReused:: SafeModules Elapsed:: *ms
Info 84 [00:03:10.000] Different program with same set of files
Info 85 [00:03:11.000] Starting updateGraphWorker: Project: /src/project/tsconfig.json
Info 86 [00:03:12.000] Reusing resolution of module './bFileWithImports' from '/src/project/cFileWithImports.ts' of old program, it was successfully resolved to '/src/project/bFileWithImports.ts'.
Info 87 [00:03:13.000] Reusing resolution of module 'pkg0' from '/src/project/cFileWithImports.ts' of old program, it was successfully resolved to '/src/project/pkg0.d.ts'.
Info 88 [00:03:14.000] Reusing resolution of module './aFileWithImports' from '/src/project/bFileWithImports.ts' of old program, it was successfully resolved to '/src/project/aFileWithImports.ts'.
Info 89 [00:03:15.000] Reusing resolution of module './bRandomFileForImport' from '/src/project/bFileWithImports.ts' of old program, it was successfully resolved to '/src/project/bRandomFileForImport.ts'.
Info 90 [00:03:16.000] Reusing resolution of module 'pkg0' from '/src/project/bFileWithImports.ts' of old program, it was successfully resolved to '/src/project/node_modules/pkg0/index.d.ts'.
Info 91 [00:03:17.000] Reusing resolution of module 'pkg0' from '/src/project/aFileWithImports.ts' of old program, it was successfully resolved to '/src/project/node_modules/pkg0/index.d.ts'.
Info 92 [00:03:18.000] Reusing resolution of module './aRandomFileForImport' from '/src/project/aFileWithImports.ts' of old program, it was successfully resolved to '/src/project/aRandomFileForImport.ts'.
Info 93 [00:03:19.000] Reusing resolution of module './aRandomFileForImport2' from '/src/project/aFileWithImports.ts' of old program, it was successfully resolved to '/src/project/aRandomFileForImport2.ts'.
Info 94 [00:03:20.000] ======== Resolving module 'pkg0' from '/src/project/bRandomFileForImport.ts'. ========
Info 95 [00:03:21.000] Using compiler options of project reference redirect '/src/project/tsconfig.b.json'.
Info 96 [00:03:22.000] Resolution for module 'pkg0' was found in cache from location '/src/project'.
Info 97 [00:03:23.000] ======== Module name 'pkg0' was successfully resolved to '/src/project/node_modules/pkg0/index.d.ts'. ========
Info 98 [00:03:24.000] Finishing updateGraphWorker: Project: /src/project/tsconfig.json Version: 2 structureChanged: true structureIsReused:: SafeModules Elapsed:: *ms
Info 99 [00:03:25.000] Different program with same set of files
File diff suppressed because it is too large Load Diff
File diff suppressed because it is too large Load Diff