Sfoglia il codice sorgente

fix(cli): disable custom-protocol feature on dev command (#1393)

Lucas Fernandes Nogueira 4 anni fa
parent
commit
9aa64454be
1 ha cambiato i file con 1 aggiunte e 1 eliminazioni
  1. 1 1
      cli/core/src/dev.rs

+ 1 - 1
cli/core/src/dev.rs

@@ -153,7 +153,7 @@ impl Dev {
 
   fn start_app(&self, child_wait_rx: Arc<Mutex<Receiver<()>>>) -> Arc<SharedChild> {
     let mut command = Command::new("cargo");
-    command.arg("run");
+    command.args(&["run", "--no-default-features"]);
     let child = SharedChild::spawn(&mut command).expect("failed to run cargo");
     let child_arc = Arc::new(child);