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.
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 havenode_modules
directory in the same directory I run cpx (where bundle.js is located), and it watches all files in thenode_modules
directory.