summaryrefslogtreecommitdiff
path: root/script/vm/manager.lua
diff options
context:
space:
mode:
author最萌小汐 <sumneko@hotmail.com>2022-04-07 03:24:05 +0800
committer最萌小汐 <sumneko@hotmail.com>2022-04-07 03:24:05 +0800
commitd45984a61c94447c7c55ff5efffa9209c0b98d7c (patch)
treec2ec5780bad0b4bf506ab50c7ff6d28ec35a8b6d /script/vm/manager.lua
parent84441873f6b0e4a75ee9b9d96d88c5609c7a48dc (diff)
downloadlua-language-server-d45984a61c94447c7c55ff5efffa9209c0b98d7c.zip
update
Diffstat (limited to 'script/vm/manager.lua')
-rw-r--r--script/vm/manager.lua2
1 files changed, 2 insertions, 0 deletions
diff --git a/script/vm/manager.lua b/script/vm/manager.lua
index 2068507f..67e8cc38 100644
--- a/script/vm/manager.lua
+++ b/script/vm/manager.lua
@@ -14,6 +14,8 @@ end
files.watch(function (ev, uri)
if ev == 'update' then
+ globalManager.dropUri(uri)
+ localManager.dropUri(uri)
local state = files.getState(uri)
if state then
globalManager.compileAst(state.ast)