Skip to content

Instantly share code, notes, and snippets.

@joshholt
Forked from techyak/Compass Watch
Created November 9, 2011 03:41
Show Gist options
  • Save joshholt/1350269 to your computer and use it in GitHub Desktop.
Save joshholt/1350269 to your computer and use it in GitHub Desktop.
the alias that I'm using to watch node.js/coffeescript/compass at the same time
function nodewatch() {
find . | grep coffee$ | xargs coffee -cwl &
if [ $1 ]
then
nodemon $1.js &
else
nodemon app.js &
fi
compass watch public/ &
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment