oliverdavies.uk/gulp/watch.coffee

6 lines
170 B
CoffeeScript

gulp = require 'gulp'
gulp.task 'watch', ->
gulp.watch gulp.config.sassPattern, ['styles']
gulp.watch gulp.config.assetsDir + gulp.config.jsPattern, ['scripts']