batman-rails-flo

Live-reload your batman.js app with fb-flo.

Features

  • Live reloading Models, Controllers and Views
  • Live reloading HTML templates
  • Live reloading CSS
  • Fires liveReload on MyApp so you can define custom handlers

Learn more in the wiki!

Installation

Get the fb-flo Chrome extension.

Add this line to your application's Gemfile:

gem 'batman-rails-flo'

And then execute:

$ bundle

Add the client code to your batman.js app's Sprockets manifest:

#= require batman/live_reload

Run the live-reload server

You'll need node.js. Execute:

$ bundle exec rake batman:live_reload

And re-connect with the fb-flo plugin if necessary

Contributing

  1. Fork it ( https://github.com/[my-github-username]/batman-rails-flo/fork )
  2. Create your feature branch (git checkout -b my-new-feature)
  3. Commit your changes (git commit -am 'Add some feature')
  4. Push to the branch (git push origin my-new-feature)
  5. Create a new Pull Request