Skip to content

Commit

Permalink
Added new path change emit to renameSync
Browse files Browse the repository at this point in the history
  • Loading branch information
james-pre committed Nov 21, 2024
1 parent feafd58 commit 9a8d384
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/emulation/sync.ts
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@ export function renameSync(oldPath: fs.PathLike, newPath: fs.PathLike): void {
if (oldMount === newMount) {
oldMount.fs.renameSync(oldMount.path, newMount.path);
emitChange('rename', oldPath.toString());
emitChange('change', newPath.toString());
return;
}

Expand Down

0 comments on commit 9a8d384

Please sign in to comment.