fix: display log
This commit is contained in:
1 parent
5d9a58b0fa
commit
efe956a1bf
1 file changed
+2
-1
@@ -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()?;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in new issue
Block a user