FountainJS / generator-fountain-react

Yeoman 'fountain' generator to start a webapp with React
http://fountainjs.io
MIT License
36 stars 11 forks source link

Typescript HMR #63

Open delmotte opened 7 years ago

delmotte commented 7 years ago

I'm encountering a problem when I use it with typescript, the HMR works but still print warning in the console :

The following modules couldn't be hot updated: (Full reload needed) This is usually because the modules which have changed (and their parents) do not know how to hot reload themselves. See http://webpack.github.io/docs/hot-module-replacement-with-webpack.html for more details.

I can't find how to fix it, does someone got an idea ?

Swiip commented 7 years ago

To be honest, I never really tried HMR with TS. If it doesn't work as for Babel, it could be tricky. After a bit of search on Google, have you tried to update react-hot-loader to the 3.0 beta perhaps?