Bacon, sound and ignore

⚓ Rust    📅 2025-07-09    👤 surdeus    👁️ 2      

surdeus

Info

This post is auto-generated from RSS feed The Rust Programming Language Forum - Latest topics. Source: Bacon, sound and ignore

(Not really an editor/IDE question, but this category is the closest I could find).

I recently discovered that bacon support playing sounds on success/failure. However, it triggers rebuilds while switching buffers in vim (vim creates/deletes .*.swp files when opening/closing files), causing notifications to be played just by switching buffer. To solve this there's the ignore keyword in bacon, which is supposed to accept globs to specify what to ignore. I tried adding ignore = ["**/.*.swp"] (to the appropriate job), but this doesn't seem to work.

Anyone know how the ignore keyword is supposed to work? Or is the glob incorrect?

Or is this related to vim? Does it touch (unchanged) files in some way when closing it?

Edit: Found someone who recommended disabling apply_gitignore, but this didn't help.

1 post - 1 participant

Read full topic

🏷️ rust_feed