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
bin
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

README.md

ReloadIt - Automatically reload web pages while developing

A little like LiveReload, but simpler.

Installing

npm install -g reloadit

Running

Simply run the reloadit command in your browser

$ reloadit
ReloadIt server running at http://127.0.0.1:9998

Make your software call ReloadIt

Currently ReloadIt doesn't automatically reload pages right out of the box.

This integration work has to be done manually. You can trigger ReloadIt by doing an HTTP-GET request to the URL: /reloadrequest. With the default configuration, this will be http://127.0.0.1:9998/reloadrequest.

Integrating with Compass

Add the following code to your config.rb:

# Call ReloadIt when a stylesheet has been changed
require 'net/http'
on_stylesheet_saved do |file|
    uri = URI('http://127.0.0.1:9998/reloadrequest')
    Net::HTTP.get_response(uri)
end

License

Use of this software is governed by a MIT-style license that can be found in the LICENSE file.

Author

ReloadIt is developed by Richard Tuin of New Native.

Changelog

1.0.1 - 23-11-2014

  • Bugfix: When installing ReloadIt system-wide via NPM the config loader gave an error.

1.0.0 - 23-11-2014

  • First public release of the software

About

Automatically reload web pages while developing

Resources

License

Packages

No packages published
You can’t perform that action at this time.