{"action":"created","issue":{"url":"https://api.github.com/repos/TypeStrong/atom-typescript/issues/457","labels_url":"https://api.github.com/repos/TypeStrong/atom-typescript/issues/457/labels{/name}","comments_url":"https://api.github.com/repos/TypeStrong/atom-typescript/issues/457/comments","events_url":"https://api.github.com/repos/TypeStrong/atom-typescript/issues/457/events","html_url":"https://github.com/TypeStrong/atom-typescript/pull/457","id":94383418,"number":457,"title":"Update file statuses on \"TypeScript: Build\" command","user":{"login":"helarqjsc","id":1840047,"avatar_url":"https://avatars.githubusercontent.com/u/1840047?v=3","gravatar_id":"","url":"https://api.github.com/users/helarqjsc","html_url":"https://github.com/helarqjsc","followers_url":"https://api.github.com/users/helarqjsc/followers","following_url":"https://api.github.com/users/helarqjsc/following{/other_user}","gists_url":"https://api.github.com/users/helarqjsc/gists{/gist_id}","starred_url":"https://api.github.com/users/helarqjsc/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/helarqjsc/subscriptions","organizations_url":"https://api.github.com/users/helarqjsc/orgs","repos_url":"https://api.github.com/users/helarqjsc/repos","events_url":"https://api.github.com/users/helarqjsc/events{/privacy}","received_events_url":"https://api.github.com/users/helarqjsc/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-07-10T20:16:56Z","updated_at":"2015-07-10T23:23:30Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/TypeStrong/atom-typescript/pulls/457","html_url":"https://github.com/TypeStrong/atom-typescript/pull/457","diff_url":"https://github.com/TypeStrong/atom-typescript/pull/457.diff","patch_url":"https://github.com/TypeStrong/atom-typescript/pull/457.patch"},"body":"Currently a file status is only updated on save, after this PR build will also change it.\r\nI've added `path.normalize` to `getFileStatus`, because on Windows it would sometimes get a path as \"C:\\xampp\\htdocs\\atom-typescript\\lib\\main\\atomts.ts\", sometimes as \"C:/xampp/htdocs/atom-typescript/lib/main/atomts.ts\" and they would be considered different files with different statuses. Now this should be fixed.\r\nAlso, during my test runs of \"TypeScript: Build\" some js files got updated. I haven't changed the corresponding ts files, so I guess it's fine and they have the right content now? It's weird that the js files weren't up to date in the master branch. Please, tell me if I shouldn't have pushed those files here."},"comment":{"url":"https://api.github.com/repos/TypeStrong/atom-typescript/issues/comments/120549422","html_url":"https://github.com/TypeStrong/atom-typescript/pull/457#issuecomment-120549422","issue_url":"https://api.github.com/repos/TypeStrong/atom-typescript/issues/457","id":120549422,"user":{"login":"basarat","id":874898,"avatar_url":"https://avatars.githubusercontent.com/u/874898?v=3","gravatar_id":"","url":"https://api.github.com/users/basarat","html_url":"https://github.com/basarat","followers_url":"https://api.github.com/users/basarat/followers","following_url":"https://api.github.com/users/basarat/following{/other_user}","gists_url":"https://api.github.com/users/basarat/gists{/gist_id}","starred_url":"https://api.github.com/users/basarat/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/basarat/subscriptions","organizations_url":"https://api.github.com/users/basarat/orgs","repos_url":"https://api.github.com/users/basarat/repos","events_url":"https://api.github.com/users/basarat/events{/privacy}","received_events_url":"https://api.github.com/users/basarat/received_events","type":"User","site_admin":false},"created_at":"2015-07-10T23:23:30Z","updated_at":"2015-07-10T23:23:30Z","body":">  It's weird that the js files weren't up to date in the master branch.\r\n\r\nThe one is master is right. You need to run `npm install` after a pull to get the latest version of `ntypescript` that the project is using. What you are seeing is the danger of using a const enum (like the ts compiler does). \r\n\r\nI'll update contributing. "}}