summaryrefslogtreecommitdiff
path: root/script/workspace/workspace.lua
diff options
context:
space:
mode:
Diffstat (limited to 'script/workspace/workspace.lua')
-rw-r--r--script/workspace/workspace.lua4
1 files changed, 2 insertions, 2 deletions
diff --git a/script/workspace/workspace.lua b/script/workspace/workspace.lua
index 9d2ad637..1b94f389 100644
--- a/script/workspace/workspace.lua
+++ b/script/workspace/workspace.lua
@@ -269,7 +269,7 @@ function m.awaitLoadFile(uri)
scp:get('cachedUris')[uri] = true
ld:loadFile(uri)
end)
- ld:loadAll()
+ ld:loadAll(uri)
end
function m.removeFile(uri)
@@ -346,7 +346,7 @@ function m.awaitPreload(scp)
await.sleep(0.1)
log.info(('Found %d files at:'):format(ld.max), scp:getName())
- ld:loadAll()
+ ld:loadAll(scp:getName())
log.info('Preload finish at:', scp:getName())
end