mirror of
https://github.com/koodiklinikka/koodiklinikka.fi.git
synced 2026-02-24 09:56:23 +00:00
change gulp watch syntax since gulp.run is deprecated
This commit is contained in:
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user