From d71e3e6adb1b275d3cb9e6e7f9512c77a3309209 Mon Sep 17 00:00:00 2001 From: Riku Rouvila Date: Wed, 19 Feb 2014 14:22:16 +0200 Subject: [PATCH] change gulp watch syntax since gulp.run is deprecated --- gulpfile.coffee | 11 +++-------- 1 file changed, 3 insertions(+), 8 deletions(-) diff --git a/gulpfile.coffee b/gulpfile.coffee index ac5939f..42c77c4 100644 --- a/gulpfile.coffee +++ b/gulpfile.coffee @@ -73,14 +73,9 @@ gulp.task "watch", -> reloadServer.listen 35729, (err) -> console.error err if err? - gulp.watch "src/coffee/*.coffee", -> - gulp.run "coffee" - - gulp.watch "src/jade/*.jade", -> - gulp.run "jade" - - gulp.watch "src/stylus/*.styl", -> - gulp.run "stylus" + gulp.watch "src/coffee/*.coffee", ["coffee"] + gulp.watch "src/jade/*.jade", ["jade"] + gulp.watch "src/stylus/*.styl", ["stylus"] gulp.task "build", -> gulp.run "coffee-production", "jade-production", "stylus-production"