oliverdavies.uk/gulp/watch.coffee

9 lines
276 B
CoffeeScript
Raw Normal View History

2016-04-12 18:36:43 +00:00
gulp = require 'gulp'
gulp.task 'watch', ->
2016-04-12 21:44:35 +00:00
gulp.plugins.refresh.listen()
2016-04-12 18:36:43 +00:00
gulp.watch gulp.config.sassPattern, ['styles']
gulp.watch gulp.config.assetsDir + gulp.config.jsPattern, ['scripts']
2016-04-18 20:06:48 +00:00
gulp.watch gulp.config.assetsDir + '/images/**/*', ['copy-images']