Releases: watchexec/cargo-watch
v8.5.2
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
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
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:
v8.4.1
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
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:
Comment on the issue above if this would affect you!
v8.3.0
v8.2.2
v8.2.1
v8.2.0
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
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.