guard :copy, :from => 'assets', :to => '_site/assets' ,:verbose => true,:mkpath => true do
i get this Guard::Copy - :to must not include :from
can you remove that check or make so that it checks if target starts with from directory
relax :to validation
Check that targets contained in the `:to` parameter do not start with
the `:from` parameter. The validation used to fail on mere inclusion,
which was overly restrictive.
This change addresses issue #13.
Thanks for bringing this up.
I think that check was just intended to prevent copying into the source directory, so your proposed change seems fine. Let me know how this version works for you. You can try it out by using the following line in your Gemfile.
gem 'guard-copy', :git => 'git://github.com/marcisme/guard-copy.git'
This change is included in v0.0.8.