{"action":"created","issue":{"url":"https://api.github.com/repos/paulrayes/gaze-cli/issues/1","labels_url":"https://api.github.com/repos/paulrayes/gaze-cli/issues/1/labels{/name}","comments_url":"https://api.github.com/repos/paulrayes/gaze-cli/issues/1/comments","events_url":"https://api.github.com/repos/paulrayes/gaze-cli/issues/1/events","html_url":"https://github.com/paulrayes/gaze-cli/issues/1","id":69747430,"number":1,"title":"Error watching files with pattern \"**/*.js\"","user":{"login":"bryzaguy","id":2603435,"avatar_url":"https://avatars.githubusercontent.com/u/2603435?v=3","gravatar_id":"","url":"https://api.github.com/users/bryzaguy","html_url":"https://github.com/bryzaguy","followers_url":"https://api.github.com/users/bryzaguy/followers","following_url":"https://api.github.com/users/bryzaguy/following{/other_user}","gists_url":"https://api.github.com/users/bryzaguy/gists{/gist_id}","starred_url":"https://api.github.com/users/bryzaguy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bryzaguy/subscriptions","organizations_url":"https://api.github.com/users/bryzaguy/orgs","repos_url":"https://api.github.com/users/bryzaguy/repos","events_url":"https://api.github.com/users/bryzaguy/events{/privacy}","received_events_url":"https://api.github.com/users/bryzaguy/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2015-04-21T05:26:04Z","updated_at":"2015-04-22T02:49:46Z","closed_at":null,"body":"I'd like to watch all js files in my current directory and any subdirectories but I get the following error when attempting to run gaze with the pattern '***/**.js':\r\n\r\n```bash\r\n/usr/local/lib/node_modules/gaze-cli/node_modules/gaze/lib/gaze.js:331\r\n      return this._handleError(err);\r\n                  ^\r\nRangeError: Maximum call stack size exceeded\r\n    at Gaze._pollFile (/usr/local/lib/node_modules/gaze-cli/node_modules/gaze/lib/gaze.js:331:19)\r\n    at /usr/local/lib/node_modules/gaze-cli/node_modules/gaze/lib/gaze.js:411:12\r\n    at Array.forEach (native)\r\n    at /usr/local/lib/node_modules/gaze-cli/node_modules/gaze/lib/gaze.js:409:11\r\n    at iterate (/usr/local/lib/node_modules/gaze-cli/node_modules/gaze/lib/helper.js:52:5)\r\n    at /usr/local/lib/node_modules/gaze-cli/node_modules/gaze/lib/helper.js:61:11\r\n    at /usr/local/lib/node_modules/gaze-cli/node_modules/gaze/lib/gaze.js:420:5\r\n    at iterate (/usr/local/lib/node_modules/gaze-cli/node_modules/gaze/lib/helper.js:52:5)\r\n    at /usr/local/lib/node_modules/gaze-cli/node_modules/gaze/lib/helper.js:61:11\r\n    at /usr/local/lib/node_modules/gaze-cli/node_modules/gaze/lib/gaze.js:420:5\r\n```"},"comment":{"url":"https://api.github.com/repos/paulrayes/gaze-cli/issues/comments/95007444","html_url":"https://github.com/paulrayes/gaze-cli/issues/1#issuecomment-95007444","issue_url":"https://api.github.com/repos/paulrayes/gaze-cli/issues/1","id":95007444,"user":{"login":"bryzaguy","id":2603435,"avatar_url":"https://avatars.githubusercontent.com/u/2603435?v=3","gravatar_id":"","url":"https://api.github.com/users/bryzaguy","html_url":"https://github.com/bryzaguy","followers_url":"https://api.github.com/users/bryzaguy/followers","following_url":"https://api.github.com/users/bryzaguy/following{/other_user}","gists_url":"https://api.github.com/users/bryzaguy/gists{/gist_id}","starred_url":"https://api.github.com/users/bryzaguy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bryzaguy/subscriptions","organizations_url":"https://api.github.com/users/bryzaguy/orgs","repos_url":"https://api.github.com/users/bryzaguy/repos","events_url":"https://api.github.com/users/bryzaguy/events{/privacy}","received_events_url":"https://api.github.com/users/bryzaguy/received_events","type":"User","site_admin":false},"created_at":"2015-04-22T02:49:46Z","updated_at":"2015-04-22T02:49:46Z","body":"Also FYI I had like 2500 files in my open files setting on OS X."}}