{"action":"created","issue":{"url":"https://api.github.com/repos/Microsoft/vscode/issues/35734","repository_url":"https://api.github.com/repos/Microsoft/vscode","labels_url":"https://api.github.com/repos/Microsoft/vscode/issues/35734/labels{/name}","comments_url":"https://api.github.com/repos/Microsoft/vscode/issues/35734/comments","events_url":"https://api.github.com/repos/Microsoft/vscode/issues/35734/events","html_url":"https://github.com/Microsoft/vscode/issues/35734","id":263485692,"number":35734,"title":"Tasks are not detected","user":{"login":"oliversturm","id":4730969,"avatar_url":"https://avatars2.githubusercontent.com/u/4730969?v=4","gravatar_id":"","url":"https://api.github.com/users/oliversturm","html_url":"https://github.com/oliversturm","followers_url":"https://api.github.com/users/oliversturm/followers","following_url":"https://api.github.com/users/oliversturm/following{/other_user}","gists_url":"https://api.github.com/users/oliversturm/gists{/gist_id}","starred_url":"https://api.github.com/users/oliversturm/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/oliversturm/subscriptions","organizations_url":"https://api.github.com/users/oliversturm/orgs","repos_url":"https://api.github.com/users/oliversturm/repos","events_url":"https://api.github.com/users/oliversturm/events{/privacy}","received_events_url":"https://api.github.com/users/oliversturm/received_events","type":"User","site_admin":false},"labels":[{"id":272689423,"url":"https://api.github.com/repos/Microsoft/vscode/labels/needs%20more%20info","name":"needs more info","color":"708090","default":false},{"id":292032114,"url":"https://api.github.com/repos/Microsoft/vscode/labels/tasks","name":"tasks","color":"1d76db","default":false}],"state":"open","locked":false,"assignee":{"login":"egamma","id":172399,"avatar_url":"https://avatars1.githubusercontent.com/u/172399?v=4","gravatar_id":"","url":"https://api.github.com/users/egamma","html_url":"https://github.com/egamma","followers_url":"https://api.github.com/users/egamma/followers","following_url":"https://api.github.com/users/egamma/following{/other_user}","gists_url":"https://api.github.com/users/egamma/gists{/gist_id}","starred_url":"https://api.github.com/users/egamma/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/egamma/subscriptions","organizations_url":"https://api.github.com/users/egamma/orgs","repos_url":"https://api.github.com/users/egamma/repos","events_url":"https://api.github.com/users/egamma/events{/privacy}","received_events_url":"https://api.github.com/users/egamma/received_events","type":"User","site_admin":false},"assignees":[{"login":"egamma","id":172399,"avatar_url":"https://avatars1.githubusercontent.com/u/172399?v=4","gravatar_id":"","url":"https://api.github.com/users/egamma","html_url":"https://github.com/egamma","followers_url":"https://api.github.com/users/egamma/followers","following_url":"https://api.github.com/users/egamma/following{/other_user}","gists_url":"https://api.github.com/users/egamma/gists{/gist_id}","starred_url":"https://api.github.com/users/egamma/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/egamma/subscriptions","organizations_url":"https://api.github.com/users/egamma/orgs","repos_url":"https://api.github.com/users/egamma/repos","events_url":"https://api.github.com/users/egamma/events{/privacy}","received_events_url":"https://api.github.com/users/egamma/received_events","type":"User","site_admin":false}],"milestone":null,"comments":16,"created_at":"2017-10-06T15:30:51Z","updated_at":"2017-10-13T10:49:46Z","closed_at":null,"author_association":"NONE","body":"- VSCode Version: Code 1.17.0 (be377c0faf7574a59f84940f593a6849f12e4de7, 2017-10-04T23:33:45.303Z)\r\n- OS Version: Linux x64 4.8.0-59-generic\r\n- Extensions: \r\n\r\nExtension|Author (truncated)|Version\r\n---|---|---\r\nvscode-docker|Pet|0.0.18\r\nindenticator|Sir|0.4.2\r\nprettier-vscode|esb|0.24.0\r\nhungry-delete|jas|1.3.3\r\ngraphql-for-vscode|kum|1.6.2\r\ncsharp|ms-|1.12.1\r\nmono-debug|ms-|0.15.7\r\nembrace|myc|1.0.0\r\nyo|sam|0.9.3\r\nvisualclojure|sti|0.0.2\r\nayu|tea|0.8.0\r\n\r\n(4 theme extensions excluded)\r\n\r\n\r\n---\r\n\r\nMy package.json contains scripts:\r\n\r\n```\r\n  \"scripts\": {\r\n    \"start\": \"gulp watch\",\r\n    \"build\": \"gulp build\",\r\n    \"debug\": \"node --inspect-brk dist/index.js\",\r\n    \"serve\": \"forever -a -v -m 20 --minUptime 20000 --spinSleepTime 20000 --no-colors  dist/index.js\"\r\n  },\r\n```\r\n\r\nAccording to [this](https://code.visualstudio.com/docs/editor/tasks), these should be auto-detected. However, I see \"no tasks found\" when I enter `task` in the command window.\r\n\r\nI also have `gulpfile.js` in the project, with tasks `build` and `lint` defined. According to the same URL, I was expecting these to be auto-detected as well - they are not.\r\n\r\nSo I create my own task. After quite a bit of fixing the standard templates (they have `taskName`, for instance), I ended up with this:\r\n\r\n```\r\n{\r\n      \"group\": {\r\n        \"kind\": \"build\",\r\n        \"isDefault\": true\r\n      },\r\n      \"label\": \"build\",\r\n      \"type\": \"npm\",\r\n      \"script\": \"build\"\r\n    }\r\n```\r\n\r\nHowever, this task is still not being detected. If I *Run Build Task* from the menu, the message says \"No build task to run found\".\r\n\r\n<!-- Launch with `code --disable-extensions` to check. -->\r\nReproduces without extensions: Yes"},"comment":{"url":"https://api.github.com/repos/Microsoft/vscode/issues/comments/336418822","html_url":"https://github.com/Microsoft/vscode/issues/35734#issuecomment-336418822","issue_url":"https://api.github.com/repos/Microsoft/vscode/issues/35734","id":336418822,"user":{"login":"oliversturm","id":4730969,"avatar_url":"https://avatars2.githubusercontent.com/u/4730969?v=4","gravatar_id":"","url":"https://api.github.com/users/oliversturm","html_url":"https://github.com/oliversturm","followers_url":"https://api.github.com/users/oliversturm/followers","following_url":"https://api.github.com/users/oliversturm/following{/other_user}","gists_url":"https://api.github.com/users/oliversturm/gists{/gist_id}","starred_url":"https://api.github.com/users/oliversturm/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/oliversturm/subscriptions","organizations_url":"https://api.github.com/users/oliversturm/orgs","repos_url":"https://api.github.com/users/oliversturm/repos","events_url":"https://api.github.com/users/oliversturm/events{/privacy}","received_events_url":"https://api.github.com/users/oliversturm/received_events","type":"User","site_admin":false},"created_at":"2017-10-13T10:49:46Z","updated_at":"2017-10-13T10:49:46Z","author_association":"NONE","body":"@dbaeumer Ah yes, I see what you mean. I like the improved message better than the first one."}}
{"actor":{"display_login":"oliversturm"}}