Merge pull request #50 from chebee7i/watchpy

Watch .py files and rebuild when they change.
This commit is contained in:
Dave Snider 2013-11-07 10:53:40 -08:00
commit d10f433170

View File

@ -56,7 +56,7 @@ module.exports = function(grunt) {
}, },
/* Changes in theme dir rebuild sphinx */ /* Changes in theme dir rebuild sphinx */
sphinx: { sphinx: {
files: ['sphinx_rtd_theme/**/*', 'demo_docs/**/*.rst'], files: ['sphinx_rtd_theme/**/*', 'demo_docs/**/*.rst', 'demo_docs/**/*.py'],
tasks: ['clean:build','exec:build_sphinx'] tasks: ['clean:build','exec:build_sphinx']
}, },
/* live-reload the demo_docs if sphinx re-builds */ /* live-reload the demo_docs if sphinx re-builds */