authorgravatar for pentuppup@noreply.codeberg.orgpentuppup <pentuppup@noreply.codeberg.org> 2026-08-09 10:37:09-04:00
committergravatar for andrew@ziglang.orgAndrew Kelley <andrew@ziglang.org> 2026-08-14 12:46:38+02:00
loge78dfccb5660603143d4df4dec425712a8ec96da
treeaee6a6b3db5b2417a429ce9d6619187c89bb3452
parent5d7cf3f34d13f70de35c2f76db2e44073e6de64e

Maker: restore error message when combining `--watch` and `--webui`


1 files changed, 1 insertions(+), 0 deletions(-)

lib/compiler/Maker.zig+1
......@@ -682,6 +682,7 @@ pub fn main(init: process.Init.Minimal) !void {
682682
683683 var web_server_allocation: AvoidableWebServer = undefined;
684684 const web_server: ?*AvoidableWebServer = if (webui_listen) |listen_address| ws: {
685 if (watch) fatal("using '--webui' and '--watch' together is not yet supported; consider omitting '--watch' in favour of the web UI \"Rebuild\" button", .{});
685686 if (builtin.single_threaded) fatal("--webui is not yet supported on single-threaded hosts", .{});
686687 web_server_allocation = .init(.{
687688 .graph = &graph,