Explorar o código

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

Lucas Fernandes Nogueira %!s(int64=4) %!d(string=hai) anos
pai
achega
9aa64454be
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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);