mirror of
https://github.com/microsoft/TypeScript.git
synced 2026-02-05 08:11:30 -06:00
Delay "File change detected" reporting until createProgram (#47427)
This commit is contained in:
parent
4e689bc075
commit
97017ee5f3
@ -273,6 +273,7 @@ namespace ts {
|
||||
let sharedExtendedConfigFileWatchers: ESMap<Path, SharedExtendedConfigFileWatcher<Path>>; // Map of file watchers for extended files, shared between different referenced projects
|
||||
let extendedConfigCache = host.extendedConfigCache; // Cache for extended config evaluation
|
||||
let changesAffectResolution = false; // Flag for indicating non-config changes affect module resolution
|
||||
let reportFileChangeDetectedOnCreateProgram = false; // True if synchronizeProgram should report "File change detected..." when a new program is created
|
||||
|
||||
const sourceFilesCache = new Map<string, HostFileInfo>(); // Cache that stores the source file and version info
|
||||
let missingFilePathsRequestedForRelease: Path[] | undefined; // These paths are held temporarily so that we can remove the entry from source file cache if the file is not tracked by missing files
|
||||
@ -434,15 +435,22 @@ namespace ts {
|
||||
const hasInvalidatedResolution = resolutionCache.createHasInvalidatedResolution(userProvidedResolution || changesAffectResolution);
|
||||
if (isProgramUptoDate(getCurrentProgram(), rootFileNames, compilerOptions, getSourceVersion, fileExists, hasInvalidatedResolution, hasChangedAutomaticTypeDirectiveNames, getParsedCommandLine, projectReferences)) {
|
||||
if (hasChangedConfigFileParsingErrors) {
|
||||
if (reportFileChangeDetectedOnCreateProgram) {
|
||||
reportWatchDiagnostic(Diagnostics.File_change_detected_Starting_incremental_compilation);
|
||||
}
|
||||
builderProgram = createProgram(/*rootNames*/ undefined, /*options*/ undefined, compilerHost, builderProgram, configFileParsingDiagnostics, projectReferences);
|
||||
hasChangedConfigFileParsingErrors = false;
|
||||
}
|
||||
}
|
||||
else {
|
||||
if (reportFileChangeDetectedOnCreateProgram) {
|
||||
reportWatchDiagnostic(Diagnostics.File_change_detected_Starting_incremental_compilation);
|
||||
}
|
||||
createNewProgram(hasInvalidatedResolution);
|
||||
}
|
||||
|
||||
changesAffectResolution = false; // reset for next sync
|
||||
reportFileChangeDetectedOnCreateProgram = false;
|
||||
|
||||
if (host.afterProgramCreate && program !== builderProgram) {
|
||||
host.afterProgramCreate(builderProgram);
|
||||
@ -665,7 +673,7 @@ namespace ts {
|
||||
|
||||
function updateProgramWithWatchStatus() {
|
||||
timerToUpdateProgram = undefined;
|
||||
reportWatchDiagnostic(Diagnostics.File_change_detected_Starting_incremental_compilation);
|
||||
reportFileChangeDetectedOnCreateProgram = true;
|
||||
updateProgram();
|
||||
}
|
||||
|
||||
|
||||
@ -638,6 +638,34 @@ export class A {
|
||||
]
|
||||
});
|
||||
|
||||
verifyTscWatch({
|
||||
scenario,
|
||||
subScenario: "file in files is deleted",
|
||||
commandLineArgs: ["-w", "-p", configFilePath],
|
||||
sys: () => {
|
||||
const file1 = {
|
||||
path: "/a/b/f1.ts",
|
||||
content: "let x = 1"
|
||||
};
|
||||
const file2 = {
|
||||
path: "/a/b/f2.ts",
|
||||
content: "let y = 1"
|
||||
};
|
||||
const configFile = {
|
||||
path: configFilePath,
|
||||
content: JSON.stringify({ compilerOptions: {}, files: ["f1.ts", "f2.ts"] })
|
||||
};
|
||||
return createWatchedSystem([file1, file2, libFile, configFile]);
|
||||
},
|
||||
changes: [
|
||||
{
|
||||
caption: "Delete f2",
|
||||
change: sys => sys.deleteFile("/a/b/f2.ts"),
|
||||
timeouts: checkSingleTimeoutQueueLengthAndRun,
|
||||
}
|
||||
]
|
||||
});
|
||||
|
||||
verifyTscWatch({
|
||||
scenario,
|
||||
subScenario: "config file is deleted",
|
||||
@ -1815,5 +1843,29 @@ import { x } from "../b";`),
|
||||
},
|
||||
]
|
||||
});
|
||||
|
||||
verifyTscWatch({
|
||||
scenario,
|
||||
subScenario: "when creating extensionless file",
|
||||
commandLineArgs: ["-w", "-p", ".", "--extendedDiagnostics"],
|
||||
sys: () => {
|
||||
const module1: File = {
|
||||
path: `${projectRoot}/index.ts`,
|
||||
content: ``
|
||||
};
|
||||
const config: File = {
|
||||
path: `${projectRoot}/tsconfig.json`,
|
||||
content: `{}`
|
||||
};
|
||||
return createWatchedSystem([module1, config, libFile], { currentDirectory: projectRoot });
|
||||
},
|
||||
changes: [
|
||||
{
|
||||
caption: "Create foo in project root",
|
||||
change: sys => sys.writeFile(`${projectRoot}/foo`, ``),
|
||||
timeouts: checkSingleTimeoutQueueLengthAndRun,
|
||||
},
|
||||
]
|
||||
});
|
||||
});
|
||||
}
|
||||
|
||||
@ -71,9 +71,9 @@ Output::
|
||||
FileWatcher:: Triggered with /f.ts 1:: WatchInfo: /f.ts 250 undefined Source file
|
||||
Scheduling update
|
||||
Elapsed:: *ms FileWatcher:: Triggered with /f.ts 1:: WatchInfo: /f.ts 250 undefined Source file
|
||||
Synchronizing program
|
||||
[[90m12:00:17 AM[0m] File change detected. Starting incremental compilation...
|
||||
|
||||
Synchronizing program
|
||||
CreatingProgramWith::
|
||||
roots: ["/f.ts"]
|
||||
options: {"watch":true,"diagnostics":true}
|
||||
|
||||
@ -73,9 +73,9 @@ Output::
|
||||
FileWatcher:: Triggered with /f.ts 1:: WatchInfo: /f.ts 250 undefined Source file
|
||||
Scheduling update
|
||||
Elapsed:: *ms FileWatcher:: Triggered with /f.ts 1:: WatchInfo: /f.ts 250 undefined Source file
|
||||
Synchronizing program
|
||||
[[90m12:00:17 AM[0m] File change detected. Starting incremental compilation...
|
||||
|
||||
Synchronizing program
|
||||
CreatingProgramWith::
|
||||
roots: ["/f.ts"]
|
||||
options: {"watch":true,"extendedDiagnostics":true}
|
||||
|
||||
@ -84,9 +84,6 @@ Input::
|
||||
//// [/a/b/tsconfig.json] deleted
|
||||
|
||||
Output::
|
||||
>> Screen clear
|
||||
[[90m12:00:24 AM[0m] File change detected. Starting incremental compilation...
|
||||
|
||||
[91merror[0m[90m TS5083: [0mCannot read file '/a/b/tsconfig.json'.
|
||||
|
||||
|
||||
|
||||
@ -0,0 +1,131 @@
|
||||
Input::
|
||||
//// [/a/b/f1.ts]
|
||||
let x = 1
|
||||
|
||||
//// [/a/b/f2.ts]
|
||||
let y = 1
|
||||
|
||||
//// [/a/lib/lib.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; }
|
||||
|
||||
//// [/a/b/tsconfig.json]
|
||||
{"compilerOptions":{},"files":["f1.ts","f2.ts"]}
|
||||
|
||||
|
||||
/a/lib/tsc.js -w -p /a/b/tsconfig.json
|
||||
Output::
|
||||
>> Screen clear
|
||||
[[90m12:00:17 AM[0m] Starting compilation in watch mode...
|
||||
|
||||
[[90m12:00:22 AM[0m] Found 0 errors. Watching for file changes.
|
||||
|
||||
|
||||
|
||||
Program root files: ["/a/b/f1.ts","/a/b/f2.ts"]
|
||||
Program options: {"watch":true,"project":"/a/b/tsconfig.json","configFilePath":"/a/b/tsconfig.json"}
|
||||
Program structureReused: Not
|
||||
Program files::
|
||||
/a/lib/lib.d.ts
|
||||
/a/b/f1.ts
|
||||
/a/b/f2.ts
|
||||
|
||||
Semantic diagnostics in builder refreshed for::
|
||||
/a/lib/lib.d.ts
|
||||
/a/b/f1.ts
|
||||
/a/b/f2.ts
|
||||
|
||||
Shape signatures in builder refreshed for::
|
||||
/a/lib/lib.d.ts (used version)
|
||||
/a/b/f1.ts (used version)
|
||||
/a/b/f2.ts (used version)
|
||||
|
||||
WatchedFiles::
|
||||
/a/b/tsconfig.json:
|
||||
{"fileName":"/a/b/tsconfig.json","pollingInterval":250}
|
||||
/a/b/f1.ts:
|
||||
{"fileName":"/a/b/f1.ts","pollingInterval":250}
|
||||
/a/b/f2.ts:
|
||||
{"fileName":"/a/b/f2.ts","pollingInterval":250}
|
||||
/a/lib/lib.d.ts:
|
||||
{"fileName":"/a/lib/lib.d.ts","pollingInterval":250}
|
||||
|
||||
FsWatches::
|
||||
|
||||
FsWatchesRecursive::
|
||||
/a/b/node_modules/@types:
|
||||
{"directoryName":"/a/b/node_modules/@types","fallbackPollingInterval":500,"fallbackOptions":{"watchFile":"PriorityPollingInterval"}}
|
||||
|
||||
exitCode:: ExitStatus.undefined
|
||||
|
||||
//// [/a/b/f1.js]
|
||||
var x = 1;
|
||||
|
||||
|
||||
//// [/a/b/f2.js]
|
||||
var y = 1;
|
||||
|
||||
|
||||
|
||||
Change:: Delete f2
|
||||
|
||||
Input::
|
||||
//// [/a/b/f2.ts] deleted
|
||||
|
||||
Output::
|
||||
>> Screen clear
|
||||
[[90m12:00:24 AM[0m] File change detected. Starting incremental compilation...
|
||||
|
||||
[91merror[0m[90m TS6053: [0mFile '/a/b/f2.ts' not found.
|
||||
The file is in the program because:
|
||||
Part of 'files' list in tsconfig.json
|
||||
|
||||
[96ma/b/tsconfig.json[0m:[93m1[0m:[93m40[0m
|
||||
[7m1[0m {"compilerOptions":{},"files":["f1.ts","f2.ts"]}
|
||||
[7m [0m [96m ~~~~~~~[0m
|
||||
File is matched by 'files' list specified here.
|
||||
|
||||
[[90m12:00:28 AM[0m] Found 1 error. Watching for file changes.
|
||||
|
||||
|
||||
|
||||
Program root files: ["/a/b/f1.ts","/a/b/f2.ts"]
|
||||
Program options: {"watch":true,"project":"/a/b/tsconfig.json","configFilePath":"/a/b/tsconfig.json"}
|
||||
Program structureReused: Not
|
||||
Program files::
|
||||
/a/lib/lib.d.ts
|
||||
/a/b/f1.ts
|
||||
|
||||
No cached semantic diagnostics in the builder::
|
||||
|
||||
Shape signatures in builder refreshed for::
|
||||
/a/b/f1.ts (computed .d.ts)
|
||||
|
||||
WatchedFiles::
|
||||
/a/b/tsconfig.json:
|
||||
{"fileName":"/a/b/tsconfig.json","pollingInterval":250}
|
||||
/a/b/f1.ts:
|
||||
{"fileName":"/a/b/f1.ts","pollingInterval":250}
|
||||
/a/lib/lib.d.ts:
|
||||
{"fileName":"/a/lib/lib.d.ts","pollingInterval":250}
|
||||
/a/b/f2.ts:
|
||||
{"fileName":"/a/b/f2.ts","pollingInterval":250}
|
||||
|
||||
FsWatches::
|
||||
|
||||
FsWatchesRecursive::
|
||||
/a/b/node_modules/@types:
|
||||
{"directoryName":"/a/b/node_modules/@types","fallbackPollingInterval":500,"fallbackOptions":{"watchFile":"PriorityPollingInterval"}}
|
||||
|
||||
exitCode:: ExitStatus.undefined
|
||||
|
||||
//// [/a/b/f1.js] file written with same contents
|
||||
@ -0,0 +1,111 @@
|
||||
Input::
|
||||
//// [/user/username/projects/myproject/index.ts]
|
||||
|
||||
|
||||
//// [/user/username/projects/myproject/tsconfig.json]
|
||||
{}
|
||||
|
||||
//// [/a/lib/lib.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; }
|
||||
|
||||
|
||||
/a/lib/tsc.js -w -p . --extendedDiagnostics
|
||||
Output::
|
||||
[[90m12:00:21 AM[0m] Starting compilation in watch mode...
|
||||
|
||||
Current directory: /user/username/projects/myproject CaseSensitiveFileNames: false
|
||||
FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/tsconfig.json 2000 undefined Config file
|
||||
Synchronizing program
|
||||
CreatingProgramWith::
|
||||
roots: ["/user/username/projects/myproject/index.ts"]
|
||||
options: {"watch":true,"project":"/user/username/projects/myproject","extendedDiagnostics":true,"configFilePath":"/user/username/projects/myproject/tsconfig.json"}
|
||||
FileWatcher:: Added:: WatchInfo: /user/username/projects/myproject/index.ts 250 undefined Source file
|
||||
FileWatcher:: Added:: WatchInfo: /a/lib/lib.d.ts 250 undefined Source file
|
||||
DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Type roots
|
||||
Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject/node_modules/@types 1 undefined Type roots
|
||||
[[90m12:00:24 AM[0m] Found 0 errors. Watching for file changes.
|
||||
|
||||
DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject 1 undefined Wild card directory
|
||||
Elapsed:: *ms DirectoryWatcher:: Added:: WatchInfo: /user/username/projects/myproject 1 undefined Wild card directory
|
||||
|
||||
|
||||
Program root files: ["/user/username/projects/myproject/index.ts"]
|
||||
Program options: {"watch":true,"project":"/user/username/projects/myproject","extendedDiagnostics":true,"configFilePath":"/user/username/projects/myproject/tsconfig.json"}
|
||||
Program structureReused: Not
|
||||
Program files::
|
||||
/a/lib/lib.d.ts
|
||||
/user/username/projects/myproject/index.ts
|
||||
|
||||
Semantic diagnostics in builder refreshed for::
|
||||
/a/lib/lib.d.ts
|
||||
/user/username/projects/myproject/index.ts
|
||||
|
||||
Shape signatures in builder refreshed for::
|
||||
/a/lib/lib.d.ts (used version)
|
||||
/user/username/projects/myproject/index.ts (used version)
|
||||
|
||||
WatchedFiles::
|
||||
/user/username/projects/myproject/tsconfig.json:
|
||||
{"fileName":"/user/username/projects/myproject/tsconfig.json","pollingInterval":250}
|
||||
/user/username/projects/myproject/index.ts:
|
||||
{"fileName":"/user/username/projects/myproject/index.ts","pollingInterval":250}
|
||||
/a/lib/lib.d.ts:
|
||||
{"fileName":"/a/lib/lib.d.ts","pollingInterval":250}
|
||||
|
||||
FsWatches::
|
||||
|
||||
FsWatchesRecursive::
|
||||
/user/username/projects/myproject/node_modules/@types:
|
||||
{"directoryName":"/user/username/projects/myproject/node_modules/@types","fallbackPollingInterval":500,"fallbackOptions":{"watchFile":"PriorityPollingInterval"}}
|
||||
/user/username/projects/myproject:
|
||||
{"directoryName":"/user/username/projects/myproject","fallbackPollingInterval":500,"fallbackOptions":{"watchFile":"PriorityPollingInterval"}}
|
||||
|
||||
exitCode:: ExitStatus.undefined
|
||||
|
||||
//// [/user/username/projects/myproject/index.js]
|
||||
|
||||
|
||||
|
||||
Change:: Create foo in project root
|
||||
|
||||
Input::
|
||||
//// [/user/username/projects/myproject/foo]
|
||||
|
||||
|
||||
|
||||
Output::
|
||||
DirectoryWatcher:: Triggered with /user/username/projects/myproject/foo :: WatchInfo: /user/username/projects/myproject 1 undefined Wild card directory
|
||||
Scheduling update
|
||||
Elapsed:: *ms DirectoryWatcher:: Triggered with /user/username/projects/myproject/foo :: WatchInfo: /user/username/projects/myproject 1 undefined Wild card directory
|
||||
Reloading new file names and options
|
||||
Synchronizing program
|
||||
|
||||
|
||||
WatchedFiles::
|
||||
/user/username/projects/myproject/tsconfig.json:
|
||||
{"fileName":"/user/username/projects/myproject/tsconfig.json","pollingInterval":250}
|
||||
/user/username/projects/myproject/index.ts:
|
||||
{"fileName":"/user/username/projects/myproject/index.ts","pollingInterval":250}
|
||||
/a/lib/lib.d.ts:
|
||||
{"fileName":"/a/lib/lib.d.ts","pollingInterval":250}
|
||||
|
||||
FsWatches::
|
||||
|
||||
FsWatchesRecursive::
|
||||
/user/username/projects/myproject/node_modules/@types:
|
||||
{"directoryName":"/user/username/projects/myproject/node_modules/@types","fallbackPollingInterval":500,"fallbackOptions":{"watchFile":"PriorityPollingInterval"}}
|
||||
/user/username/projects/myproject:
|
||||
{"directoryName":"/user/username/projects/myproject","fallbackPollingInterval":500,"fallbackOptions":{"watchFile":"PriorityPollingInterval"}}
|
||||
|
||||
exitCode:: ExitStatus.undefined
|
||||
|
||||
@ -115,10 +115,10 @@ Output::
|
||||
DirectoryWatcher:: Triggered with /user/username/projects/myproject/folder2/module3.ts :: WatchInfo: /user/username/projects/myproject/folder2 1 undefined Wild card directory
|
||||
Scheduling update
|
||||
Elapsed:: *ms DirectoryWatcher:: Triggered with /user/username/projects/myproject/folder2/module3.ts :: WatchInfo: /user/username/projects/myproject/folder2 1 undefined Wild card directory
|
||||
[[90m12:00:41 AM[0m] File change detected. Starting incremental compilation...
|
||||
|
||||
Reloading new file names and options
|
||||
Synchronizing program
|
||||
[[90m12:00:41 AM[0m] File change detected. Starting incremental compilation...
|
||||
|
||||
CreatingProgramWith::
|
||||
roots: ["/user/username/projects/myproject/client/folder1/module1.ts","/user/username/projects/myproject/client/linktofolder2/module2.ts","/user/username/projects/myproject/client/linktofolder2/module3.ts"]
|
||||
options: {"baseUrl":"/user/username/projects/myproject/client","paths":{"*":["*"]},"pathsBasePath":"/user/username/projects/myproject","watch":true,"project":"/user/username/projects/myproject","extendedDiagnostics":true,"configFilePath":"/user/username/projects/myproject/tsconfig.json"}
|
||||
|
||||
@ -171,10 +171,10 @@ Output::
|
||||
DirectoryWatcher:: Triggered with /user/username/projects/myproject/projects/project1/class3.ts :: WatchInfo: /user/username/projects/myproject/projects/project1 1 undefined Wild card directory of referenced project
|
||||
Scheduling update
|
||||
Elapsed:: *ms DirectoryWatcher:: Triggered with /user/username/projects/myproject/projects/project1/class3.ts :: WatchInfo: /user/username/projects/myproject/projects/project1 1 undefined Wild card directory of referenced project
|
||||
[[90m12:00:45 AM[0m] File change detected. Starting incremental compilation...
|
||||
|
||||
Synchronizing program
|
||||
Reloading new file names and options
|
||||
[[90m12:00:45 AM[0m] File change detected. Starting incremental compilation...
|
||||
|
||||
CreatingProgramWith::
|
||||
roots: ["/user/username/projects/myproject/projects/project2/class2.ts"]
|
||||
options: {"module":0,"composite":true,"watch":true,"project":"/user/username/projects/myproject/projects/project2/tsconfig.json","extendedDiagnostics":true,"configFilePath":"/user/username/projects/myproject/projects/project2/tsconfig.json"}
|
||||
@ -251,9 +251,9 @@ Elapsed:: *ms FileWatcher:: Triggered with /user/username/projects/myproject/pro
|
||||
DirectoryWatcher:: Triggered with /user/username/projects/myproject/projects/project1/class3.d.ts :: WatchInfo: /user/username/projects/myproject/projects/project1 1 undefined Wild card directory of referenced project
|
||||
Project: /user/username/projects/myproject/projects/project1/tsconfig.json Detected output file: /user/username/projects/myproject/projects/project1/class3.d.ts
|
||||
Elapsed:: *ms DirectoryWatcher:: Triggered with /user/username/projects/myproject/projects/project1/class3.d.ts :: WatchInfo: /user/username/projects/myproject/projects/project1 1 undefined Wild card directory of referenced project
|
||||
Synchronizing program
|
||||
[[90m12:00:49 AM[0m] File change detected. Starting incremental compilation...
|
||||
|
||||
Synchronizing program
|
||||
CreatingProgramWith::
|
||||
roots: ["/user/username/projects/myproject/projects/project2/class2.ts"]
|
||||
options: {"module":0,"composite":true,"watch":true,"project":"/user/username/projects/myproject/projects/project2/tsconfig.json","extendedDiagnostics":true,"configFilePath":"/user/username/projects/myproject/projects/project2/tsconfig.json"}
|
||||
@ -424,9 +424,9 @@ Elapsed:: *ms FileWatcher:: Triggered with /user/username/projects/myproject/pro
|
||||
DirectoryWatcher:: Triggered with /user/username/projects/myproject/projects/project1/class3.d.ts :: WatchInfo: /user/username/projects/myproject/projects/project1 1 undefined Wild card directory of referenced project
|
||||
Project: /user/username/projects/myproject/projects/project1/tsconfig.json Detected output file: /user/username/projects/myproject/projects/project1/class3.d.ts
|
||||
Elapsed:: *ms DirectoryWatcher:: Triggered with /user/username/projects/myproject/projects/project1/class3.d.ts :: WatchInfo: /user/username/projects/myproject/projects/project1 1 undefined Wild card directory of referenced project
|
||||
Synchronizing program
|
||||
[[90m12:01:08 AM[0m] File change detected. Starting incremental compilation...
|
||||
|
||||
Synchronizing program
|
||||
CreatingProgramWith::
|
||||
roots: ["/user/username/projects/myproject/projects/project2/class2.ts"]
|
||||
options: {"module":0,"composite":true,"watch":true,"project":"/user/username/projects/myproject/projects/project2/tsconfig.json","extendedDiagnostics":true,"configFilePath":"/user/username/projects/myproject/projects/project2/tsconfig.json"}
|
||||
@ -550,9 +550,9 @@ Elapsed:: *ms FileWatcher:: Triggered with /user/username/projects/myproject/pro
|
||||
DirectoryWatcher:: Triggered with /user/username/projects/myproject/projects/project1/class3.d.ts :: WatchInfo: /user/username/projects/myproject/projects/project1 1 undefined Wild card directory of referenced project
|
||||
Project: /user/username/projects/myproject/projects/project1/tsconfig.json Detected output file: /user/username/projects/myproject/projects/project1/class3.d.ts
|
||||
Elapsed:: *ms DirectoryWatcher:: Triggered with /user/username/projects/myproject/projects/project1/class3.d.ts :: WatchInfo: /user/username/projects/myproject/projects/project1 1 undefined Wild card directory of referenced project
|
||||
Synchronizing program
|
||||
[[90m12:01:24 AM[0m] File change detected. Starting incremental compilation...
|
||||
|
||||
Synchronizing program
|
||||
CreatingProgramWith::
|
||||
roots: ["/user/username/projects/myproject/projects/project2/class2.ts"]
|
||||
options: {"module":0,"composite":true,"watch":true,"project":"/user/username/projects/myproject/projects/project2/tsconfig.json","extendedDiagnostics":true,"configFilePath":"/user/username/projects/myproject/projects/project2/tsconfig.json"}
|
||||
|
||||
@ -215,10 +215,10 @@ Elapsed:: *ms DirectoryWatcher:: Triggered with /user/username/projects/myprojec
|
||||
DirectoryWatcher:: Triggered with /user/username/projects/myproject/node_modules/@types :: WatchInfo: /user/username/projects/myproject 1 undefined Wild card directory
|
||||
Scheduling update
|
||||
Elapsed:: *ms DirectoryWatcher:: Triggered with /user/username/projects/myproject/node_modules/@types :: WatchInfo: /user/username/projects/myproject 1 undefined Wild card directory
|
||||
[[90m12:00:48 AM[0m] File change detected. Starting incremental compilation...
|
||||
|
||||
Reloading new file names and options
|
||||
Synchronizing program
|
||||
[[90m12:00:48 AM[0m] File change detected. Starting incremental compilation...
|
||||
|
||||
CreatingProgramWith::
|
||||
roots: ["/user/username/projects/myproject/worker.ts"]
|
||||
options: {"watch":true,"extendedDiagnostics":true,"configFilePath":"/user/username/projects/myproject/tsconfig.json"}
|
||||
@ -310,10 +310,10 @@ Elapsed:: *ms DirectoryWatcher:: Triggered with /user/username/projects/myprojec
|
||||
DirectoryWatcher:: Triggered with /user/username/projects/myproject/node_modules/@types/mocha/index.d.ts :: WatchInfo: /user/username/projects/myproject 1 undefined Wild card directory
|
||||
Scheduling update
|
||||
Elapsed:: *ms DirectoryWatcher:: Triggered with /user/username/projects/myproject/node_modules/@types/mocha/index.d.ts :: WatchInfo: /user/username/projects/myproject 1 undefined Wild card directory
|
||||
[[90m12:00:59 AM[0m] File change detected. Starting incremental compilation...
|
||||
|
||||
Reloading new file names and options
|
||||
Synchronizing program
|
||||
[[90m12:00:59 AM[0m] File change detected. Starting incremental compilation...
|
||||
|
||||
CreatingProgramWith::
|
||||
roots: ["/user/username/projects/myproject/worker.ts"]
|
||||
options: {"watch":true,"extendedDiagnostics":true,"configFilePath":"/user/username/projects/myproject/tsconfig.json"}
|
||||
@ -382,10 +382,10 @@ Elapsed:: *ms DirectoryWatcher:: Triggered with /user/username/projects/myprojec
|
||||
DirectoryWatcher:: Triggered with /user/username/projects/myproject/node_modules/@types/node :: WatchInfo: /user/username/projects/myproject 1 undefined Wild card directory
|
||||
Scheduling update
|
||||
Elapsed:: *ms DirectoryWatcher:: Triggered with /user/username/projects/myproject/node_modules/@types/node :: WatchInfo: /user/username/projects/myproject 1 undefined Wild card directory
|
||||
[[90m12:01:03 AM[0m] File change detected. Starting incremental compilation...
|
||||
|
||||
Reloading new file names and options
|
||||
Synchronizing program
|
||||
[[90m12:01:03 AM[0m] File change detected. Starting incremental compilation...
|
||||
|
||||
CreatingProgramWith::
|
||||
roots: ["/user/username/projects/myproject/worker.ts"]
|
||||
options: {"watch":true,"extendedDiagnostics":true,"configFilePath":"/user/username/projects/myproject/tsconfig.json"}
|
||||
@ -481,10 +481,10 @@ DirectoryWatcher:: Triggered with /user/username/projects/myproject/node_modules
|
||||
Project: /user/username/projects/myproject/tsconfig.json Detected file add/remove of non supported extension: /user/username/projects/myproject/node_modules/@types/node/ts3.6
|
||||
Elapsed:: *ms DirectoryWatcher:: Triggered with /user/username/projects/myproject/node_modules/@types/node/ts3.6 :: WatchInfo: /user/username/projects/myproject 1 undefined Wild card directory
|
||||
Scheduling update
|
||||
[[90m12:01:15 AM[0m] File change detected. Starting incremental compilation...
|
||||
|
||||
Reloading new file names and options
|
||||
Synchronizing program
|
||||
[[90m12:01:15 AM[0m] File change detected. Starting incremental compilation...
|
||||
|
||||
CreatingProgramWith::
|
||||
roots: ["/user/username/projects/myproject/worker.ts"]
|
||||
options: {"watch":true,"extendedDiagnostics":true,"configFilePath":"/user/username/projects/myproject/tsconfig.json"}
|
||||
|
||||
@ -133,11 +133,11 @@ Output::
|
||||
DirectoryWatcher:: Triggered with /user/username/projects/myproject/projects/project1/class3.ts :: WatchInfo: /user/username/projects/myproject/projects/project1 1 undefined Wild card directory of referenced project
|
||||
Scheduling update
|
||||
Elapsed:: *ms DirectoryWatcher:: Triggered with /user/username/projects/myproject/projects/project1/class3.ts :: WatchInfo: /user/username/projects/myproject/projects/project1 1 undefined Wild card directory of referenced project
|
||||
Synchronizing program
|
||||
Loading config file: /user/username/projects/myproject/projects/project1/tsconfig.json
|
||||
|
||||
12:00:43 AM - File change detected. Starting incremental compilation...
|
||||
|
||||
Synchronizing program
|
||||
Loading config file: /user/username/projects/myproject/projects/project1/tsconfig.json
|
||||
CreatingProgramWith::
|
||||
roots: ["/user/username/projects/myproject/projects/project2/class2.ts"]
|
||||
options: {"module":0,"composite":true,"extendedDiagnostics":true,"configFilePath":"/user/username/projects/myproject/projects/project2/tsconfig.json"}
|
||||
@ -208,10 +208,10 @@ Elapsed:: *ms FileWatcher:: Triggered with /user/username/projects/myproject/pro
|
||||
DirectoryWatcher:: Triggered with /user/username/projects/myproject/projects/project1/class3.d.ts :: WatchInfo: /user/username/projects/myproject/projects/project1 1 undefined Wild card directory of referenced project
|
||||
Project: /user/username/projects/myproject/projects/project1/tsconfig.json Detected output file: /user/username/projects/myproject/projects/project1/class3.d.ts
|
||||
Elapsed:: *ms DirectoryWatcher:: Triggered with /user/username/projects/myproject/projects/project1/class3.d.ts :: WatchInfo: /user/username/projects/myproject/projects/project1 1 undefined Wild card directory of referenced project
|
||||
Synchronizing program
|
||||
|
||||
12:00:47 AM - File change detected. Starting incremental compilation...
|
||||
|
||||
Synchronizing program
|
||||
CreatingProgramWith::
|
||||
roots: ["/user/username/projects/myproject/projects/project2/class2.ts"]
|
||||
options: {"module":0,"composite":true,"extendedDiagnostics":true,"configFilePath":"/user/username/projects/myproject/projects/project2/tsconfig.json"}
|
||||
@ -340,10 +340,10 @@ Elapsed:: *ms FileWatcher:: Triggered with /user/username/projects/myproject/pro
|
||||
DirectoryWatcher:: Triggered with /user/username/projects/myproject/projects/project1/class3.d.ts :: WatchInfo: /user/username/projects/myproject/projects/project1 1 undefined Wild card directory of referenced project
|
||||
Project: /user/username/projects/myproject/projects/project1/tsconfig.json Detected output file: /user/username/projects/myproject/projects/project1/class3.d.ts
|
||||
Elapsed:: *ms DirectoryWatcher:: Triggered with /user/username/projects/myproject/projects/project1/class3.d.ts :: WatchInfo: /user/username/projects/myproject/projects/project1 1 undefined Wild card directory of referenced project
|
||||
Synchronizing program
|
||||
|
||||
12:01:03 AM - File change detected. Starting incremental compilation...
|
||||
|
||||
Synchronizing program
|
||||
CreatingProgramWith::
|
||||
roots: ["/user/username/projects/myproject/projects/project2/class2.ts"]
|
||||
options: {"module":0,"composite":true,"extendedDiagnostics":true,"configFilePath":"/user/username/projects/myproject/projects/project2/tsconfig.json"}
|
||||
@ -424,10 +424,10 @@ Elapsed:: *ms FileWatcher:: Triggered with /user/username/projects/myproject/pro
|
||||
DirectoryWatcher:: Triggered with /user/username/projects/myproject/projects/project1/class3.d.ts :: WatchInfo: /user/username/projects/myproject/projects/project1 1 undefined Wild card directory of referenced project
|
||||
Project: /user/username/projects/myproject/projects/project1/tsconfig.json Detected output file: /user/username/projects/myproject/projects/project1/class3.d.ts
|
||||
Elapsed:: *ms DirectoryWatcher:: Triggered with /user/username/projects/myproject/projects/project1/class3.d.ts :: WatchInfo: /user/username/projects/myproject/projects/project1 1 undefined Wild card directory of referenced project
|
||||
Synchronizing program
|
||||
|
||||
12:01:16 AM - File change detected. Starting incremental compilation...
|
||||
|
||||
Synchronizing program
|
||||
CreatingProgramWith::
|
||||
roots: ["/user/username/projects/myproject/projects/project2/class2.ts"]
|
||||
options: {"module":0,"composite":true,"extendedDiagnostics":true,"configFilePath":"/user/username/projects/myproject/projects/project2/tsconfig.json"}
|
||||
|
||||
@ -133,11 +133,11 @@ Output::
|
||||
DirectoryWatcher:: Triggered with /user/username/projects/myproject/projects/project1/class3.ts :: WatchInfo: /user/username/projects/myproject/projects/project1 1 undefined Wild card directory of referenced project
|
||||
Scheduling update
|
||||
Elapsed:: *ms DirectoryWatcher:: Triggered with /user/username/projects/myproject/projects/project1/class3.ts :: WatchInfo: /user/username/projects/myproject/projects/project1 1 undefined Wild card directory of referenced project
|
||||
Synchronizing program
|
||||
Loading config file: /user/username/projects/myproject/projects/project1/tsconfig.json
|
||||
|
||||
12:00:43 AM - File change detected. Starting incremental compilation...
|
||||
|
||||
Synchronizing program
|
||||
Loading config file: /user/username/projects/myproject/projects/project1/tsconfig.json
|
||||
CreatingProgramWith::
|
||||
roots: ["/user/username/projects/myproject/projects/project2/class2.ts"]
|
||||
options: {"module":0,"composite":true,"extendedDiagnostics":true,"configFilePath":"/user/username/projects/myproject/projects/project2/tsconfig.json"}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user