forked from github/pelican
Add settings file to Invoke livereload watch list
This commit is contained in:
parent
c8b0b52d4e
commit
cf2275c3be
1 changed files with 2 additions and 0 deletions
|
|
@ -95,6 +95,8 @@ def livereload(c):
|
|||
from livereload import Server
|
||||
build(c)
|
||||
server = Server()
|
||||
# Watch the base settings file
|
||||
server.watch(CONFIG['settings_base'], lambda: build(c))
|
||||
# Watch content source files
|
||||
content_file_extensions = ['.md', '.rst']
|
||||
for extension in content_file_extensions:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue