Dev Sounds — Test, Build & Git Sound Alerts
Hear your code. Plays distinct sounds when tests pass/fail, builds complete, git push/pull finishes, or long commands end.
Zero config. Just install and code.
Features
- Test sounds — Jest, Vitest, Mocha, pytest, Go test, Cargo test
- Build sounds — Webpack, Vite, Next.js, tsc, any VS Code task
- Git sounds — push and pull detection via Git extension API
- Long command alert — plays when commands take longer than 10s (configurable)
- Mute when focused — only hear sounds when VS Code is in the background
- Custom sounds — drop your own files, map via settings
- Per-category toggle — enable/disable test, build, git, command sounds independently
- Status bar toggle — one-click mute/unmute
Getting Started
- Install from VS Code Marketplace
- That's it. Sounds play automatically.
Optional: Enable Real-Time Detection
For the best experience (real-time terminal output matching), run:
Ctrl+Shift+P → "Dev Sounds: Enable Real-Time Terminal Detection"
This is a one-time setup that enables the proposed terminal data API.
Settings
| Setting |
Default |
Description |
devSounds.enable |
true |
Master on/off |
devSounds.enableTestSounds |
true |
Test pass/fail sounds |
devSounds.enableBuildSounds |
true |
Build success/fail sounds |
devSounds.enableGitSounds |
true |
Git push/pull sounds |
devSounds.enableCommandDone |
true |
Long command completion sound |
devSounds.volume |
100 |
Volume (0-100) |
devSounds.durationThreshold |
10 |
Seconds before "command done" plays |
devSounds.muteWhenFocused |
false |
Mute when editor is focused |
devSounds.cooldown |
2000 |
Cooldown between sounds (ms) |
devSounds.customSounds |
{} |
Custom sound paths per event |
Custom Sounds
{
"devSounds.customSounds": {
"testPass": "/path/to/my-success.mp3",
"testFail": "/path/to/my-fail.wav"
}
}
Keys: testPass, testFail, buildSuccess, buildFail, gitPush, gitPull, commandDone
Commands
| Command |
Description |
| Dev Sounds: Toggle On/Off |
Mute/unmute all sounds |
| Dev Sounds: Preview All Sounds |
Play all 7 sounds to test them |
| Dev Sounds: Enable Real-Time Terminal Detection |
One-time setup for proposed API |
How It Works
- Terminal watcher buffers terminal output, matches against patterns for test runners and build tools
- Git watcher monitors the VS Code Git extension's ahead/behind counts to detect push/pull
- Task watcher listens to VS Code task process completions
- Command timer tracks how long terminal commands take, plays a sound if they exceed the threshold
All detection is local and lightweight — no network calls, no telemetry.
License
MIT