cargo-watch icon indicating copy to clipboard operation
cargo-watch copied to clipboard

Is there an option to re-run ONLY if a file content is changed?

Open frederikhors opened this issue 2 years ago • 1 comments

Why if I save the file with no changes at all it re-runs?

Is there an option to re-run ONLY if a file content is changed?

frederikhors avatar Jun 17 '23 17:06 frederikhors

Because when you save a file it's still a write.

For now, use https://github.com/kurtbuilds/checkexec

In the future, there may be a native option to do this.

passcod avatar Jun 19 '23 02:06 passcod