{"action":"created","issue":{"url":"https://api.github.com/repos/ember-cli/broccoli-lint-eslint/issues/6","repository_url":"https://api.github.com/repos/ember-cli/broccoli-lint-eslint","labels_url":"https://api.github.com/repos/ember-cli/broccoli-lint-eslint/issues/6/labels{/name}","comments_url":"https://api.github.com/repos/ember-cli/broccoli-lint-eslint/issues/6/comments","events_url":"https://api.github.com/repos/ember-cli/broccoli-lint-eslint/issues/6/events","html_url":"https://github.com/ember-cli/broccoli-lint-eslint/pull/6","id":86315377,"number":6,"title":"Process string instead of file, fixes issue with `broccoli serve`","user":{"login":"Skalman","id":138395,"avatar_url":"https://avatars.githubusercontent.com/u/138395?v=3","gravatar_id":"","url":"https://api.github.com/users/Skalman","html_url":"https://github.com/Skalman","followers_url":"https://api.github.com/users/Skalman/followers","following_url":"https://api.github.com/users/Skalman/following{/other_user}","gists_url":"https://api.github.com/users/Skalman/gists{/gist_id}","starred_url":"https://api.github.com/users/Skalman/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Skalman/subscriptions","organizations_url":"https://api.github.com/users/Skalman/orgs","repos_url":"https://api.github.com/users/Skalman/repos","events_url":"https://api.github.com/users/Skalman/events{/privacy}","received_events_url":"https://api.github.com/users/Skalman/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":5,"created_at":"2015-06-08T20:18:58Z","updated_at":"2016-04-26T18:34:25Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/ember-cli/broccoli-lint-eslint/pulls/6","html_url":"https://github.com/ember-cli/broccoli-lint-eslint/pull/6","diff_url":"https://github.com/ember-cli/broccoli-lint-eslint/pull/6.diff","patch_url":"https://github.com/ember-cli/broccoli-lint-eslint/pull/6.patch"},"body":"```bash\r\nnode -v                                # v0.10.36\r\nnpm view broccoli-lint-eslint version  # 1.0.1\r\n```\r\nThis pull request fixes the following problem:\r\n\r\nWhen running `broccoli serve` on one of my projects, I get expected output the first run, but as soon as I edit an affected file, I get the following error message:\r\n```\r\nBuilt with error:\r\nFile: index.js\r\nError: ENOENT, no such file or directory '/path/tmp/static_compiler-tmp_dest_dir-eUVwYQrn.tmp/index.js'\r\n    at Object.fs.statSync (fs.js:696:18)\r\n    at walk (/path/node_modules/broccoli-lint-eslint/node_modules/eslint/lib/util/traverse.js:36:15)\r\n    at /path/node_modules/broccoli-lint-eslint/node_modules/eslint/lib/util/traverse.js:102:9\r\n    at Array.forEach (native)\r\n    at traverse (/path/node_modules/broccoli-lint-eslint/node_modules/eslint/lib/util/traverse.js:101:11)\r\n    at CLIEngine.executeOnFiles (/path/node_modules/broccoli-lint-eslint/node_modules/eslint/lib/cli-engine.js:323:9)\r\n    at EslintValidationFilter.processString (/path/node_modules/broccoli-lint-eslint/lib/index.js:105:25)\r\n    at EslintValidationFilter.Filter.processFile (/path/node_modules/broccoli-lint-eslint/node_modules/broccoli-filter/index.js:136:31)\r\n    at Promise.resolve.then.catch.err.file (/path/node_modules/broccoli-lint-eslint/node_modules/broccoli-filter/index.js:85:21)\r\n    at lib$rsvp$$internal$$tryCatch (/path/node_modules/broccoli-lint-eslint/node_modules/broccoli-filter/node_modules/rsvp/dist/rsvp.js:489:16)\r\n```\r\n\r\nThe reason seems to be that `broccoli-lint-eslint` holds on to a source directory that's only used a single time. A few more lines could probably be removed with this pull request, but since I don't understand what their goal is, I didn't want to touch them."},"comment":{"url":"https://api.github.com/repos/ember-cli/broccoli-lint-eslint/issues/comments/214842434","html_url":"https://github.com/ember-cli/broccoli-lint-eslint/pull/6#issuecomment-214842434","issue_url":"https://api.github.com/repos/ember-cli/broccoli-lint-eslint/issues/6","id":214842434,"user":{"login":"Skalman","id":138395,"avatar_url":"https://avatars.githubusercontent.com/u/138395?v=3","gravatar_id":"","url":"https://api.github.com/users/Skalman","html_url":"https://github.com/Skalman","followers_url":"https://api.github.com/users/Skalman/followers","following_url":"https://api.github.com/users/Skalman/following{/other_user}","gists_url":"https://api.github.com/users/Skalman/gists{/gist_id}","starred_url":"https://api.github.com/users/Skalman/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Skalman/subscriptions","organizations_url":"https://api.github.com/users/Skalman/orgs","repos_url":"https://api.github.com/users/Skalman/repos","events_url":"https://api.github.com/users/Skalman/events{/privacy}","received_events_url":"https://api.github.com/users/Skalman/received_events","type":"User","site_admin":false},"created_at":"2016-04-26T18:34:25Z","updated_at":"2016-04-26T18:34:25Z","body":"@jonathanKingston, I'm no longer working on my project using broccoli, so I don't have an easy way of testing whether it works. You can close this if you believe the issue to be resolved (or if you want to clean up old issues)."}}