-
Notifications
You must be signed in to change notification settings - Fork 10
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Allow copying of a single file #18
Comments
Have you tried specifying the file name as the watcher pattern? Something like the following: guard :copy, :from => 'source', :to => 'target' do
watch(%r{^source/myfilename$})
end |
This works for me after I moved the file to a sub-level folder. If the file is in the same level as Guardfile, then it doesn't seem to work. |
Unfortunately copying from the top-level doesn't work. I tried to add support in response to #15, but it ended up being a non-trivial amount of work. |
I see. I'll go with the sub folder option then. Thanks! |
No more work on this is planned at this time. |
Not sure why copying of a single file is not part of this plugin.
I think it's a very useful feature.
The text was updated successfully, but these errors were encountered: