bump version and update readme for new behavior

This commit is contained in:
John Bintz 2012-12-05 09:04:42 -05:00
parent 394af20be2
commit ebeb331f0f
2 changed files with 2 additions and 4 deletions

View File

@ -47,7 +47,7 @@ use Rack::LiveReload, :min_delay => 500, ...
## How it works ## How it works
The necessary `script` tag to bring in a copy of [livereload.js](https://github.com/livereload/livereload-js) is The necessary `script` tag to bring in a copy of [livereload.js](https://github.com/livereload/livereload-js) is
injected right before the closing `head` tag in any `text/html` pages that come through. The `script` tag is built in injected right after the opening `head` tag in any `text/html` pages that come through. The `script` tag is built in
such a way that the `HTTP_HOST` is used as the LiveReload host, so you can connect from external machines (say, to such a way that the `HTTP_HOST` is used as the LiveReload host, so you can connect from external machines (say, to
`mycomputer:3000` instead of `localhost:3000`) and as long as the LiveReload port is accessible from the external machine, `mycomputer:3000` instead of `localhost:3000`) and as long as the LiveReload port is accessible from the external machine,
you'll connect and be LiveReloading away! you'll connect and be LiveReloading away!
@ -81,5 +81,3 @@ use Rack::LiveReload, :no_swf => true
Once more browsers support WebSockets than don't, this option will be reversed and you'll have Once more browsers support WebSockets than don't, this option will be reversed and you'll have
to explicitly include the Flash shim. to explicitly include the Flash shim.
As usual, super-alpha!

View File

@ -1,6 +1,6 @@
require "rack/livereload" require "rack/livereload"
class Rack::LiveReload class Rack::LiveReload
VERSION = '0.3.8' VERSION = '0.3.9'
end end