Skip to content
Find file
Fetching contributors…
Cannot retrieve contributors at this time
7 lines (5 sloc) 353 Bytes

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.