capistrano-plugins / capistrano-faster-assets

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

compare-timestamp-for-shared-files #28

Closed masarakki closed 10 months ago

masarakki commented 7 years ago

For example,

set :assets_shared_dependencies, %w(.env.produciton)

it compares timestamp of shared/.env.production and latest_release_path, and if shared/.env.production is newer than latest_release_path, then compile.