skip to navigation
skip to content

livereload 2.1.0

Python LiveReload is an awesome tool for web developers

Latest Version: 2.4.0

This is a brand new LiveReload in version 2.0.0.


Python LiveReload is designed for web developers who know Python.

Install Python LiveReload with pip:

$ pip install livereload

If you don’t have pip installed, try easy_install:

$ easy_install livereload

Developer Guide

The new livereload server is designed for developers. It can power a wsgi application now:

from livereload import Server, shell

server = Server(wsgi_app)

# run a shell command'static/*.stylus', 'make static')

# run a function
def alert():
    print('foo')'foo.txt', alert)

# output stdout into a file'style.less', shell('lessc style.less', output='style.css'))


The Server class accepts parameters:

  • app: a wsgi application
  • watcher: a watcher instance, you don’t have to create one can watch a filepath, a directory and a glob pattern:'path/to/file.txt')'directory/path/')'glob/*.pattern')

You can also use other library (for example: formic) for more powerful file adding:

for filepath in formic.FileSet(include="**.css"):, 'make css')
File Type Py Version Uploaded on Size
livereload-2.1.0.tar.gz (md5) Source 2014-01-23 15KB
  • Downloads (All Versions):
  • 1468 downloads in the last day
  • 10618 downloads in the last week
  • 49788 downloads in the last month