From ebeb331f0f2320160257bdc17fe3499eca5f1382 Mon Sep 17 00:00:00 2001 From: John Bintz Date: Wed, 5 Dec 2012 09:04:42 -0500 Subject: [PATCH] bump version and update readme for new behavior --- README.md | 4 +--- lib/rack-livereload.rb | 2 +- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index 19aefb9..3415410 100644 --- a/README.md +++ b/README.md @@ -47,7 +47,7 @@ use Rack::LiveReload, :min_delay => 500, ... ## How it works 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 `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! @@ -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 to explicitly include the Flash shim. -As usual, super-alpha! - diff --git a/lib/rack-livereload.rb b/lib/rack-livereload.rb index 923d6f1..6926f1d 100644 --- a/lib/rack-livereload.rb +++ b/lib/rack-livereload.rb @@ -1,6 +1,6 @@ require "rack/livereload" class Rack::LiveReload - VERSION = '0.3.8' + VERSION = '0.3.9' end