- run build script when CSS file is changed

- typeset posts document
This commit is contained in:
realaravinth
2021-11-02 12:00:32 +05:30
parent 847afe1bdd
commit e05687262f
2 changed files with 42 additions and 2 deletions

View File

@@ -23,5 +23,5 @@ fn main() {
.expect("error in git command, is git installed?");
let git_hash = String::from_utf8(output.stdout).unwrap();
println!("cargo:rustc-env=GIT_HASH={}", git_hash);
println!("cargo:rerun-if-changed=src/schema2.graphql");
println!("cargo:rerun-if-changed=src/schema2.graphql,templates/main.css");
}