| Features | - runs cargo check by default; -x runs other Cargo commands, -s shell commands
- restarts a running command on change (--no-restart to let it finish)
- honours .gitignore and .ignore files, and ignores target/ and .git/
- watches local path dependencies of the crate
- --features passed to every Cargo command
- --clear, --postpone, --poll, --delay debounce and --why to show changed paths
- desktop notification on change (experimental)
- prebuilt binaries, .deb and .rpm packages
| - errors before warnings, first errors first
- jobs for check, clippy, test, nextest, doc and run, switched with one key
- custom jobs and key bindings in bacon.toml and prefs.toml
- f restricts the test job to the failing test
- kill_then_restart strategy and custom kill command for servers
- headless mode without the TUI
- remote control over a socket (listen, bacon --send)
- exports locations for editors: bacon-ls, nvim-bacon, emacs-bacon
- All 11 features
| - uses kqueue(2) or inotify(7), no polling
- reads the list of files to watch from standard input
- -r restarts a long-running process on change
- -d reacts to new files in watched directories
- -c clears the screen, -s runs the command through a shell
- /_ placeholder for the changed file
- custom status messages with awk status filters
- workaround for incomplete inotify on WSL and Docker for Mac
| - event coalescing
- .gitignore support
- restart mode
- process group handling
- changed paths in env/stdin
- filters by extension
|
| Limitations | - Doesn't work outside a Cargo project: its README points to watchexec for anything else
- Doesn't restart an app only after a build succeeds: its README leaves supervising long-running processes to a process manager such as systemd-run or pm2
- Doesn't support Windows 7 or older
| - Doesn't fully support languages other than Rust yet: its docs call the Go, C++, Python, ESLint, TypeScript and Swift analyzers young
| - Can't restart an interactive program: the -r flag can't be used with a task that reads from standard input
| |