README.md in rack-livereload-0.3.8 vs README.md in rack-livereload-0.3.9

- old
+ new

@@ -17,11 +17,11 @@ In `config/environments/development.rb`: ``` ruby MyApp::Application.configure do - config.middleware.insert_before(Rack::Lock, Rack::LiveReload) + config.middleware.insert_after(ActionDispatch::Static, Rack::LiveReload) # ...or, change some options... config.middleware.insert_before( Rack::Lock, Rack::LiveReload, @@ -45,11 +45,11 @@ ``` ## 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! ### Which LiveReload script does it use? @@ -78,8 +78,6 @@ 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!