hasssan
2/17/2015 - 7:37 AM

gulpfile.js

var gulp = require('gulp')
var shell = require('gulp-shell')

gulp.task('build-docs', shell.task('make html', {cwd: './docs'}))

gulp.task('docs', ['build-docs'], function() {
  gulp.watch(['./docs/*.rst', './docs/*.py'], ['build-docs'])
})