copy-and-watch icon indicating copy to clipboard operation
copy-and-watch copied to clipboard

Results 13 copy-and-watch issues
Sort by recently updated
recently updated
newest added

I'm having this issue on **windows** `` TypeError [ERR_INVALID_ARG_TYPE]: The "from" argument must be of type string. Received undefined `` If I remove this line, it works fine: https://github.com/zont/copy-and-watch/blob/1c1517a8a4f297eb60c40df1fede8b150f4829d2/index.js#L37 Any...

Would be nice to add a `--exclude pattern` argument to exclude for example `.DS_Store` files or folder from the copy/watch

I got an error with this command: "filecopy":"copy-and-watch --watch templates/files/media/**/*.{css,js} zzz/dist/" [WATCH] templates/files/media/**/*.{css,js} (node:43172) UnhandledPromiseRejectionWarning: TypeError [ERR_INVALID_ARG_TYPE]: The "from" argument must be of type string. Received undefined at validateString (internal/validators.js:124:11)...

I tried to rename a file and got these errors: ```txt (node:20668) UnhandledPromiseRejectionWarning: TypeError [ERR_INVALID_ARG_TYPE]: The "from" argument must be of type string. Received undefined at validateString (internal/validators.js:120:11) at Object.relative...

If I do `copy-and-watch --watch assets/ dist/` it will copy nothing, while I expect the assets/ folder to be copied. Also if I do `copy-and-watch --watch assets/* dist/` It will...

I am using `npm link` for developing dependency alongside main app. Unfortunately `copy-and-watch --watch src/**/*.{html,css,js,svg,png} dist/` does not find files inside a symlink. Is there any solution to that?

My command: `copy-and-watch --watch src/cms/templates/**/* src/static/**/* dist/site/templates` When the script starts, the first file is copied like this: `[COPY] src/cms/templates/basic-page.php to dist-pw\site\templates\basic-page.php` This is the desired result. But after the...

From the small docs, I can see it should copy the files initially, but it doesn't for me. it only does when a file has changes, and one by one....

if I do `copy-and-watch --watch some/folder/**/* target/` copy-and-watch crashes if I delete some subfolder of `some/folder/`. In my opinion this is just a simple change that needs to mirrored.

I found this module to be broken after 2 years without updates, so I cleaned it up a bit and fixed some path normalization. Main changes are: * Added path...