Created
August 11, 2014 16:16
-
-
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.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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