Closed zont closed 7 years ago
@zont Thank you for your report. I will firstly work on #18, then I will make a test case for your issue.
@zont
I finished automated testing and fixed some nifty bugs during this too and version 1.1.0
is out.
awaitWriteFinish
option, fixed copying wrong paths on Linux.May I ask you to check if this issue is resolved for you?
Important: please make sure to wrap your globs within '
quotes, cause otherwise your CLI's shell will interpret these globs and expand them, instead of letting node-sync-glob
evaluate them itself, like:
sync-glob -w 'src/**/*.{html,json}' out
As mentioned in the readme https://github.com/AndyOGo/node-sync-glob#note
Sorry, but now I use https://www.npmjs.com/package/copy-and-watch
@zont alright, thanks for feedback though
FWIW, I'm having this same issue using v1.3.7 of sync-glob
@david-hollifield Thanks for your feedback. May I ask you to provide platform and environment details.
If you are on windows, it has known bugs originating form chokidar
.
Since NSFW
is released I'm considering switching to it, see #39
Yes, I'm on windows 10.
Have folders:
Run:
Try edit config.json and save:
File writed to incorrect path
Should be the same is initial COPY: