pub fn rerun_if_changed(path: impl AsRef<Path>)
Call from build.rs to trigger a rebuild whenever the file at path changes.
build.rs
path
This requires the file to exist, which may or may not be what you want!