Is there anyway to easily compile CoffeeScript on save? I\'m using TextMate or Sublime Text 2.
Well coffee --watch has 2 major flaws:
git commit itThe solution I came up with is a rather simple Bash script that takes coffee --watch a few steps further which will allow your working directory tree to be watched ever since system login, and automatically get compiled into JavaScript on each file save/change
or new file creation:
http://blog.gantrithor.com/post/11609373640/carefree-coffeescript-auto-compiler
There may be more elegant way to do this, but this implementation works great =)