[nodejs] how to run servers in coffeescript

2012-06-10 Thread Angelo Chen
Hi, i use forever to run a js, cpu usage is very low, less than 2%, same program in coffeescript and run it this way: forever start test.coffee cpu went up to 15% what is a better way to run coffeescript server, compiled first into js or directly : coffee app.coffee -- Job Board:

Re: [nodejs] how to run servers in coffeescript

2012-06-10 Thread Yi Tan
compile coffee first into js #!/bin/bash mkdir -p lib/ coffee -o lib/ -cw src/ Regards, ty 2012/6/10 Angelo Chen angelochen...@gmail.com: Hi, i use forever to run a js, cpu usage is very low, less than 2%, same program in coffeescript and run it this way: forever start test.coffee