summaryrefslogtreecommitdiff
path: root/xmake/plugins/watch/main.lua
diff options
context:
space:
mode:
authorruki <[email protected]>2025-04-24 22:42:49 +0800
committerruki <[email protected]>2025-04-24 10:24:45 +0800
commitff67a6a7936dff1fd3549c003c87aa812c435474 (patch)
tree4ae8d52708fe38ce1d38801e1e85a695ef0c2fce /xmake/plugins/watch/main.lua
parentd75240a009a7f295e31568c83fe9e93de1be431d (diff)
rename more buildir in plugins
Diffstat (limited to 'xmake/plugins/watch/main.lua')
-rw-r--r--xmake/plugins/watch/main.lua4
1 files changed, 2 insertions, 2 deletions
diff --git a/xmake/plugins/watch/main.lua b/xmake/plugins/watch/main.lua
index b275671f8..f7269caf9 100644
--- a/xmake/plugins/watch/main.lua
+++ b/xmake/plugins/watch/main.lua
@@ -52,8 +52,8 @@ function _add_watchdirs()
elseif os.isfile(os.projectfile()) then
watchdirs = os.dirs(path.join(os.projectdir(), "*|.*"))
for _, watchdir in ipairs(watchdirs) do
- local buildir = path.absolute(config.builddir())
- if path.absolute(watchdir) ~= buildir then
+ local builddir = path.absolute(config.builddir())
+ if path.absolute(watchdir) ~= builddir then
_add_watchdir(watchdir, {recursion = true})
end
end