The logo has been designed by Peter Varo.
The best place to chat about bacon, to talk about features or bugs, is the Miaou chat.
We use GitHub's issue manager.
Before posting a new issue, check your problem hasn't already been raised and in case of doubt please come first discuss it on the chat.
What does it exactly do ?
Bacon watches the content of your source directories and launches
cargo check or other commands on changes.
Watching and computations are done on background threads to prevent any blocking.
The screen isn't cleaned until the compilation is finished to prevent useful information from being replaced by the lines of an unfinished computation.
Errors are displayed before warnings because you usually want to fix them first.
Rendering is adapted to the dimensions of the terminal to ensure you get a proper usable report. And bacon manages rewrapping on resize.
Several bacon in parallel ?
It's perfectly OK and can be useful to check several compilation targets.
Similarly you don't have to stop bacon when you want to use cargo to build the application, or when you're just working on something else. You may have a dozen bacon running without problem.
Bacon is efficient and doesn't work when there's no notification.
It works on all decent terminals on Linux, Max OSX and Windows.
Vim & Neovim support
(Neo)Vim is perfectly supported but you may have had a problem, depending on your installation, with bacon sometimes not recomputing on file changes.
The default write strategy of vim makes successive savings of the same file not always detectable by inotify.
A solution is to add this to your init.vim file:
This doesn't prevent vim from keeping copies during editions, it just changes the behavior of the write operation and has no practical downside.
Bacon is licenced under AGPL-3.0. You're free to use it to compile the Rust projects of your choice, even commercial.
The logo is licensed under a Creative Commons Attribution-ShareAlike 4.0 International License.
Why "bacon" ?
- It's a background conpiler.
- It comes from France and, as you know, France is bacon.