change gulp watch syntax since gulp.run is deprecated

This commit is contained in:
Riku Rouvila
2014-02-19 14:22:16 +02:00
parent 16a873b42b
commit d71e3e6adb

View File

@@ -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"