Skip to content

v8.2.0

Compare
Choose a tag to compare
@github-actions github-actions released this 29 Dec 09:52
· 58 commits to 8.x since this release
v8.2.0
da5a9ce

Cargo Watch is a tool to watch your Cargo-based project and run commands when files change. It focuses on the Rust development experience and aims to be flexible enough to suit most without becoming complicated to use. Install or upgrade it today with cargo binstall cargo-watch, or cargo install cargo-watch if you don't have Binstall yet.

In this release:

  • Local dependencies are watched even when they fall outside of the current Cargo project. Disable with --skip-local-deps. (#117, #216)
  • -E, --env option to inject environment variables to the commands.
  • -L value is a shorthand for --env RUST_LOG=value.

Other changes:

  • MSRV bumped to 1.60.0.
  • Notifications are enabled on FreeBSD.
  • --clear falls back to a hardcoded escape sequence when a Terminfo database isn't available. (#218)
  • When using a trailing command (eg cargo watch -- command), the [Finished running] message won't be emitted. This is to offer a (temporary) workaround when using a shell that doesn't like the && joining that this message usually uses. See #203.
  • --no-gitignore is renamed to --no-vcs-ignores, but keeps the old name as an alias.
  • --no-ignore is renamed to --no-dot-ignores, for clarity, but keeps the old name as an alias.
  • The Binstall config for Windows has been fixed, and downloads our builds instead of QuickInstall's. (#199)