Merge pull request #19 from cheapsteak/master

gulp-notify, yay or nay?
This commit is contained in:
Riku Rouvila
2015-05-01 16:06:22 +03:00
2 changed files with 5 additions and 0 deletions

View File

@@ -7,6 +7,7 @@ filter = require 'gulp-filter'
gulp = require 'gulp'
gutil = require 'gulp-util'
jade = require 'gulp-jade'
notify = require 'gulp-notify'
path = require 'path'
prefix = require 'gulp-autoprefixer'
prettyTime = require 'pretty-hrtime'
@@ -41,6 +42,9 @@ config =
handleError = (err) ->
gutil.log err
gutil.beep()
notify
.onError title: 'Compile Error', message: '<%= error.message %>'
.apply this, Array::slice.call(arguments)
this.emit 'end'
gulp.task 'scripts', ->

View File

@@ -32,6 +32,7 @@
"gulp-filter": "^2.0.2",
"gulp-jade": "~0.9.0",
"gulp-minify-css": "~0.3.5",
"gulp-notify": "^2.2.0",
"gulp-sourcemaps": "^1.3.0",
"gulp-streamify": "0.0.5",
"gulp-stylus": "~2.0.0",