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()
.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 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 {
println!(
"Project Reloaded: {}\n",
format!("Changed {} files.", options.changed.len())
.purple()
.bold()
format!(
"Changed {} files. [{}]",
options.changed.len(),
chrono::Local::now().format("%H:%M:%S").to_string().dimmed()
)
.purple()
.bold()
);
}
println!(