A tool which watches for changes in a given directory and notifies the browser to reload the page when an update is detected
JavaScript
Switch branches/tags
Nothing to show
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
src
test
.gitignore
.npmignore
.travis.yml
README.md
grunt.js
index.html
package.json

README.md

refreshr Build Status

refreshr is a tool which uses JSONP to poll for changes in an arbitrary directory and automtaically refreshes the webpage when any changes are detected.

Installation

› npm install -g refreshr

Usage

Start refreshr in the directory you wish to watch:

› refreshr
<script src="http://localhost:9898/refreshr.js"></script>

Copy the script-tag and paste it into your .html file. Your webpage will automatically reload itself when changes are made to files contained in the directory where you started refreshr.