gulpfile.coffee 417 Bytes
Newer Older
Terion's avatar
Terion committed
1 2 3 4 5 6
# run with --production option for minified assets

gulp = require 'gulp'
requireDir = require('require-dir')
tasks = requireDir('./gulp')

Terion's avatar
Terion committed
7
gulp.task 'default', ['jade', 'fonts', 'img', 'icons', 'sass', 'js', 'coffee']
Terion's avatar
Terion committed
8 9 10

gulp.task 'watch', ->
  gulp.watch 'src/sass/**/*.sass', ['sass']
Terion's avatar
Terion committed
11
  gulp.watch ['src/jade/**/*.jade'], ['jade']
Terion's avatar
Terion committed
12 13 14
  gulp.watch 'src/coffee/**/*.coffee', ['coffee']

gulp.task 'sw', ['serve', 'watch']