From 9a8d384b80f987b99303a720579173456acaa681 Mon Sep 17 00:00:00 2001 From: James Prevett Date: Thu, 21 Nov 2024 15:21:01 -0600 Subject: [PATCH] Added new path change emit to `renameSync` --- src/emulation/sync.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/src/emulation/sync.ts b/src/emulation/sync.ts index 14d5ad25..6fcb0fe6 100644 --- a/src/emulation/sync.ts +++ b/src/emulation/sync.ts @@ -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; }