diff options
author | 最萌小汐 <sumneko@hotmail.com> | 2021-08-18 19:55:04 +0800 |
---|---|---|
committer | 最萌小汐 <sumneko@hotmail.com> | 2021-08-18 19:55:04 +0800 |
commit | 38d46faae20bbdbc3578452f020276766aed67e0 (patch) | |
tree | 6ff276e89459b4d7098a5d1e50789a82ab2c6449 /script/service/service.lua | |
parent | 1d0dc164b84fffdfe281615013278013baf9aae7 (diff) | |
download | lua-language-server-38d46faae20bbdbc3578452f020276766aed67e0.zip |
watching library changes
Diffstat (limited to 'script/service/service.lua')
-rw-r--r-- | script/service/service.lua | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/script/service/service.lua b/script/service/service.lua index ed83a27a..973b5745 100644 --- a/script/service/service.lua +++ b/script/service/service.lua @@ -10,6 +10,7 @@ local files = require 'files' local lang = require 'language' local ws = require 'workspace' local time = require 'bee.time' +local fw = require 'filewatch' local m = {} m.type = 'service' @@ -174,6 +175,9 @@ function m.pulse() timer.loop(0.1, function () m.reportStatus() end) + timer.loop(1, function () + fw.update() + end) end function m.reportStatus() |