diff options
| author | ruki <[email protected]> | 2022-07-30 23:43:53 +0800 |
|---|---|---|
| committer | ruki <[email protected]> | 2022-07-30 23:43:53 +0800 |
| commit | e45d9400697a256c4873237329c45374c8c869ce (patch) | |
| tree | 2ce1a4b21e18b3e96c77d189af7cfe7e7dc7041b | |
| parent | ef9fc9d6f441c63f58c7f244e5afeb82b1b4bf22 (diff) | |
remove repeat events for watch
| -rw-r--r-- | xmake/plugins/watch/main.lua | 2 |
1 files changed, 1 insertions, 1 deletions
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 |
