From e45d9400697a256c4873237329c45374c8c869ce Mon Sep 17 00:00:00 2001 From: ruki Date: Sat, 30 Jul 2022 23:43:53 +0800 Subject: remove repeat events for watch --- xmake/plugins/watch/main.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/xmake/plugins/watch/main.lua b/xmake/plugins/watch/main.lua index af96349b8..1b9890be6 100644 --- a/xmake/plugins/watch/main.lua +++ b/xmake/plugins/watch/main.lua @@ -134,7 +134,7 @@ function main() status = "deleted" end print(event.path, status) - -- we use map to remove repeat event + -- we use map to remove repeat events events[event.path .. tostring(event.type)] = event count = count + 1 elseif count > 0 then -- cgit v1.3.1