Some editors (like vim) do multiple writes to a file when it is updated. Figure out a reliable way to queue events and only copy the file once. This is pretty low priority as it isn't the end of the world if the same file gets copied twice.