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

copy files does not copy dot files even when using the -a flag #52

Closed
PSPanesar opened this issue Nov 18, 2018 · 2 comments
Closed

copy files does not copy dot files even when using the -a flag #52

PSPanesar opened this issue Nov 18, 2018 · 2 comments

Comments

@PSPanesar
Copy link

PSPanesar commented Nov 18, 2018

Hi,

Im using copyfiles in my npm scripts but the dot files are not being copied at all even when using the -a flag.

"scripts": { "copy": "rimraf ./dist && copyfiles -a -u 1 templates/**/** dist/templates" }

I wonder if you could help with whats going wrong?

Bw
P

@calvinmetcalf
Copy link
Owner

try templates/**/* (only 1 star in the second position) and if that doens't work try wraping it in \"

@PSPanesar
Copy link
Author

Wrapping it in " worked for me, thanks.

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

No branches or pull requests

2 participants