johnbintz/rack-livereload — Issue #3: rack-livereload with pow and guard-livereload
Author: JeanMertz
Created: 2012-01-20 12:16:13+00:00
State: open

I am trying to get livereload to work, but nothing seems to work.

* I installed rack-livereload and guard-livereload (but even without the guard, it still doesn't work).
* I use pow.cx as my webhost for my Rails app.
* I added this to my development.rb file:

```
# livereload
config.middleware.insert_before(
Rack::Lock, Rack::LiveReload,
:min_delay => 500,
:max_delay => 10000,
:port => 80,
:host => 'myapp.dev'
)
```

* this should make it work with pow.cx, since pow uses port 80
* I navigate to myapp.dev which loads up the default index.html in public/
* I see **no** javascript being injected in the head.
* When I edit index.html I **don't** see the changes in the browser without reloading.

Am I missing something here?