build.rs: also re-run when theme is changed

master
Peter Cai 2020-04-12 17:31:20 +08:00
parent 2ee88e11b0
commit 1d4ba2a07b
No known key found for this signature in database
GPG Key ID: 71F5FB4E4F3FD54F
1 changed files with 1 additions and 0 deletions

View File

@ -6,6 +6,7 @@ use std::time::*;
fn main() {
println!("cargo:rerun-if-changed=config.json");
println!("cargo:rerun-if-changed=src");
println!("cargo:rerun-if-changed=theme");
println!("cargo:rerun-if-changed=Cargo.toml");
// Load theme name from config.json and output code to load the theme via include_dir!
let config: serde_json::Value =