mirror of
https://github.com/ThePhD/sol2.git
synced 2024-03-22 13:10:44 +08: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