0

I am developping an html5 project with custom scripts. Actually I am using CoffeeScript because I like its syntax more thent JS. I am also using underscore templates defined like <script type="text/template" id="manager-template"> I am using WebStorm as IDE.

Is there any easy way I can

  1. Have CoffeeScript classes in separate files but I want them to be compiled into a single js file
  2. Have templates in separate files but I want them to be compoled into single index.htlm file

Preferably to have this "on fly" in WebStorm

Solvek
  • 5,158
  • 5
  • 41
  • 64
  • see http://stackoverflow.com/questions/4575260/join-multiple-coffeescript-files-into-one-file-multiple-subdirectories for possible solutions for .coffee – lena May 30 '14 at 14:46
  • note that you can configure any tool/shell script as a file watcher in WebStorm to watch your files and transpile data on-the-fly – lena May 30 '14 at 14:47

0 Answers0