diff --git a/Gruntfile.js b/Gruntfile.js index b0fb08f9..9292ce56 100644 --- a/Gruntfile.js +++ b/Gruntfile.js @@ -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 */