summaryrefslogtreecommitdiff
path: root/xmake/core/base
diff options
context:
space:
mode:
authorruki <[email protected]>2022-07-23 10:40:25 +0800
committerruki <[email protected]>2022-07-23 10:40:25 +0800
commit9731e4d5f8e667dd81add7aa644dbfe09bd3975b (patch)
treeaae117ef084bf740fa52effa833674447fe4ddc6 /xmake/core/base
parent9fce77f97024a1c76fd60d41bc52fc3c3ceb329a (diff)
impl watch action
Diffstat (limited to 'xmake/core/base')
-rw-r--r--xmake/core/base/fwatcher.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/xmake/core/base/fwatcher.lua b/xmake/core/base/fwatcher.lua
index b0c210216..ddff66a06 100644
--- a/xmake/core/base/fwatcher.lua
+++ b/xmake/core/base/fwatcher.lua
@@ -189,7 +189,7 @@ function fwatcher.watchdirs(watchdirs, callback, opt)
local ok = true
local errors = nil
for _, watchdir in ipairs(watchdirs) do
- ok, errors = fwatcher.add(watchdir, opt.recursion)
+ ok, errors = fwatcher.add(watchdir, opt)
if not ok then
break
end