grunt-contrib-copy
grunt-contrib-copy copied to clipboard
Should warn if src is not found?
I'm also have an empty log :-( Only:
Running "copy:main" (copy) task
Done, without errors.
Config is very simple:
"copy": {
"main": {
"files": {
"public/public/js": ["node_modules/react/dis/JSXTransformer.js", "node_modules/react/dis/react-with-addons.min.js"]
}
}
}
Yeah, I was expecting something like
Running "copy:main" (copy) task
Warning: No src files found.
Done, without errors.
It doesn't have to fail though. Just some warning messages.
I would like to be able to specify it to fail if the src doesn't exist. For us, that means that something else in our process went wrong and I want our build to fail.
Optional handling for missing sources: ignore (current behaviour) warn fail
Is this something grunt-contrib-copy
is interested in implementing? If so, I might give it a try.
@AurelioDeRosa I would think so. I think grunt is lack of some kind of guideline on how plugins should handle situations like this.