oliverdavies.uk/gulp/watch.coffee

6 lines
193 B
CoffeeScript

gulp.task 'watch', ->
plugins.refresh.listen()
gulp.watch config.sass.sourceDir + config.sass.pattern, ['styles']
gulp.watch config.js.sourceDir + config.sass.pattern, ['scripts']