Hacker News new | ask | show | jobs
by xsltuser2010 5575 days ago
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.

2 comments

Oh, i forgot: You can add the --watch switch and get your scripts compiled on save.
I'll try that. Thanks!