{"action":"created","issue":{"url":"https://api.github.com/repos/catberry/catberry/issues/178","labels_url":"https://api.github.com/repos/catberry/catberry/issues/178/labels{/name}","comments_url":"https://api.github.com/repos/catberry/catberry/issues/178/comments","events_url":"https://api.github.com/repos/catberry/catberry/issues/178/events","html_url":"https://github.com/catberry/catberry/issues/178","id":90868410,"number":178,"title":"componentsGlob config not working properly.","user":{"login":"ucin","id":387567,"avatar_url":"https://avatars.githubusercontent.com/u/387567?v=3","gravatar_id":"","url":"https://api.github.com/users/ucin","html_url":"https://github.com/ucin","followers_url":"https://api.github.com/users/ucin/followers","following_url":"https://api.github.com/users/ucin/following{/other_user}","gists_url":"https://api.github.com/users/ucin/gists{/gist_id}","starred_url":"https://api.github.com/users/ucin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ucin/subscriptions","organizations_url":"https://api.github.com/users/ucin/orgs","repos_url":"https://api.github.com/users/ucin/repos","events_url":"https://api.github.com/users/ucin/events{/privacy}","received_events_url":"https://api.github.com/users/ucin/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":{"login":"pragmadash","id":887952,"avatar_url":"https://avatars.githubusercontent.com/u/887952?v=3","gravatar_id":"","url":"https://api.github.com/users/pragmadash","html_url":"https://github.com/pragmadash","followers_url":"https://api.github.com/users/pragmadash/followers","following_url":"https://api.github.com/users/pragmadash/following{/other_user}","gists_url":"https://api.github.com/users/pragmadash/gists{/gist_id}","starred_url":"https://api.github.com/users/pragmadash/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pragmadash/subscriptions","organizations_url":"https://api.github.com/users/pragmadash/orgs","repos_url":"https://api.github.com/users/pragmadash/repos","events_url":"https://api.github.com/users/pragmadash/events{/privacy}","received_events_url":"https://api.github.com/users/pragmadash/received_events","type":"User","site_admin":false},"milestone":null,"comments":1,"created_at":"2015-06-25T06:25:14Z","updated_at":"2015-06-25T09:33:44Z","closed_at":"2015-06-25T09:33:44Z","body":"I try to override the component location using `componentsGlob` attribute on `browser.json` & `environment.json`. But it show warning message ` Component \"document\" not found, blank page will be rendered`  when try to run with `npm run debug-win`.\r\n\r\nWhen I directly override the `COMPONENTS_DEFAULT_GLOB` variable on `ComponentFinder.js` \r\n\r\nfrom\r\n```javascript\r\nvar COMPONENTS_DEFAULT_GLOB = [\r\n\t\t'catberry_components/**/cat-component.json',\r\n\t\t'node_modules/*/cat-component.json'\r\n\t]'\r\n```\r\nto \r\n```javascript\r\nvar COMPONENTS_DEFAULT_GLOB = [\r\n\t\t'components/**/component.json',\r\n\t\t'node_modules/*/cat-component.json'\r\n\t]'\r\n```\r\n\r\nit work as expected."},"comment":{"url":"https://api.github.com/repos/catberry/catberry/issues/comments/115185563","html_url":"https://github.com/catberry/catberry/issues/178#issuecomment-115185563","issue_url":"https://api.github.com/repos/catberry/catberry/issues/178","id":115185563,"user":{"login":"ucin","id":387567,"avatar_url":"https://avatars.githubusercontent.com/u/387567?v=3","gravatar_id":"","url":"https://api.github.com/users/ucin","html_url":"https://github.com/ucin","followers_url":"https://api.github.com/users/ucin/followers","following_url":"https://api.github.com/users/ucin/following{/other_user}","gists_url":"https://api.github.com/users/ucin/gists{/gist_id}","starred_url":"https://api.github.com/users/ucin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ucin/subscriptions","organizations_url":"https://api.github.com/users/ucin/orgs","repos_url":"https://api.github.com/users/ucin/repos","events_url":"https://api.github.com/users/ucin/events{/privacy}","received_events_url":"https://api.github.com/users/ucin/received_events","type":"User","site_admin":false},"created_at":"2015-06-25T09:33:44Z","updated_at":"2015-06-25T09:33:44Z","body":"Sorry @pragmadash, my mistake. I assign string of array instead of real array to `componentsGlob`.\r\nThis works fine for me now.\r\n```javascript\r\n{\r\n  \"title\": \"Catberry\",\r\n  \"componentsGlob\": [\r\n    \"components/**/component.json\",\r\n    \"node_modules/*/cat-component.json\"\r\n  ],\r\n  \"storesDirectory\": \"./stores\",\r\n  \"bundleFilename\":\"bundle.js\",\r\n  \"server\": {\r\n    \"port\": 3000\r\n  }\r\n}\r\n\r\n```\r\n\r\nThanks."}}