From d4a3889e00759ffbb491b1e62ddaf83c7ed369fc Mon Sep 17 00:00:00 2001 From: Liam <33645555+lj3954@users.noreply.github.com> Date: Sat, 10 Aug 2024 19:55:36 -0700 Subject: [PATCH] fix: Rebuild program upon any changes to command directory --- build.rs | 4 ++++ 1 file changed, 4 insertions(+) create mode 100644 build.rs diff --git a/build.rs b/build.rs new file mode 100644 index 00000000..dc9c06dd --- /dev/null +++ b/build.rs @@ -0,0 +1,4 @@ +fn main() { + // Rebuild program if any file in commands directory changes. + println!("cargo:rerun-if-changed=src/commands"); +}