Skip to content
Permalink
Browse files

feat(plumber): add the plumber to the lang compilers so the watch doe…

…sn't break on an error
  • Loading branch information
jyounce committed Jun 11, 2015
1 parent f394c57 commit 722750df7be61a229a912974a7eba328463c3cde
Showing with 7 additions and 0 deletions.
  1. +1 −0 package.json
  2. +2 −0 tasks/compile/coffee.coffee
  3. +2 −0 tasks/compile/es6.coffee
  4. +2 −0 tasks/compile/less.coffee
@@ -43,6 +43,7 @@
"gulp-minify-css": "~1.1.6",
"gulp-minify-html": "~1.0.3",
"gulp-nodemon": "~2.0.3",
"gulp-plumber": "~1.0.1",
"gulp-rename": "~1.2.2",
"gulp-sequence": "~0.3.2",
"gulp-template": "~3.0.0",
@@ -1,12 +1,14 @@
module.exports = (gulp, config, watchFile={}) ->
q = require 'q'
coffee = require 'gulp-coffee'
plumber = require 'gulp-plumber'
tasks = require("#{config.req.helpers}/tasks")()
forWatchFile = !!watchFile.path

runTask = (src, dest) ->
defer = q.defer()
gulp.src src
.pipe plumber()
.pipe coffee bare: true
.pipe gulp.dest dest
.on 'end', ->
@@ -1,12 +1,14 @@
module.exports = (gulp, config, watchFile={}) ->
q = require 'q'
babel = require 'gulp-babel'
plumber = require 'gulp-plumber'
tasks = require("#{config.req.helpers}/tasks")()
forWatchFile = !!watchFile.path

runTask = (src, dest) ->
defer = q.defer()
gulp.src src
.pipe plumber()
.pipe babel()
.pipe gulp.dest dest
.on 'end', ->
@@ -1,12 +1,14 @@
module.exports = (gulp, config, watchFile={}) ->
q = require 'q'
less = require 'gulp-less'
plumber = require 'gulp-plumber'
tasks = require("#{config.req.helpers}/tasks")()
forWatchFile = !!watchFile.path

runTask = (src, dest) ->
defer = q.defer()
gulp.src src
.pipe plumber()
.pipe less()
.pipe gulp.dest dest
.on 'end', ->

0 comments on commit 722750d

Please sign in to comment.
You can’t perform that action at this time.