mirror of
https://github.com/ThePhD/sol2.git
synced 2024-03-22 13:10:44 +08:00
Merge pull request #50 from chebee7i/watchpy
Watch .py files and rebuild when they change.
This commit is contained in:
commit
d10f433170
|
@ -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