-
Notifications
You must be signed in to change notification settings - Fork 194
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
cwd bug #270
Comments
please show actual and expected file structure thanks! |
I've made sample repository. After running grunt command I expect Folder_D is exactly the same as Folder_C, hovever Folder_D was not created at all. https://github.com/SerDIDG/Grunt-CopyCWDTest |
Try this:
Folder_C can't be copied, because the folder did not excist at this time. Thats because I used a second task. Another solution could be a watch or a delay. Hope this helps? |
Hello. When i trying somethings like that, my "prod" folder will stay empty after copying process:
copy: { fonts: { files: [{ expand: true, cwd: 'lib/fonts/', src: ['**/*.*', '!**/*.json'], dest: 'build/fonts/lib/' },{ expand: true, cwd: 'src/fonts/', src: ['**/*.*', '!**/*.json'], dest: 'build/fonts/' },{ expand: true, cwd: 'build/fonts/', src: ['**/*.*'], dest: 'public/fonts/' }] } }
When I remove the cwd parameter the files are copied successfully to the prod folder, but without the relative paths, as expected. Is this is a bug or a feature?
The text was updated successfully, but these errors were encountered: