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, 4 insertions, 0 deletions
diff --git a/script/workspace/workspace.lua b/script/workspace/workspace.lua
index d0676b30..edde3ab9 100644
--- a/script/workspace/workspace.lua
+++ b/script/workspace/workspace.lua
@@ -423,6 +423,10 @@ function m.getCache(name)
return m.cache[name]
end
+function m.flushCache()
+ m.cache = {}
+end
+
function m.reload()
await.call(m.awaitReload)
end