{"action":"created","issue":{"url":"https://api.github.com/repos/facebook/react-native/issues/7279","repository_url":"https://api.github.com/repos/facebook/react-native","labels_url":"https://api.github.com/repos/facebook/react-native/issues/7279/labels{/name}","comments_url":"https://api.github.com/repos/facebook/react-native/issues/7279/comments","events_url":"https://api.github.com/repos/facebook/react-native/issues/7279/events","html_url":"https://github.com/facebook/react-native/issues/7279","id":151711428,"number":7279,"title":"HMR: When adding image it tries to parse PNG as JS","user":{"login":"frantic","id":192222,"avatar_url":"https://avatars.githubusercontent.com/u/192222?v=3","gravatar_id":"","url":"https://api.github.com/users/frantic","html_url":"https://github.com/frantic","followers_url":"https://api.github.com/users/frantic/followers","following_url":"https://api.github.com/users/frantic/following{/other_user}","gists_url":"https://api.github.com/users/frantic/gists{/gist_id}","starred_url":"https://api.github.com/users/frantic/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/frantic/subscriptions","organizations_url":"https://api.github.com/users/frantic/orgs","repos_url":"https://api.github.com/users/frantic/repos","events_url":"https://api.github.com/users/frantic/events{/privacy}","received_events_url":"https://api.github.com/users/frantic/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":5,"created_at":"2016-04-28T18:27:46Z","updated_at":"2016-08-21T11:01:49Z","closed_at":null,"body":"Repro: Enable HMR, add an image to working tree.\r\n\r\n```\r\n> SyntaxError: /Users/frantic/code/AwesomeProject/js/img/like@2x.png: Unexpected character '�' (1:0)\r\n> > 1 | �PNG\r\n>     | ^\r\n>   2 |\r\n>   3 |\r\n>   4 | IHDRP���sRGB��� pHYs\r\n\r\n                            ���iTXtXML:com.adobe.xmp<x:xmpmeta xmlns:x=\"adobe:ns:meta/\" x:xmptk=\"XMP Core 5.4.0\">\r\n>     at Parser.pp.raise (/Users/frantic/code/AwesomeProject/node_modules/babylon/index.js:1378:13)\r\n>     at Parser.getTokenFromCode (/Users/frantic/code/AwesomeProject/node_modules/babylon/index.js:5250:10)\r\n>     at Parser.readToken (/Users/frantic/code/AwesomeProject/node_modules/babylon/index.js:4887:19)\r\n>     at Parser.<anonymous> (/Users/frantic/code/AwesomeProject/node_modules/babylon/index.js:4338:20)\r\n>     at Parser.readToken (/Users/frantic/code/AwesomeProject/node_modules/babylon/index.js:3632:22)\r\n>     at Parser.nextToken (/Users/frantic/code/AwesomeProject/node_modules/babylon/index.js:4877:19)\r\n>     at Parser.parse (/Users/frantic/code/AwesomeProject/node_modules/babylon/index.js:1348:10)\r\n>     at Object.parse (/Users/frantic/code/AwesomeProject/node_modules/babylon/index.js:45:50)\r\n>     at File.parse (/Users/frantic/code/AwesomeProject/node_modules/babel-core/lib/transformation/file/index.js:479:24)\r\n>     at File.parseCode (/Users/frantic/code/AwesomeProject/node_modules/babel-core/lib/transformation/file/index.js:568:20)\r\n```"},"comment":{"url":"https://api.github.com/repos/facebook/react-native/issues/comments/241251196","html_url":"https://github.com/facebook/react-native/issues/7279#issuecomment-241251196","issue_url":"https://api.github.com/repos/facebook/react-native/issues/7279","id":241251196,"user":{"login":"satya164","id":1174278,"avatar_url":"https://avatars.githubusercontent.com/u/1174278?v=3","gravatar_id":"","url":"https://api.github.com/users/satya164","html_url":"https://github.com/satya164","followers_url":"https://api.github.com/users/satya164/followers","following_url":"https://api.github.com/users/satya164/following{/other_user}","gists_url":"https://api.github.com/users/satya164/gists{/gist_id}","starred_url":"https://api.github.com/users/satya164/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/satya164/subscriptions","organizations_url":"https://api.github.com/users/satya164/orgs","repos_url":"https://api.github.com/users/satya164/repos","events_url":"https://api.github.com/users/satya164/events{/privacy}","received_events_url":"https://api.github.com/users/satya164/received_events","type":"User","site_admin":false},"created_at":"2016-08-21T11:01:49Z","updated_at":"2016-08-21T11:01:49Z","body":"This is indeed annoying. I face this a lot too. @bestander who is in charge of HMR now-a-days?"}}
{"actor":{"display_login":"satya164"}}