From 14583eeae3c79d95a142ef58ef1f340378f15f6b Mon Sep 17 00:00:00 2001 From: ruki Date: Sat, 23 Sep 2023 00:51:48 +0800 Subject: improve run --- xmake/actions/run/main.lua | 3 +++ 1 file changed, 3 insertions(+) diff --git a/xmake/actions/run/main.lua b/xmake/actions/run/main.lua index c51825d8c..70a277a86 100644 --- a/xmake/actions/run/main.lua +++ b/xmake/actions/run/main.lua @@ -210,6 +210,9 @@ function main() -- Automatically build before running if project.policy("run.autobuild") then + -- we need clear the previous config and reload it + -- to avoid trigger recheck configs + config.clear() task.run("build") end -- cgit v1.3.1