Make site rebuild blocking

late-submissions
Elnu 2 years ago
parent 6721e2a962
commit 6ff1736271

@ -108,7 +108,7 @@ pub fn to_fullwidth(string: &str) -> String {
pub fn rebuild_site() {
Command::new("./build.sh")
.current_dir(get_hugo_path())
.spawn()
.status()
.expect("Failed to rebuild site");
}

Loading…
Cancel
Save