#!/usr/bin/env python
from livereload import Server, shell

server = Server()
server.watch('*.rst', shell('make html'))
server.serve()

[((4, 9, 4, 17), 'livereload.Server', 'Server', ({}, {}), '()', False, 'from livereload import Server, shell\n'), ((5, 22, 5, 40), 'livereload.shell', 'shell', ({(5, 28, 5, 39): '"""make html"""'}, {}), "('make html')", False, 'from livereload import Server, shell\n')]