marcisme/guard-copy — pull request #10 by daaain (2012-12-04 15:24:37+00:00)
Title: Create full target path if :mkpath is true

Yet another feature I needed, should be possible to let Guard::Copy create the full target path if needed, conveniently piggybacking on existing :mkpath option. Let me know if you think this is a good way of implementing it, but it does the job perfectly for me.

My use case is bombing out the entire build folder on each Guard start to make sure that it's clean, but in this case I need Guard::Copy to be able to create stuff from scratch.