{"action":"created","issue":{"url":"https://api.github.com/repos/Microsoft/vscode-go/issues/546","repository_url":"https://api.github.com/repos/Microsoft/vscode-go","labels_url":"https://api.github.com/repos/Microsoft/vscode-go/issues/546/labels{/name}","comments_url":"https://api.github.com/repos/Microsoft/vscode-go/issues/546/comments","events_url":"https://api.github.com/repos/Microsoft/vscode-go/issues/546/events","html_url":"https://github.com/Microsoft/vscode-go/issues/546","id":184068722,"number":546,"title":"GOPATH environment variable not current until restart of vscode","user":{"login":"krum110487","id":823986,"avatar_url":"https://avatars.githubusercontent.com/u/823986?v=3","gravatar_id":"","url":"https://api.github.com/users/krum110487","html_url":"https://github.com/krum110487","followers_url":"https://api.github.com/users/krum110487/followers","following_url":"https://api.github.com/users/krum110487/following{/other_user}","gists_url":"https://api.github.com/users/krum110487/gists{/gist_id}","starred_url":"https://api.github.com/users/krum110487/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/krum110487/subscriptions","organizations_url":"https://api.github.com/users/krum110487/orgs","repos_url":"https://api.github.com/users/krum110487/repos","events_url":"https://api.github.com/users/krum110487/events{/privacy}","received_events_url":"https://api.github.com/users/krum110487/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":7,"created_at":"2016-10-19T20:42:31Z","updated_at":"2016-10-24T20:29:57Z","closed_at":"2016-10-24T20:29:57Z","body":"Here is my situation, the environment variables used for vscode commands are based on when vscode is ran.\r\n\r\nIf I want to change my project and change the folder in vscode without closing vscode, I will get an error as it is checking for a dependency that doesn't exist in the old path. Of course it works just fine if I run the build command from a terminal, just not from within vscode when it saves.\r\n\r\nwould it be possible to have a `source ~/.bashrc` command run before each save logic to make sure we have the most recent variables? Is this something that is possible? Otherwise if there is a way I can change the path in vscode from outside vscode so it is updated with my custom bash script, that would work as well.\r\n\r\nps. I am using ubuntu 16.04 LTS"},"comment":{"url":"https://api.github.com/repos/Microsoft/vscode-go/issues/comments/255856665","html_url":"https://github.com/Microsoft/vscode-go/issues/546#issuecomment-255856665","issue_url":"https://api.github.com/repos/Microsoft/vscode-go/issues/546","id":255856665,"user":{"login":"krum110487","id":823986,"avatar_url":"https://avatars.githubusercontent.com/u/823986?v=3","gravatar_id":"","url":"https://api.github.com/users/krum110487","html_url":"https://github.com/krum110487","followers_url":"https://api.github.com/users/krum110487/followers","following_url":"https://api.github.com/users/krum110487/following{/other_user}","gists_url":"https://api.github.com/users/krum110487/gists{/gist_id}","starred_url":"https://api.github.com/users/krum110487/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/krum110487/subscriptions","organizations_url":"https://api.github.com/users/krum110487/orgs","repos_url":"https://api.github.com/users/krum110487/repos","events_url":"https://api.github.com/users/krum110487/events{/privacy}","received_events_url":"https://api.github.com/users/krum110487/received_events","type":"User","site_admin":false},"created_at":"2016-10-24T20:29:57Z","updated_at":"2016-10-24T20:29:57Z","body":"Correct, I did do that, I am working on seeing if I can re-create the weirdness that was occurring."}}
{"actor":{"display_login":"krum110487"}}