Re:CoffeeScript: The beautiful way to write JavaScript
by xsltuser2010 on Wednesday March 09, 2011 @03:52AM
(#2304339)
If you build those simple 1-file-testservers with node, simply write them in coffee and then start them like "coffee myserver.coffee".
If it's more elaborated, you might want to set up some kind of build process and then use the generated js files. You could use a simple Makefile and compile your coffee files with coffee -c -b.
Re:CoffeeScript: The beautiful way to write JavaScript
by xsltuser2010 on Wednesday March 09, 2011 @05:36AM
(#2304508)
Oh, i forgot: You can add the --watch switch and get your scripts compiled on save.
If you dont mind my asking, how would i go about using CoffeeScript with Node?