| ... | @@ -847,10 +847,10 @@ pub fn main(init: process.Init.Minimal) !void { | ... | @@ -847,10 +847,10 @@ pub fn main(init: process.Init.Minimal) !void { |
| 847 | _ = io.lockStderr(&.{}, graph.stderr_mode) catch {}; | 847 | _ = io.lockStderr(&.{}, graph.stderr_mode) catch {}; |
| 848 | process.exit(1); | 848 | process.exit(1); |
| 849 | } | 849 | } |
| 850 | if (can_fs_watch) { | 850 | if (watch and can_fs_watch) { |
| 851 | @panic("TODO set up fs watching"); | 851 | fatal("(zig build system) TODO set up fs watching even when build.zig compilation fails", .{}); |
| 852 | } else { | 852 | } else { |
| 853 | @panic("TODO wait for user to request rebuild"); | 853 | fatal("(zig build system) TODO stay running and wait for user to request rebuild even when build.zig compilation fails", .{}); |
| 854 | } | 854 | } |
| 855 | } | 855 | } |
| 856 | } | 856 | } |