title: Gulp - Changing error text color in Terminal with chalk
body: <p>Here's my <strong>gulpfile.js</strong></p>
  
  <pre><code>var gulp  = require('gulp');
  var sass  = require('gulp-ruby-sass');
  var chalk = require('chalk');
  
  gulp.task('sass', function() {
      return sass('assets/scss/*.scss')
      .on('error', sass.logError)
      .pipe(gulp.dest('assets/css'))
  });
  </code></pre>
  
  <p>The error logging works, for example if I set an undefined variable in my Sass the terminal will show:</p>
  
  <pre><code>[13:31:23] Using gulpfile ~/Development/test/gulpfile.js
  [13:31:23] Starting 'sass'...
  [13:31:23] error assets/scss/style.scss (Line 3: Undefined variable: "$red".)
  [13:31:23] Finished 'sass' after 248 ms
  </code></pre>
  
  <p>I have included <a href="https://www.npmjs.com/package/chalk" rel="nofollow">chalk</a> as I would like to change the color of the error in Terminal, but how would I go about doing that? I have tried:</p>
  
  <pre><code>.on('error', chalk.red(sass.logError))
  </code></pre>
  
  <p>But that doesn't work. Please help!</p>