capistrano-plugins / capistrano-faster-assets

Skips asset compilation if none of the assets were changed since last release.
MIT License
187 stars 38 forks source link

Unconditional compilation #7

Closed vassilevsky closed 9 years ago

vassilevsky commented 9 years ago

Humans are smarter than machines. At least now. Sometimes the developer needs to recompile all assets no matter what. It would be nice if this gem allowed that. Via an environment variable or something like that.

NARKOZ commented 9 years ago

Update Capfile:

require 'capistrano/faster_assets' unless ENV['FORCE_COMPILE']

then you can FORCE_COMPILE=true bundle exec cap deploy

vassilevsky commented 9 years ago

LOL I didn't think of it! :D