Skip to content

Instantly share code, notes, and snippets.

@abits
Forked from insin/gulpfile.js
Last active August 29, 2015 14:23
Show Gist options
  • Save abits/cd08327cbee1cbeff84b to your computer and use it in GitHub Desktop.
Save abits/cd08327cbee1cbeff84b to your computer and use it in GitHub Desktop.
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'])
})
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment