I\'d like to play around with integrating coffeescript into my dev process. But as I see it, I\'ll have to make a bat file that iterates a set of coffee files and spits out js f
Here is the best way to do it: Say your work is in "my-project-path" folder.
coffee -o my-project-path -cw my-project-path
This line will watch and compile anything name as "*.coffee" in "my-project-path" folder, even if it is in "my-project-path/scripts/core" or "my-project-path/test/core".The js file will locate in the save folder as the .coffee file.
Personally, I prefer using build tools like grunt.js / yeoman or brunch for that purpose.
grunt.js & grunt coffee
I think there is a simplier way just using -w option of coffeescript compiler
coffee -c -w *.coffee
This will compile all coffee files under the folder you are (put more file pathes if needed) each time you change one.