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

log error when no files found in stream #13

Open
chmontgomery opened this issue Aug 4, 2014 · 2 comments
Open

log error when no files found in stream #13

chmontgomery opened this issue Aug 4, 2014 · 2 comments
Milestone

Comments

@chmontgomery
Copy link
Contributor

When no files found in a given bundle stream, i.e. no files match the src glob(s) defined, log an error so that the user doesn't accidentally create a mis-configured bundle config.
NOTE: when CDN support is added, it may be valid to have a bundle with only a cdn url in it, meaning no files will be in the stream for that given bundle. Make sure this is handled appropriately by not logging an error for that case.

@chmontgomery chmontgomery added this to the Ice Box milestone Aug 4, 2014
@chmontgomery
Copy link
Contributor Author

This will eventually be built directly into gulp: gulpjs/gulp#374

@pelletiermaxime
Copy link

It seems this was fixed years ago in glob-stream gulpjs/glob-stream#41, but I still don't get errors when I put a path to a non existant file in my bundle config. Any idea why ?

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

No branches or pull requests

2 participants