| ... | @@ -45,12 +45,14 @@ pub fn make( | ... | @@ -45,12 +45,14 @@ pub fn make( |
| 45 | | 45 | |
| 46 | try lowerZigArgs(arena, compile, compile_index, maker, progress_node, &argv, false); | 46 | try lowerZigArgs(arena, compile, compile_index, maker, progress_node, &argv, false); |
| 47 | | 47 | |
| | 48 | const incremental = conf_comp.flags4.incremental.toBool() orelse graph.incremental == true; |
| | 49 | |
| 48 | const maybe_output_dir = Step.evalZigProcess( | 50 | const maybe_output_dir = Step.evalZigProcess( |
| 49 | compile_index, | 51 | compile_index, |
| 50 | maker, | 52 | maker, |
| 51 | argv.items, | 53 | argv.items, |
| 52 | progress_node, | 54 | progress_node, |
| 53 | (graph.incremental == true) and (maker.watch or maker.web_server != null), | 55 | incremental and (maker.watch or maker.web_server != null), |
| 54 | ) catch |err| switch (err) { | 56 | ) catch |err| switch (err) { |
| 55 | error.NeedCompileErrorCheck => { | 57 | error.NeedCompileErrorCheck => { |
| 56 | try checkCompileErrors(arena, maker, compile_index); | 58 | try checkCompileErrors(arena, maker, compile_index); |