Skip to content

Releases: watchexec/cargo-watch

v8.5.2

05 Jan 03:58
v8.5.2
f931767
Compare
Choose a tag to compare

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

04 Jan 07:54
v8.5.1
f8298c5
Compare
Choose a tag to compare

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

04 Jan 06:58
v8.5.0
881e116
Compare
Choose a tag to compare

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

30 Aug 05:44
v8.4.1
0a85f5f
Compare
Choose a tag to compare

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

13 Feb 03:43
v8.4.0
d9570fe
Compare
Choose a tag to compare

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:

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

11 Jan 14:21
v8.3.0
86f5e5e
Compare
Choose a tag to compare
  • 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

11 Jan 01:33
v8.2.2
d4c55a8
Compare
Choose a tag to compare
  • Fix Linux GNU builds for older debians (#234)

v8.2.1

29 Dec 21:32
v8.2.1
7fb37e5
Compare
Choose a tag to compare
  • Fix the top-level workspace directory not getting watched when it's a virtual workspace. (#226)

v8.2.0

29 Dec 09:52
v8.2.0
da5a9ce
Compare
Choose a tag to compare

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

16 Nov 06:36
v8.1.2
Compare
Choose a tag to compare

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:

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