Skip to content

Instantly share code, notes, and snippets.

@zachrose
Created September 1, 2014 00:20
Show Gist options
  • Save zachrose/1332d95305503f268ede to your computer and use it in GitHub Desktop.
Save zachrose/1332d95305503f268ede to your computer and use it in GitHub Desktop.
Crash tolerant gulp watch on OS X
until (./node_modules/.bin/gulp watch);
do osascript -e 'display notification "Something broke." with title "Gulp"' >&2;
sleep 1;
done
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment