coffeescriptaptana

Aptana 3 auto compile coffeescript?


Using Aptana3, is it possible to auto compile the .coffee files when I save them or when I run the project, with some specifics rules (like where the output should go, if I can compress files into one, etc) ?


Solution

  • You can use -cw flag with coffee in console for example:

    coffee -cw file.coffee
    

    this will watch file file.coffee for changes and compile it. You can use more options just run

    coffee --help
    

    comand for more info.