{"action":"created","issue":{"url":"https://api.github.com/repos/Microsoft/vscode/issues/6068","repository_url":"https://api.github.com/repos/Microsoft/vscode","labels_url":"https://api.github.com/repos/Microsoft/vscode/issues/6068/labels{/name}","comments_url":"https://api.github.com/repos/Microsoft/vscode/issues/6068/comments","events_url":"https://api.github.com/repos/Microsoft/vscode/issues/6068/events","html_url":"https://github.com/Microsoft/vscode/issues/6068","id":152800226,"number":6068,"title":"Open files are not auto-saved, when extension installation restarts the VS Code","user":{"login":"maroonedsia","id":7603391,"avatar_url":"https://avatars.githubusercontent.com/u/7603391?v=3","gravatar_id":"","url":"https://api.github.com/users/maroonedsia","html_url":"https://github.com/maroonedsia","followers_url":"https://api.github.com/users/maroonedsia/followers","following_url":"https://api.github.com/users/maroonedsia/following{/other_user}","gists_url":"https://api.github.com/users/maroonedsia/gists{/gist_id}","starred_url":"https://api.github.com/users/maroonedsia/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/maroonedsia/subscriptions","organizations_url":"https://api.github.com/users/maroonedsia/orgs","repos_url":"https://api.github.com/users/maroonedsia/repos","events_url":"https://api.github.com/users/maroonedsia/events{/privacy}","received_events_url":"https://api.github.com/users/maroonedsia/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2016-05-03T15:17:56Z","updated_at":"2016-05-03T17:25:24Z","closed_at":null,"body":"- VSCode Version: 1.0.0\r\n- OS Version: Windows 10\r\n\r\nSteps to Reproduce:\r\n\r\n1. Open and edit a file.\r\n2. Install an extension that requires restart.\r\n3. Click restart button.\r\n4. The changes you've made to the file is not auto-saved and they are gone.\r\n"},"comment":{"url":"https://api.github.com/repos/Microsoft/vscode/issues/comments/216603432","html_url":"https://github.com/Microsoft/vscode/issues/6068#issuecomment-216603432","issue_url":"https://api.github.com/repos/Microsoft/vscode/issues/6068","id":216603432,"user":{"login":"bpasero","id":900690,"avatar_url":"https://avatars.githubusercontent.com/u/900690?v=3","gravatar_id":"","url":"https://api.github.com/users/bpasero","html_url":"https://github.com/bpasero","followers_url":"https://api.github.com/users/bpasero/followers","following_url":"https://api.github.com/users/bpasero/following{/other_user}","gists_url":"https://api.github.com/users/bpasero/gists{/gist_id}","starred_url":"https://api.github.com/users/bpasero/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bpasero/subscriptions","organizations_url":"https://api.github.com/users/bpasero/orgs","repos_url":"https://api.github.com/users/bpasero/repos","events_url":"https://api.github.com/users/bpasero/events{/privacy}","received_events_url":"https://api.github.com/users/bpasero/received_events","type":"User","site_admin":false},"created_at":"2016-05-03T17:25:23Z","updated_at":"2016-05-03T17:25:23Z","body":"@maroonedsia I cannot reproduce. Could it be that you did all of this in an `Extension Host` window where you debug/run your extension? That is the only window where we actually do not prompt for saving when you close or restart."}}