Reputation: 15141
I want to use coffee
command from smart-compile
in Emacs.
So I need to output converted javascript to standard output. But I couldn't find the command line option for it.
Is there a any way for it?
Upvotes: 0
Views: 85
Reputation: 18375
I didn't exactly understand your workflow, but here an attempt to answer, assuming you are compiling with M-x compile
: in the prompt, enter coffee -p yourFile.coffee
. It will output the compiled JS into the compilation buffer.
coffee -h
-> -p, --print print out the compiled JavaScript
Upvotes: 2