Skip to content

Commit 1f71016

Browse files
authored
Ensure that we have seenAffectedFiles map when files are added to pending emit because they were present in the old state (#37302)
* Make the systems for baselining default to pretty * Ensure that we have seenAffectedFiles map when files are added to pending emit because they were present in the old state This happens in build scenarios since semantic diagnostics are queried before emit and hence files are added to seenAffectedFiles pending emit Fixes #37269
1 parent 41a80f5 commit 1f71016

File tree

347 files changed

+2977
-1885
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

347 files changed

+2977
-1885
lines changed

src/compiler/builder.ts

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -201,6 +201,7 @@ namespace ts {
201201
state.affectedFilesPendingEmit = oldState!.affectedFilesPendingEmit.slice();
202202
state.affectedFilesPendingEmitKind = cloneMapOrUndefined(oldState!.affectedFilesPendingEmitKind);
203203
state.affectedFilesPendingEmitIndex = oldState!.affectedFilesPendingEmitIndex;
204+
state.seenAffectedFiles = createMap();
204205
}
205206
}
206207

@@ -247,8 +248,8 @@ namespace ts {
247248
if (oldCompilerOptions && compilerOptionsAffectEmit(compilerOptions, oldCompilerOptions)) {
248249
// Add all files to affectedFilesPendingEmit since emit changed
249250
newProgram.getSourceFiles().forEach(f => addToAffectedFilesPendingEmit(state, f.resolvedPath, BuilderFileEmit.Full));
250-
Debug.assert(state.seenAffectedFiles === undefined);
251-
state.seenAffectedFiles = createMap<true>();
251+
Debug.assert(!state.seenAffectedFiles || !state.seenAffectedFiles.size);
252+
state.seenAffectedFiles = state.seenAffectedFiles || createMap<true>();
252253
}
253254

254255
state.emittedBuildInfo = !state.changedFilesSet.size && !state.affectedFilesPendingEmit;

src/harness/fakesHosts.ts

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,11 @@ namespace fakes {
3232
this._env = env;
3333
}
3434

35+
// Pretty output
36+
writeOutputIsTTY() {
37+
return true;
38+
}
39+
3540
public write(message: string) {
3641
this.output.push(message);
3742
}

src/harness/virtualFileSystemWithWatch.ts

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -445,6 +445,11 @@ interface Array<T> { length: number; [n: number]: T; }`
445445
this.reloadFS(fileOrFolderorSymLinkList);
446446
}
447447

448+
// Output is pretty
449+
writeOutputIsTTY() {
450+
return true;
451+
}
452+
448453
getNewLine() {
449454
return this.newLine;
450455
}

src/testRunner/unittests/tsbuild/watchMode.ts

Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1131,6 +1131,38 @@ export function someFn() { }`);
11311131
}
11321132
],
11331133
});
1134+
1135+
verifyTscWatch({
1136+
scenario,
1137+
subScenario: "works when noUnusedParameters changes to false",
1138+
commandLineArgs: ["-b", "-w"],
1139+
sys: () => {
1140+
const index: File = {
1141+
path: `${projectRoot}/index.ts`,
1142+
content: `const fn = (a: string, b: string) => b;`
1143+
};
1144+
const configFile: File = {
1145+
path: `${projectRoot}/tsconfig.json`,
1146+
content: JSON.stringify({
1147+
compilerOptions: {
1148+
noUnusedParameters: true
1149+
}
1150+
})
1151+
};
1152+
return createWatchedSystem([index, configFile, libFile], { currentDirectory: projectRoot });
1153+
},
1154+
changes: [
1155+
sys => {
1156+
sys.writeFile(`${projectRoot}/tsconfig.json`, JSON.stringify({
1157+
compilerOptions: {
1158+
noUnusedParameters: false
1159+
}
1160+
}));
1161+
sys.runQueuedTimeoutCallbacks();
1162+
return "Change tsconfig to set noUnusedParameters to false";
1163+
},
1164+
]
1165+
});
11341166
});
11351167

