Log flycheck command

This commit is contained in:
Aleksey Kladov 2020-07-01 14:49:13 +02:00
parent ec8b4dca02
commit 18ec1ed72e

View file

@ -132,6 +132,7 @@ impl FlycheckActor {
self.cancel_check_process(); self.cancel_check_process();
let mut command = self.check_command(); let mut command = self.check_command();
log::info!("restart flycheck {:?}", command);
command.stdout(Stdio::piped()).stderr(Stdio::null()).stdin(Stdio::null()); command.stdout(Stdio::piped()).stderr(Stdio::null()).stdin(Stdio::null());
if let Ok(child) = command.spawn().map(JodChild) { if let Ok(child) = command.spawn().map(JodChild) {
self.cargo_handle = Some(CargoHandle::spawn(child)); self.cargo_handle = Some(CargoHandle::spawn(child));