summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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