reloadit

1.0.1 • Public • Published

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

Readme

Keywords

none

Package Sidebar

Install

npm i reloadit

Weekly Downloads

0

Version

1.0.1

License

MIT

Last publish

Collaborators

  • rtuin