{"action":"opened","issue":{"url":"https://api.github.com/repos/atom/atom/issues/4913","labels_url":"https://api.github.com/repos/atom/atom/issues/4913/labels{/name}","comments_url":"https://api.github.com/repos/atom/atom/issues/4913/comments","events_url":"https://api.github.com/repos/atom/atom/issues/4913/events","html_url":"https://github.com/atom/atom/issues/4913","id":53734809,"number":4913,"title":"Opening a directory on startup doesn't restore the project state","user":{"login":"oclbdk","id":136982,"avatar_url":"https://avatars.githubusercontent.com/u/136982?v=3","gravatar_id":"","url":"https://api.github.com/users/oclbdk","html_url":"https://github.com/oclbdk","followers_url":"https://api.github.com/users/oclbdk/followers","following_url":"https://api.github.com/users/oclbdk/following{/other_user}","gists_url":"https://api.github.com/users/oclbdk/gists{/gist_id}","starred_url":"https://api.github.com/users/oclbdk/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/oclbdk/subscriptions","organizations_url":"https://api.github.com/users/oclbdk/orgs","repos_url":"https://api.github.com/users/oclbdk/repos","events_url":"https://api.github.com/users/oclbdk/events{/privacy}","received_events_url":"https://api.github.com/users/oclbdk/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-01-08T10:20:44Z","updated_at":"2015-01-08T10:20:44Z","closed_at":null,"body":"I'm running on OS X.\r\n\r\nSteps to reproduce:\r\n1. Start Atom\r\n2. Open a directory\r\n3. Open a file so there's a tab open\r\n4. Restart Atom\r\n5. Reopen the same directory\r\n\r\nI expect the workspace to be restored (i.e. the file should be opened) when I reopen the directory in Atom. If I open the directory a second time after startup, it does the proper thing (but then I have two workspaces open that are backed by the same directory/project)."}}