{"action":"created","issue":{"url":"https://api.github.com/repos/codingbox/isomorphic-react-redux-tutorial/issues/1","repository_url":"https://api.github.com/repos/codingbox/isomorphic-react-redux-tutorial","labels_url":"https://api.github.com/repos/codingbox/isomorphic-react-redux-tutorial/issues/1/labels{/name}","comments_url":"https://api.github.com/repos/codingbox/isomorphic-react-redux-tutorial/issues/1/comments","events_url":"https://api.github.com/repos/codingbox/isomorphic-react-redux-tutorial/issues/1/events","html_url":"https://github.com/codingbox/isomorphic-react-redux-tutorial/issues/1","id":181175057,"number":1,"title":"Mistake with main.js in dev mode","user":{"login":"JFFilip","id":12396661,"avatar_url":"https://avatars.githubusercontent.com/u/12396661?v=3","gravatar_id":"","url":"https://api.github.com/users/JFFilip","html_url":"https://github.com/JFFilip","followers_url":"https://api.github.com/users/JFFilip/followers","following_url":"https://api.github.com/users/JFFilip/following{/other_user}","gists_url":"https://api.github.com/users/JFFilip/gists{/gist_id}","starred_url":"https://api.github.com/users/JFFilip/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/JFFilip/subscriptions","organizations_url":"https://api.github.com/users/JFFilip/orgs","repos_url":"https://api.github.com/users/JFFilip/repos","events_url":"https://api.github.com/users/JFFilip/events{/privacy}","received_events_url":"https://api.github.com/users/JFFilip/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2016-10-05T14:43:31Z","updated_at":"2016-10-10T00:03:20Z","closed_at":null,"body":"in dev.config.js is:\r\n ```\r\nentry: {\r\n    main: [\r\n      `webpack-hot-middleware/client?path=http://${webpackHost}:${webpackPort}/__webpack_hmr`,\r\n      './src/index.js',\r\n    ],\r\n  },\r\n  output: {\r\n    path: assetsPath,\r\n    filename: '[name]-[hash].js',\r\n    chunkFilename: '[name]-[chunkhash].js',\r\n    publicPath: `http://${webpackHost}:${webpackPort}/assets/`,\r\n  },\r\n```\r\nwith hash, but in Default.jsx is main.js without hash and it creates an error in browser\r\n```\r\n<script\r\n            src={\r\n              process.env.NODE_ENV === 'development' ?\r\n              `http://${webpackHost}:${webpackPort}/assets/main.js` :\r\n              '/assets/main.js'\r\n            }\r\n            charSet=\"UTF-8\"\r\n          />\r\n```"},"comment":{"url":"https://api.github.com/repos/codingbox/isomorphic-react-redux-tutorial/issues/comments/252522305","html_url":"https://github.com/codingbox/isomorphic-react-redux-tutorial/issues/1#issuecomment-252522305","issue_url":"https://api.github.com/repos/codingbox/isomorphic-react-redux-tutorial/issues/1","id":252522305,"user":{"login":"lhatcher","id":16493982,"avatar_url":"https://avatars.githubusercontent.com/u/16493982?v=3","gravatar_id":"","url":"https://api.github.com/users/lhatcher","html_url":"https://github.com/lhatcher","followers_url":"https://api.github.com/users/lhatcher/followers","following_url":"https://api.github.com/users/lhatcher/following{/other_user}","gists_url":"https://api.github.com/users/lhatcher/gists{/gist_id}","starred_url":"https://api.github.com/users/lhatcher/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lhatcher/subscriptions","organizations_url":"https://api.github.com/users/lhatcher/orgs","repos_url":"https://api.github.com/users/lhatcher/repos","events_url":"https://api.github.com/users/lhatcher/events{/privacy}","received_events_url":"https://api.github.com/users/lhatcher/received_events","type":"User","site_admin":false},"created_at":"2016-10-10T00:03:20Z","updated_at":"2016-10-10T00:03:20Z","body":"Swapping out `[name]-[hash].js` for `main.js` seems to have fixed the above issue.\r\n\r\nHowever after cloning this repo down, the hot module replacement no longer works. Any ideas?"}}
{"actor":{"display_login":"lhatcher"}}