   styles = gulp
     .src paths.styles.source
     .pipe(stylus({set: ['include css']}))
+    .on 'error', handleError
     .pipe prefix 'last 2 versions', 'Chrome 34', 'Firefox 28', 'iOS 7'
 
   styles = styles.pipe(CSSmin()) if production


  bundle.on 'update', ->
    build = bundle.bundle(debug: not production)
      .pipe source paths.scripts.filename

    build

  gulp
    .src paths.templates.source
    .pipe(jade(pretty: not production))
    .on 'error', handleError
    .pipe gulp.dest paths.templates.destination
    .pipe livereload(reloadServer)

