pub fn run_with(
dir: &Path,
dry_run: bool,
emit: &mut dyn FnMut(&str),
) -> Result<(), String>Expand description
Run a project’s recipe, handing each piece of transcript to emit as it
arrives. run is this function with a collector, and the editor link uses
it to stream a build’s output instead of waiting for the last step.