diff --git a/lib/compiler/Maker/Step/Compile.zig b/lib/compiler/Maker/Step/Compile.zig index 8db4b2be2a825da2fae3780043a35db491d28273..5407221142a2234a3e8189a7fba0febbdc4e3f28 100644 --- a/lib/compiler/Maker/Step/Compile.zig +++ b/lib/compiler/Maker/Step/Compile.zig @@ -45,12 +45,14 @@ pub fn make( try lowerZigArgs(arena, compile, compile_index, maker, progress_node, &argv, false); + const incremental = conf_comp.flags4.incremental.toBool() orelse graph.incremental == true; + const maybe_output_dir = Step.evalZigProcess( compile_index, maker, argv.items, progress_node, - (graph.incremental == true) and (maker.watch or maker.web_server != null), + incremental and (maker.watch or maker.web_server != null), ) catch |err| switch (err) { error.NeedCompileErrorCheck => { try checkCompileErrors(arena, maker, compile_index);