Write build output to response and clone recursively.