summaryrefslogtreecommitdiff
path: root/script/filewatch.lua
diff options
context:
space:
mode:
author最萌小汐 <sumneko@hotmail.com>2021-08-18 20:17:12 +0800
committer最萌小汐 <sumneko@hotmail.com>2021-08-18 20:17:12 +0800
commit56cc87d03267040e6c8df1e948f1dc9b4e96e3a7 (patch)
treec0a696df1685e58414e0217010fa0cea7a6aa0d5 /script/filewatch.lua
parent8455ed7b3734e8648a4a542eb26575c7085466b8 (diff)
downloadlua-language-server-56cc87d03267040e6c8df1e948f1dc9b4e96e3a7.zip
cleanup
Diffstat (limited to 'script/filewatch.lua')
-rw-r--r--script/filewatch.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/script/filewatch.lua b/script/filewatch.lua
index fd3b8686..e8c54d62 100644
--- a/script/filewatch.lua
+++ b/script/filewatch.lua
@@ -31,7 +31,7 @@ end
function m.update()
local collect
- while true do
+ for _ = 1, 100 do
local ev, path = fw.select()
if not ev then
break