mirror of
https://github.com/microsoft/TypeScript.git
synced 2026-05-15 12:51:30 -05:00
Handle extra file extensions when wild card directory watch is invoked (#41018)
Fixes #40495
This commit is contained in:
@@ -121,6 +121,11 @@ namespace ts.tscWatch {
|
||||
);
|
||||
const watch = createWatchProgram(watchCompilerHost);
|
||||
checkProgramActualFiles(watch.getProgram().getProgram(), [mainFile.path, otherFile.path, libFile.path]);
|
||||
|
||||
const other2 = `${projectRoot}/other2.vue`;
|
||||
sys.writeFile(other2, otherFile.content);
|
||||
checkSingleTimeoutQueueLengthAndRun(sys);
|
||||
checkProgramActualFiles(watch.getProgram().getProgram(), [mainFile.path, otherFile.path, libFile.path, other2]);
|
||||
});
|
||||
});
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user