{"action":"created","issue":{"url":"https://api.github.com/repos/mjohnston/react-native-webpack-server/issues/79","labels_url":"https://api.github.com/repos/mjohnston/react-native-webpack-server/issues/79/labels{/name}","comments_url":"https://api.github.com/repos/mjohnston/react-native-webpack-server/issues/79/comments","events_url":"https://api.github.com/repos/mjohnston/react-native-webpack-server/issues/79/events","html_url":"https://github.com/mjohnston/react-native-webpack-server/issues/79","id":107716722,"number":79,"title":"index.ios.js running twice","user":{"login":"jacobrosenthal","id":455796,"avatar_url":"https://avatars.githubusercontent.com/u/455796?v=3","gravatar_id":"","url":"https://api.github.com/users/jacobrosenthal","html_url":"https://github.com/jacobrosenthal","followers_url":"https://api.github.com/users/jacobrosenthal/followers","following_url":"https://api.github.com/users/jacobrosenthal/following{/other_user}","gists_url":"https://api.github.com/users/jacobrosenthal/gists{/gist_id}","starred_url":"https://api.github.com/users/jacobrosenthal/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jacobrosenthal/subscriptions","organizations_url":"https://api.github.com/users/jacobrosenthal/orgs","repos_url":"https://api.github.com/users/jacobrosenthal/repos","events_url":"https://api.github.com/users/jacobrosenthal/events{/privacy}","received_events_url":"https://api.github.com/users/jacobrosenthal/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2015-09-22T13:37:48Z","updated_at":"2015-09-29T02:24:41Z","closed_at":null,"body":"react pacakger open, port 8081 selected\r\n```\r\n2015-09-22 15:32:09.929 [info][tid:com.facebook.React.JavaScript] 'something'\r\n2015-09-22 15:32:09.982 [info][tid:com.facebook.React.JavaScript] 'Running application \"bleqr\" with appParams: {\"rootTag\":1,\"initialProps\":{}}. __DEV__ === true, development-level warning are ON, performance optimizations are OFF'\r\n2015-09-22 15:32:10.029 [warn][tid:com.facebook.React.JavaScript] 'devtools socket errored', [Error: The operation couldn’t be completed. Connection refused]\r\n```\r\n\r\nwebpackager open, port 8080 selected\r\n```\r\n2015-09-22 15:33:08.769 [info][tid:com.facebook.React.JavaScript] 'something'\r\n2015-09-22 15:33:08.781 [info][tid:com.facebook.React.JavaScript] 'something'\r\n2015-09-22 15:33:08.819 [info][tid:com.facebook.React.JavaScript] 'Running application \"bleqr\" with appParams: {\"rootTag\":1,\"initialProps\":{}}. __DEV__ === true, development-level warning are ON, performance optimizations are OFF'\r\n2015-09-22 15:33:08.865 [warn][tid:com.facebook.React.JavaScript] 'devtools socket errored', [Error: The operation couldn’t be completed. Connection refused]\r\n```\r\n\r\nindex.ios.js\r\n```\r\n'use strict';\r\n\r\nvar React = require('react-native');\r\n\r\nconsole.log('something');\r\n\r\nvar {\r\n  AppRegistry,\r\n  Text,\r\n  View\r\n} = React;\r\n\r\nvar async = require('async');\r\n\r\nvar bleqr = React.createClass({\r\n\r\n  render: function() {\r\n    return (\r\n      <View>\r\n      </View>\r\n    );\r\n  },\r\n\r\n});\r\n\r\nAppRegistry.registerComponent('bleqr', () => bleqr);\r\n```\r\n\r\nProbably related to what Im seeing on #75 where it loads successfully and also crashes.\r\n"},"comment":{"url":"https://api.github.com/repos/mjohnston/react-native-webpack-server/issues/comments/143925792","html_url":"https://github.com/mjohnston/react-native-webpack-server/issues/79#issuecomment-143925792","issue_url":"https://api.github.com/repos/mjohnston/react-native-webpack-server/issues/79","id":143925792,"user":{"login":"elliottsj","id":2177366,"avatar_url":"https://avatars.githubusercontent.com/u/2177366?v=3","gravatar_id":"","url":"https://api.github.com/users/elliottsj","html_url":"https://github.com/elliottsj","followers_url":"https://api.github.com/users/elliottsj/followers","following_url":"https://api.github.com/users/elliottsj/following{/other_user}","gists_url":"https://api.github.com/users/elliottsj/gists{/gist_id}","starred_url":"https://api.github.com/users/elliottsj/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/elliottsj/subscriptions","organizations_url":"https://api.github.com/users/elliottsj/orgs","repos_url":"https://api.github.com/users/elliottsj/repos","events_url":"https://api.github.com/users/elliottsj/events{/privacy}","received_events_url":"https://api.github.com/users/elliottsj/received_events","type":"User","site_admin":false},"created_at":"2015-09-29T02:24:40Z","updated_at":"2015-09-29T02:24:40Z","body":"Hm, I see you have `index.android`. Were you able to get Android up and running? I suspect the error `devtools socket errored` is due to the same issue here: https://github.com/mjohnston/react-native-webpack-server/issues/65#issuecomment-143516156\r\n\r\nNot sure why index.ios.js would run twice though; where does this console output appear?\r\n```\r\n2015-09-22 15:32:09.929 [info][tid:com.facebook.React.JavaScript] 'something'\r\n2015-09-22 15:32:09.982 [info][tid:com.facebook.React.JavaScript] 'Running application \"bleqr\" with appParams: {\"rootTag\":1,\"initialProps\":{}}. __DEV__ === true, development-level warning are ON, performance optimizations are OFF'\r\n2015-09-22 15:32:10.029 [warn][tid:com.facebook.React.JavaScript] 'devtools socket errored', [Error: The operation couldn’t be completed. Connection refused]\r\n```\r\n```\r\n2015-09-22 15:33:08.769 [info][tid:com.facebook.React.JavaScript] 'something'\r\n2015-09-22 15:33:08.781 [info][tid:com.facebook.React.JavaScript] 'something'\r\n2015-09-22 15:33:08.819 [info][tid:com.facebook.React.JavaScript] 'Running application \"bleqr\" with appParams: {\"rootTag\":1,\"initialProps\":{}}. __DEV__ === true, development-level warning are ON, performance optimizations are OFF'\r\n2015-09-22 15:33:08.865 [warn][tid:com.facebook.React.JavaScript] 'devtools socket errored', [Error: The operation couldn’t be completed. Connection refused]\r\n```\r\nIn the chrome dev tools?"}}