fredjean/middleman-s3_sync — pull request #55 by AndrewKvalheim (2014-06-25 20:29:01+00:00)
Title: Exposing a hook to other extensions

What are your thoughts on providing a post-sync hook? I'd like to rig up [Middleman CloudFront](https://github.com/andrusha/middleman-cloudfront) to automatically invalidate whatever has been updated, a la:

```ruby
after_s3_sync do |destination_paths|
invalidate destination_paths[:updated]
end
```

Is this a good way to go?