Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

For a minimal compile-on-save, you can just use: coffee -wc media/js/page.js media/js/page.coffee

It's not suitable for large projects, but it is good enough for single file compilation.

See here for more options: http://coffeescript.org/#usage



Give it a directory instead of a file and it will automatically compile any .coffee files in that tree.


That's a good point!




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: