|
@@ -1,5 +1,5 @@
|
|
use crate::{cfg::ConfigOptsServe, gen_page, server, CrateConfig};
|
|
use crate::{cfg::ConfigOptsServe, gen_page, server, CrateConfig};
|
|
-use std::{io::Write, path::PathBuf, process::Command};
|
|
|
|
|
|
+use std::{io::Write, path::PathBuf, process::{Command, Stdio}};
|
|
use structopt::StructOpt;
|
|
use structopt::StructOpt;
|
|
|
|
|
|
/// Run the WASM project on dev-server
|
|
/// Run the WASM project on dev-server
|
|
@@ -44,6 +44,7 @@ impl Serve {
|
|
.unwrap()
|
|
.unwrap()
|
|
.to_string(),
|
|
.to_string(),
|
|
)
|
|
)
|
|
|
|
+ .stdout(Stdio::inherit())
|
|
.output()?;
|
|
.output()?;
|
|
}
|
|
}
|
|
}
|
|
}
|