Skip to content
Demo of SSE and reloading with AC::Live
Branch: master
Clone or download
tenderlove Merge pull request #5 from collin/master
integrate Listener and Turbolinks
Latest commit 0bf9e47 Oct 16, 2012
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
app use patched turbolinks Oct 16, 2012
config reload assets/use Turbolinks for template changes Oct 16, 2012
db adding users controller Oct 4, 2012
doc initial Oct 4, 2012
lib initial Oct 4, 2012
log initial Oct 4, 2012
public initial Oct 4, 2012
script initial Oct 4, 2012
test adding users controller Oct 4, 2012
vendor/assets initial Oct 4, 2012
.gitignore initial Oct 4, 2012
Gemfile use patched turbolinks Oct 16, 2012
Gemfile.lock use patched turbolinks Oct 16, 2012
README.rdoc updating the README Oct 4, 2012
Rakefile initial Oct 4, 2012
config.ru initial Oct 4, 2012

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.

You can’t perform that action at this time.