also looking at this
Make watch mode rerun affected tests
#28
5 files
+621
-105
| @@ -154,11 +154,13 @@ pub fn main(init: std.process.Init.Minimal) !void { | ||
| 154 | 154 | |
| 155 | 155 | const watch_options = lib.WatchOptions{ |
| 156 | 156 | .watch_dir = test_dir, |
| 157 | .project_root = ".", | |
| 157 | 158 | .pattern = cli_parser.options.pattern, |
| 158 | 159 | .recursive = !cli_parser.options.no_recursive, |
| 159 | 160 | .debounce_ms = cli_parser.options.watch_debounce, |
| 160 | 161 | .clear_screen = true, |
| 161 | 162 | .verbose = cli_parser.options.verbose, |
| 163 | .interactive_commands = true, | |
| 162 | 164 | }; |
| 163 | 165 | |
| 164 | 166 | var watcher = lib.TestWatcher.init(allocator, watch_options, &keep_running); |