From 7075ca19746addabc66296518a1eeafca8144723 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=9C=80=E8=90=8C=E5=B0=8F=E6=B1=90?= Date: Sat, 17 Dec 2022 03:47:53 +0800 Subject: update filewatch --- script/provider/provider.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'script/provider') diff --git a/script/provider/provider.lua b/script/provider/provider.lua index ea02579c..d19e0040 100644 --- a/script/provider/provider.lua +++ b/script/provider/provider.lua @@ -36,7 +36,7 @@ function m.updateConfig(uri) log.info('Load config from specified', CONFIGPATH) log.info(inspect(specified)) -- watch directory - filewatch.watch(workspace.getAbsolutePath(uri, CONFIGPATH):gsub('[^/\\]+$', '')) + filewatch.watch(workspace.getAbsolutePath(uri, CONFIGPATH):gsub('[^/\\]+$', ''), false) config.update(scope.override, specified) end -- cgit v1.2.3