Capistrano::FasterAssets

This gem speeds up asset compilation by skipping the assets:precompile task if none of the assets were changed since last release.

Works only with Capistrano 3+.

Installation

Add this to Gemfile:

group :development do
  gem 'capistrano', '~> 3.1'
  gem 'capistrano-faster-assets', '~> 1.0'
end

And then:

$ bundle install

Setup and usage

Add this line to Capfile, after require 'capistrano/rails/assets'

require 'capistrano/faster_assets'

More Capistrano automation?

If you'd like to streamline your Capistrano deploys, you might want to check these zero-configuration, plug-n-play plugins:

Bug reports and pull requests

...are very welcome!

Thanks

@athal7 - for the original idea and implementation. See https://coderwall.com/p/aridag for more details