Skip to content
master
Go to file
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 

README.md

Reloader

Reloader can accelerate web development by automatically refreshing your pages (in multiple browsers) when a file is locally modified. If a css file is modified, only stylsheets are reloaded.

Deps:

$ pip install twisted
$ pip install pyinotify
  • the rest should already be installed

Usage:

Start the server:

$ python reloader.py --path /var/www/projectdir/ --strict

Add this tag to your html:

<script type="text/javascript" src="http://127.0.0.1:8181/js"></script>

Options:

usage: reloader.py [-h] [-p PATH] [-s] [-v]

optional arguments:
  -h, --help            show this help message and exit
  -p PATH, --path PATH  the directory to monitor
  -s, --strict          only watch: css xml html php js asp png jpeg jpg gif
  -v, --verbose

Tested Browsers:

  • firefox 4
  • chrome 11
  • internet explorer 7
  • safari 3
  • opera 11

Note:

I wrote this several years ago and better alternatives now exist.

About

auto reload for webdev

Resources

Releases

No releases published

Packages

No packages published

Languages

You can’t perform that action at this time.