]> git.lizzy.rs Git - rust.git/commitdiff
Log flycheck command
authorAleksey Kladov <aleksey.kladov@gmail.com>
Wed, 1 Jul 2020 12:49:13 +0000 (14:49 +0200)
committerAleksey Kladov <aleksey.kladov@gmail.com>
Wed, 1 Jul 2020 12:49:13 +0000 (14:49 +0200)
crates/flycheck/src/lib.rs

index 1023d3040f99d626ff430c9a51290f88175af586..844b093d46580e45beb2af1ce140f964ffdb4646 100644 (file)
@@ -132,6 +132,7 @@ fn run(mut self, inbox: Receiver<Restart>) {
                     self.cancel_check_process();
 
                     let mut command = self.check_command();
+                    log::info!("restart flycheck {:?}", command);
                     command.stdout(Stdio::piped()).stderr(Stdio::null()).stdin(Stdio::null());
                     if let Ok(child) = command.spawn().map(JodChild) {
                         self.cargo_handle = Some(CargoHandle::spawn(child));