Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
A Rails plugin to reload CSS per 5 seconds.
Ruby
branch: master

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
lib
MIT-LICENSE
README.md
init.rb

README.md

css_reload

A Rails plugin to reload css per 5 seconds.

Usage

Add a parameter "css_reload" to request url.

css_reload OFF:

http://localhost:3000/foo

css_reload ON:

http://localhost:3000/foo?css_reload

or if you want to specify the reload time to 2 sec:

http://localhost:3000/foo?css_reload=2

It works on development environment.

Requirements

  • jQuery

Copyright (c) 2010 jugyo, released under the MIT license

Something went wrong with that request. Please try again.