Skip to content

Instantly share code, notes, and snippets.

@M1ke
Created August 11, 2014 16:16
Show Gist options
  • Save M1ke/da9dd15ebac9ba485208 to your computer and use it in GitHub Desktop.
Save M1ke/da9dd15ebac9ba485208 to your computer and use it in GitHub Desktop.
A quick way to get a beep as part of a build process in gulpjs.
function beep(){
var exec = require('child_process').exec;
exec('canberra-gtk-play --file=/usr/share/sounds/gnome/default/alerts/glass.ogg');
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment