Copy files matching glob patterns while watching for changes.
Copy file globs, watching for changes.
cpx$ cpx 'src/**/*.js' dist --watch$ cpx 'src/**/*.{js,css,html}' build$ cpx 'assets/**/*' public$ cpx 'lib/**/*.ts' dist --watch$ cpx 'src/**/*.js' dist --watch --command 'npm run build'