diff --git a/build.rs b/build.rs index 7d78a7f2..05cbe8d4 100644 --- a/build.rs +++ b/build.rs @@ -26,10 +26,7 @@ fn main() { // Clear Default Plugins and Layouts for entry in WalkDir::new("assets/") { let entry = entry.unwrap(); - let ext = entry.path().extension(); - if ext.is_some() && ext.unwrap() == "rs" { - println!("cargo:rerun-if-changed={}", entry.path().to_string_lossy()); - } + println!("cargo:rerun-if-changed={}", entry.path().to_string_lossy()); } let project_dirs = ProjectDirs::from("org", "Zellij Contributors", "Zellij").unwrap();