Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

cpx watches irrelevant files, while I want it to watch only one file #39

Open
arian-h opened this issue Dec 15, 2017 · 1 comment
Open

Comments

@arian-h
Copy link

arian-h commented Dec 15, 2017

I use cpx like this:
cpx "./bundle.js" ../../resources/public/js --watch
and I expect it to watch only one file: bundle.js
but it watches many other irrelevant files. I have node_modules directory in the same directory I run cpx (where bundle.js is located), and it watches all files in the node_modules directory.

@arian-h
Copy link
Author

arian-h commented Dec 15, 2017

And I just noticed that it only creates an empty file in destination. any idea why this happens ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant