Skip to content

Instantly share code, notes, and snippets.

@akidee
Created April 16, 2011 21:28
Show Gist options
  • Save akidee/923518 to your computer and use it in GitHub Desktop.
Save akidee/923518 to your computer and use it in GitHub Desktop.
CoffeeScript watcher - should be placed in / of your module, will make coffee observe /src recusively and compile into /lib
#!/bin/sh
dir=$(dirname $(readlink -f $0))
rm -rf ${dir}/lib
coffee -b -wco ${dir}/lib ${dir}/src &
exit
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment