AvianFlu / ncp

Asynchronous recursive file copying with Node.js.
MIT License
680 stars 103 forks source link

Is this library abounded? Files are not copied when the callback is called! #117

Open Clarence-pan opened 7 years ago

Clarence-pan commented 7 years ago

I've tried to use ncp to copy recursively. But somethings files are not copied when the callback is called!

I debugged the scripts, but this library has too many callback inside. Its source codes are really confusing. Finally I gave up. Then I found another library to copy recursively: recursive-copy.

I recommend to use Promise and Event styled recursive-copy

slaymaker1907 commented 7 years ago

Can confirm this issue.

makiJS commented 7 years ago

+1