We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 3b60503 commit 08b2956Copy full SHA for 08b2956
1 file changed
tools/broccoli/broccoli-typescript.ts
@@ -106,7 +106,7 @@ class DiffingTSCompiler implements DiffingBroccoliPlugin {
106
this.fileRegistry[tsFilePath].version++;
107
}
108
109
- pathsToEmit.push(tsFilePath);
+ pathsToEmit.push(path.join(this.inputPath, tsFilePath));
110
});
111
112
treeDiff.removedPaths.forEach((tsFilePath) => {
@@ -332,7 +332,10 @@ class CustomLanguageServiceHost implements ts.LanguageServiceHost {
332
333
334
getScriptVersion(fileName: string): string {
335
- return this.fileRegistry[fileName] && this.fileRegistry[fileName].version.toString();
+ if (startsWith(fileName, this.treeInputPath)) {
336
+ const key = fileName.substr(this.treeInputPath.length + 1);
337
+ return this.fileRegistry[key] && this.fileRegistry[key].version.toString();
338
+ }
339
340
341
0 commit comments