Watch .py files and rebuild when they change.

This commit is contained in:
chebee7i 2013-11-07 12:50:54 -06:00
parent d18a666225
commit 66f735429e

View File

@ -56,7 +56,7 @@ module.exports = function(grunt) {
},
/* Changes in theme dir rebuild 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']
},
/* live-reload the demo_docs if sphinx re-builds */