{"action":"created","issue":{"url":"https://api.github.com/repos/gaearon/react-hot-loader/issues/362","repository_url":"https://api.github.com/repos/gaearon/react-hot-loader","labels_url":"https://api.github.com/repos/gaearon/react-hot-loader/issues/362/labels{/name}","comments_url":"https://api.github.com/repos/gaearon/react-hot-loader/issues/362/comments","events_url":"https://api.github.com/repos/gaearon/react-hot-loader/issues/362/events","html_url":"https://github.com/gaearon/react-hot-loader/issues/362","id":177627010,"number":362,"title":"Full reload needed version 3.0.0-beta.4","user":{"login":"maestroh","id":2009595,"avatar_url":"https://avatars.githubusercontent.com/u/2009595?v=3","gravatar_id":"","url":"https://api.github.com/users/maestroh","html_url":"https://github.com/maestroh","followers_url":"https://api.github.com/users/maestroh/followers","following_url":"https://api.github.com/users/maestroh/following{/other_user}","gists_url":"https://api.github.com/users/maestroh/gists{/gist_id}","starred_url":"https://api.github.com/users/maestroh/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/maestroh/subscriptions","organizations_url":"https://api.github.com/users/maestroh/orgs","repos_url":"https://api.github.com/users/maestroh/repos","events_url":"https://api.github.com/users/maestroh/events{/privacy}","received_events_url":"https://api.github.com/users/maestroh/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2016-09-18T03:36:10Z","updated_at":"2016-09-18T17:17:02Z","closed_at":null,"body":"I'm getting an error that a full reload is needed for any changes to my Typescript project. I know this error comes up regularly, so I apologize in advance if this has been resolved previously. I'm using RHL beta 4 and the webpack hot middleware instead of the dev server. \r\n\r\nHere's my webpack config:\r\n\r\n```\r\nvar path = require('path');\r\nvar webpack = require('webpack');\r\n\r\nmodule.exports = {\r\n  devtool: 'source-map',\r\n  entry: [\r\n    'webpack-hot-middleware/client',\r\n    'react-hot-loader/patch',\r\n    './src/client/index.tsx'\r\n  ],\r\n  output: {\r\n    path: path.join(__dirname, 'dist'),\r\n    filename: 'bundle.js',\r\n    publicPath: ''\r\n  },\r\n  plugins: [\r\n    new webpack.HotModuleReplacementPlugin(),\r\n    new webpack.NoErrorsPlugin()\r\n  ],\r\n  module: {\r\n    preLoaders: [\r\n      { test: /\\.js$/, loader: \"source-map-loader\" }\r\n    ],\r\n    loaders: [{\r\n      test: /\\.tsx?$/,\r\n      loaders: [\r\n        'react-hot-loader/webpack',\r\n        'ts-loader'\r\n      ],\r\n      include: path.join(__dirname, 'src')\r\n    }]\r\n  }\r\n};\r\n```\r\n\r\nHere's the relevant bits in my server:\r\n\r\n```\r\napp.use(webpackDevMiddleware(\r\n    compiler, {\r\n      hot:true,\r\n      stats: {\r\n        colors: true\r\n      }\r\n    }\r\n  ));\r\n  app.use(webpackHotMiddleware(compiler));\r\n```\r\n\r\nindex.tsx is responsible for rendering and wraps another simple component. When I make changes to my simple component, I get the \"Full reload needed\" error.\r\n\r\nAny ideas on what I'm doing wrong here?"},"comment":{"url":"https://api.github.com/repos/gaearon/react-hot-loader/issues/comments/247860455","html_url":"https://github.com/gaearon/react-hot-loader/issues/362#issuecomment-247860455","issue_url":"https://api.github.com/repos/gaearon/react-hot-loader/issues/362","id":247860455,"user":{"login":"maestroh","id":2009595,"avatar_url":"https://avatars.githubusercontent.com/u/2009595?v=3","gravatar_id":"","url":"https://api.github.com/users/maestroh","html_url":"https://github.com/maestroh","followers_url":"https://api.github.com/users/maestroh/followers","following_url":"https://api.github.com/users/maestroh/following{/other_user}","gists_url":"https://api.github.com/users/maestroh/gists{/gist_id}","starred_url":"https://api.github.com/users/maestroh/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/maestroh/subscriptions","organizations_url":"https://api.github.com/users/maestroh/orgs","repos_url":"https://api.github.com/users/maestroh/repos","events_url":"https://api.github.com/users/maestroh/events{/privacy}","received_events_url":"https://api.github.com/users/maestroh/received_events","type":"User","site_admin":false},"created_at":"2016-09-18T17:17:02Z","updated_at":"2016-09-18T17:17:02Z","body":"Here's an example. I tried to keep it as simple as I could.\r\n\r\nhttps://github.com/maestroh/rhl_error_362\r\n\r\nThanks for looking into it."}}
{"actor":{"display_login":"maestroh"}}