Closed jupl closed 8 years ago
Please see https://github.com/gaearon/react-transform-boilerplate/issues/120#issuecomment-192716194 for an explanation for why this happens. If import chain doesn’t end in a component, hot update will fail unless you explicitly use module.hot.accept
API.
I was messing around with an app using this boilerplate and at times reload no longer works. The simplest example to reproduce is that if I clone this repo and run the app with a modified
index.js
:Without this change when I change colors hot reload works, but with this change the following appears in terminal: