{"action":"created","issue":{"url":"https://api.github.com/repos/rizowski/eslint-watch/issues/41","labels_url":"https://api.github.com/repos/rizowski/eslint-watch/issues/41/labels{/name}","comments_url":"https://api.github.com/repos/rizowski/eslint-watch/issues/41/comments","events_url":"https://api.github.com/repos/rizowski/eslint-watch/issues/41/events","html_url":"https://github.com/rizowski/eslint-watch/issues/41","id":107607280,"number":41,"title":"Some exceptions when running in the background","user":{"login":"kentor","id":240493,"avatar_url":"https://avatars.githubusercontent.com/u/240493?v=3","gravatar_id":"","url":"https://api.github.com/users/kentor","html_url":"https://github.com/kentor","followers_url":"https://api.github.com/users/kentor/followers","following_url":"https://api.github.com/users/kentor/following{/other_user}","gists_url":"https://api.github.com/users/kentor/gists{/gist_id}","starred_url":"https://api.github.com/users/kentor/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kentor/subscriptions","organizations_url":"https://api.github.com/users/kentor/orgs","repos_url":"https://api.github.com/users/kentor/repos","events_url":"https://api.github.com/users/kentor/events{/privacy}","received_events_url":"https://api.github.com/users/kentor/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/rizowski/eslint-watch/labels/bug","name":"bug","color":"fc2929"},{"url":"https://api.github.com/repos/rizowski/eslint-watch/labels/%E2%8E%87%20master","name":"⎇ master","color":"fbca04"},{"url":"https://api.github.com/repos/rizowski/eslint-watch/labels/%E2%9C%93%20released","name":"✓ released","color":"009800"}],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":19,"created_at":"2015-09-21T21:58:47Z","updated_at":"2015-10-05T15:16:12Z","closed_at":"2015-09-28T14:53:04Z","body":"package.json:\r\n```json\r\n{\r\n  \"scripts\": {\r\n    \"lint:watch\": \"esw -w\",\r\n    \"start\": \"npm run lint:watch & wait\"\r\n  },\r\n  \"devDependencies\": {\r\n    \"eslint\": \"^1.5.0\",\r\n    \"eslint-watch\": \"^2.1.1\"\r\n  }\r\n}\r\n```\r\n\r\nshell:\r\n```\r\n❯ npm run watch\r\n\r\n> @ watch /Users/kenneth/stuff/eslint-test\r\n> npm run lint:watch & wait\r\n\r\n\r\n> @ lint:watch /Users/kenneth/stuff/eslint-test\r\n> esw -w\r\n\r\nLinting: ./\r\nTypeError: undefined is not a function\r\nTypeError: undefined is not a function\r\n    at keyListener (/Users/kenneth/stuff/eslint-test/node_modules/eslint-watch/src/cli.js:43:9)\r\n    at /Users/kenneth/stuff/eslint-test/node_modules/eslint-watch/src/cli.js:58:7\r\n    at /Users/kenneth/stuff/eslint-test/node_modules/eslint-watch/src/options.js:41:7\r\n    at Socket.<anonymous> (/Users/kenneth/stuff/eslint-test/node_modules/eslint-watch/src/eslint/help.js:\r\n75:7)\r\n    at Socket.emit (events.js:107:17)\r\n    at readableAddChunk (_stream_readable.js:163:16)\r\n    at Socket.Readable.push (_stream_readable.js:126:10)\r\n    at Pipe.onread (net.js:538:20)\r\n```\r\n\r\nThe watching doesn't work when the process is in the background."},"comment":{"url":"https://api.github.com/repos/rizowski/eslint-watch/issues/comments/145565673","html_url":"https://github.com/rizowski/eslint-watch/issues/41#issuecomment-145565673","issue_url":"https://api.github.com/repos/rizowski/eslint-watch/issues/41","id":145565673,"user":{"login":"rizowski","id":574835,"avatar_url":"https://avatars.githubusercontent.com/u/574835?v=3","gravatar_id":"","url":"https://api.github.com/users/rizowski","html_url":"https://github.com/rizowski","followers_url":"https://api.github.com/users/rizowski/followers","following_url":"https://api.github.com/users/rizowski/following{/other_user}","gists_url":"https://api.github.com/users/rizowski/gists{/gist_id}","starred_url":"https://api.github.com/users/rizowski/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rizowski/subscriptions","organizations_url":"https://api.github.com/users/rizowski/orgs","repos_url":"https://api.github.com/users/rizowski/repos","events_url":"https://api.github.com/users/rizowski/events{/privacy}","received_events_url":"https://api.github.com/users/rizowski/received_events","type":"User","site_admin":false},"created_at":"2015-10-05T15:16:12Z","updated_at":"2015-10-05T15:16:12Z","body":"@simonvizzini That seems like an unrelated issue. Can you create an issue for that?"}}