3 ms·
I use a watchr ruby script to keep the js constantly compiled. It is publically avaible on github (the project is https://github.com/danielribeiro/EaselBugTrack
by DanielRibeiro 16y ago
I use a watchr ruby script to keep the js constantly compiled. It is publically avaible on github (the project is https://github.com/danielribeiro/EaselBugTracker https://github.com/danielribeiro/EaselBugTracker). Look into the Rakefile, coffeecompiler.rb and compileall.rb
Using on the browser is a possibility, but it is experimental (and experimental on a experimental language can get really crazy). But coffeescript is rapidly moving from a experimental language to a more stabilished one.
And if you are using Continuous deployment, the compiler step can be used only explicitely on the deployment fase, while keeping the js compiler on the browser only. I however find usefull seeing the compiled js even when developing (the emacs mode for coffeescript also helps a lot here), as chrome and other browsers still only debugs js (there is some work in allowing it to debug compiled languages).