from livereload import Server, shell if __name__ == "__main__": server = Server() server.watch('pbr-vision.adoc', shell('asciidoctor pbr-vision.adoc')) server.serve(default_filename='pbr-vision.html')