Hot reload after adding new objects

This commit is contained in:
2024-07-04 14:56:32 +02:00
parent 167956ef2b
commit fa5acca143
2 changed files with 21 additions and 17 deletions

View File

@ -36,6 +36,7 @@ const handleFileUpload = (e: Event) => {
}
assetStore.fetchAssets()
socket.connection.emit('gm:tile:list', {}, (response: string[]) => {
assetManagerStore.setTileList(response)
})