1
0
Fork 0
mirror of synced 2024-06-27 18:40:42 +12:00

Fix incorrect event name being sent down websocket when hot reloading component plugins

This commit is contained in:
Andrew Kingston 2022-09-21 09:11:23 +01:00
parent f62888d0f8
commit b1ec1fafb4

View file

@ -129,6 +129,6 @@ export async function processUploadedPlugin(
} }
const doc = await plugins.storePlugin(metadata, directory, source) const doc = await plugins.storePlugin(metadata, directory, source)
ClientAppSocket.emit("plugins-update", { name: doc.name, hash: doc.hash }) ClientAppSocket.emit("plugin-update", { name: doc.name, hash: doc.hash })
return doc return doc
} }