Currently, I'm running my app like this coffee app.coffee
but I wonder if it would be a better choice to compile it to javascript and then run it like this node app.js
.
Thanks
Currently, I'm running my app like this coffee app.coffee
but I wonder if it would be a better choice to compile it to javascript and then run it like this node app.js
.
Thanks
Running your app through the coffee
command is fine, as your code is initially converted to JavaScript before being passed to Node. It's important to note that this happens up-front, and none of this parsing happens during runtime.