diff --git a/build.rs b/build.rs index 58c5e7b..d56d0a5 100644 --- a/build.rs +++ b/build.rs @@ -65,8 +65,7 @@ fn font_stripper(from: &str, out: &str, unicodes: Vec) -> Result, } fn main() { - // rebuild if new commit or contents of `assets` folder changed - println!("cargo:rerun-if-changed=.git/logs/HEAD"); + // rebuild if contents of `assets` folder changed println!("cargo:rerun-if-changed=assets/*"); let mut main_chars: Vec =