mirror of
https://github.com/microsoft/TypeScript.git
synced 2025-12-12 03:20:56 -06:00
Handle delayed or missed watches for project updates (#59625)
This commit is contained in:
parent
195203e971
commit
7753487591
@ -21,6 +21,7 @@ import {
|
||||
FileWatcherCallback,
|
||||
FileWatcherEventKind,
|
||||
find,
|
||||
forEachAncestorDirectory,
|
||||
getAllowJSCompilerOption,
|
||||
getBaseFileName,
|
||||
getDirectoryPath,
|
||||
@ -291,6 +292,13 @@ export function createCachedDirectoryStructureHost(host: DirectoryStructureHost,
|
||||
return host.realpath ? host.realpath(s) : s;
|
||||
}
|
||||
|
||||
function clearFirstAncestorEntry(fileOrDirectoryPath: Path) {
|
||||
forEachAncestorDirectory(
|
||||
getDirectoryPath(fileOrDirectoryPath),
|
||||
ancestor => cachedReadDirectoryResult.delete(ensureTrailingDirectorySeparator(ancestor)) ? true : undefined,
|
||||
);
|
||||
}
|
||||
|
||||
function addOrDeleteFileOrDirectory(fileOrDirectory: string, fileOrDirectoryPath: Path) {
|
||||
const existingResult = getCachedFileSystemEntries(fileOrDirectoryPath);
|
||||
if (existingResult !== undefined) {
|
||||
@ -302,6 +310,7 @@ export function createCachedDirectoryStructureHost(host: DirectoryStructureHost,
|
||||
|
||||
const parentResult = getCachedFileSystemEntriesForBaseDir(fileOrDirectoryPath);
|
||||
if (!parentResult) {
|
||||
clearFirstAncestorEntry(fileOrDirectoryPath);
|
||||
return undefined;
|
||||
}
|
||||
|
||||
@ -339,6 +348,9 @@ export function createCachedDirectoryStructureHost(host: DirectoryStructureHost,
|
||||
if (parentResult) {
|
||||
updateFilesOfFileSystemEntry(parentResult, getBaseNameOfFileName(fileName), eventKind === FileWatcherEventKind.Created);
|
||||
}
|
||||
else {
|
||||
clearFirstAncestorEntry(filePath);
|
||||
}
|
||||
}
|
||||
|
||||
function updateFilesOfFileSystemEntry(parentResult: SortedAndCanonicalizedMutableFileSystemEntries, baseName: string, fileExists: boolean): void {
|
||||
|
||||
@ -80,6 +80,7 @@ import {
|
||||
length,
|
||||
map,
|
||||
mapDefinedIterator,
|
||||
memoize,
|
||||
missingFileModifiedTime,
|
||||
MultiMap,
|
||||
noop,
|
||||
@ -1912,6 +1913,11 @@ export class ProjectService {
|
||||
this.watchPackageJsonFile(file, fileOrDirectoryPath, wildCardWatcher);
|
||||
}
|
||||
|
||||
if (!fsResult?.fileExists) {
|
||||
// Ensure we send sourceFileChange
|
||||
this.sendSourceFileChange(fileOrDirectoryPath);
|
||||
}
|
||||
|
||||
const configuredProjectForConfig = this.findConfiguredProjectByProjectName(configFileName);
|
||||
if (
|
||||
isIgnoredFileFromWildCardWatching({
|
||||
@ -3838,6 +3844,34 @@ export class ProjectService {
|
||||
this.logger.close();
|
||||
}
|
||||
|
||||
private sendSourceFileChange(inPath: Path | undefined) {
|
||||
this.filenameToScriptInfo.forEach(info => {
|
||||
if (this.openFiles.has(info.path)) return; // Skip open files
|
||||
if (!info.fileWatcher) return; // not watched file
|
||||
const eventKind = memoize(() =>
|
||||
this.host.fileExists(info.fileName) ?
|
||||
info.deferredDelete ?
|
||||
FileWatcherEventKind.Created :
|
||||
FileWatcherEventKind.Changed :
|
||||
FileWatcherEventKind.Deleted
|
||||
);
|
||||
if (inPath) {
|
||||
// Skip node modules and files that are not in path
|
||||
if (isScriptInfoWatchedFromNodeModules(info) || !info.path.startsWith(inPath)) return;
|
||||
// If we are sending delete event and its already deleted, ignore
|
||||
if (eventKind() === FileWatcherEventKind.Deleted && info.deferredDelete) return;
|
||||
// In change cases, its hard to know if this is marked correctly across files and projects, so just send the event
|
||||
this.logger.info(`Invoking sourceFileChange on ${info.fileName}:: ${eventKind()}`);
|
||||
}
|
||||
|
||||
// Handle as if file is changed or deleted
|
||||
this.onSourceFileChanged(
|
||||
info,
|
||||
eventKind(),
|
||||
);
|
||||
});
|
||||
}
|
||||
|
||||
/**
|
||||
* This function rebuilds the project for every file opened by the client
|
||||
* This does not reload contents of open files from disk. But we could do that if needed
|
||||
@ -3850,19 +3884,7 @@ export class ProjectService {
|
||||
// as there is no need to load contents of the files from the disk
|
||||
|
||||
// Reload script infos
|
||||
this.filenameToScriptInfo.forEach(info => {
|
||||
if (this.openFiles.has(info.path)) return; // Skip open files
|
||||
if (!info.fileWatcher) return; // not watched file
|
||||
// Handle as if file is changed or deleted
|
||||
this.onSourceFileChanged(
|
||||
info,
|
||||
this.host.fileExists(info.fileName) ?
|
||||
info.deferredDelete ?
|
||||
FileWatcherEventKind.Created :
|
||||
FileWatcherEventKind.Changed :
|
||||
FileWatcherEventKind.Deleted,
|
||||
);
|
||||
});
|
||||
this.sendSourceFileChange(/*inPath*/ undefined);
|
||||
// Cancel all project updates since we will be updating them now
|
||||
this.pendingProjectUpdates.forEach((_project, projectName) => {
|
||||
this.throttledOperations.cancel(projectName);
|
||||
|
||||
@ -556,33 +556,33 @@ export class TestServerHost implements server.ServerHost, FormatDiagnosticsHost,
|
||||
this.addFileOrFolderInFolder(baseFolder, newFile);
|
||||
}
|
||||
|
||||
renameFolder(folderName: string, newFolderName: string) {
|
||||
renameFolder(folderName: string, newFolderName: string, skipFolderEntryWatches?: true) {
|
||||
const fullPath = getNormalizedAbsolutePath(folderName, this.currentDirectory);
|
||||
const path = this.toPath(fullPath);
|
||||
const folder = this.fs.get(path) as FsFolder;
|
||||
Debug.assert(!!folder);
|
||||
|
||||
const newFullPath = getNormalizedAbsolutePath(newFolderName, this.currentDirectory);
|
||||
const newFolder = this.toFsFolder(newFullPath);
|
||||
|
||||
// Invoke watches for files in the folder as deleted (from old path)
|
||||
this.renameFolderEntries(folder, newFolder, skipFolderEntryWatches);
|
||||
|
||||
// Only remove the folder
|
||||
this.removeFileOrFolder(folder, /*isRenaming*/ true);
|
||||
|
||||
// Add updated folder with new folder name
|
||||
const newFullPath = getNormalizedAbsolutePath(newFolderName, this.currentDirectory);
|
||||
const newFolder = this.toFsFolder(newFullPath);
|
||||
const newPath = newFolder.path;
|
||||
const basePath = getDirectoryPath(path);
|
||||
Debug.assert(basePath !== path);
|
||||
Debug.assert(basePath === getDirectoryPath(newPath));
|
||||
const basePath = getDirectoryPath(newPath);
|
||||
this.ensureFileOrFolder({ path: getDirectoryPath(newFullPath) });
|
||||
const baseFolder = this.fs.get(basePath) as FsFolder;
|
||||
this.addFileOrFolderInFolder(baseFolder, newFolder);
|
||||
|
||||
// Invoke watches for files in the folder as deleted (from old path)
|
||||
this.renameFolderEntries(folder, newFolder);
|
||||
}
|
||||
|
||||
private renameFolderEntries(oldFolder: FsFolder, newFolder: FsFolder) {
|
||||
private renameFolderEntries(oldFolder: FsFolder, newFolder: FsFolder, skipWatches: true | undefined) {
|
||||
for (const entry of oldFolder.entries) {
|
||||
this.fs.delete(entry.path);
|
||||
this.invokeFileAndFsWatches(entry.fullPath, FileWatcherEventKind.Deleted, entry.fullPath);
|
||||
if (!skipWatches) this.invokeFileAndFsWatches(entry.fullPath, FileWatcherEventKind.Deleted, entry.fullPath);
|
||||
|
||||
entry.fullPath = combinePaths(newFolder.fullPath, getBaseFileName(entry.fullPath));
|
||||
entry.path = this.toPath(entry.fullPath);
|
||||
@ -591,9 +591,9 @@ export class TestServerHost implements server.ServerHost, FormatDiagnosticsHost,
|
||||
}
|
||||
this.fs.set(entry.path, entry);
|
||||
this.setInode(entry.path);
|
||||
this.invokeFileAndFsWatches(entry.fullPath, FileWatcherEventKind.Created, entry.fullPath);
|
||||
if (!skipWatches) this.invokeFileAndFsWatches(entry.fullPath, FileWatcherEventKind.Created, entry.fullPath);
|
||||
if (isFsFolder(entry)) {
|
||||
this.renameFolderEntries(entry, entry);
|
||||
this.renameFolderEntries(entry, entry, skipWatches);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@ -1,9 +1,12 @@
|
||||
import * as ts from "../../_namespaces/ts.js";
|
||||
import { dedent } from "../../_namespaces/Utils.js";
|
||||
import { jsonToReadableText } from "../helpers.js";
|
||||
import { libContent } from "../helpers/contents.js";
|
||||
import {
|
||||
baselineTsserverLogs,
|
||||
closeFilesForSession,
|
||||
openFilesForSession,
|
||||
protocolTextSpanFromSubstring,
|
||||
TestSession,
|
||||
textSpanFromSubstring,
|
||||
verifyGetErrRequest,
|
||||
@ -207,4 +210,89 @@ describe("unittests:: tsserver:: getEditsForFileRename", () => {
|
||||
});
|
||||
})
|
||||
);
|
||||
|
||||
[true, false].forEach(canUseWatchEvents =>
|
||||
it(`works when moving file to and from folder${canUseWatchEvents ? " canUseWatchEvents" : ""}`, () => {
|
||||
const alertText = dedent`
|
||||
export function alert(message: string) {
|
||||
console.log(\`ALERT: \${message}\`);
|
||||
}
|
||||
`;
|
||||
const projectRootPath = "/home/src/myprojects/project";
|
||||
const indexTs = `${projectRootPath}/index.ts`;
|
||||
const indexFileText = dedent`
|
||||
import { alert } from '@app/components/whatever/alert';
|
||||
alert('Hello, world!');
|
||||
`;
|
||||
const componentsWhatever = `${projectRootPath}/components/whatever`;
|
||||
const functionsWhatever = `${projectRootPath}/functions/whatever`;
|
||||
const host = createServerHost({
|
||||
"/home/src/myprojects/project/tsconfig.json": jsonToReadableText({
|
||||
compilerOptions: {
|
||||
target: "es2016",
|
||||
module: "commonjs",
|
||||
paths: {
|
||||
"@app/*": [
|
||||
"./*",
|
||||
],
|
||||
},
|
||||
esModuleInterop: true,
|
||||
forceConsistentCasingInFileNames: true,
|
||||
strict: true,
|
||||
skipLibCheck: true,
|
||||
},
|
||||
}),
|
||||
[indexTs]: indexFileText,
|
||||
[`${componentsWhatever}/alert.ts`]: alertText,
|
||||
[`${functionsWhatever}/placeholder.txt`]: "",
|
||||
"/a/lib/lib.es2016.full.d.ts": libContent,
|
||||
});
|
||||
const session = new TestSession({ host, canUseWatchEvents, canUseEvents: true });
|
||||
openFilesForSession([{ file: indexTs, projectRootPath }], session);
|
||||
host.renameFolder(componentsWhatever, functionsWhatever, /*skipFolderEntryWatches*/ true);
|
||||
if (canUseWatchEvents) session.invokeWatchChanges();
|
||||
openFilesForSession([{
|
||||
file: `${functionsWhatever}/alert.ts`,
|
||||
content: alertText,
|
||||
projectRootPath,
|
||||
}], session);
|
||||
session.executeCommandSeq<ts.server.protocol.GetEditsForFileRenameRequest>({
|
||||
command: ts.server.protocol.CommandTypes.GetEditsForFileRename,
|
||||
arguments: { oldFilePath: componentsWhatever, newFilePath: functionsWhatever },
|
||||
});
|
||||
// Apply edit to index.ts
|
||||
session.executeCommandSeq<ts.server.protocol.UpdateOpenRequest>({
|
||||
command: ts.server.protocol.CommandTypes.UpdateOpen,
|
||||
arguments: {
|
||||
changedFiles: [{
|
||||
fileName: indexTs,
|
||||
textChanges: [{
|
||||
...protocolTextSpanFromSubstring(indexFileText, "@app/components/whatever/alert"),
|
||||
newText: "@app/functions/whatever/alert",
|
||||
}],
|
||||
}],
|
||||
},
|
||||
});
|
||||
host.runQueuedTimeoutCallbacks();
|
||||
host.renameFolder(functionsWhatever, componentsWhatever, /*skipFolderEntryWatches*/ true);
|
||||
session.executeCommandSeq<ts.server.protocol.UpdateOpenRequest>({
|
||||
command: ts.server.protocol.CommandTypes.UpdateOpen,
|
||||
arguments: {
|
||||
openFiles: [{
|
||||
file: `${componentsWhatever}/alert.ts`,
|
||||
fileContent: alertText,
|
||||
projectRootPath,
|
||||
}],
|
||||
closedFiles: [`${functionsWhatever}/alert.ts`],
|
||||
},
|
||||
});
|
||||
session.executeCommandSeq<ts.server.protocol.GetEditsForFileRenameRequest>({
|
||||
command: ts.server.protocol.CommandTypes.GetEditsForFileRename,
|
||||
arguments: { oldFilePath: functionsWhatever, newFilePath: componentsWhatever },
|
||||
});
|
||||
if (canUseWatchEvents) session.invokeWatchChanges();
|
||||
host.runQueuedTimeoutCallbacks();
|
||||
baselineTsserverLogs("getEditsForFileRename", `works when moving file to and from folder${canUseWatchEvents ? " canUseWatchEvents" : ""}`, session);
|
||||
})
|
||||
);
|
||||
});
|
||||
|
||||
@ -1375,19 +1375,38 @@ describe("unittests:: tsserver:: projects::", () => {
|
||||
host.runQueuedTimeoutCallbacks();
|
||||
|
||||
// file is deleted but watches are not yet invoked
|
||||
const originalFileExists = host.fileExists;
|
||||
host.fileExists = s => s === fileA.path ? false : originalFileExists.call(host, s);
|
||||
const invokeFileWatcher = host.invokeFileWatcher;
|
||||
const fileWatches: Parameters<typeof host.invokeFileWatcher>[] = [];
|
||||
host.invokeFileWatcher = (fileFullPath, eventKind, modifiedTime) => {
|
||||
fileWatches.push([fileFullPath, eventKind, modifiedTime]);
|
||||
};
|
||||
const invokeFsWatchesCallbacks = host.invokeFsWatchesCallbacks;
|
||||
const fsWatches: Parameters<typeof host.invokeFsWatchesCallbacks>[] = [];
|
||||
host.invokeFsWatchesCallbacks = (fullPath, eventName, eventFullPath, useTildeSuffix) => {
|
||||
fsWatches.push([fullPath, eventName, eventFullPath, useTildeSuffix]);
|
||||
};
|
||||
const invokeFsWatchesRecursiveCallbacks = host.invokeFsWatchesRecursiveCallbacks;
|
||||
const fsWatchesRecursive: Parameters<typeof host.invokeFsWatchesRecursiveCallbacks>[] = [];
|
||||
host.invokeFsWatchesRecursiveCallbacks = (fullPath, eventName, eventFullPath, useTildeSuffix) => {
|
||||
fsWatchesRecursive.push([fullPath, eventName, eventFullPath, useTildeSuffix]);
|
||||
};
|
||||
|
||||
host.deleteFile(fileA.path);
|
||||
host.ensureFileOrFolder(fileSubA);
|
||||
closeFilesForSession([fileA], session);
|
||||
|
||||
// This should create inferred project since fileSubA not on the disk
|
||||
openFile(fileSubA);
|
||||
|
||||
host.runQueuedTimeoutCallbacks(); // Update configured project and projects for open file
|
||||
host.fileExists = originalFileExists;
|
||||
host.invokeFileWatcher = invokeFileWatcher;
|
||||
host.invokeFsWatchesCallbacks = invokeFsWatchesCallbacks;
|
||||
host.invokeFsWatchesRecursiveCallbacks = invokeFsWatchesRecursiveCallbacks;
|
||||
|
||||
// Actually trigger the file move
|
||||
host.deleteFile(fileA.path);
|
||||
host.ensureFileOrFolder(fileSubA);
|
||||
fileWatches.forEach(args => host.invokeFileWatcher(...args));
|
||||
fsWatches.forEach(args => host.invokeFsWatchesCallbacks(...args));
|
||||
fsWatchesRecursive.forEach(args => host.invokeFsWatchesRecursiveCallbacks(...args));
|
||||
|
||||
verifyGetErrRequest({ session, files: [fileB, fileSubA], existingTimeouts: true });
|
||||
baselineTsserverLogs("projects", "handles delayed directory watch invoke on file creation", session);
|
||||
|
||||
@ -3318,6 +3318,7 @@ declare namespace ts {
|
||||
setHostConfiguration(args: protocol.ConfigureRequestArguments): void;
|
||||
private getWatchOptionsFromProjectWatchOptions;
|
||||
closeLog(): void;
|
||||
private sendSourceFileChange;
|
||||
/**
|
||||
* This function rebuilds the project for every file opened by the client
|
||||
* This does not reload contents of open files from disk. But we could do that if needed
|
||||
|
||||
@ -86,8 +86,8 @@ export {}
|
||||
//// [/user/username/projects/myproject/node_modules2/@types/qqq/index.d.ts] deleted
|
||||
|
||||
Output::
|
||||
sysLog:: /user/username/projects/myproject/node_modules:: Changing watcher to PresentFileSystemEntryWatcher
|
||||
sysLog:: /user/username/projects/myproject/node_modules/@types:: Changing watcher to PresentFileSystemEntryWatcher
|
||||
sysLog:: /user/username/projects/myproject/node_modules:: Changing watcher to PresentFileSystemEntryWatcher
|
||||
|
||||
|
||||
PolledWatches::
|
||||
@ -115,14 +115,13 @@ FsWatchesRecursive::
|
||||
{}
|
||||
|
||||
Timeout callback:: count: 2
|
||||
11: timerToUpdateProgram *new*
|
||||
13: timerToInvalidateFailedLookupResolutions *new*
|
||||
7: timerToUpdateProgram *new*
|
||||
10: timerToInvalidateFailedLookupResolutions *new*
|
||||
|
||||
Before running Timeout callback:: count: 2
|
||||
11: timerToUpdateProgram
|
||||
13: timerToInvalidateFailedLookupResolutions
|
||||
7: timerToUpdateProgram
|
||||
10: timerToInvalidateFailedLookupResolutions
|
||||
|
||||
Host is moving to new time
|
||||
After running Timeout callback:: count: 0
|
||||
Output::
|
||||
>> Screen clear
|
||||
@ -167,7 +166,7 @@ FsWatchesRecursive::
|
||||
{}
|
||||
|
||||
Timeout callback:: count: 0
|
||||
13: timerToInvalidateFailedLookupResolutions *deleted*
|
||||
10: timerToInvalidateFailedLookupResolutions *deleted*
|
||||
|
||||
|
||||
Program root files: [
|
||||
|
||||
File diff suppressed because it is too large
Load Diff
@ -0,0 +1,844 @@
|
||||
currentDirectory:: / useCaseSensitiveFileNames: false
|
||||
Info seq [hh:mm:ss:mss] Provided types map file "/typesMap.json" doesn't exist
|
||||
Before request
|
||||
//// [/home/src/myprojects/project/tsconfig.json]
|
||||
{
|
||||
"compilerOptions": {
|
||||
"target": "es2016",
|
||||
"module": "commonjs",
|
||||
"paths": {
|
||||
"@app/*": [
|
||||
"./*"
|
||||
]
|
||||
},
|
||||
"esModuleInterop": true,
|
||||
"forceConsistentCasingInFileNames": true,
|
||||
"strict": true,
|
||||
"skipLibCheck": true
|
||||
}
|
||||
}
|
||||
|
||||
//// [/home/src/myprojects/project/index.ts]
|
||||
import { alert } from '@app/components/whatever/alert';
|
||||
alert('Hello, world!');
|
||||
|
||||
|
||||
//// [/home/src/myprojects/project/components/whatever/alert.ts]
|
||||
export function alert(message: string) {
|
||||
console.log(`ALERT: ${message}`);
|
||||
}
|
||||
|
||||
|
||||
//// [/home/src/myprojects/project/functions/whatever/placeholder.txt]
|
||||
|
||||
|
||||
//// [/a/lib/lib.es2016.full.d.ts]
|
||||
/// <reference no-default-lib="true"/>
|
||||
interface Boolean {}
|
||||
interface Function {}
|
||||
interface CallableFunction {}
|
||||
interface NewableFunction {}
|
||||
interface IArguments {}
|
||||
interface Number { toExponential: any; }
|
||||
interface Object {}
|
||||
interface RegExp {}
|
||||
interface String { charAt: any; }
|
||||
interface Array<T> { length: number; [n: number]: T; }
|
||||
interface ReadonlyArray<T> {}
|
||||
declare const console: { log(msg: any): void; };
|
||||
|
||||
|
||||
Info seq [hh:mm:ss:mss] request:
|
||||
{
|
||||
"command": "open",
|
||||
"arguments": {
|
||||
"file": "/home/src/myprojects/project/index.ts",
|
||||
"projectRootPath": "/home/src/myprojects/project"
|
||||
},
|
||||
"seq": 1,
|
||||
"type": "request"
|
||||
}
|
||||
Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /home/src/myprojects/project/index.ts ProjectRootPath: /home/src/myprojects/project:: Result: /home/src/myprojects/project/tsconfig.json
|
||||
Info seq [hh:mm:ss:mss] Creating configuration project /home/src/myprojects/project/tsconfig.json
|
||||
Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/myprojects/project/tsconfig.json 2000 undefined Project: /home/src/myprojects/project/tsconfig.json WatchType: Config file
|
||||
Info seq [hh:mm:ss:mss] event:
|
||||
{
|
||||
"seq": 0,
|
||||
"type": "event",
|
||||
"event": "projectLoadingStart",
|
||||
"body": {
|
||||
"projectName": "/home/src/myprojects/project/tsconfig.json",
|
||||
"reason": "Creating possible configured project for /home/src/myprojects/project/index.ts to open"
|
||||
}
|
||||
}
|
||||
Info seq [hh:mm:ss:mss] Config: /home/src/myprojects/project/tsconfig.json : {
|
||||
"rootNames": [
|
||||
"/home/src/myprojects/project/index.ts",
|
||||
"/home/src/myprojects/project/components/whatever/alert.ts"
|
||||
],
|
||||
"options": {
|
||||
"target": 3,
|
||||
"module": 1,
|
||||
"paths": {
|
||||
"@app/*": [
|
||||
"./*"
|
||||
]
|
||||
},
|
||||
"esModuleInterop": true,
|
||||
"forceConsistentCasingInFileNames": true,
|
||||
"strict": true,
|
||||
"skipLibCheck": true,
|
||||
"pathsBasePath": "/home/src/myprojects/project",
|
||||
"configFilePath": "/home/src/myprojects/project/tsconfig.json"
|
||||
}
|
||||
}
|
||||
Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/myprojects/project 1 undefined Config: /home/src/myprojects/project/tsconfig.json WatchType: Wild card directory
|
||||
Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/myprojects/project 1 undefined Config: /home/src/myprojects/project/tsconfig.json WatchType: Wild card directory
|
||||
Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /home/src/myprojects/project/components/whatever/alert.ts 500 undefined WatchType: Closed Script info
|
||||
Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /home/src/myprojects/project/tsconfig.json
|
||||
Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/lib/lib.es2016.full.d.ts 500 undefined WatchType: Closed Script info
|
||||
Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/myprojects/project/node_modules/@types 1 undefined Project: /home/src/myprojects/project/tsconfig.json WatchType: Type roots
|
||||
Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/myprojects/project/node_modules/@types 1 undefined Project: /home/src/myprojects/project/tsconfig.json WatchType: Type roots
|
||||
Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/myprojects/node_modules/@types 1 undefined Project: /home/src/myprojects/project/tsconfig.json WatchType: Type roots
|
||||
Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/myprojects/node_modules/@types 1 undefined Project: /home/src/myprojects/project/tsconfig.json WatchType: Type roots
|
||||
Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /home/src/myprojects/project/tsconfig.json projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms
|
||||
Info seq [hh:mm:ss:mss] Project '/home/src/myprojects/project/tsconfig.json' (Configured)
|
||||
Info seq [hh:mm:ss:mss] Files (3)
|
||||
/a/lib/lib.es2016.full.d.ts Text-1 "/// <reference no-default-lib=\"true\"/>\ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array<T> { length: number; [n: number]: T; }\ninterface ReadonlyArray<T> {}\ndeclare const console: { log(msg: any): void; };"
|
||||
/home/src/myprojects/project/components/whatever/alert.ts Text-1 "export function alert(message: string) {\n console.log(`ALERT: ${message}`);\n}\n"
|
||||
/home/src/myprojects/project/index.ts SVC-1-0 "import { alert } from '@app/components/whatever/alert';\nalert('Hello, world!');\n"
|
||||
|
||||
|
||||
../../../../a/lib/lib.es2016.full.d.ts
|
||||
Default library for target 'es2016'
|
||||
components/whatever/alert.ts
|
||||
Imported via '@app/components/whatever/alert' from file 'index.ts'
|
||||
Matched by default include pattern '**/*'
|
||||
index.ts
|
||||
Matched by default include pattern '**/*'
|
||||
|
||||
Info seq [hh:mm:ss:mss] -----------------------------------------------
|
||||
Info seq [hh:mm:ss:mss] event:
|
||||
{
|
||||
"seq": 0,
|
||||
"type": "event",
|
||||
"event": "projectLoadingFinish",
|
||||
"body": {
|
||||
"projectName": "/home/src/myprojects/project/tsconfig.json"
|
||||
}
|
||||
}
|
||||
Info seq [hh:mm:ss:mss] event:
|
||||
{
|
||||
"seq": 0,
|
||||
"type": "event",
|
||||
"event": "telemetry",
|
||||
"body": {
|
||||
"telemetryEventName": "projectInfo",
|
||||
"payload": {
|
||||
"projectId": "8eef2d0b8a0e9b1fea9cc093cf6e65a3858613760d59db089978dadbab81a1fb",
|
||||
"fileStats": {
|
||||
"js": 0,
|
||||
"jsSize": 0,
|
||||
"jsx": 0,
|
||||
"jsxSize": 0,
|
||||
"ts": 2,
|
||||
"tsSize": 161,
|
||||
"tsx": 0,
|
||||
"tsxSize": 0,
|
||||
"dts": 1,
|
||||
"dtsSize": 413,
|
||||
"deferred": 0,
|
||||
"deferredSize": 0
|
||||
},
|
||||
"compilerOptions": {
|
||||
"target": "es2016",
|
||||
"module": "commonjs",
|
||||
"paths": "",
|
||||
"esModuleInterop": true,
|
||||
"forceConsistentCasingInFileNames": true,
|
||||
"strict": true,
|
||||
"skipLibCheck": true
|
||||
},
|
||||
"typeAcquisition": {
|
||||
"enable": false,
|
||||
"include": false,
|
||||
"exclude": false
|
||||
},
|
||||
"extends": false,
|
||||
"files": false,
|
||||
"include": false,
|
||||
"exclude": false,
|
||||
"compileOnSave": false,
|
||||
"configFileName": "tsconfig.json",
|
||||
"projectType": "configured",
|
||||
"languageServiceEnabled": true,
|
||||
"version": "FakeVersion"
|
||||
}
|
||||
}
|
||||
}
|
||||
Info seq [hh:mm:ss:mss] event:
|
||||
{
|
||||
"seq": 0,
|
||||
"type": "event",
|
||||
"event": "configFileDiag",
|
||||
"body": {
|
||||
"triggerFile": "/home/src/myprojects/project/index.ts",
|
||||
"configFile": "/home/src/myprojects/project/tsconfig.json",
|
||||
"diagnostics": []
|
||||
}
|
||||
}
|
||||
Info seq [hh:mm:ss:mss] Project '/home/src/myprojects/project/tsconfig.json' (Configured)
|
||||
Info seq [hh:mm:ss:mss] Files (3)
|
||||
|
||||
Info seq [hh:mm:ss:mss] -----------------------------------------------
|
||||
Info seq [hh:mm:ss:mss] Open files:
|
||||
Info seq [hh:mm:ss:mss] FileName: /home/src/myprojects/project/index.ts ProjectRootPath: /home/src/myprojects/project
|
||||
Info seq [hh:mm:ss:mss] Projects: /home/src/myprojects/project/tsconfig.json
|
||||
Info seq [hh:mm:ss:mss] response:
|
||||
{
|
||||
"seq": 0,
|
||||
"type": "response",
|
||||
"command": "open",
|
||||
"request_seq": 1,
|
||||
"success": true,
|
||||
"performanceData": {
|
||||
"updateGraphDurationMs": *
|
||||
}
|
||||
}
|
||||
After request
|
||||
|
||||
PolledWatches::
|
||||
/home/src/myprojects/node_modules/@types: *new*
|
||||
{"pollingInterval":500}
|
||||
/home/src/myprojects/project/node_modules/@types: *new*
|
||||
{"pollingInterval":500}
|
||||
|
||||
FsWatches::
|
||||
/a/lib/lib.es2016.full.d.ts: *new*
|
||||
{}
|
||||
/home/src/myprojects/project/components/whatever/alert.ts: *new*
|
||||
{}
|
||||
/home/src/myprojects/project/tsconfig.json: *new*
|
||||
{}
|
||||
|
||||
FsWatchesRecursive::
|
||||
/home/src/myprojects/project: *new*
|
||||
{}
|
||||
|
||||
Projects::
|
||||
/home/src/myprojects/project/tsconfig.json (Configured) *new*
|
||||
projectStateVersion: 1
|
||||
projectProgramVersion: 1
|
||||
|
||||
ScriptInfos::
|
||||
/a/lib/lib.es2016.full.d.ts *new*
|
||||
version: Text-1
|
||||
containingProjects: 1
|
||||
/home/src/myprojects/project/tsconfig.json
|
||||
/home/src/myprojects/project/components/whatever/alert.ts *new*
|
||||
version: Text-1
|
||||
containingProjects: 1
|
||||
/home/src/myprojects/project/tsconfig.json
|
||||
/home/src/myprojects/project/index.ts (Open) *new*
|
||||
version: SVC-1-0
|
||||
containingProjects: 1
|
||||
/home/src/myprojects/project/tsconfig.json *default*
|
||||
|
||||
Info seq [hh:mm:ss:mss] DirectoryWatcher:: Triggered with /home/src/myprojects/project/components/whatever :: WatchInfo: /home/src/myprojects/project 1 undefined Config: /home/src/myprojects/project/tsconfig.json WatchType: Wild card directory
|
||||
Info seq [hh:mm:ss:mss] Invoking sourceFileChange on /home/src/myprojects/project/components/whatever/alert.ts:: 2
|
||||
Info seq [hh:mm:ss:mss] Scheduled: /home/src/myprojects/project/tsconfig.json
|
||||
Info seq [hh:mm:ss:mss] Scheduled: *ensureProjectForOpenFiles*
|
||||
Info seq [hh:mm:ss:mss] Scheduled: /home/src/myprojects/project/tsconfig.json, Cancelled earlier one
|
||||
Info seq [hh:mm:ss:mss] Scheduled: *ensureProjectForOpenFiles*, Cancelled earlier one
|
||||
Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Triggered with /home/src/myprojects/project/components/whatever :: WatchInfo: /home/src/myprojects/project 1 undefined Config: /home/src/myprojects/project/tsconfig.json WatchType: Wild card directory
|
||||
Info seq [hh:mm:ss:mss] DirectoryWatcher:: Triggered with /home/src/myprojects/project/functions/whatever :: WatchInfo: /home/src/myprojects/project 1 undefined Config: /home/src/myprojects/project/tsconfig.json WatchType: Wild card directory
|
||||
Info seq [hh:mm:ss:mss] Scheduled: /home/src/myprojects/project/tsconfig.json, Cancelled earlier one
|
||||
Info seq [hh:mm:ss:mss] Scheduled: *ensureProjectForOpenFiles*, Cancelled earlier one
|
||||
Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Triggered with /home/src/myprojects/project/functions/whatever :: WatchInfo: /home/src/myprojects/project 1 undefined Config: /home/src/myprojects/project/tsconfig.json WatchType: Wild card directory
|
||||
Before request
|
||||
//// [/home/src/myprojects/project/functions/whatever/alert.ts]
|
||||
export function alert(message: string) {
|
||||
console.log(`ALERT: ${message}`);
|
||||
}
|
||||
|
||||
|
||||
//// [/home/src/myprojects/project/components/whatever/alert.ts] deleted
|
||||
|
||||
Timeout callback:: count: 2
|
||||
5: /home/src/myprojects/project/tsconfig.json *new*
|
||||
6: *ensureProjectForOpenFiles* *new*
|
||||
|
||||
Projects::
|
||||
/home/src/myprojects/project/tsconfig.json (Configured) *changed*
|
||||
projectStateVersion: 2 *changed*
|
||||
projectProgramVersion: 1
|
||||
dirty: true *changed*
|
||||
|
||||
ScriptInfos::
|
||||
/a/lib/lib.es2016.full.d.ts
|
||||
version: Text-1
|
||||
containingProjects: 1
|
||||
/home/src/myprojects/project/tsconfig.json
|
||||
/home/src/myprojects/project/components/whatever/alert.ts *changed*
|
||||
version: Text-1
|
||||
pendingReloadFromDisk: true *changed*
|
||||
deferredDelete: true *changed*
|
||||
containingProjects: 0 *changed*
|
||||
/home/src/myprojects/project/tsconfig.json *deleted*
|
||||
/home/src/myprojects/project/index.ts (Open)
|
||||
version: SVC-1-0
|
||||
containingProjects: 1
|
||||
/home/src/myprojects/project/tsconfig.json *default*
|
||||
|
||||
Info seq [hh:mm:ss:mss] request:
|
||||
{
|
||||
"command": "open",
|
||||
"arguments": {
|
||||
"file": "/home/src/myprojects/project/functions/whatever/alert.ts",
|
||||
"projectRootPath": "/home/src/myprojects/project",
|
||||
"fileContent": "export function alert(message: string) {\n console.log(`ALERT: ${message}`);\n}\n"
|
||||
},
|
||||
"seq": 2,
|
||||
"type": "request"
|
||||
}
|
||||
Info seq [hh:mm:ss:mss] Invoking /home/src/myprojects/project/tsconfig.json:: wildcard for open scriptInfo:: /home/src/myprojects/project/functions/whatever/alert.ts
|
||||
Info seq [hh:mm:ss:mss] Scheduled: /home/src/myprojects/project/tsconfig.json, Cancelled earlier one
|
||||
Info seq [hh:mm:ss:mss] Scheduled: *ensureProjectForOpenFiles*, Cancelled earlier one
|
||||
Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /home/src/myprojects/project/functions/whatever/alert.ts ProjectRootPath: /home/src/myprojects/project:: Result: /home/src/myprojects/project/tsconfig.json
|
||||
Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /home/src/myprojects/project/tsconfig.json
|
||||
Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/myprojects/project/components 1 undefined Project: /home/src/myprojects/project/tsconfig.json WatchType: Failed Lookup Locations
|
||||
Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/myprojects/project/components 1 undefined Project: /home/src/myprojects/project/tsconfig.json WatchType: Failed Lookup Locations
|
||||
Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/myprojects/project/node_modules 1 undefined Project: /home/src/myprojects/project/tsconfig.json WatchType: Failed Lookup Locations
|
||||
Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/myprojects/project/node_modules 1 undefined Project: /home/src/myprojects/project/tsconfig.json WatchType: Failed Lookup Locations
|
||||
Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/myprojects/node_modules 1 undefined Project: /home/src/myprojects/project/tsconfig.json WatchType: Failed Lookup Locations
|
||||
Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/myprojects/node_modules 1 undefined Project: /home/src/myprojects/project/tsconfig.json WatchType: Failed Lookup Locations
|
||||
Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /home/src/myprojects/project/tsconfig.json projectStateVersion: 2 projectProgramVersion: 1 structureChanged: true structureIsReused:: Not Elapsed:: *ms
|
||||
Info seq [hh:mm:ss:mss] Project '/home/src/myprojects/project/tsconfig.json' (Configured)
|
||||
Info seq [hh:mm:ss:mss] Files (3)
|
||||
/a/lib/lib.es2016.full.d.ts Text-1 "/// <reference no-default-lib=\"true\"/>\ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array<T> { length: number; [n: number]: T; }\ninterface ReadonlyArray<T> {}\ndeclare const console: { log(msg: any): void; };"
|
||||
/home/src/myprojects/project/index.ts SVC-1-0 "import { alert } from '@app/components/whatever/alert';\nalert('Hello, world!');\n"
|
||||
/home/src/myprojects/project/functions/whatever/alert.ts SVC-1-0 "export function alert(message: string) {\n console.log(`ALERT: ${message}`);\n}\n"
|
||||
|
||||
|
||||
../../../../a/lib/lib.es2016.full.d.ts
|
||||
Default library for target 'es2016'
|
||||
index.ts
|
||||
Matched by default include pattern '**/*'
|
||||
functions/whatever/alert.ts
|
||||
Matched by default include pattern '**/*'
|
||||
|
||||
Info seq [hh:mm:ss:mss] -----------------------------------------------
|
||||
Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /home/src/myprojects/project/components/whatever/alert.ts 500 undefined WatchType: Closed Script info
|
||||
Info seq [hh:mm:ss:mss] Project '/home/src/myprojects/project/tsconfig.json' (Configured)
|
||||
Info seq [hh:mm:ss:mss] Files (3)
|
||||
|
||||
Info seq [hh:mm:ss:mss] -----------------------------------------------
|
||||
Info seq [hh:mm:ss:mss] Open files:
|
||||
Info seq [hh:mm:ss:mss] FileName: /home/src/myprojects/project/index.ts ProjectRootPath: /home/src/myprojects/project
|
||||
Info seq [hh:mm:ss:mss] Projects: /home/src/myprojects/project/tsconfig.json
|
||||
Info seq [hh:mm:ss:mss] FileName: /home/src/myprojects/project/functions/whatever/alert.ts ProjectRootPath: /home/src/myprojects/project
|
||||
Info seq [hh:mm:ss:mss] Projects: /home/src/myprojects/project/tsconfig.json
|
||||
Info seq [hh:mm:ss:mss] response:
|
||||
{
|
||||
"seq": 0,
|
||||
"type": "response",
|
||||
"command": "open",
|
||||
"request_seq": 2,
|
||||
"success": true,
|
||||
"performanceData": {
|
||||
"updateGraphDurationMs": *
|
||||
}
|
||||
}
|
||||
After request
|
||||
|
||||
PolledWatches::
|
||||
/home/src/myprojects/node_modules: *new*
|
||||
{"pollingInterval":500}
|
||||
/home/src/myprojects/node_modules/@types:
|
||||
{"pollingInterval":500}
|
||||
/home/src/myprojects/project/node_modules: *new*
|
||||
{"pollingInterval":500}
|
||||
/home/src/myprojects/project/node_modules/@types:
|
||||
{"pollingInterval":500}
|
||||
|
||||
FsWatches::
|
||||
/a/lib/lib.es2016.full.d.ts:
|
||||
{}
|
||||
/home/src/myprojects/project/tsconfig.json:
|
||||
{}
|
||||
|
||||
FsWatches *deleted*::
|
||||
/home/src/myprojects/project/components/whatever/alert.ts:
|
||||
{}
|
||||
|
||||
FsWatchesRecursive::
|
||||
/home/src/myprojects/project:
|
||||
{}
|
||||
/home/src/myprojects/project/components: *new*
|
||||
{}
|
||||
|
||||
Timeout callback:: count: 2
|
||||
5: /home/src/myprojects/project/tsconfig.json *deleted*
|
||||
6: *ensureProjectForOpenFiles* *deleted*
|
||||
7: /home/src/myprojects/project/tsconfig.json *new*
|
||||
8: *ensureProjectForOpenFiles* *new*
|
||||
|
||||
Projects::
|
||||
/home/src/myprojects/project/tsconfig.json (Configured) *changed*
|
||||
projectStateVersion: 2
|
||||
projectProgramVersion: 2 *changed*
|
||||
dirty: false *changed*
|
||||
|
||||
ScriptInfos::
|
||||
/a/lib/lib.es2016.full.d.ts
|
||||
version: Text-1
|
||||
containingProjects: 1
|
||||
/home/src/myprojects/project/tsconfig.json
|
||||
/home/src/myprojects/project/components/whatever/alert.ts *deleted*
|
||||
version: Text-1
|
||||
pendingReloadFromDisk: true
|
||||
deferredDelete: true
|
||||
containingProjects: 0
|
||||
/home/src/myprojects/project/functions/whatever/alert.ts (Open) *new*
|
||||
version: SVC-1-0
|
||||
containingProjects: 1
|
||||
/home/src/myprojects/project/tsconfig.json *default*
|
||||
/home/src/myprojects/project/index.ts (Open)
|
||||
version: SVC-1-0
|
||||
containingProjects: 1
|
||||
/home/src/myprojects/project/tsconfig.json *default*
|
||||
|
||||
Before request
|
||||
|
||||
Info seq [hh:mm:ss:mss] request:
|
||||
{
|
||||
"command": "getEditsForFileRename",
|
||||
"arguments": {
|
||||
"oldFilePath": "/home/src/myprojects/project/components/whatever",
|
||||
"newFilePath": "/home/src/myprojects/project/functions/whatever"
|
||||
},
|
||||
"seq": 3,
|
||||
"type": "request"
|
||||
}
|
||||
Info seq [hh:mm:ss:mss] response:
|
||||
{
|
||||
"response": [
|
||||
{
|
||||
"fileName": "/home/src/myprojects/project/index.ts",
|
||||
"textChanges": [
|
||||
{
|
||||
"start": {
|
||||
"line": 1,
|
||||
"offset": 24
|
||||
},
|
||||
"end": {
|
||||
"line": 1,
|
||||
"offset": 54
|
||||
},
|
||||
"newText": "@app/functions/whatever/alert"
|
||||
}
|
||||
]
|
||||
}
|
||||
],
|
||||
"responseRequired": true
|
||||
}
|
||||
After request
|
||||
|
||||
Projects::
|
||||
/home/src/myprojects/project/tsconfig.json (Configured) *changed*
|
||||
projectStateVersion: 2
|
||||
projectProgramVersion: 2
|
||||
documentPositionMappers: 1 *changed*
|
||||
/a/lib/lib.es2016.full.d.ts: identitySourceMapConsumer *new*
|
||||
|
||||
ScriptInfos::
|
||||
/a/lib/lib.es2016.full.d.ts *changed*
|
||||
version: Text-1
|
||||
sourceMapFilePath: false *changed*
|
||||
containingProjects: 1
|
||||
/home/src/myprojects/project/tsconfig.json
|
||||
/home/src/myprojects/project/functions/whatever/alert.ts (Open)
|
||||
version: SVC-1-0
|
||||
containingProjects: 1
|
||||
/home/src/myprojects/project/tsconfig.json *default*
|
||||
/home/src/myprojects/project/index.ts (Open)
|
||||
version: SVC-1-0
|
||||
containingProjects: 1
|
||||
/home/src/myprojects/project/tsconfig.json *default*
|
||||
|
||||
Before request
|
||||
|
||||
Info seq [hh:mm:ss:mss] request:
|
||||
{
|
||||
"command": "updateOpen",
|
||||
"arguments": {
|
||||
"changedFiles": [
|
||||
{
|
||||
"fileName": "/home/src/myprojects/project/index.ts",
|
||||
"textChanges": [
|
||||
{
|
||||
"start": {
|
||||
"line": 1,
|
||||
"offset": 24
|
||||
},
|
||||
"end": {
|
||||
"line": 1,
|
||||
"offset": 54
|
||||
},
|
||||
"newText": "@app/functions/whatever/alert"
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
},
|
||||
"seq": 4,
|
||||
"type": "request"
|
||||
}
|
||||
Info seq [hh:mm:ss:mss] response:
|
||||
{
|
||||
"response": true,
|
||||
"responseRequired": true
|
||||
}
|
||||
After request
|
||||
|
||||
Projects::
|
||||
/home/src/myprojects/project/tsconfig.json (Configured) *changed*
|
||||
projectStateVersion: 3 *changed*
|
||||
projectProgramVersion: 2
|
||||
dirty: true *changed*
|
||||
|
||||
ScriptInfos::
|
||||
/a/lib/lib.es2016.full.d.ts
|
||||
version: Text-1
|
||||
sourceMapFilePath: false
|
||||
containingProjects: 1
|
||||
/home/src/myprojects/project/tsconfig.json
|
||||
/home/src/myprojects/project/functions/whatever/alert.ts (Open)
|
||||
version: SVC-1-0
|
||||
containingProjects: 1
|
||||
/home/src/myprojects/project/tsconfig.json *default*
|
||||
/home/src/myprojects/project/index.ts (Open) *changed*
|
||||
version: SVC-1-1 *changed*
|
||||
containingProjects: 1
|
||||
/home/src/myprojects/project/tsconfig.json *default*
|
||||
|
||||
Before running Timeout callback:: count: 2
|
||||
7: /home/src/myprojects/project/tsconfig.json
|
||||
8: *ensureProjectForOpenFiles*
|
||||
|
||||
Info seq [hh:mm:ss:mss] Running: /home/src/myprojects/project/tsconfig.json
|
||||
Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /home/src/myprojects/project/tsconfig.json
|
||||
Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /home/src/myprojects/project/components 1 undefined Project: /home/src/myprojects/project/tsconfig.json WatchType: Failed Lookup Locations
|
||||
Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /home/src/myprojects/project/components 1 undefined Project: /home/src/myprojects/project/tsconfig.json WatchType: Failed Lookup Locations
|
||||
Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /home/src/myprojects/project/node_modules 1 undefined Project: /home/src/myprojects/project/tsconfig.json WatchType: Failed Lookup Locations
|
||||
Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /home/src/myprojects/project/node_modules 1 undefined Project: /home/src/myprojects/project/tsconfig.json WatchType: Failed Lookup Locations
|
||||
Info seq [hh:mm:ss:mss] DirectoryWatcher:: Close:: WatchInfo: /home/src/myprojects/node_modules 1 undefined Project: /home/src/myprojects/project/tsconfig.json WatchType: Failed Lookup Locations
|
||||
Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Close:: WatchInfo: /home/src/myprojects/node_modules 1 undefined Project: /home/src/myprojects/project/tsconfig.json WatchType: Failed Lookup Locations
|
||||
Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /home/src/myprojects/project/tsconfig.json projectStateVersion: 3 projectProgramVersion: 2 structureChanged: true structureIsReused:: SafeModules Elapsed:: *ms
|
||||
Info seq [hh:mm:ss:mss] Project '/home/src/myprojects/project/tsconfig.json' (Configured)
|
||||
Info seq [hh:mm:ss:mss] Files (3)
|
||||
/a/lib/lib.es2016.full.d.ts Text-1 "/// <reference no-default-lib=\"true\"/>\ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array<T> { length: number; [n: number]: T; }\ninterface ReadonlyArray<T> {}\ndeclare const console: { log(msg: any): void; };"
|
||||
/home/src/myprojects/project/functions/whatever/alert.ts SVC-1-0 "export function alert(message: string) {\n console.log(`ALERT: ${message}`);\n}\n"
|
||||
/home/src/myprojects/project/index.ts SVC-1-1 "import { alert } from '@app/functions/whatever/alert';\nalert('Hello, world!');\n"
|
||||
|
||||
Info seq [hh:mm:ss:mss] -----------------------------------------------
|
||||
Info seq [hh:mm:ss:mss] Running: *ensureProjectForOpenFiles*
|
||||
Info seq [hh:mm:ss:mss] Before ensureProjectForOpenFiles:
|
||||
Info seq [hh:mm:ss:mss] Project '/home/src/myprojects/project/tsconfig.json' (Configured)
|
||||
Info seq [hh:mm:ss:mss] Files (3)
|
||||
|
||||
Info seq [hh:mm:ss:mss] -----------------------------------------------
|
||||
Info seq [hh:mm:ss:mss] Open files:
|
||||
Info seq [hh:mm:ss:mss] FileName: /home/src/myprojects/project/index.ts ProjectRootPath: /home/src/myprojects/project
|
||||
Info seq [hh:mm:ss:mss] Projects: /home/src/myprojects/project/tsconfig.json
|
||||
Info seq [hh:mm:ss:mss] FileName: /home/src/myprojects/project/functions/whatever/alert.ts ProjectRootPath: /home/src/myprojects/project
|
||||
Info seq [hh:mm:ss:mss] Projects: /home/src/myprojects/project/tsconfig.json
|
||||
Info seq [hh:mm:ss:mss] After ensureProjectForOpenFiles:
|
||||
Info seq [hh:mm:ss:mss] Project '/home/src/myprojects/project/tsconfig.json' (Configured)
|
||||
Info seq [hh:mm:ss:mss] Files (3)
|
||||
|
||||
Info seq [hh:mm:ss:mss] -----------------------------------------------
|
||||
Info seq [hh:mm:ss:mss] Open files:
|
||||
Info seq [hh:mm:ss:mss] FileName: /home/src/myprojects/project/index.ts ProjectRootPath: /home/src/myprojects/project
|
||||
Info seq [hh:mm:ss:mss] Projects: /home/src/myprojects/project/tsconfig.json
|
||||
Info seq [hh:mm:ss:mss] FileName: /home/src/myprojects/project/functions/whatever/alert.ts ProjectRootPath: /home/src/myprojects/project
|
||||
Info seq [hh:mm:ss:mss] Projects: /home/src/myprojects/project/tsconfig.json
|
||||
Info seq [hh:mm:ss:mss] got projects updated in background /home/src/myprojects/project/index.ts,/home/src/myprojects/project/functions/whatever/alert.ts
|
||||
Info seq [hh:mm:ss:mss] event:
|
||||
{
|
||||
"seq": 0,
|
||||
"type": "event",
|
||||
"event": "projectsUpdatedInBackground",
|
||||
"body": {
|
||||
"openFiles": [
|
||||
"/home/src/myprojects/project/index.ts",
|
||||
"/home/src/myprojects/project/functions/whatever/alert.ts"
|
||||
]
|
||||
}
|
||||
}
|
||||
After running Timeout callback:: count: 0
|
||||
|
||||
PolledWatches::
|
||||
/home/src/myprojects/node_modules/@types:
|
||||
{"pollingInterval":500}
|
||||
/home/src/myprojects/project/node_modules/@types:
|
||||
{"pollingInterval":500}
|
||||
|
||||
PolledWatches *deleted*::
|
||||
/home/src/myprojects/node_modules:
|
||||
{"pollingInterval":500}
|
||||
/home/src/myprojects/project/node_modules:
|
||||
{"pollingInterval":500}
|
||||
|
||||
FsWatches::
|
||||
/a/lib/lib.es2016.full.d.ts:
|
||||
{}
|
||||
/home/src/myprojects/project/tsconfig.json:
|
||||
{}
|
||||
|
||||
FsWatchesRecursive::
|
||||
/home/src/myprojects/project:
|
||||
{}
|
||||
|
||||
FsWatchesRecursive *deleted*::
|
||||
/home/src/myprojects/project/components:
|
||||
{}
|
||||
|
||||
Projects::
|
||||
/home/src/myprojects/project/tsconfig.json (Configured) *changed*
|
||||
projectStateVersion: 3
|
||||
projectProgramVersion: 3 *changed*
|
||||
dirty: false *changed*
|
||||
documentPositionMappers: 0 *changed*
|
||||
/a/lib/lib.es2016.full.d.ts: identitySourceMapConsumer *deleted*
|
||||
|
||||
Info seq [hh:mm:ss:mss] DirectoryWatcher:: Triggered with /home/src/myprojects/project/functions/whatever :: WatchInfo: /home/src/myprojects/project 1 undefined Config: /home/src/myprojects/project/tsconfig.json WatchType: Wild card directory
|
||||
Info seq [hh:mm:ss:mss] Scheduled: /home/src/myprojects/project/tsconfig.json
|
||||
Info seq [hh:mm:ss:mss] Scheduled: *ensureProjectForOpenFiles*
|
||||
Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Triggered with /home/src/myprojects/project/functions/whatever :: WatchInfo: /home/src/myprojects/project 1 undefined Config: /home/src/myprojects/project/tsconfig.json WatchType: Wild card directory
|
||||
Info seq [hh:mm:ss:mss] DirectoryWatcher:: Triggered with /home/src/myprojects/project/components/whatever :: WatchInfo: /home/src/myprojects/project 1 undefined Config: /home/src/myprojects/project/tsconfig.json WatchType: Wild card directory
|
||||
Info seq [hh:mm:ss:mss] Scheduled: /home/src/myprojects/project/tsconfig.json, Cancelled earlier one
|
||||
Info seq [hh:mm:ss:mss] Scheduled: *ensureProjectForOpenFiles*, Cancelled earlier one
|
||||
Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Triggered with /home/src/myprojects/project/components/whatever :: WatchInfo: /home/src/myprojects/project 1 undefined Config: /home/src/myprojects/project/tsconfig.json WatchType: Wild card directory
|
||||
Before request
|
||||
//// [/home/src/myprojects/project/components/whatever/alert.ts]
|
||||
export function alert(message: string) {
|
||||
console.log(`ALERT: ${message}`);
|
||||
}
|
||||
|
||||
|
||||
//// [/home/src/myprojects/project/functions/whatever/alert.ts] deleted
|
||||
|
||||
Timeout callback:: count: 2
|
||||
11: /home/src/myprojects/project/tsconfig.json *new*
|
||||
12: *ensureProjectForOpenFiles* *new*
|
||||
|
||||
Projects::
|
||||
/home/src/myprojects/project/tsconfig.json (Configured) *changed*
|
||||
projectStateVersion: 4 *changed*
|
||||
projectProgramVersion: 3
|
||||
dirty: true *changed*
|
||||
|
||||
Info seq [hh:mm:ss:mss] request:
|
||||
{
|
||||
"command": "updateOpen",
|
||||
"arguments": {
|
||||
"openFiles": [
|
||||
{
|
||||
"file": "/home/src/myprojects/project/components/whatever/alert.ts",
|
||||
"fileContent": "export function alert(message: string) {\n console.log(`ALERT: ${message}`);\n}\n",
|
||||
"projectRootPath": "/home/src/myprojects/project"
|
||||
}
|
||||
],
|
||||
"closedFiles": [
|
||||
"/home/src/myprojects/project/functions/whatever/alert.ts"
|
||||
]
|
||||
},
|
||||
"seq": 5,
|
||||
"type": "request"
|
||||
}
|
||||
Info seq [hh:mm:ss:mss] Scheduled: /home/src/myprojects/project/tsconfig.json, Cancelled earlier one
|
||||
Info seq [hh:mm:ss:mss] Scheduled: *ensureProjectForOpenFiles*, Cancelled earlier one
|
||||
Info seq [hh:mm:ss:mss] Invoking /home/src/myprojects/project/tsconfig.json:: wildcard for open scriptInfo:: /home/src/myprojects/project/components/whatever/alert.ts
|
||||
Info seq [hh:mm:ss:mss] Scheduled: /home/src/myprojects/project/tsconfig.json, Cancelled earlier one
|
||||
Info seq [hh:mm:ss:mss] Scheduled: *ensureProjectForOpenFiles*, Cancelled earlier one
|
||||
Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /home/src/myprojects/project/components/whatever/alert.ts ProjectRootPath: /home/src/myprojects/project:: Result: /home/src/myprojects/project/tsconfig.json
|
||||
Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /home/src/myprojects/project/tsconfig.json
|
||||
Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/myprojects/project/functions 1 undefined Project: /home/src/myprojects/project/tsconfig.json WatchType: Failed Lookup Locations
|
||||
Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/myprojects/project/functions 1 undefined Project: /home/src/myprojects/project/tsconfig.json WatchType: Failed Lookup Locations
|
||||
Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/myprojects/project/node_modules 1 undefined Project: /home/src/myprojects/project/tsconfig.json WatchType: Failed Lookup Locations
|
||||
Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/myprojects/project/node_modules 1 undefined Project: /home/src/myprojects/project/tsconfig.json WatchType: Failed Lookup Locations
|
||||
Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /home/src/myprojects/node_modules 1 undefined Project: /home/src/myprojects/project/tsconfig.json WatchType: Failed Lookup Locations
|
||||
Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /home/src/myprojects/node_modules 1 undefined Project: /home/src/myprojects/project/tsconfig.json WatchType: Failed Lookup Locations
|
||||
Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /home/src/myprojects/project/tsconfig.json projectStateVersion: 4 projectProgramVersion: 3 structureChanged: true structureIsReused:: Not Elapsed:: *ms
|
||||
Info seq [hh:mm:ss:mss] Project '/home/src/myprojects/project/tsconfig.json' (Configured)
|
||||
Info seq [hh:mm:ss:mss] Files (3)
|
||||
/a/lib/lib.es2016.full.d.ts Text-1 "/// <reference no-default-lib=\"true\"/>\ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array<T> { length: number; [n: number]: T; }\ninterface ReadonlyArray<T> {}\ndeclare const console: { log(msg: any): void; };"
|
||||
/home/src/myprojects/project/index.ts SVC-1-1 "import { alert } from '@app/functions/whatever/alert';\nalert('Hello, world!');\n"
|
||||
/home/src/myprojects/project/components/whatever/alert.ts SVC-2-0 "export function alert(message: string) {\n console.log(`ALERT: ${message}`);\n}\n"
|
||||
|
||||
|
||||
../../../../a/lib/lib.es2016.full.d.ts
|
||||
Default library for target 'es2016'
|
||||
index.ts
|
||||
Matched by default include pattern '**/*'
|
||||
components/whatever/alert.ts
|
||||
Matched by default include pattern '**/*'
|
||||
|
||||
Info seq [hh:mm:ss:mss] -----------------------------------------------
|
||||
Info seq [hh:mm:ss:mss] Project '/home/src/myprojects/project/tsconfig.json' (Configured)
|
||||
Info seq [hh:mm:ss:mss] Files (3)
|
||||
|
||||
Info seq [hh:mm:ss:mss] -----------------------------------------------
|
||||
Info seq [hh:mm:ss:mss] Open files:
|
||||
Info seq [hh:mm:ss:mss] FileName: /home/src/myprojects/project/index.ts ProjectRootPath: /home/src/myprojects/project
|
||||
Info seq [hh:mm:ss:mss] Projects: /home/src/myprojects/project/tsconfig.json
|
||||
Info seq [hh:mm:ss:mss] FileName: /home/src/myprojects/project/components/whatever/alert.ts ProjectRootPath: /home/src/myprojects/project
|
||||
Info seq [hh:mm:ss:mss] Projects: /home/src/myprojects/project/tsconfig.json
|
||||
Info seq [hh:mm:ss:mss] response:
|
||||
{
|
||||
"response": true,
|
||||
"responseRequired": true,
|
||||
"performanceData": {
|
||||
"updateGraphDurationMs": *
|
||||
}
|
||||
}
|
||||
After request
|
||||
|
||||
PolledWatches::
|
||||
/home/src/myprojects/node_modules: *new*
|
||||
{"pollingInterval":500}
|
||||
/home/src/myprojects/node_modules/@types:
|
||||
{"pollingInterval":500}
|
||||
/home/src/myprojects/project/node_modules: *new*
|
||||
{"pollingInterval":500}
|
||||
/home/src/myprojects/project/node_modules/@types:
|
||||
{"pollingInterval":500}
|
||||
|
||||
FsWatches::
|
||||
/a/lib/lib.es2016.full.d.ts:
|
||||
{}
|
||||
/home/src/myprojects/project/tsconfig.json:
|
||||
{}
|
||||
|
||||
FsWatchesRecursive::
|
||||
/home/src/myprojects/project:
|
||||
{}
|
||||
/home/src/myprojects/project/functions: *new*
|
||||
{}
|
||||
|
||||
Timeout callback:: count: 2
|
||||
11: /home/src/myprojects/project/tsconfig.json *deleted*
|
||||
12: *ensureProjectForOpenFiles* *deleted*
|
||||
15: /home/src/myprojects/project/tsconfig.json *new*
|
||||
16: *ensureProjectForOpenFiles* *new*
|
||||
|
||||
Projects::
|
||||
/home/src/myprojects/project/tsconfig.json (Configured) *changed*
|
||||
projectStateVersion: 4
|
||||
projectProgramVersion: 4 *changed*
|
||||
dirty: false *changed*
|
||||
|
||||
ScriptInfos::
|
||||
/a/lib/lib.es2016.full.d.ts
|
||||
version: Text-1
|
||||
sourceMapFilePath: false
|
||||
containingProjects: 1
|
||||
/home/src/myprojects/project/tsconfig.json
|
||||
/home/src/myprojects/project/components/whatever/alert.ts (Open) *new*
|
||||
version: SVC-2-0
|
||||
containingProjects: 1
|
||||
/home/src/myprojects/project/tsconfig.json *default*
|
||||
/home/src/myprojects/project/functions/whatever/alert.ts *deleted*
|
||||
open: false *changed*
|
||||
version: SVC-1-0
|
||||
containingProjects: 0 *changed*
|
||||
/home/src/myprojects/project/tsconfig.json *deleted*
|
||||
/home/src/myprojects/project/index.ts (Open)
|
||||
version: SVC-1-1
|
||||
containingProjects: 1
|
||||
/home/src/myprojects/project/tsconfig.json *default*
|
||||
|
||||
Before request
|
||||
|
||||
Info seq [hh:mm:ss:mss] request:
|
||||
{
|
||||
"command": "getEditsForFileRename",
|
||||
"arguments": {
|
||||
"oldFilePath": "/home/src/myprojects/project/functions/whatever",
|
||||
"newFilePath": "/home/src/myprojects/project/components/whatever"
|
||||
},
|
||||
"seq": 6,
|
||||
"type": "request"
|
||||
}
|
||||
Info seq [hh:mm:ss:mss] response:
|
||||
{
|
||||
"response": [
|
||||
{
|
||||
"fileName": "/home/src/myprojects/project/index.ts",
|
||||
"textChanges": [
|
||||
{
|
||||
"start": {
|
||||
"line": 1,
|
||||
"offset": 24
|
||||
},
|
||||
"end": {
|
||||
"line": 1,
|
||||
"offset": 53
|
||||
},
|
||||
"newText": "@app/components/whatever/alert"
|
||||
}
|
||||
]
|
||||
}
|
||||
],
|
||||
"responseRequired": true
|
||||
}
|
||||
After request
|
||||
|
||||
Projects::
|
||||
/home/src/myprojects/project/tsconfig.json (Configured) *changed*
|
||||
projectStateVersion: 4
|
||||
projectProgramVersion: 4
|
||||
documentPositionMappers: 1 *changed*
|
||||
/a/lib/lib.es2016.full.d.ts: identitySourceMapConsumer *new*
|
||||
|
||||
Before running Timeout callback:: count: 2
|
||||
15: /home/src/myprojects/project/tsconfig.json
|
||||
16: *ensureProjectForOpenFiles*
|
||||
|
||||
Info seq [hh:mm:ss:mss] Running: /home/src/myprojects/project/tsconfig.json
|
||||
Info seq [hh:mm:ss:mss] Running: *ensureProjectForOpenFiles*
|
||||
Info seq [hh:mm:ss:mss] Before ensureProjectForOpenFiles:
|
||||
Info seq [hh:mm:ss:mss] Project '/home/src/myprojects/project/tsconfig.json' (Configured)
|
||||
Info seq [hh:mm:ss:mss] Files (3)
|
||||
|
||||
Info seq [hh:mm:ss:mss] -----------------------------------------------
|
||||
Info seq [hh:mm:ss:mss] Open files:
|
||||
Info seq [hh:mm:ss:mss] FileName: /home/src/myprojects/project/index.ts ProjectRootPath: /home/src/myprojects/project
|
||||
Info seq [hh:mm:ss:mss] Projects: /home/src/myprojects/project/tsconfig.json
|
||||
Info seq [hh:mm:ss:mss] FileName: /home/src/myprojects/project/components/whatever/alert.ts ProjectRootPath: /home/src/myprojects/project
|
||||
Info seq [hh:mm:ss:mss] Projects: /home/src/myprojects/project/tsconfig.json
|
||||
Info seq [hh:mm:ss:mss] After ensureProjectForOpenFiles:
|
||||
Info seq [hh:mm:ss:mss] Project '/home/src/myprojects/project/tsconfig.json' (Configured)
|
||||
Info seq [hh:mm:ss:mss] Files (3)
|
||||
|
||||
Info seq [hh:mm:ss:mss] -----------------------------------------------
|
||||
Info seq [hh:mm:ss:mss] Open files:
|
||||
Info seq [hh:mm:ss:mss] FileName: /home/src/myprojects/project/index.ts ProjectRootPath: /home/src/myprojects/project
|
||||
Info seq [hh:mm:ss:mss] Projects: /home/src/myprojects/project/tsconfig.json
|
||||
Info seq [hh:mm:ss:mss] FileName: /home/src/myprojects/project/components/whatever/alert.ts ProjectRootPath: /home/src/myprojects/project
|
||||
Info seq [hh:mm:ss:mss] Projects: /home/src/myprojects/project/tsconfig.json
|
||||
Info seq [hh:mm:ss:mss] got projects updated in background /home/src/myprojects/project/index.ts,/home/src/myprojects/project/components/whatever/alert.ts
|
||||
Info seq [hh:mm:ss:mss] event:
|
||||
{
|
||||
"seq": 0,
|
||||
"type": "event",
|
||||
"event": "projectsUpdatedInBackground",
|
||||
"body": {
|
||||
"openFiles": [
|
||||
"/home/src/myprojects/project/index.ts",
|
||||
"/home/src/myprojects/project/components/whatever/alert.ts"
|
||||
]
|
||||
}
|
||||
}
|
||||
After running Timeout callback:: count: 0
|
||||
@ -338,17 +338,9 @@ Info seq [hh:mm:ss:mss] event:
|
||||
}
|
||||
After running Immedidate callback:: count: 0
|
||||
|
||||
Info seq [hh:mm:ss:mss] DirectoryWatcher:: Triggered with /a/b/projects/myproject/foo :: WatchInfo: /a/b/projects/myproject 1 undefined Config: /a/b/projects/myproject/tsconfig.json WatchType: Wild card directory
|
||||
Info seq [hh:mm:ss:mss] FileWatcher:: Triggered with /a/b/projects/myproject/foo/foo.ts 2:: WatchInfo: /a/b/projects/myproject/foo/foo.ts 500 undefined WatchType: Closed Script info
|
||||
Info seq [hh:mm:ss:mss] Scheduled: /a/b/projects/myproject/tsconfig.json
|
||||
Info seq [hh:mm:ss:mss] Scheduled: *ensureProjectForOpenFiles*
|
||||
Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Triggered with /a/b/projects/myproject/foo :: WatchInfo: /a/b/projects/myproject 1 undefined Config: /a/b/projects/myproject/tsconfig.json WatchType: Wild card directory
|
||||
Info seq [hh:mm:ss:mss] DirectoryWatcher:: Triggered with /a/b/projects/myproject/foo2 :: WatchInfo: /a/b/projects/myproject 1 undefined Config: /a/b/projects/myproject/tsconfig.json WatchType: Wild card directory
|
||||
Info seq [hh:mm:ss:mss] Scheduled: /a/b/projects/myproject/tsconfig.json, Cancelled earlier one
|
||||
Info seq [hh:mm:ss:mss] Scheduled: *ensureProjectForOpenFiles*, Cancelled earlier one
|
||||
Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Triggered with /a/b/projects/myproject/foo2 :: WatchInfo: /a/b/projects/myproject 1 undefined Config: /a/b/projects/myproject/tsconfig.json WatchType: Wild card directory
|
||||
Info seq [hh:mm:ss:mss] FileWatcher:: Triggered with /a/b/projects/myproject/foo/foo.ts 2:: WatchInfo: /a/b/projects/myproject/foo/foo.ts 500 undefined WatchType: Closed Script info
|
||||
Info seq [hh:mm:ss:mss] Scheduled: /a/b/projects/myproject/tsconfig.json, Cancelled earlier one
|
||||
Info seq [hh:mm:ss:mss] Scheduled: *ensureProjectForOpenFiles*, Cancelled earlier one
|
||||
Info seq [hh:mm:ss:mss] Elapsed:: *ms FileWatcher:: Triggered with /a/b/projects/myproject/foo/foo.ts 2:: WatchInfo: /a/b/projects/myproject/foo/foo.ts 500 undefined WatchType: Closed Script info
|
||||
Info seq [hh:mm:ss:mss] DirectoryWatcher:: Triggered with /a/b/projects/myproject/foo/foo.ts :: WatchInfo: /a/b/projects/myproject 1 undefined Config: /a/b/projects/myproject/tsconfig.json WatchType: Wild card directory
|
||||
Info seq [hh:mm:ss:mss] Scheduled: /a/b/projects/myproject/tsconfig.json, Cancelled earlier one
|
||||
@ -358,6 +350,14 @@ Info seq [hh:mm:ss:mss] DirectoryWatcher:: Triggered with /a/b/projects/myproje
|
||||
Info seq [hh:mm:ss:mss] Scheduled: /a/b/projects/myproject/tsconfig.json, Cancelled earlier one
|
||||
Info seq [hh:mm:ss:mss] Scheduled: *ensureProjectForOpenFiles*, Cancelled earlier one
|
||||
Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Triggered with /a/b/projects/myproject/foo2/foo.ts :: WatchInfo: /a/b/projects/myproject 1 undefined Config: /a/b/projects/myproject/tsconfig.json WatchType: Wild card directory
|
||||
Info seq [hh:mm:ss:mss] DirectoryWatcher:: Triggered with /a/b/projects/myproject/foo :: WatchInfo: /a/b/projects/myproject 1 undefined Config: /a/b/projects/myproject/tsconfig.json WatchType: Wild card directory
|
||||
Info seq [hh:mm:ss:mss] Scheduled: /a/b/projects/myproject/tsconfig.json, Cancelled earlier one
|
||||
Info seq [hh:mm:ss:mss] Scheduled: *ensureProjectForOpenFiles*, Cancelled earlier one
|
||||
Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Triggered with /a/b/projects/myproject/foo :: WatchInfo: /a/b/projects/myproject 1 undefined Config: /a/b/projects/myproject/tsconfig.json WatchType: Wild card directory
|
||||
Info seq [hh:mm:ss:mss] DirectoryWatcher:: Triggered with /a/b/projects/myproject/foo2 :: WatchInfo: /a/b/projects/myproject 1 undefined Config: /a/b/projects/myproject/tsconfig.json WatchType: Wild card directory
|
||||
Info seq [hh:mm:ss:mss] Scheduled: /a/b/projects/myproject/tsconfig.json, Cancelled earlier one
|
||||
Info seq [hh:mm:ss:mss] Scheduled: *ensureProjectForOpenFiles*, Cancelled earlier one
|
||||
Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Triggered with /a/b/projects/myproject/foo2 :: WatchInfo: /a/b/projects/myproject 1 undefined Config: /a/b/projects/myproject/tsconfig.json WatchType: Wild card directory
|
||||
Before running Timeout callback:: count: 2
|
||||
10: /a/b/projects/myproject/tsconfig.json
|
||||
11: *ensureProjectForOpenFiles*
|
||||
|
||||
@ -469,6 +469,10 @@ Info seq [hh:mm:ss:mss] event:
|
||||
After running Timeout callback:: count: 0
|
||||
|
||||
Before request
|
||||
//// [/users/username/projects/project/sub/a.ts]
|
||||
export const a = 10;
|
||||
|
||||
//// [/users/username/projects/project/a.ts] deleted
|
||||
|
||||
Info seq [hh:mm:ss:mss] request:
|
||||
{
|
||||
@ -542,65 +546,29 @@ Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /users/username/projec
|
||||
Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /users/username/projects/project/tsconfig.json
|
||||
Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /users/username/projects/project/tsconfig.json projectStateVersion: 3 projectProgramVersion: 2 structureChanged: true structureIsReused:: Not Elapsed:: *ms
|
||||
Info seq [hh:mm:ss:mss] Project '/users/username/projects/project/tsconfig.json' (Configured)
|
||||
Info seq [hh:mm:ss:mss] Files (2)
|
||||
Info seq [hh:mm:ss:mss] Files (3)
|
||||
/a/lib/lib.d.ts Text-1 "/// <reference no-default-lib=\"true\"/>\ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array<T> { length: number; [n: number]: T; }"
|
||||
/users/username/projects/project/b.ts SVC-1-0 "export const b = 10;"
|
||||
/users/username/projects/project/sub/a.ts SVC-2-0 "export const a = 10;"
|
||||
|
||||
|
||||
../../../../a/lib/lib.d.ts
|
||||
Default library for target 'es5'
|
||||
b.ts
|
||||
Matched by default include pattern '**/*'
|
||||
|
||||
Info seq [hh:mm:ss:mss] -----------------------------------------------
|
||||
Info seq [hh:mm:ss:mss] getConfigFileNameForFile:: File: /users/username/projects/project/tsconfig.json ProjectRootPath: /users/username/projects/project:: Result: undefined
|
||||
Info seq [hh:mm:ss:mss] event:
|
||||
{
|
||||
"seq": 0,
|
||||
"type": "event",
|
||||
"event": "configFileDiag",
|
||||
"body": {
|
||||
"triggerFile": "/users/username/projects/project/sub/a.ts",
|
||||
"configFile": "/users/username/projects/project/tsconfig.json",
|
||||
"diagnostics": []
|
||||
}
|
||||
}
|
||||
Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /users/username/projects/project/sub/tsconfig.json 2000 undefined WatchType: Config file for the inferred project root
|
||||
Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /users/username/projects/project/sub/jsconfig.json 2000 undefined WatchType: Config file for the inferred project root
|
||||
Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /users/username/projects/project/jsconfig.json 2000 undefined WatchType: Config file for the inferred project root
|
||||
Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /dev/null/inferredProject1*
|
||||
Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /users/username/projects/project/sub/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots
|
||||
Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /users/username/projects/project/sub/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots
|
||||
Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /users/username/projects/project/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots
|
||||
Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /users/username/projects/project/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots
|
||||
Info seq [hh:mm:ss:mss] DirectoryWatcher:: Added:: WatchInfo: /users/username/projects/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots
|
||||
Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /users/username/projects/node_modules/@types 1 undefined Project: /dev/null/inferredProject1* WatchType: Type roots
|
||||
Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /dev/null/inferredProject1* projectStateVersion: 1 projectProgramVersion: 0 structureChanged: true structureIsReused:: Not Elapsed:: *ms
|
||||
Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject1*' (Inferred)
|
||||
Info seq [hh:mm:ss:mss] Files (2)
|
||||
/a/lib/lib.d.ts Text-1 "/// <reference no-default-lib=\"true\"/>\ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array<T> { length: number; [n: number]: T; }"
|
||||
/users/username/projects/project/sub/a.ts SVC-2-0 ""
|
||||
|
||||
|
||||
../../../../../a/lib/lib.d.ts
|
||||
Default library for target 'es5'
|
||||
a.ts
|
||||
Root file specified for compilation
|
||||
sub/a.ts
|
||||
Matched by default include pattern '**/*'
|
||||
|
||||
Info seq [hh:mm:ss:mss] -----------------------------------------------
|
||||
Info seq [hh:mm:ss:mss] Project '/users/username/projects/project/tsconfig.json' (Configured)
|
||||
Info seq [hh:mm:ss:mss] Files (2)
|
||||
|
||||
Info seq [hh:mm:ss:mss] -----------------------------------------------
|
||||
Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject1*' (Inferred)
|
||||
Info seq [hh:mm:ss:mss] Files (2)
|
||||
Info seq [hh:mm:ss:mss] Files (3)
|
||||
|
||||
Info seq [hh:mm:ss:mss] -----------------------------------------------
|
||||
Info seq [hh:mm:ss:mss] Open files:
|
||||
Info seq [hh:mm:ss:mss] FileName: /users/username/projects/project/b.ts ProjectRootPath: /users/username/projects/project
|
||||
Info seq [hh:mm:ss:mss] Projects: /users/username/projects/project/tsconfig.json
|
||||
Info seq [hh:mm:ss:mss] FileName: /users/username/projects/project/sub/a.ts ProjectRootPath: /users/username/projects/project
|
||||
Info seq [hh:mm:ss:mss] Projects: /dev/null/inferredProject1*
|
||||
Info seq [hh:mm:ss:mss] Projects: /users/username/projects/project/tsconfig.json
|
||||
Info seq [hh:mm:ss:mss] response:
|
||||
{
|
||||
"seq": 0,
|
||||
@ -614,30 +582,6 @@ Info seq [hh:mm:ss:mss] response:
|
||||
}
|
||||
After request
|
||||
|
||||
PolledWatches::
|
||||
/users/username/projects/node_modules/@types:
|
||||
{"pollingInterval":500}
|
||||
/users/username/projects/project/jsconfig.json: *new*
|
||||
{"pollingInterval":2000}
|
||||
/users/username/projects/project/node_modules/@types:
|
||||
{"pollingInterval":500}
|
||||
/users/username/projects/project/sub/jsconfig.json: *new*
|
||||
{"pollingInterval":2000}
|
||||
/users/username/projects/project/sub/node_modules/@types: *new*
|
||||
{"pollingInterval":500}
|
||||
/users/username/projects/project/sub/tsconfig.json: *new*
|
||||
{"pollingInterval":2000}
|
||||
|
||||
FsWatches::
|
||||
/a/lib/lib.d.ts:
|
||||
{}
|
||||
/users/username/projects/project/tsconfig.json:
|
||||
{}
|
||||
|
||||
FsWatchesRecursive::
|
||||
/users/username/projects/project:
|
||||
{}
|
||||
|
||||
Timeout callback:: count: 2
|
||||
9: /users/username/projects/project/tsconfig.json *deleted*
|
||||
10: *ensureProjectForOpenFiles* *deleted*
|
||||
@ -645,20 +589,16 @@ Timeout callback:: count: 2
|
||||
12: *ensureProjectForOpenFiles* *new*
|
||||
|
||||
Projects::
|
||||
/dev/null/inferredProject1* (Inferred) *new*
|
||||
projectStateVersion: 1
|
||||
projectProgramVersion: 1
|
||||
/users/username/projects/project/tsconfig.json (Configured) *changed*
|
||||
projectStateVersion: 3
|
||||
projectProgramVersion: 3 *changed*
|
||||
dirty: false *changed*
|
||||
|
||||
ScriptInfos::
|
||||
/a/lib/lib.d.ts *changed*
|
||||
/a/lib/lib.d.ts
|
||||
version: Text-1
|
||||
containingProjects: 2 *changed*
|
||||
containingProjects: 1
|
||||
/users/username/projects/project/tsconfig.json
|
||||
/dev/null/inferredProject1* *new*
|
||||
/users/username/projects/project/b.ts (Open)
|
||||
version: SVC-1-0
|
||||
containingProjects: 1
|
||||
@ -666,7 +606,7 @@ ScriptInfos::
|
||||
/users/username/projects/project/sub/a.ts (Open) *new*
|
||||
version: SVC-2-0
|
||||
containingProjects: 1
|
||||
/dev/null/inferredProject1* *default*
|
||||
/users/username/projects/project/tsconfig.json *default*
|
||||
|
||||
Before running Timeout callback:: count: 2
|
||||
11: /users/username/projects/project/tsconfig.json
|
||||
@ -676,32 +616,24 @@ Info seq [hh:mm:ss:mss] Running: /users/username/projects/project/tsconfig.json
|
||||
Info seq [hh:mm:ss:mss] Running: *ensureProjectForOpenFiles*
|
||||
Info seq [hh:mm:ss:mss] Before ensureProjectForOpenFiles:
|
||||
Info seq [hh:mm:ss:mss] Project '/users/username/projects/project/tsconfig.json' (Configured)
|
||||
Info seq [hh:mm:ss:mss] Files (2)
|
||||
|
||||
Info seq [hh:mm:ss:mss] -----------------------------------------------
|
||||
Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject1*' (Inferred)
|
||||
Info seq [hh:mm:ss:mss] Files (2)
|
||||
Info seq [hh:mm:ss:mss] Files (3)
|
||||
|
||||
Info seq [hh:mm:ss:mss] -----------------------------------------------
|
||||
Info seq [hh:mm:ss:mss] Open files:
|
||||
Info seq [hh:mm:ss:mss] FileName: /users/username/projects/project/b.ts ProjectRootPath: /users/username/projects/project
|
||||
Info seq [hh:mm:ss:mss] Projects: /users/username/projects/project/tsconfig.json
|
||||
Info seq [hh:mm:ss:mss] FileName: /users/username/projects/project/sub/a.ts ProjectRootPath: /users/username/projects/project
|
||||
Info seq [hh:mm:ss:mss] Projects: /dev/null/inferredProject1*
|
||||
Info seq [hh:mm:ss:mss] Projects: /users/username/projects/project/tsconfig.json
|
||||
Info seq [hh:mm:ss:mss] After ensureProjectForOpenFiles:
|
||||
Info seq [hh:mm:ss:mss] Project '/users/username/projects/project/tsconfig.json' (Configured)
|
||||
Info seq [hh:mm:ss:mss] Files (2)
|
||||
|
||||
Info seq [hh:mm:ss:mss] -----------------------------------------------
|
||||
Info seq [hh:mm:ss:mss] Project '/dev/null/inferredProject1*' (Inferred)
|
||||
Info seq [hh:mm:ss:mss] Files (2)
|
||||
Info seq [hh:mm:ss:mss] Files (3)
|
||||
|
||||
Info seq [hh:mm:ss:mss] -----------------------------------------------
|
||||
Info seq [hh:mm:ss:mss] Open files:
|
||||
Info seq [hh:mm:ss:mss] FileName: /users/username/projects/project/b.ts ProjectRootPath: /users/username/projects/project
|
||||
Info seq [hh:mm:ss:mss] Projects: /users/username/projects/project/tsconfig.json
|
||||
Info seq [hh:mm:ss:mss] FileName: /users/username/projects/project/sub/a.ts ProjectRootPath: /users/username/projects/project
|
||||
Info seq [hh:mm:ss:mss] Projects: /dev/null/inferredProject1*
|
||||
Info seq [hh:mm:ss:mss] Projects: /users/username/projects/project/tsconfig.json
|
||||
Info seq [hh:mm:ss:mss] got projects updated in background /users/username/projects/project/b.ts,/users/username/projects/project/sub/a.ts
|
||||
Info seq [hh:mm:ss:mss] event:
|
||||
{
|
||||
@ -726,23 +658,14 @@ Info seq [hh:mm:ss:mss] Scheduled: /users/username/projects/project/tsconfig.js
|
||||
Info seq [hh:mm:ss:mss] Scheduled: *ensureProjectForOpenFiles*, Cancelled earlier one
|
||||
Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Triggered with /users/username/projects/project/sub :: WatchInfo: /users/username/projects/project 1 undefined Config: /users/username/projects/project/tsconfig.json WatchType: Wild card directory
|
||||
Info seq [hh:mm:ss:mss] DirectoryWatcher:: Triggered with /users/username/projects/project/sub/a.ts :: WatchInfo: /users/username/projects/project 1 undefined Config: /users/username/projects/project/tsconfig.json WatchType: Wild card directory
|
||||
Info seq [hh:mm:ss:mss] Scheduled: /users/username/projects/project/tsconfig.json, Cancelled earlier one
|
||||
Info seq [hh:mm:ss:mss] Scheduled: *ensureProjectForOpenFiles*, Cancelled earlier one
|
||||
Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Triggered with /users/username/projects/project/sub/a.ts :: WatchInfo: /users/username/projects/project 1 undefined Config: /users/username/projects/project/tsconfig.json WatchType: Wild card directory
|
||||
Before request
|
||||
//// [/users/username/projects/project/sub/a.ts]
|
||||
export const a = 10;
|
||||
|
||||
//// [/users/username/projects/project/a.ts] deleted
|
||||
|
||||
Timeout callback:: count: 2
|
||||
17: /users/username/projects/project/tsconfig.json *new*
|
||||
18: *ensureProjectForOpenFiles* *new*
|
||||
15: /users/username/projects/project/tsconfig.json *new*
|
||||
16: *ensureProjectForOpenFiles* *new*
|
||||
|
||||
Projects::
|
||||
/dev/null/inferredProject1* (Inferred)
|
||||
projectStateVersion: 1
|
||||
projectProgramVersion: 1
|
||||
/users/username/projects/project/tsconfig.json (Configured) *changed*
|
||||
projectStateVersion: 4 *changed*
|
||||
projectProgramVersion: 3
|
||||
@ -764,36 +687,19 @@ Info seq [hh:mm:ss:mss] request:
|
||||
After request
|
||||
|
||||
Timeout callback:: count: 3
|
||||
17: /users/username/projects/project/tsconfig.json
|
||||
18: *ensureProjectForOpenFiles*
|
||||
19: checkOne *new*
|
||||
15: /users/username/projects/project/tsconfig.json
|
||||
16: *ensureProjectForOpenFiles*
|
||||
17: checkOne *new*
|
||||
|
||||
Before running Timeout callback:: count: 3
|
||||
17: /users/username/projects/project/tsconfig.json
|
||||
18: *ensureProjectForOpenFiles*
|
||||
19: checkOne
|
||||
15: /users/username/projects/project/tsconfig.json
|
||||
16: *ensureProjectForOpenFiles*
|
||||
17: checkOne
|
||||
|
||||
Invoking Timeout callback:: timeoutId:: 19:: checkOne
|
||||
Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /users/username/projects/project/sub/tsconfig.json 2000 undefined WatchType: Config file for the inferred project root
|
||||
Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /users/username/projects/project/sub/jsconfig.json 2000 undefined WatchType: Config file for the inferred project root
|
||||
Info seq [hh:mm:ss:mss] FileWatcher:: Close:: WatchInfo: /users/username/projects/project/jsconfig.json 2000 undefined WatchType: Config file for the inferred project root
|
||||
Invoking Timeout callback:: timeoutId:: 17:: checkOne
|
||||
Info seq [hh:mm:ss:mss] Starting updateGraphWorker: Project: /users/username/projects/project/tsconfig.json
|
||||
Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /users/username/projects/project/tsconfig.json projectStateVersion: 4 projectProgramVersion: 3 structureChanged: true structureIsReused:: Not Elapsed:: *ms
|
||||
Info seq [hh:mm:ss:mss] Project '/users/username/projects/project/tsconfig.json' (Configured)
|
||||
Info seq [hh:mm:ss:mss] Files (3)
|
||||
/a/lib/lib.d.ts Text-1 "/// <reference no-default-lib=\"true\"/>\ninterface Boolean {}\ninterface Function {}\ninterface CallableFunction {}\ninterface NewableFunction {}\ninterface IArguments {}\ninterface Number { toExponential: any; }\ninterface Object {}\ninterface RegExp {}\ninterface String { charAt: any; }\ninterface Array<T> { length: number; [n: number]: T; }"
|
||||
/users/username/projects/project/b.ts SVC-1-0 "export const b = 10;"
|
||||
/users/username/projects/project/sub/a.ts SVC-2-0 ""
|
||||
|
||||
|
||||
../../../../a/lib/lib.d.ts
|
||||
Default library for target 'es5'
|
||||
b.ts
|
||||
Matched by default include pattern '**/*'
|
||||
sub/a.ts
|
||||
Matched by default include pattern '**/*'
|
||||
|
||||
Info seq [hh:mm:ss:mss] -----------------------------------------------
|
||||
Info seq [hh:mm:ss:mss] Finishing updateGraphWorker: Project: /users/username/projects/project/tsconfig.json projectStateVersion: 4 projectProgramVersion: 3 structureChanged: false structureIsReused:: Not Elapsed:: *ms
|
||||
Info seq [hh:mm:ss:mss] Same program as before
|
||||
Info seq [hh:mm:ss:mss] event:
|
||||
{
|
||||
"seq": 0,
|
||||
@ -806,62 +712,15 @@ Info seq [hh:mm:ss:mss] event:
|
||||
}
|
||||
After running Timeout callback:: count: 2
|
||||
|
||||
PolledWatches::
|
||||
/users/username/projects/node_modules/@types:
|
||||
{"pollingInterval":500}
|
||||
/users/username/projects/project/node_modules/@types:
|
||||
{"pollingInterval":500}
|
||||
/users/username/projects/project/sub/node_modules/@types:
|
||||
{"pollingInterval":500}
|
||||
|
||||
PolledWatches *deleted*::
|
||||
/users/username/projects/project/jsconfig.json:
|
||||
{"pollingInterval":2000}
|
||||
/users/username/projects/project/sub/jsconfig.json:
|
||||
{"pollingInterval":2000}
|
||||
/users/username/projects/project/sub/tsconfig.json:
|
||||
{"pollingInterval":2000}
|
||||
|
||||
FsWatches::
|
||||
/a/lib/lib.d.ts:
|
||||
{}
|
||||
/users/username/projects/project/tsconfig.json:
|
||||
{}
|
||||
|
||||
FsWatchesRecursive::
|
||||
/users/username/projects/project:
|
||||
{}
|
||||
|
||||
Immedidate callback:: count: 1
|
||||
1: semanticCheck *new*
|
||||
|
||||
Projects::
|
||||
/dev/null/inferredProject1* (Inferred) *changed*
|
||||
projectStateVersion: 2 *changed*
|
||||
projectProgramVersion: 1
|
||||
dirty: true *changed*
|
||||
isOrphan: true *changed*
|
||||
/users/username/projects/project/tsconfig.json (Configured) *changed*
|
||||
projectStateVersion: 4
|
||||
projectProgramVersion: 4 *changed*
|
||||
projectProgramVersion: 3
|
||||
dirty: false *changed*
|
||||
|
||||
ScriptInfos::
|
||||
/a/lib/lib.d.ts
|
||||
version: Text-1
|
||||
containingProjects: 2
|
||||
/users/username/projects/project/tsconfig.json
|
||||
/dev/null/inferredProject1*
|
||||
/users/username/projects/project/b.ts (Open)
|
||||
version: SVC-1-0
|
||||
containingProjects: 1
|
||||
/users/username/projects/project/tsconfig.json *default*
|
||||
/users/username/projects/project/sub/a.ts (Open) *changed*
|
||||
version: SVC-2-0
|
||||
containingProjects: 1 *changed*
|
||||
/users/username/projects/project/tsconfig.json *default* *new*
|
||||
/dev/null/inferredProject1* *deleted*
|
||||
|
||||
Before running Immedidate callback:: count: 1
|
||||
1: semanticCheck
|
||||
|
||||
@ -896,16 +755,16 @@ Info seq [hh:mm:ss:mss] event:
|
||||
After running Immedidate callback:: count: 0
|
||||
|
||||
Timeout callback:: count: 3
|
||||
17: /users/username/projects/project/tsconfig.json
|
||||
18: *ensureProjectForOpenFiles*
|
||||
20: checkOne *new*
|
||||
15: /users/username/projects/project/tsconfig.json
|
||||
16: *ensureProjectForOpenFiles*
|
||||
18: checkOne *new*
|
||||
|
||||
Before running Timeout callback:: count: 3
|
||||
17: /users/username/projects/project/tsconfig.json
|
||||
18: *ensureProjectForOpenFiles*
|
||||
20: checkOne
|
||||
15: /users/username/projects/project/tsconfig.json
|
||||
16: *ensureProjectForOpenFiles*
|
||||
18: checkOne
|
||||
|
||||
Invoking Timeout callback:: timeoutId:: 20:: checkOne
|
||||
Invoking Timeout callback:: timeoutId:: 18:: checkOne
|
||||
Info seq [hh:mm:ss:mss] event:
|
||||
{
|
||||
"seq": 0,
|
||||
|
||||
@ -241,8 +241,11 @@ Before running Timeout callback:: count: 1
|
||||
|
||||
|
||||
Info seq [hh:mm:ss:mss] DirectoryWatcher:: Triggered with /a/username/project/src :: WatchInfo: /a/username/project 1 {"synchronousWatchDirectory":true} Config: /a/username/project/tsconfig.json WatchType: Wild card directory
|
||||
Info seq [hh:mm:ss:mss] Invoking sourceFileChange on /a/username/project/src/file1.ts:: 1
|
||||
Info seq [hh:mm:ss:mss] Scheduled: /a/username/project/tsconfig.json
|
||||
Info seq [hh:mm:ss:mss] Scheduled: *ensureProjectForOpenFiles*
|
||||
Info seq [hh:mm:ss:mss] Scheduled: /a/username/project/tsconfig.json, Cancelled earlier one
|
||||
Info seq [hh:mm:ss:mss] Scheduled: *ensureProjectForOpenFiles*, Cancelled earlier one
|
||||
Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Triggered with /a/username/project/src :: WatchInfo: /a/username/project 1 {"synchronousWatchDirectory":true} Config: /a/username/project/tsconfig.json WatchType: Wild card directory
|
||||
Info seq [hh:mm:ss:mss] DirectoryWatcher:: Triggered with /a/username/project/src :: WatchInfo: /a/username/project/src 1 {"synchronousWatchDirectory":true} Project: /a/username/project/tsconfig.json WatchType: Failed Lookup Locations
|
||||
Info seq [hh:mm:ss:mss] Scheduled: /a/username/project/tsconfig.jsonFailedLookupInvalidation
|
||||
@ -250,11 +253,11 @@ Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Triggered with /a/user
|
||||
After running Timeout callback:: count: 5
|
||||
|
||||
Timeout callback:: count: 5
|
||||
2: /a/username/project/tsconfig.json *new*
|
||||
3: *ensureProjectForOpenFiles* *new*
|
||||
4: /a/username/project/tsconfig.jsonFailedLookupInvalidation *new*
|
||||
5: pollLowPollingIntervalQueue *new*
|
||||
6: pollPollingIntervalQueue *new*
|
||||
4: /a/username/project/tsconfig.json *new*
|
||||
5: *ensureProjectForOpenFiles* *new*
|
||||
6: /a/username/project/tsconfig.jsonFailedLookupInvalidation *new*
|
||||
7: pollLowPollingIntervalQueue *new*
|
||||
8: pollPollingIntervalQueue *new*
|
||||
|
||||
Projects::
|
||||
/a/username/project/tsconfig.json (Configured) *changed*
|
||||
@ -262,6 +265,21 @@ Projects::
|
||||
projectProgramVersion: 1
|
||||
dirty: true *changed*
|
||||
|
||||
ScriptInfos::
|
||||
/a/lib/lib.d.ts
|
||||
version: Text-1
|
||||
containingProjects: 1
|
||||
/a/username/project/tsconfig.json
|
||||
/a/username/project/src/file1.ts *changed*
|
||||
version: Text-1
|
||||
pendingReloadFromDisk: true *changed*
|
||||
containingProjects: 1
|
||||
/a/username/project/tsconfig.json
|
||||
/a/username/project/src/index.ts (Open)
|
||||
version: SVC-1-0
|
||||
containingProjects: 1
|
||||
/a/username/project/tsconfig.json *default*
|
||||
|
||||
Before request
|
||||
|
||||
Info seq [hh:mm:ss:mss] request:
|
||||
@ -338,12 +356,12 @@ FsWatches::
|
||||
{"inode":7}
|
||||
|
||||
Timeout callback:: count: 4
|
||||
3: *ensureProjectForOpenFiles* *deleted*
|
||||
4: /a/username/project/tsconfig.jsonFailedLookupInvalidation *deleted*
|
||||
2: /a/username/project/tsconfig.json
|
||||
5: pollLowPollingIntervalQueue
|
||||
6: pollPollingIntervalQueue
|
||||
7: *ensureProjectForOpenFiles* *new*
|
||||
5: *ensureProjectForOpenFiles* *deleted*
|
||||
6: /a/username/project/tsconfig.jsonFailedLookupInvalidation *deleted*
|
||||
4: /a/username/project/tsconfig.json
|
||||
7: pollLowPollingIntervalQueue
|
||||
8: pollPollingIntervalQueue
|
||||
9: *ensureProjectForOpenFiles* *new*
|
||||
|
||||
Projects::
|
||||
/a/username/project/tsconfig.json (Configured) *changed*
|
||||
@ -356,8 +374,9 @@ ScriptInfos::
|
||||
version: Text-1
|
||||
containingProjects: 1
|
||||
/a/username/project/tsconfig.json
|
||||
/a/username/project/src/file1.ts
|
||||
/a/username/project/src/file1.ts *changed*
|
||||
version: Text-1
|
||||
pendingReloadFromDisk: false *changed*
|
||||
containingProjects: 1
|
||||
/a/username/project/tsconfig.json
|
||||
/a/username/project/src/file2.ts *new*
|
||||
|
||||
@ -240,24 +240,27 @@ Info seq [hh:mm:ss:mss] response:
|
||||
After request
|
||||
|
||||
Info seq [hh:mm:ss:mss] DirectoryWatcher:: Triggered with /a/username/project/src :: WatchInfo: /a/username/project 1 {"synchronousWatchDirectory":true} Config: /a/username/project/tsconfig.json WatchType: Wild card directory
|
||||
Info seq [hh:mm:ss:mss] Invoking sourceFileChange on /a/username/project/src/file1.ts:: 1
|
||||
Info seq [hh:mm:ss:mss] Scheduled: /a/username/project/tsconfig.json
|
||||
Info seq [hh:mm:ss:mss] Scheduled: *ensureProjectForOpenFiles*
|
||||
Info seq [hh:mm:ss:mss] Scheduled: /a/username/project/tsconfig.json, Cancelled earlier one
|
||||
Info seq [hh:mm:ss:mss] Scheduled: *ensureProjectForOpenFiles*, Cancelled earlier one
|
||||
Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Triggered with /a/username/project/src :: WatchInfo: /a/username/project 1 {"synchronousWatchDirectory":true} Config: /a/username/project/tsconfig.json WatchType: Wild card directory
|
||||
Info seq [hh:mm:ss:mss] DirectoryWatcher:: Triggered with /a/username/project/src :: WatchInfo: /a/username/project/src 1 {"synchronousWatchDirectory":true} Project: /a/username/project/tsconfig.json WatchType: Failed Lookup Locations
|
||||
Info seq [hh:mm:ss:mss] Scheduled: /a/username/project/tsconfig.jsonFailedLookupInvalidation
|
||||
Info seq [hh:mm:ss:mss] Elapsed:: *ms DirectoryWatcher:: Triggered with /a/username/project/src :: WatchInfo: /a/username/project/src 1 {"synchronousWatchDirectory":true} Project: /a/username/project/tsconfig.json WatchType: Failed Lookup Locations
|
||||
Before running Timeout callback:: count: 3
|
||||
1: /a/username/project/tsconfig.json
|
||||
2: *ensureProjectForOpenFiles*
|
||||
3: /a/username/project/tsconfig.jsonFailedLookupInvalidation
|
||||
3: /a/username/project/tsconfig.json
|
||||
4: *ensureProjectForOpenFiles*
|
||||
5: /a/username/project/tsconfig.jsonFailedLookupInvalidation
|
||||
//// [/a/username/project/src/file2.ts] Inode:: 10
|
||||
|
||||
|
||||
|
||||
Timeout callback:: count: 3
|
||||
1: /a/username/project/tsconfig.json *new*
|
||||
2: *ensureProjectForOpenFiles* *new*
|
||||
3: /a/username/project/tsconfig.jsonFailedLookupInvalidation *new*
|
||||
3: /a/username/project/tsconfig.json *new*
|
||||
4: *ensureProjectForOpenFiles* *new*
|
||||
5: /a/username/project/tsconfig.jsonFailedLookupInvalidation *new*
|
||||
|
||||
Projects::
|
||||
/a/username/project/tsconfig.json (Configured) *changed*
|
||||
@ -265,6 +268,21 @@ Projects::
|
||||
projectProgramVersion: 1
|
||||
dirty: true *changed*
|
||||
|
||||
ScriptInfos::
|
||||
/a/lib/lib.d.ts
|
||||
version: Text-1
|
||||
containingProjects: 1
|
||||
/a/username/project/tsconfig.json
|
||||
/a/username/project/src/file1.ts *changed*
|
||||
version: Text-1
|
||||
pendingReloadFromDisk: true *changed*
|
||||
containingProjects: 1
|
||||
/a/username/project/tsconfig.json
|
||||
/a/username/project/src/index.ts (Open)
|
||||
version: SVC-1-0
|
||||
containingProjects: 1
|
||||
/a/username/project/tsconfig.json *default*
|
||||
|
||||
Info seq [hh:mm:ss:mss] Running: /a/username/project/tsconfig.json
|
||||
Info seq [hh:mm:ss:mss] Scheduled: *ensureProjectForOpenFiles*, Cancelled earlier one
|
||||
Info seq [hh:mm:ss:mss] FileWatcher:: Added:: WatchInfo: /a/username/project/src/file2.ts 500 undefined WatchType: Closed Script info
|
||||
@ -310,9 +328,9 @@ FsWatches::
|
||||
{"inode":7}
|
||||
|
||||
Timeout callback:: count: 1
|
||||
2: *ensureProjectForOpenFiles* *deleted*
|
||||
3: /a/username/project/tsconfig.jsonFailedLookupInvalidation *deleted*
|
||||
4: *ensureProjectForOpenFiles* *new*
|
||||
4: *ensureProjectForOpenFiles* *deleted*
|
||||
5: /a/username/project/tsconfig.jsonFailedLookupInvalidation *deleted*
|
||||
6: *ensureProjectForOpenFiles* *new*
|
||||
|
||||
Projects::
|
||||
/a/username/project/tsconfig.json (Configured) *changed*
|
||||
@ -325,8 +343,9 @@ ScriptInfos::
|
||||
version: Text-1
|
||||
containingProjects: 1
|
||||
/a/username/project/tsconfig.json
|
||||
/a/username/project/src/file1.ts
|
||||
/a/username/project/src/file1.ts *changed*
|
||||
version: Text-1
|
||||
pendingReloadFromDisk: false *changed*
|
||||
containingProjects: 1
|
||||
/a/username/project/tsconfig.json
|
||||
/a/username/project/src/file2.ts *new*
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user