Skip to content

Commit

Permalink
WIP
Browse files Browse the repository at this point in the history
  • Loading branch information
dfreeman committed Nov 15, 2023
1 parent 8d0816b commit 8542077
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions packages/core/src/common/transform-manager.ts
Original file line number Diff line number Diff line change
Expand Up @@ -212,6 +212,7 @@ export default class TransformManager {

let { glintConfig, documents } = this;
let callback: ts.FileWatcherCallback = (watchedPath, eventKind) => {
console.log('watchFile callback', watchedPath, eventKind);
if (eventKind === this.ts.FileWatcherEventKind.Deleted) {
// Adding or removing a file invalidates most of what we think we know about module resolution
this.moduleResolutionCache.clear();
Expand Down

0 comments on commit 8542077

Please sign in to comment.