summaryrefslogtreecommitdiff
path: root/script/vm/node.lua
diff options
context:
space:
mode:
author最萌小汐 <sumneko@hotmail.com>2022-10-12 19:42:16 +0800
committer最萌小汐 <sumneko@hotmail.com>2022-10-12 19:42:16 +0800
commit6a894485b4eab731adbbdbf3803dca75dc35e83c (patch)
tree4c5eb2a9536475318c9462444baa1a5f750c1f4a /script/vm/node.lua
parent0ccf3647a2c8213be6d53fa343f89fd656af9565 (diff)
downloadlua-language-server-6a894485b4eab731adbbdbf3803dca75dc35e83c.zip
change flag
Diffstat (limited to 'script/vm/node.lua')
-rw-r--r--script/vm/node.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/script/vm/node.lua b/script/vm/node.lua
index 9b10fa9d..3866e56a 100644
--- a/script/vm/node.lua
+++ b/script/vm/node.lua
@@ -481,7 +481,7 @@ local delayTimer
files.watch(function (ev, uri)
if ev == 'version' then
if ws.isReady(uri) then
- if PREVIEW then
+ if CACHEALIVE then
if delayTimer then
delayTimer:restart()
end