MCPcopy Index your code
hub / github.com/algoscienceacademy/RustUI / restart

Method restart

src/dev_server.rs:584–591  ·  view source on GitHub ↗
(&mut self)

Source from the content-addressed store, hash-verified

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>> {

Callers 1

runMethod · 0.80

Calls 3

watchMethod · 0.80
rebuildMethod · 0.80
clearMethod · 0.45

Tested by

no test coverage detected