3 ms·
do you need to preprocess the coffescript somehow before node runs it, or will node run it directly?
by nolite 16y ago
do you need to preprocess the coffescript somehow before node runs it, or will node run it directly?
- marcomonteiro 16y agoYou have to compile it. http://jashkenas.github.com/coffee-script/ http://jashkenas.github.com/coffee-script/
- nonames 16y agoNot necessarily. The distributed `coffee` script will automatically compile before running the script. Plus it shows you coffeescript-friendly tracebacks on error.
- marcomonteiro 16y agoWhether I manually compile it or it's automatically compiled it still has to be compiled which was the question I was responding to. Which is to say Node.js will not run CoffeeScript directly.