From 10039197de303246191f9dc36cdff7a50edce3d5 Mon Sep 17 00:00:00 2001 From: "Lucas F." Date: Fri, 12 Dec 2025 18:00:40 -0300 Subject: [PATCH] update: update manage_run_server to run zig when build.zig file found --- lua/django/utils.lua | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/lua/django/utils.lua b/lua/django/utils.lua index f90b825..84ce9e3 100644 --- a/lua/django/utils.lua +++ b/lua/django/utils.lua @@ -217,7 +217,11 @@ function M.manage_run_server(custom_command) if not file_exists "Makefile" then if not file_exists "makefile" then - custom_command = "./manage.py runserver 0.0.0.0:8000" + if not file_exists "build.zig" then + custom_command = "./manage.py runserver 0.0.0.0:8000" + else + custom_command = "zig build run" + end end end