| 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
| - 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
| - .air.toml config, written by air init, or flags for every setting
- custom build command, entrypoint and binary arguments
- include and exclude by directory, extension, file and regex
- watches directories created after it starts
- watch rules that run a command instead of rebuilding
- proxy that reloads the browser after a successful rebuild
- .env file loading before build and run
- per-OS build overrides for Windows, macOS and Linux
- All 11 features
|
| Limitations | - Can't restart an interactive program: the -r flag can't be used with a task that reads from standard input
| | - Doesn't fully support languages other than Rust yet: its docs call the Go, C++, Python, ESLint, TypeScript and Swift analyzers young
| - Doesn't hot-deploy in production: it's a live-reload tool for development only
- Browser reload needs a </body> tag: its proxy serves pages without one unchanged
|