2 ms·
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 f
by joshuacc 14y ago
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 http://coffeescript.org/#usage
- tiglionabbit 14y agoGive it a directory instead of a file and it will automatically compile any .coffee files in that tree.
- joshuacc 14y agoThat's a good point!