Releases: watchexec/cargo-watch
v8.5.3
This is the final release of Cargo Watch.
Cargo Watch is now dormant: it will not receive further updates, but does remain available.
I (@passcod) currently have very little time to dedicate to unpaid OSS. There is a significant amount of work I deem required to get Watchexec (the library) to a good-enough state to bring its improvements to Cargo Watch, and that has been the case for years without a realistic end in sight. I have had dwindling motivation in the face of having spent 10 years on or around this project and its dependencies (it was a long while ago, but once upon a time the Notify library was spun off from Cargo Watch!), when at the very start, this tool was only made to clear a quick hurdle that I'd encountered while trying to code other, probably more interesting, yet now long-forgotten Rust adventures.
However, not all is lost, dear users. For almost the entire life of the project, I have had a thought: that someone with more resources, skill, time, and/or the benefit of hindsight would come around and make something better. Granted, I thought this would happen to Notify. But Notify has persisted, has been passed on to live a long life, and instead the contender is Bacon.
I have had no involvement in Bacon. Yet it is everything I have wanted to achieve in Cargo Watch. Indeed some five years ago I started development on a Cargo Watch replacement I called "Overwatch", which would have a TUI, a tasks file, a rich pager, and more long-desired features. That never eventuated, though a lot of the low-level improvements that I wrote in preparation for Overwatch "made it" into Notify version 5 and the Watchexec library version 2.
Bacon today is what I wanted Overwatch to be.
Let's face it: Cargo Watch has gone through too many incremental changes, with too little overarching design. It sports no less than four different syntaxes to run commands. Its lackluster filtering options can be obnoxious to use. Pager support is non-existent, sometimes requiring arcane invocations to get right. It can conflict with Rust Analyzer (which didn't exist 10 years ago!), though that has improved a lot over the years.
It's time to let it go.
Use Bacon.
Remember Cargo Watch.
Watchexec is also available for a similar experience that will continue to be maintained, albeit slowly.
Discuss at https://www.reddit.com/r/rust/comments/1ftc7cj/cargo_watch_is_on_life_support/
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)