Skip to content

Commit

Permalink
fix: test case
Browse files Browse the repository at this point in the history
  • Loading branch information
Aaaaash committed Jan 13, 2025
1 parent 2e1107d commit c463c17
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,9 @@ export class RecursiveFileSystemWatcher extends Disposable implements IWatcher {

private async doWatchFileChange(uri: string, options?: WatchOptions) {
if (this.WATCHER_HANDLERS.has(uri)) {
return;
const handler = this.WATCHER_HANDLERS.get(uri);
handler?.disposable.dispose();
this.WATCHER_HANDLERS.delete(uri);
}

const basePath = FileUri.fsPath(uri);
Expand Down

0 comments on commit c463c17

Please sign in to comment.