Feature Request: Ability to pass options to chokidar
Closed this issue · 4 comments
Zamiell commented
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.
hoperyy commented
Good Idea!
chokidarWatchOptions
has been added at sync-directory@2.2.21.
Zamiell commented
thanks!
also, it looks like you left a bunch of console.log in the code, can you remove those?
hoperyy commented
done at sync-directory@2.2.22.
Zamiell commented
thanks ><