diff --git a/build.rs b/build.rs index ec8cd7d..8844633 100644 --- a/build.rs +++ b/build.rs @@ -39,6 +39,7 @@ fn main() { "resources/audrey.gresource.xml", "audrey.gresource", ); + println!("cargo::rerun-if-changed=resources/audrey.gresource.xml"); // TODO: consider using meson to pass include paths println!("cargo::rustc-link-lib=mpv"); @@ -50,4 +51,5 @@ fn main() { bindings .write_to_file(out_path.join("mpv_ffi.rs")) .expect("could not write mpv bindings"); + println!("cargo::rerun-if-changed=src/mpv/wrapper.h"); }