<filename>docserver.py
#!/usr/bin/env python
from livereload import Server, shell
server = Server()
server.watch('docs/*.txt', shell('make html', cwd='docs'))
server.serve(root='docs/_build/html')

<filename>docserver.py
#!/usr/bin/env python
from livereload import Server, shell
server = Server()
server.watch('docs/*.txt', shell('make html', cwd='docs'))
server.serve(root='docs/_build/html')

#!/usr/bin/env python