diff options
Diffstat (limited to 'script/filewatch.lua')
-rw-r--r-- | script/filewatch.lua | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/script/filewatch.lua b/script/filewatch.lua index 17a0548b..28f7376f 100644 --- a/script/filewatch.lua +++ b/script/filewatch.lua @@ -27,6 +27,7 @@ function m.watch(path) end end +---@param callback async fun() function m.event(callback) m._eventList[#m._eventList+1] = callback end |