diff options
| author | ruki <[email protected]> | 2023-09-23 00:51:48 +0800 |
|---|---|---|
| committer | ruki <[email protected]> | 2023-09-23 00:51:48 +0800 |
| commit | 14583eeae3c79d95a142ef58ef1f340378f15f6b (patch) | |
| tree | 83949c751b1bc38b920e2f5ab4ccc769d86671d5 | |
| parent | 2e99338c06e933f0bb02291bbd407182450ea045 (diff) | |
improve run
| -rw-r--r-- | xmake/actions/run/main.lua | 3 |
1 files changed, 3 insertions, 0 deletions
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 |
