Cargo Watch Versions Save

Watches over your Cargo project's source.

v8.5.2

4 months ago

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:

  • Fix error when using old cargo watch -- cargo clippy syntax.

v8.5.1

4 months ago

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:

  • Fix error when using new cargo watch clippy with no arguments.

v8.5.0

4 months ago

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.

Announce: https://cohost.org/watchexec/post/4074115-cargo-watch-8-5-0

In this release:

  • New -x-less syntax for select cargo subcommands, e.g. cargo watch clippy (#297)
  • Add hint to bash completion for -x (#296 by @pseyfert)

v8.4.1

8 months ago

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:

  • Ignore rustc-ice-* logs by default (#277)

v8.4.0

1 year ago

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:

  • Fix a critical bug where signals sent to commands (including the ones cargo watch would send!) would not be handled due to Rust 1.66 changing its behaviour. (#249, #247)

Other changes:

  • Allow --use-shell=none when using a trailing command (not with -x or -s). Note that this requires the trailing command not be quoted in full.
  • Add --no-process-group to disable using a process group for the command.
  • Fix malformed output on Windows. (#244)

Future changes:

  • Intent to remove: checksums and signatures (#238)
  • Intent to remove: RPM and DEB packages (#238)

Comment on the issue above if this would affect you!

v8.3.0

1 year ago
  • Add --env-file option to read environment variables from file, like a .env. Note that .env files are not automatically loaded, you do need to provide the option. (#235, #236)
  • Add -L, -E, --env-var to manpage and completions file. (#236)

v8.2.2

1 year ago
  • Fix Linux GNU builds for older debians (#234)

v8.2.1

1 year ago
  • Fix the top-level workspace directory not getting watched when it's a virtual workspace. (#226)

v8.2.0

1 year ago

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)

v8.1.2

2 years ago

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:

  • Add packaging status to readme (#185 by @kpcyrd)
  • Update deps (#190 by @piggynl)

This release was missing from crates.io until 2022-07-08.