{"action":"closed","issue":{"url":"https://api.github.com/repos/sindresorhus/grunt-concurrent/issues/54","labels_url":"https://api.github.com/repos/sindresorhus/grunt-concurrent/issues/54/labels{/name}","comments_url":"https://api.github.com/repos/sindresorhus/grunt-concurrent/issues/54/comments","events_url":"https://api.github.com/repos/sindresorhus/grunt-concurrent/issues/54/events","html_url":"https://github.com/sindresorhus/grunt-concurrent/issues/54","id":65476042,"number":54,"title":"Concurrent tasks losing the grunt.config context","user":{"login":"guncha","id":679632,"avatar_url":"https://avatars.githubusercontent.com/u/679632?v=3","gravatar_id":"","url":"https://api.github.com/users/guncha","html_url":"https://github.com/guncha","followers_url":"https://api.github.com/users/guncha/followers","following_url":"https://api.github.com/users/guncha/following{/other_user}","gists_url":"https://api.github.com/users/guncha/gists{/gist_id}","starred_url":"https://api.github.com/users/guncha/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/guncha/subscriptions","organizations_url":"https://api.github.com/users/guncha/orgs","repos_url":"https://api.github.com/users/guncha/repos","events_url":"https://api.github.com/users/guncha/events{/privacy}","received_events_url":"https://api.github.com/users/guncha/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2015-03-31T15:17:14Z","updated_at":"2015-04-10T20:21:31Z","closed_at":"2015-04-10T20:21:31Z","body":"It seems like tasks started via concurrent don't have access to the parent config vars. \r\n\r\n```js\r\ngrunt.registerTask('server', function () {\r\n    grunt.config.set('HOST', 'lvh.me:3000');\r\n    grunt.task.run([\r\n      'concurrent:xyz'\r\n    ]);\r\n  });\r\n```\r\n\r\nThe task `xyz` will not have access to the HOST variable. If the task is run without concurrent, it works fine. Maybe this is by design, I'm not sure, but it's sure unexpected."}}