summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorruki <[email protected]>2022-07-25 23:16:20 +0800
committerruki <[email protected]>2022-07-25 23:16:20 +0800
commit44d2a5ece314a7c3cb63b3d65cf3c0c8147c1db1 (patch)
tree994bcb07a6f609502d4fbad4c38589498c4fbdea
parent30ceace35346e91a90381712bec746598658a089 (diff)
add yes to watch
-rw-r--r--xmake/plugins/watch/main.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/xmake/plugins/watch/main.lua b/xmake/plugins/watch/main.lua
index 9d3c8ed0f..f7b628d0c 100644
--- a/xmake/plugins/watch/main.lua
+++ b/xmake/plugins/watch/main.lua
@@ -74,7 +74,7 @@ function _run_command()
{rootdir = path.directory(scriptfile), anonymous = true})
script()
elseif os.isfile(os.projectfile()) then
- local argv = {"build"}
+ local argv = {"build", "-y"}
if option.get("verbose") then
table.insert(argv, "-v")
end