diff --git a/node/build.rs b/node/build.rs index 053dfaefd..893913053 100644 --- a/node/build.rs +++ b/node/build.rs @@ -4,5 +4,6 @@ fn main() { generate_cargo_keys(); rerun_if_git_head_changed(); + println!("cargo:rerun-if-changed=src"); subtensor_linting::walk_src(); } diff --git a/runtime/build.rs b/runtime/build.rs index 1200b5c24..15271d2b9 100644 --- a/runtime/build.rs +++ b/runtime/build.rs @@ -17,5 +17,6 @@ fn main() { .build(); } + println!("cargo:rerun-if-changed=src"); subtensor_linting::walk_src(); }