summaryrefslogtreecommitdiff
path: root/xmake/core/base/fwatcher.lua
diff options
context:
space:
mode:
authorruki <[email protected]>2026-08-23 14:59:19 +0800
committerruki <[email protected]>2026-08-23 14:59:19 +0800
commit7ddecb012e558dacc0c9aae762c43c3c863a372c (patch)
treefa7d7a3795f4f6bf6be8dcd4f805f471e68de191 /xmake/core/base/fwatcher.lua
parentdeaabcd162bebe9312201bcaac48404fd8a1925a (diff)
fix wait 0wait
Diffstat (limited to 'xmake/core/base/fwatcher.lua')
-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 9fc04722e..e05baa584 100644
--- a/xmake/core/base/fwatcher.lua
+++ b/xmake/core/base/fwatcher.lua
@@ -93,7 +93,7 @@ end
-- wait event
--
--- @param timeout the timeout
+-- @param timeout the timeout in milliseconds, -1 for infinite, 0 to check without waiting
--
-- @return ok, event, e.g {type = fwatcher.ET_MODIFY, path = "/tmp"}
--