diff --git a/build.rs b/build.rs index 5e040188a0..c374d98662 100644 --- a/build.rs +++ b/build.rs @@ -73,11 +73,9 @@ fn check_file_licenses>(path: P) { // Watch the directories that contain Rust source files println!("cargo:rerun-if-changed=compiler"); - println!("cargo:rerun-if-changed=docs"); println!("cargo:rerun-if-changed=errors"); - println!("cargo:rerun-if-changed=examples"); println!("cargo:rerun-if-changed=leo"); - println!("cargo:rerun-if-changed=tests"); + println!("cargo:rerun-if-changed=tests/test-framework"); println!("cargo:rerun-if-changed=utils"); // Watch the build script itself