mirror of
https://github.com/readthedocs/sphinx_rtd_theme.git
synced 2025-02-25 18:55:21 -06:00
Watch .py files and rebuild when they change.
This commit is contained in:
parent
d18a666225
commit
66f735429e
@ -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 */
|
||||||
|
Loading…
Reference in New Issue
Block a user