Make site rebuild blocking
This commit is contained in:
parent
6721e2a962
commit
6ff1736271
1 changed files with 1 additions and 1 deletions
|
@ -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…
Add table
Reference in a new issue