Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Auto-reload localhost pages if your code changes
JavaScript Python
Branch: master

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
reloadr
README.md
requirements.txt

README.md

DESCRIPTION:

reloadr watches your project directory and automatically reloads all localhost pages in the browser.

DEPENDENCIES:

juggernaut requires nodejs/redis

pyinotify

RUN:

Setup your redis+juggernaut server and configure JUGGERNAUT_SERVER, JUGGERNAUT_PORT of reloadr.js as well as REDIS_SERVER in watch.py

Alternatively, you can use the free nano instance of redistogo from heroku (in this case you'll need to export REDISTOGO_URL env variable instead of REDIS_SERVER)

Run the file monitor:

python reloadr/watch.py

from your project directory

add the included client scripts:

<script src="/path/to/application.js" type="text/javascript" charset="utf-8"></script>
<script src="/path/to/reloadr.js" type="text/javascript" charset="utf-8"></script>

to your base html page.

Something went wrong with that request. Please try again.