11361168
describe("unittests:: tsbuild:: watchMode:: with demo project", () => {

tests/baselines/reference/tsbuild/amdModulesWithOut/incremental-declaration-doesnt-change/modules-and-globals-mixed-in-amd.js

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,18 @@
11
//// [/lib/incremental-declaration-doesnt-changeOutput.txt]
22
/lib/tsc --b /src/app --verbose
3-
12:04:00 AM - Projects in this build:
3+
[[90m12:04:00 AM[0m] Projects in this build:
44
* src/lib/tsconfig.json
55
* src/app/tsconfig.json
66

7-
12:04:00 AM - Project 'src/lib/tsconfig.json' is out of date because oldest output 'src/lib/module.js' is older than newest input 'src/lib/file1.ts'
7+
[[90m12:04:00 AM[0m] Project 'src/lib/tsconfig.json' is out of date because oldest output 'src/lib/module.js' is older than newest input 'src/lib/file1.ts'
88

9-
12:04:00 AM - Building project '/src/lib/tsconfig.json'...
9+
[[90m12:04:00 AM[0m] Building project '/src/lib/tsconfig.json'...
1010

11-
12:04:00 AM - Project 'src/app/tsconfig.json' is out of date because output of its dependency 'src/lib' has changed
11+
[[90m12:04:00 AM[0m] Project 'src/app/tsconfig.json' is out of date because output of its dependency 'src/lib' has changed
1212

13-
12:04:00 AM - Updating output of project '/src/app/tsconfig.json'...
13+
[[90m12:04:00 AM[0m] Updating output of project '/src/app/tsconfig.json'...
1414

15-
12:04:00 AM - Updating unchanged output timestamps of project '/src/app/tsconfig.json'...
15+
[[90m12:04:00 AM[0m] Updating unchanged output timestamps of project '/src/app/tsconfig.json'...
1616

1717
exitCode:: ExitStatus.Success
1818

tests/baselines/reference/tsbuild/amdModulesWithOut/incremental-declaration-doesnt-change/multiple-emitHelpers-in-all-projects.js

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,18 @@
11
//// [/lib/incremental-declaration-doesnt-changeOutput.txt]
22
/lib/tsc --b /src/app --verbose
3-
12:04:00 AM - Projects in this build:
3+
[[90m12:04:00 AM[0m] Projects in this build:
44
* src/lib/tsconfig.json
55
* src/app/tsconfig.json
66

7-
12:04:00 AM - Project 'src/lib/tsconfig.json' is out of date because oldest output 'src/lib/module.js' is older than newest input 'src/lib/file1.ts'
7+
[[90m12:04:00 AM[0m] Project 'src/lib/tsconfig.json' is out of date because oldest output 'src/lib/module.js' is older than newest input 'src/lib/file1.ts'
88

9-
12:04:00 AM - Building project '/src/lib/tsconfig.json'...
9+
[[90m12:04:00 AM[0m] Building project '/src/lib/tsconfig.json'...
1010

11-
12:04:00 AM - Project 'src/app/tsconfig.json' is out of date because output of its dependency 'src/lib' has changed
11+
[[90m12:04:00 AM[0m] Project 'src/app/tsconfig.json' is out of date because output of its dependency 'src/lib' has changed
1212

13-
12:04:00 AM - Updating output of project '/src/app/tsconfig.json'...
13+
[[90m12:04:00 AM[0m] Updating output of project '/src/app/tsconfig.json'...
1414

15-
12:04:00 AM - Updating unchanged output timestamps of project '/src/app/tsconfig.json'...
15+
[[90m12:04:00 AM[0m] Updating unchanged output timestamps of project '/src/app/tsconfig.json'...
1616

1717
exitCode:: ExitStatus.Success
1818

tests/baselines/reference/tsbuild/amdModulesWithOut/incremental-declaration-doesnt-change/multiple-prologues-in-all-projects.js

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,18 @@
11
//// [/lib/incremental-declaration-doesnt-changeOutput.txt]
22
/lib/tsc --b /src/app --verbose
3-
12:04:00 AM - Projects in this build:
3+
[[90m12:04:00 AM[0m] Projects in this build:
44
* src/lib/tsconfig.json
55
* src/app/tsconfig.json
66

7-
12:04:00 AM - Project 'src/lib/tsconfig.json' is out of date because oldest output 'src/lib/module.js' is older than newest input 'src/lib/file1.ts'
7+
[[90m12:04:00 AM[0m] Project 'src/lib/tsconfig.json' is out of date because oldest output 'src/lib/module.js' is older than newest input 'src/lib/file1.ts'
88

9-
12:04:00 AM - Building project '/src/lib/tsconfig.json'...
9+
[[90m12:04:00 AM[0m] Building project '/src/lib/tsconfig.json'...
1010

11-
12:04:00 AM - Project 'src/app/tsconfig.json' is out of date because output of its dependency 'src/lib' has changed
11+
[[90m12:04:00 AM[0m] Project 'src/app/tsconfig.json' is out of date because output of its dependency 'src/lib' has changed
1212

13-
12:04:00 AM - Updating output of project '/src/app/tsconfig.json'...
13+
[[90m12:04:00 AM[0m] Updating output of project '/src/app/tsconfig.json'...
1414

15-
12:04:00 AM - Updating unchanged output timestamps of project '/src/app/tsconfig.json'...
15+
[[90m12:04:00 AM[0m] Updating unchanged output timestamps of project '/src/app/tsconfig.json'...
1616

1717
exitCode:: ExitStatus.Success
1818

tests/baselines/reference/tsbuild/amdModulesWithOut/incremental-declaration-doesnt-change/shebang-in-all-projects.js

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,18 @@
11
//// [/lib/incremental-declaration-doesnt-changeOutput.txt]
22
/lib/tsc --b /src/app --verbose
3-
12:04:00 AM - Projects in this build:
3+
[[90m12:04:00 AM[0m] Projects in this build:
44
* src/lib/tsconfig.json
55
* src/app/tsconfig.json
66

7-
12:04:00 AM - Project 'src/lib/tsconfig.json' is out of date because oldest output 'src/lib/module.js' is older than newest input 'src/lib/file1.ts'
7+
[[90m12:04:00 AM[0m] Project 'src/lib/tsconfig.json' is out of date because oldest output 'src/lib/module.js' is older than newest input 'src/lib/file1.ts'
88

9-
12:04:00 AM - Building project '/src/lib/tsconfig.json'...
9+
[[90m12:04:00 AM[0m] Building project '/src/lib/tsconfig.json'...
1010

11-
12:04:00 AM - Project 'src/app/tsconfig.json' is out of date because output of its dependency 'src/lib' has changed
11+
[[90m12:04:00 AM[0m] Project 'src/app/tsconfig.json' is out of date because output of its dependency 'src/lib' has changed
1212

13-
12:04:00 AM - Updating output of project '/src/app/tsconfig.json'...
13+
[[90m12:04:00 AM[0m] Updating output of project '/src/app/tsconfig.json'...
1414

15-
12:04:00 AM - Updating unchanged output timestamps of project '/src/app/tsconfig.json'...
15+
[[90m12:04:00 AM[0m] Updating unchanged output timestamps of project '/src/app/tsconfig.json'...
1616

1717
exitCode:: ExitStatus.Success
1818

tests/baselines/reference/tsbuild/amdModulesWithOut/incremental-declaration-doesnt-change/stripInternal.js

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,18 @@
11
//// [/lib/incremental-declaration-doesnt-changeOutput.txt]
22
/lib/tsc --b /src/app --verbose
3-
12:04:00 AM - Projects in this build:
3+
[[90m12:04:00 AM[0m] Projects in this build:
44
* src/lib/tsconfig.json
55
* src/app/tsconfig.json
66

7-
12:04:00 AM - Project 'src/lib/tsconfig.json' is out of date because oldest output 'src/lib/module.js' is older than newest input 'src/lib/file1.ts'
7+
[[90m12:04:00 AM[0m] Project 'src/lib/tsconfig.json' is out of date because oldest output 'src/lib/module.js' is older than newest input 'src/lib/file1.ts'
88

9-
12:04:00 AM - Building project '/src/lib/tsconfig.json'...
9+
[[90m12:04:00 AM[0m] Building project '/src/lib/tsconfig.json'...
1010

11-
12:04:00 AM - Project 'src/app/tsconfig.json' is out of date because output of its dependency 'src/lib' has changed
11+
[[90m12:04:00 AM[0m] Project 'src/app/tsconfig.json' is out of date because output of its dependency 'src/lib' has changed
1212

13-
12:04:00 AM - Updating output of project '/src/app/tsconfig.json'...
13+
[[90m12:04:00 AM[0m] Updating output of project '/src/app/tsconfig.json'...
1414

15-
12:04:00 AM - Updating unchanged output timestamps of project '/src/app/tsconfig.json'...
15+
[[90m12:04:00 AM[0m] Updating unchanged output timestamps of project '/src/app/tsconfig.json'...
1616

1717
exitCode:: ExitStatus.Success
1818

tests/baselines/reference/tsbuild/amdModulesWithOut/incremental-declaration-doesnt-change/triple-slash-refs-in-all-projects.js

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,18 @@
11
//// [/lib/incremental-declaration-doesnt-changeOutput.txt]
22
/lib/tsc --b /src/app --verbose
3-
12:04:00 AM - Projects in this build:
3+
[[90m12:04:00 AM[0m] Projects in this build:
44
* src/lib/tsconfig.json
55
* src/app/tsconfig.json
66

7-
12:04:00 AM - Project 'src/lib/tsconfig.json' is out of date because oldest output 'src/lib/module.js' is older than newest input 'src/lib/file1.ts'
7+
[[90m12:04:00 AM[0m] Project 'src/lib/tsconfig.json' is out of date because oldest output 'src/lib/module.js' is older than newest input 'src/lib/file1.ts'
88

9-
12:04:00 AM - Building project '/src/lib/tsconfig.json'...
9+
[[90m12:04:00 AM[0m] Building project '/src/lib/tsconfig.json'...
1010

11-
12:04:00 AM - Project 'src/app/tsconfig.json' is out of date because output of its dependency 'src/lib' has changed
11+
[[90m12:04:00 AM[0m] Project 'src/app/tsconfig.json' is out of date because output of its dependency 'src/lib' has changed
1212

13-
12:04:00 AM - Updating output of project '/src/app/tsconfig.json'...
13+
[[90m12:04:00 AM[0m] Updating output of project '/src/app/tsconfig.json'...
1414

15-
12:04:00 AM - Updating unchanged output timestamps of project '/src/app/tsconfig.json'...
15+
[[90m12:04:00 AM[0m] Updating unchanged output timestamps of project '/src/app/tsconfig.json'...
1616

1717
exitCode:: ExitStatus.Success
1818

tests/baselines/reference/tsbuild/amdModulesWithOut/incremental-headers-change-without-dts-changes/multiple-emitHelpers-in-all-projects.js

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,18 @@
11
//// [/lib/incremental-headers-change-without-dts-changesOutput.txt]
22
/lib/tsc --b /src/app --verbose
3-
12:08:00 AM - Projects in this build:
3+
[[90m12:08:00 AM[0m] Projects in this build:
44
* src/lib/tsconfig.json
55
* src/app/tsconfig.json
66

7-
12:08:00 AM - Project 'src/lib/tsconfig.json' is out of date because oldest output 'src/lib/module.js' is older than newest input 'src/lib/file1.ts'
7+
[[90m12:08:00 AM[0m] Project 'src/lib/tsconfig.json' is out of date because oldest output 'src/lib/module.js' is older than newest input 'src/lib/file1.ts'
88

9-
12:08:00 AM - Building project '/src/lib/tsconfig.json'...
9+
[[90m12:08:00 AM[0m] Building project '/src/lib/tsconfig.json'...
1010

11-
12:08:00 AM - Project 'src/app/tsconfig.json' is out of date because output of its dependency 'src/lib' has changed
11+
[[90m12:08:00 AM[0m] Project 'src/app/tsconfig.json' is out of date because output of its dependency 'src/lib' has changed
1212

13-
12:08:00 AM - Updating output of project '/src/app/tsconfig.json'...
13+
[[90m12:08:00 AM[0m] Updating output of project '/src/app/tsconfig.json'...
1414

15-
12:08:00 AM - Updating unchanged output timestamps of project '/src/app/tsconfig.json'...
15+
[[90m12:08:00 AM[0m] Updating unchanged output timestamps of project '/src/app/tsconfig.json'...
1616

1717
exitCode:: ExitStatus.Success
1818

tests/baselines/reference/tsbuild/amdModulesWithOut/incremental-headers-change-without-dts-changes/multiple-prologues-in-all-projects.js

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,18 @@
11
//// [/lib/incremental-headers-change-without-dts-changesOutput.txt]
22
/lib/tsc --b /src/app --verbose
3-
12:08:00 AM - Projects in this build:
3+
[[90m12:08:00 AM[0m] Projects in this build:
44
* src/lib/tsconfig.json
55
* src/app/tsconfig.json
66

7-
12:08:00 AM - Project 'src/lib/tsconfig.json' is out of date because oldest output 'src/lib/module.js' is older than newest input 'src/lib/file1.ts'
7+
[[90m12:08:00 AM[0m] Project 'src/lib/tsconfig.json' is out of date because oldest output 'src/lib/module.js' is older than newest input 'src/lib/file1.ts'
88

9-
12:08:00 AM - Building project '/src/lib/tsconfig.json'...
9+
[[90m12:08:00 AM[0m] Building project '/src/lib/tsconfig.json'...
1010

11-
12:08:00 AM - Project 'src/app/tsconfig.json' is out of date because output of its dependency 'src/lib' has changed
11+
[[90m12:08:00 AM[0m] Project 'src/app/tsconfig.json' is out of date because output of its dependency 'src/lib' has changed
1212

13-
12:08:00 AM - Updating output of project '/src/app/tsconfig.json'...
13+
[[90m12:08:00 AM[0m] Updating output of project '/src/app/tsconfig.json'...
1414

15-
12:08:00 AM - Updating unchanged output timestamps of project '/src/app/tsconfig.json'...
15+
[[90m12:08:00 AM[0m] Updating unchanged output timestamps of project '/src/app/tsconfig.json'...
1616

1717
exitCode:: ExitStatus.Success
1818

tests/baselines/reference/tsbuild/amdModulesWithOut/incremental-headers-change-without-dts-changes/stripInternal.js

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,16 @@
11
//// [/lib/incremental-headers-change-without-dts-changesOutput.txt]
22
/lib/tsc --b /src/app --verbose
3-
12:08:00 AM - Projects in this build:
3+
[[90m12:08:00 AM[0m] Projects in this build:
44
* src/lib/tsconfig.json
55
* src/app/tsconfig.json
66

7-
12:08:00 AM - Project 'src/lib/tsconfig.json' is out of date because oldest output 'src/lib/module.js' is older than newest input 'src/lib/file1.ts'
7+
[[90m12:08:00 AM[0m] Project 'src/lib/tsconfig.json' is out of date because oldest output 'src/lib/module.js' is older than newest input 'src/lib/file1.ts'
88

9-
12:08:00 AM - Building project '/src/lib/tsconfig.json'...
9+
[[90m12:08:00 AM[0m] Building project '/src/lib/tsconfig.json'...
1010

11-
12:08:00 AM - Project 'src/app/tsconfig.json' is out of date because output of its dependency 'src/lib' has changed
11+
[[90m12:08:00 AM[0m] Project 'src/app/tsconfig.json' is out of date because output of its dependency 'src/lib' has changed
1212

13-
12:08:00 AM - Updating output of project '/src/app/tsconfig.json'...
13+
[[90m12:08:00 AM[0m] Updating output of project '/src/app/tsconfig.json'...
1414

1515
exitCode:: ExitStatus.Success
1616

tests/baselines/reference/tsbuild/amdModulesWithOut/initial-build/modules-and-globals-mixed-in-amd.js

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,16 @@
11
//// [/lib/initial-buildOutput.txt]
22
/lib/tsc --b /src/app --verbose
3-
12:01:00 AM - Projects in this build:
3+
[[90m12:01:00 AM[0m] Projects in this build:
44
* src/lib/tsconfig.json
55
* src/app/tsconfig.json
66

7-
12:01:00 AM - Project 'src/lib/tsconfig.json' is out of date because output file 'src/lib/module.js' does not exist
7+
[[90m12:01:00 AM[0m] Project 'src/lib/tsconfig.json' is out of date because output file 'src/lib/module.js' does not exist
88

9-
12:01:00 AM - Building project '/src/lib/tsconfig.json'...
9+
[[90m12:01:00 AM[0m] Building project '/src/lib/tsconfig.json'...
1010

11-
12:01:00 AM - Project 'src/app/tsconfig.json' is out of date because output file 'src/app/module.js' does not exist
11+
[[90m12:01:00 AM[0m] Project 'src/app/tsconfig.json' is out of date because output file 'src/app/module.js' does not exist
1212

13-
12:01:00 AM - Building project '/src/app/tsconfig.json'...
13+
[[90m12:01:00 AM[0m] Building project '/src/app/tsconfig.json'...
1414

1515
exitCode:: ExitStatus.Success
1616

tests/baselines/reference/tsbuild/amdModulesWithOut/initial-build/multiple-emitHelpers-in-all-projects.js

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,16 @@
11
//// [/lib/initial-buildOutput.txt]
22
/lib/tsc --b /src/app --verbose
3-
12:01:00 AM - Projects in this build:
3+
[[90m12:01:00 AM[0m] Projects in this build:
44
* src/lib/tsconfig.json
55
* src/app/tsconfig.json
66

7-
12:01:00 AM - Project 'src/lib/tsconfig.json' is out of date because output file 'src/lib/module.js' does not exist
7+
[[90m12:01:00 AM[0m] Project 'src/lib/tsconfig.json' is out of date because output file 'src/lib/module.js' does not exist
88

9-
12:01:00 AM - Building project '/src/lib/tsconfig.json'...
9+
[[90m12:01:00 AM[0m] Building project '/src/lib/tsconfig.json'...
1010

11-
12:01:00 AM - Project 'src/app/tsconfig.json' is out of date because output file 'src/app/module.js' does not exist
11+
[[90m12:01:00 AM[0m] Project 'src/app/tsconfig.json' is out of date because output file 'src/app/module.js' does not exist
1212

13-
12:01:00 AM - Building project '/src/app/tsconfig.json'...
13+
[[90m12:01:00 AM[0m] Building project '/src/app/tsconfig.json'...
1414

1515
exitCode:: ExitStatus.Success
1616

tests/baselines/reference/tsbuild/amdModulesWithOut/initial-build/multiple-prologues-in-all-projects.js

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,16 @@
11
//// [/lib/initial-buildOutput.txt]
22
/lib/tsc --b /src/app --verbose
3-
12:01:00 AM - Projects in this build:
3+
[[90m12:01:00 AM[0m] Projects in this build:
44
* src/lib/tsconfig.json
55
* src/app/tsconfig.json
66

7-
12:01:00 AM - Project 'src/lib/tsconfig.json' is out of date because output file 'src/lib/module.js' does not exist
7+
[[90m12:01:00 AM[0m] Project 'src/lib/tsconfig.json' is out of date because output file 'src/lib/module.js' does not exist
88

9-
12:01:00 AM - Building project '/src/lib/tsconfig.json'...
9+
[[90m12:01:00 AM[0m] Building project '/src/lib/tsconfig.json'...
1010

11-
12:01:00 AM - Project 'src/app/tsconfig.json' is out of date because output file 'src/app/module.js' does not exist
11+
[[90m12:01:00 AM[0m] Project 'src/app/tsconfig.json' is out of date because output file 'src/app/module.js' does not exist
1212

13-
12:01:00 AM - Building project '/src/app/tsconfig.json'...
13+
[[90m12:01:00 AM[0m] Building project '/src/app/tsconfig.json'...
1414

1515
exitCode:: ExitStatus.Success
1616

tests/baselines/reference/tsbuild/amdModulesWithOut/initial-build/shebang-in-all-projects.js

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,16 @@
11
//// [/lib/initial-buildOutput.txt]
22
/lib/tsc --b /src/app --verbose
3-
12:01:00 AM - Projects in this build:
3+
[[90m12:01:00 AM[0m] Projects in this build:
44
* src/lib/tsconfig.json
55
* src/app/tsconfig.json
66

7-
12:01:00 AM - Project 'src/lib/tsconfig.json' is out of date because output file 'src/lib/module.js' does not exist
7+
[[90m12:01:00 AM[0m] Project 'src/lib/tsconfig.json' is out of date because output file 'src/lib/module.js' does not exist
88

9-
12:01:00 AM - Building project '/src/lib/tsconfig.json'...
9+
[[90m12:01:00 AM[0m] Building project '/src/lib/tsconfig.json'...
1010

11-
12:01:00 AM - Project 'src/app/tsconfig.json' is out of date because output file 'src/app/module.js' does not exist
11+
[[90m12:01:00 AM[0m] Project 'src/app/tsconfig.json' is out of date because output file 'src/app/module.js' does not exist
1212

13-
12:01:00 AM - Building project '/src/app/tsconfig.json'...
13+
[[90m12:01:00 AM[0m] Building project '/src/app/tsconfig.json'...
1414

1515
exitCode:: ExitStatus.Success
1616

0 commit comments

Comments
 (0)