grunt-contrib-copy
grunt-contrib-copy copied to clipboard
Using expand with --no-write fails
Given a configuration:
copy: {
externalCss: {
expand: true,
src: 'node_modules/some_module/css/*.css',
dest: 'web/views'
}
}
When running with
grunt copy:externalCss --no-write
Gives the following:
Warning: ENOENT: no such file or directory, lstat 'web/views/node_modules/some_module/css/sample.css' Use --force to continue.
Even when using --force
it fails.
However, it runs if the --no-write
flag is removed. I'm guessing it's some validation? And I couldn't find any mention to this specific issue.