hoperyy/sync-directory

Feature Request: Ability to pass options to chokidar

Closed this issue · 4 comments

sync-directory doesn't work out of the box for most use cases because it doesn't specify the awaitWriteFinish option, leading to incorrectly copied files.

I recommend setting this to true, but furthermore, allowing the end-user to specify their own chokidar options.

Good Idea!

chokidarWatchOptions has been added at sync-directory@2.2.21.

thanks!

also, it looks like you left a bunch of console.log in the code, can you remove those?

done at sync-directory@2.2.22.

thanks ><