diff --git a/build.rs b/build.rs index c6b286b..1806978 100644 --- a/build.rs +++ b/build.rs @@ -24,6 +24,7 @@ fn main() { .cc_builder(|cc| { cc.include("cpp"); cc.file("cpp/helpers.cpp"); + println!("cargo:rerun-if-changed=cpp/helpers.cpp"); }) .file("src/renderer.rs") .qobject_header("cpp/helpers.h")