Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Using expand with --no-write fails #289

Open
macarenomarco opened this issue Apr 4, 2017 · 0 comments
Open

Using expand with --no-write fails #289

macarenomarco opened this issue Apr 4, 2017 · 0 comments

Comments

@macarenomarco
Copy link

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant