{"action":"created","issue":{"url":"https://api.github.com/repos/mahnunchik/gulp-responsive/issues/7","labels_url":"https://api.github.com/repos/mahnunchik/gulp-responsive/issues/7/labels{/name}","comments_url":"https://api.github.com/repos/mahnunchik/gulp-responsive/issues/7/comments","events_url":"https://api.github.com/repos/mahnunchik/gulp-responsive/issues/7/events","html_url":"https://github.com/mahnunchik/gulp-responsive/issues/7","id":53212776,"number":7,"title":"Support subfolder **/* glob pattern?","user":{"login":"patrickcate","id":6277206,"avatar_url":"https://avatars.githubusercontent.com/u/6277206?v=3","gravatar_id":"","url":"https://api.github.com/users/patrickcate","html_url":"https://github.com/patrickcate","followers_url":"https://api.github.com/users/patrickcate/followers","following_url":"https://api.github.com/users/patrickcate/following{/other_user}","gists_url":"https://api.github.com/users/patrickcate/gists{/gist_id}","starred_url":"https://api.github.com/users/patrickcate/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/patrickcate/subscriptions","organizations_url":"https://api.github.com/users/patrickcate/orgs","repos_url":"https://api.github.com/users/patrickcate/repos","events_url":"https://api.github.com/users/patrickcate/events{/privacy}","received_events_url":"https://api.github.com/users/patrickcate/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":{"login":"mahnunchik","id":780935,"avatar_url":"https://avatars.githubusercontent.com/u/780935?v=3","gravatar_id":"","url":"https://api.github.com/users/mahnunchik","html_url":"https://github.com/mahnunchik","followers_url":"https://api.github.com/users/mahnunchik/followers","following_url":"https://api.github.com/users/mahnunchik/following{/other_user}","gists_url":"https://api.github.com/users/mahnunchik/gists{/gist_id}","starred_url":"https://api.github.com/users/mahnunchik/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mahnunchik/subscriptions","organizations_url":"https://api.github.com/users/mahnunchik/orgs","repos_url":"https://api.github.com/users/mahnunchik/repos","events_url":"https://api.github.com/users/mahnunchik/events{/privacy}","received_events_url":"https://api.github.com/users/mahnunchik/received_events","type":"User","site_admin":false},"milestone":null,"comments":5,"created_at":"2015-01-01T04:27:00Z","updated_at":"2015-03-01T12:58:18Z","closed_at":null,"body":"I've organized a bunch of images into subfolders and am trying to do a batch resize of them. I've tried using the subfolder ```**/*``` glob pattern in the source, but it doesn't seem to work. Below is my config:\r\n\r\n````\r\ngulp.src(['_source/assets/images/**/*.jpg'])\r\n \t.pipe(responsive(\r\n \t{\r\n \t\t'*.jpg':\r\n \t\t[{\r\n \t\t\twidth: 160,\r\n \t\t\trename:\r\n \t\t\t{\r\n \t\t\t\tsuffix: '--mini'\r\n \t\t\t}\r\n \t\t}]\r\n \t},\r\n \t{\r\n \t\tstrictMatchImages: false,\r\n \t\tstrictMatchConfig: false\r\n \t}))\r\n.pipe(gulp.dest('images'));\r\n````\r\n\r\nWhen I run the task with strictMatchConfig set to true I get the error:\r\n\r\n````\r\nstream.js:94\r\n      throw er; // Unhandled stream error in pipe.\r\n            ^\r\nError: Available images do not match following config:\r\n  - `*.jpg`\r\n````\r\n\r\nWhen set to false the error doesn't show, as expected, but either way all images in the subfolders are ignored.\r\n\r\nChanging the src to one of the subfolders like ````_source/assets/images/portraits/*.jpg```` runs fine.\r\n\r\nAm I doing something wrong or is there a workaround? I appreciate any help."},"comment":{"url":"https://api.github.com/repos/mahnunchik/gulp-responsive/issues/comments/76595656","html_url":"https://github.com/mahnunchik/gulp-responsive/issues/7#issuecomment-76595656","issue_url":"https://api.github.com/repos/mahnunchik/gulp-responsive/issues/7","id":76595656,"user":{"login":"patrickcate","id":6277206,"avatar_url":"https://avatars.githubusercontent.com/u/6277206?v=3","gravatar_id":"","url":"https://api.github.com/users/patrickcate","html_url":"https://github.com/patrickcate","followers_url":"https://api.github.com/users/patrickcate/followers","following_url":"https://api.github.com/users/patrickcate/following{/other_user}","gists_url":"https://api.github.com/users/patrickcate/gists{/gist_id}","starred_url":"https://api.github.com/users/patrickcate/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/patrickcate/subscriptions","organizations_url":"https://api.github.com/users/patrickcate/orgs","repos_url":"https://api.github.com/users/patrickcate/repos","events_url":"https://api.github.com/users/patrickcate/events{/privacy}","received_events_url":"https://api.github.com/users/patrickcate/received_events","type":"User","site_admin":false},"created_at":"2015-03-01T12:58:18Z","updated_at":"2015-03-01T12:58:18Z","body":"Confirmed, this works."}}