Skip to content
Demo of SSE and reloading with AC::Live
Ruby JavaScript CoffeeScript
Find file
Latest commit 0bf9e47 @tenderlove Merge pull request #5 from collin/master
integrate Listener and Turbolinks
Failed to load latest commit information.
app use patched turbolinks
config reload assets/use Turbolinks for template changes
db adding users controller
doc initial
lib initial
log initial
public initial
script initial
test adding users controller
vendor/assets initial
.gitignore initial
Gemfile use patched turbolinks
Gemfile.lock use patched turbolinks
README.rdoc updating the README
Rakefile initial
config.ru initial

README.rdoc

Demo of automatic reload with ActionController::Live

BrowserController is the control channel for the browser. When the page is loaded, application.js registers an SSE with the browser to watch /control. /control watches the filesystem for changes. Whenever a change happens on the filesystem, an SSE is sent to the browser, telling it to reload.

Something went wrong with that request. Please try again.