shlogg · Early preview
Krzysztof Platis @krisplatis

Sound Notifications For Long-Running Scripts In Background

Sound notifications for long-running scripts can boost productivity and reduce frustration. Use 'say' command on MacOS or equivalent commands on other OSes to get notified when build succeeds or fails.

Never again miss the moment when your long-lasting script in the background completes, thanks to sound notifications! While the script is running, you can safely switch to an other task 🧑‍💻 or take a break ☕️, being sure you won’t forget to check script’s results at the right time.

  
  
  Speech-synthesized message


$ npm build && say „Build succeeded!” || say „Build failed!”

    
    

    
    




On MacOS you can use the command ‘say’ for the speech synthesis via the CLI. With the help of operators && and || you can set a different message for a build success and failure.
Note: ther...