Closed rogersp closed 7 years ago
I can confirm the error, but the fix does not work for me (please let us know which babel-cli/babel-node version you use). I'd speculate that react-hot-loader causes this, last updated in #62. However, before the PR, the error message was
The following modules couldn't be hot updated: (They would need a full reload!)
@ncrmro might be more familiar with HMR
@rogersp @Neitsch can confirm master and canary branches HMR isn't being triggered atm. Checking it out.
Actually that was cause I had two webpack dev servers except custom ports were sending one's request to the other.
HMR is working with the latest canary branch. I've just checked.
I'm working on OS X. Haven't done much dev on windows.
@Neitsch @ncrmro can confirm HMR does work for react components in canary branch on Windows.
@rogersp great going to close for now!
Running into an issue where hot reload of React components is not working as expected. There is a HMR warning in the console which may be related:
Here are the steps I've performed, on a Win10x64 machine:
npm install
package.json
scripts entry forstart
from:
to:
Notice the elimination of
./node_modules/.bin/
. This is a quick and dirty fix for Windows which doesn't like the local babel-node reference.npm start
client/components/Login/LoginComponent.js
, change page heading text and save.My expectation is the login page heading would change without a full-page refresh. Any idea why this is not working as expected?