gaearon/react-transform-boilerplate

[HMR] The following modules couldn't be hot updated

alexander-entin opened this issue · 7 comments

Not sure if it is an issue or support request.

clone, install, start, change color =>
[HMR] The following modules couldn't be hot updated: (Full reload needed)
[HMR] - ./src/colors.js

Can someone confirm if it is still working with all the latest packages?
Thank you.

irrg commented

Ah, so it's not just me. Just started using this boilerplate today, same issue.

It worked after node update from 4.2.2 to 5.1.1

irrg commented

Still seeing the same issue after upgrading to 5.1.1 using nvm

irrg commented

nevermind, #20 helped — my .babelrc got messed up.

luthv commented

same issue here, updated to node v5.3.0 but still doesn't help, I got the exact same .babelrc as in the repo

I can't reproduce this.

@luthv

Please clone this project in a new folder, npm install and try again. Maybe you changed something in the configuration or in the source and forgot about it, or some dependency was buggy.

I'll happily reopen if you provide a way to reproduce.

luthv commented

I've tried it again in ubuntu and this time it worked, the one that didn't work was on windows 10 64 bit with node v4 and v5.

Edit:
I found the problem, well at least on my system, it seems that the NODE_ENV variable is not properly recognized by Babel, so my solution was to set it directly in the devServer.js, with this modification the hot reload is now working on my windows 10 system.