Keyboard shortcuts

Press or to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

Cargo Watch 8.2.0

Release notes

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)

Packages

OS Arch Variant Download
Linux AArch64 glibc DEB (1.4 MB)
RPM (1.6 MB)
XZ (1.4 MB)
ARMv7 HF glibc DEB (1.5 MB)
RPM (1.7 MB)
XZ (1.5 MB)
x86-64 glibc DEB (1.1 MB)
RPM (1.2 MB)
XZ (1.1 MB)
musl DEB (1.2 MB)
RPM (1.3 MB)
XZ (1.2 MB)
Windows AArch64 MSVC Zip (781 KB)
x86-64 MSVC Zip (855 KB)
macOS AArch64 XZ (582 KB)
x86-64 XZ (694 KB)

View release on GitHub.

Checksums

BLAKE3 checksums Automated signature (key)
SHA512 checksums Automated signature (key)

version released on 2022-12-29 | this page built on 2026-03-30 at 18:19 | generator v0.0.2 | json metadata