grunt-contrib-copy icon indicating copy to clipboard operation
grunt-contrib-copy copied to clipboard

Using expand with --no-write fails

Open macarenomarco opened this issue 7 years ago • 0 comments

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.

macarenomarco avatar Apr 04 '17 04:04 macarenomarco