fix: display log

This commit is contained in:
mrxiaozhuox committed 2022-01-27 23:56:44 +08:00
1 parent 5d9a58b0fa
commit efe956a1bf
1 file changed
+2 -1
+2 -1
View File
@@ -1,5 +1,5 @@
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;
/// Run the WASM project on dev-server
@@ -44,6 +44,7 @@ impl Serve {
.unwrap()
.to_string(),
)
.stdout(Stdio::inherit())
.output()?;
}
}