Skip to content
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

New: Added support for copying directories #46

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

pavan142
Copy link

@pavan142 pavan142 commented Dec 1, 2018

  1. fs-extra's copy is used for copying directories
  2. -r or --directory are the command line options
    for copying directories

Signed-off-by: pa1tirumani [email protected]

1. fs-extra's copy is used for copying directories
2. -r or --directory are the command line options
   for copying directories

Signed-off-by: pa1tirumani <[email protected]>
@aleclarson
Copy link

This seems to work as advertised. Thanks! 👍

You can use this by installing @alloc/cpx instead of cpx

@aleclarson
Copy link

aleclarson commented May 5, 2019

Note: The --watch flag still does not work with directories 😢

Another way to copy directories is to use foo/bar/**/* to copy all files. And this way works with the --watch flag! 🎉

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants