fix: typo

This commit is contained in:
YuKun Liu committed 2022-07-09 22:37:06 +08:00
1 parent 9731588e2d
commit 6cefdcc0cf
2 files changed
+8 -4

No files matched your search

+1 -1
View File
@@ -339,7 +339,7 @@ fn prettier_build(mut cmd: Command) -> anyhow::Result<Vec<Diagnostic>> {
.unwrap() .unwrap()
.tick_chars("/|\\- "), .tick_chars("/|\\- "),
); );
pb.set_message("💼 Waiting to strart build the project..."); pb.set_message("💼 Waiting to start build the project...");
let mut command = cmd.spawn()?; let mut command = cmd.spawn()?;
let reader = std::io::BufReader::new(command.stdout.take().unwrap()); let reader = std::io::BufReader::new(command.stdout.take().unwrap());
+7 -3
View File
@@ -460,9 +460,13 @@ fn print_console_info(port: u16, config: &CrateConfig, options: PrettierOptions)
} else { } else {
println!( println!(
"Project Reloaded: {}\n", "Project Reloaded: {}\n",
format!("Changed {} files.", options.changed.len()) format!(
.purple() "Changed {} files. [{}]",
.bold() options.changed.len(),
chrono::Local::now().format("%H:%M:%S").to_string().dimmed()
)
.purple()
.bold()
); );
} }
println!( println!(