diff --git a/src-tauri/build.rs b/src-tauri/build.rs index d860e1e..1632868 100644 --- a/src-tauri/build.rs +++ b/src-tauri/build.rs @@ -1,3 +1,6 @@ fn main() { + // tauri-build only watches tauri.conf.json and capabilities/; without this an incremental build keeps the old + // icon in the exe resource and the window icon after the files in icons/ change. + println!("cargo:rerun-if-changed=icons"); tauri_build::build() }