Copy file globs with watch mode for automatic updates on changes
Copy file globs, watching for changes.
cpx
$ cpx 'src/**/*.js' dist
$ cpx 'src/**/*' dist --watch
$ cpx 'src/**/*.{js,json}' 'build/' --watch