summaryrefslogtreecommitdiff
path: root/script/vm/node.lua
diff options
context:
space:
mode:
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