(&mut self)
| 582 | } |
| 583 | |
| 584 | fn restart(&mut self) -> Result<(), Box<dyn std::error::Error>> { |
| 585 | self.watcher = None; |
| 586 | self.watcher_tx = None; |
| 587 | self.simulator_windows.clear(); |
| 588 | self.watch(".")?; |
| 589 | self.rebuild(); |
| 590 | Ok(()) |
| 591 | } |
| 592 | |
| 593 | // Add helper method for checking tool installations |
| 594 | fn check_tool(&self, tool: &str, args: &[&str]) -> Result<(), Box<dyn std::error::Error>> { |