calvinmetcalf/copyfiles

Glob issue

kuncevic opened this issue · 0 comments

First of all thanks for making great and helpful library!

I had use copyfiles for quite a while within my npm scripts on some projects.
Here is a command that I had working fine until now:

"client:copy": "copyfiles -u 4 ../client/dist/myprojname/**/* dist/public/"

Recently to my surprise command stopped working for an unknown reason. The files just won't getting copied over. I did a bit of research and come up with a fix:

"client:copy": "copyfiles -u 4 ../client/dist/myprojname/**/*.* dist/public/"

But anyway as glob **/* is equal to glob **/*.* do you have any ideas why the first one stopped working ?