aboutsummaryrefslogtreecommitdiff
path: root/crates
diff options
context:
space:
mode:
authorAleksey Kladov <[email protected]>2020-07-01 13:49:13 +0100
committerAleksey Kladov <[email protected]>2020-07-01 13:49:13 +0100
commit18ec1ed72e757dd539cadc80309f54b8ca33dd14 (patch)
tree5269a71a85734c0de11bf82b10c9bcf670affe13 /crates
parentec8b4dca02e454bf110f799b1ae8ebf939c0e233 (diff)
Log flycheck command
Diffstat (limited to 'crates')
-rw-r--r--crates/flycheck/src/lib.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/crates/flycheck/src/lib.rs b/crates/flycheck/src/lib.rs
index 1023d3040..844b093d4 100644
--- a/crates/flycheck/src/lib.rs
+++ b/crates/flycheck/src/lib.rs
@@ -132,6 +132,7 @@ impl FlycheckActor {
132 self.cancel_check_process(); 132 self.cancel_check_process();
133 133
134 let mut command = self.check_command(); 134 let mut command = self.check_command();
135 log::info!("restart flycheck {:?}", command);
135 command.stdout(Stdio::piped()).stderr(Stdio::null()).stdin(Stdio::null()); 136 command.stdout(Stdio::piped()).stderr(Stdio::null()).stdin(Stdio::null());
136 if let Ok(child) = command.spawn().map(JodChild) { 137 if let Ok(child) = command.spawn().map(JodChild) {
137 self.cargo_handle = Some(CargoHandle::spawn(child)); 138 self.cargo_handle = Some(CargoHandle::spawn(child));