    gulp.start "browserify-dev", "browserify-test", "concat"
 
    gulp.src "#{test}/html/index.html"
-      .pipe plumber()
+      .pipe handleError()
       .pipe mochaPhantom()
 
 


gulp.task "browserify-test", ->
   gulp.src "#{test}/spec-runner.coffee", read: false
      .pipe plumber()
      .pipe browserify
         transform:  ["handleify", "coffeeify"]
         extensions: [".coffee", ".js"]

port = 3000


# Direct errors to notification center
handleError = ->
   plumber errorHandler: notify.onError "Error: <%= error.message %>"



#--------------------------------------------------------
