zont / copy-and-watch

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

different target after initial copy

heldercervantes opened this issue · comments

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