🚨 Error Alert RunnerError Alert Runner is a lightweight Visual Studio Code extension that plays an audio alert whenever a task finishes, based on its exit code. It helps you instantly know whether a task failed or succeeded without constantly watching the terminal. ❌ Plays a sound when a task fails ✨ Features
🛠 How It WorksThe extension listens to VS Code task executions in the background. When a task completes, it checks the exit code returned by the process. If the exit code is not zero, an error sound is played. If the exit code is zero, a success sound is played depending on your configuration. The behavior is independent of programming language and works with any task defined in ⚙️ ConfigurationOpen VS Code Settings and search for Error Alert Runner. Error Sound ModeSetting:
Custom Error Sound PathSetting: Success Sound ModeSetting:
Custom Success Sound PathSetting: 🎮 CommandsOpen the Command Palette (
These commands allow quick selection of custom sound files without manually editing settings. 💻 Terminal CompatibilityError Alert Runner works seamlessly with:
The extension relies on task exit codes, not terminal type. 🧪 Example UsageRun any task, for example:
If the task fails, an error sound is played. 🧩 Development Setup
📦 Packaging the ExtensionInstall the VS Code Extension Manager:
Create the VSIX package:
🎯 Why Error Alert Runner?Because repeatedly checking the terminal is distracting. Error Alert Runner notifies you instantly so you can focus on your workflow while your tasks run in the background. 👨💻 AuthorNitesh Kaushik If this extension improves your development experience, consider giving the repository a ⭐ |