fix: await refreshFileEvent when adding new files
MODIFY
internal/core/server/fs/MemoryFileSystem.ts
internal/core/server/fs/MemoryFileSystem.ts
@@ -1063,7 +1063,7 @@ export default class MemoryFileSystem {
}
if (isNew) {
- this.server.refreshFileEvent.push({type: "CREATED", path});
+ await this.server.refreshFileEvent.push({type: "CREATED", path});
}
return true;

fix: await refreshFileEvent when adding new files (#1585)