title: Node.js spawn with colors?
body: <p>I'm using Mocha for testing my apps. Currently, I'm using Makefiles, but I want to switch to Cakefiles. When I run my test through Cake, the colors from Mocha are not displayed on console.</p>
  
  <p>Here's an example:</p>
  
  <pre><code>task 'test', 'test project', (options) -&gt;
    fetchTestFiles './test', (err,files) -&gt;
      mocha = spawn 'mocha', files   
      mocha.stdout.pipe(process.stdout, end: false)
  </code></pre>
  
  <p>Now, I tried doing this:</p>
  
  <pre><code>task 'test', 'test project', (options) -&gt;
    fetchTestFiles './test', (err,files) -&gt;
      mocha = spawn 'mocha', files, customFds: [0..2]
  </code></pre>
  
  <p>This works, however the Node.js docs claim that <code>customFds</code> is deprecated. Is there a way to pass through the colors without using <code>customFds</code>?  </p>