{"action":"opened","issue":{"url":"https://api.github.com/repos/tomgrooffer/gulp-sass-glob/issues/21","repository_url":"https://api.github.com/repos/tomgrooffer/gulp-sass-glob","labels_url":"https://api.github.com/repos/tomgrooffer/gulp-sass-glob/issues/21/labels{/name}","comments_url":"https://api.github.com/repos/tomgrooffer/gulp-sass-glob/issues/21/comments","events_url":"https://api.github.com/repos/tomgrooffer/gulp-sass-glob/issues/21/events","html_url":"https://github.com/tomgrooffer/gulp-sass-glob/issues/21","id":152187549,"number":21,"title":"Error after importing empty directory","user":{"login":"kyleoliveiro","id":4415224,"avatar_url":"https://avatars.githubusercontent.com/u/4415224?v=3","gravatar_id":"","url":"https://api.github.com/users/kyleoliveiro","html_url":"https://github.com/kyleoliveiro","followers_url":"https://api.github.com/users/kyleoliveiro/followers","following_url":"https://api.github.com/users/kyleoliveiro/following{/other_user}","gists_url":"https://api.github.com/users/kyleoliveiro/gists{/gist_id}","starred_url":"https://api.github.com/users/kyleoliveiro/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kyleoliveiro/subscriptions","organizations_url":"https://api.github.com/users/kyleoliveiro/orgs","repos_url":"https://api.github.com/users/kyleoliveiro/repos","events_url":"https://api.github.com/users/kyleoliveiro/events{/privacy}","received_events_url":"https://api.github.com/users/kyleoliveiro/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2016-05-01T08:20:38Z","updated_at":"2016-05-01T08:20:38Z","closed_at":null,"body":"The plugin is throwing an error when I import any file or glob after importing an empty directory.\r\n\r\nI have files in every directory except `typography` and `components`, which are empty directories.\r\n\r\n**main.scss**\r\n```\r\n// Import external dependencies\r\n@import 'imports/**/*';\r\n\r\n// Register functions and mixins\r\n@import '_lib/functions/**/*';\r\n@import '_lib/mixins/**/*';\r\n\r\n// Load configuration\r\n@import '_config/**/*';\r\n\r\n// Generate styles\r\n@import 'typography/**/*'; // empty dir\r\n@import 'components/**/*'; // empty dir\r\n```\r\n\r\n**Output Log**\r\n```\r\nError in plugin 'sass'\r\nMessage:\r\n    scss/style.scss\r\nError: File to import not found or unreadable: components/**/*\r\n       Parent style sheet: <REMOVED>/scss/style.scss\r\n        on line 29 of scss/style.scss\r\n>> @import 'components/**/*';\r\n   ^\r\n```\r\n\r\nIf nothing else is imported after the first empty directory, then no error is thrown:\r\n\r\n\r\n**main.scss**\r\n```\r\n// Import external dependencies\r\n@import 'imports/**/*';\r\n\r\n// Register functions and mixins\r\n@import '_lib/functions/**/*';\r\n@import '_lib/mixins/**/*';\r\n\r\n// Load configuration\r\n@import '_config/**/*';\r\n\r\n// Generate styles\r\n@import 'typography/**/*'; // empty dir\r\n// @import 'components/**/*'; // empty dir, not imported\r\n```\r\n\r\n**Output Log**\r\n```\r\nFinished 'styles' after 119 ms\r\n```\r\n"}}