copy-and-watch
copy-and-watch copied to clipboard
different target after initial copy
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 initial copy, when I change this file, the whole structure after src is replicated:
[COPY] src\cms\templates\basic-page.php to dist-pw\site\templates\cms\templates\basic-page.php