Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

hot module is 404ing #17

Closed
marr opened this issue Mar 15, 2015 · 2 comments
Closed

hot module is 404ing #17

marr opened this issue Mar 15, 2015 · 2 comments

Comments

@marr
Copy link

marr commented Mar 15, 2015

Hi Dan,
Any clue what could be going on here? http://cl.ly/image/0E0l1w3C402N

I tried pulling out the config into a project im trying to get HMR working on, so its not specific to this repo, but I'm not sure where else to post. Here is the repo, and node server.js should start up and behave as shown above. Basically the module name doesnt appear to be updated in console so its still looking for the old module. Also I notice the compilation step happens twice.

Thanks,
Dave

@marr
Copy link
Author

marr commented Mar 15, 2015

Appears this might be normal, according to https://github.com/gaearon/react-hot-loader/blob/master/docs/Troubleshooting.md#the-following-modules-couldnt-be-hot-updated-they-would-need-a-full-reload

I am just confused because I do see the reload actually working but it still 404s.

@gaearon
Copy link
Owner

gaearon commented Mar 15, 2015

I think older versions of WebpackDevServer used 404 as status code for “no updates” but a lot of people were confused by this, so it was changed. You're using WDS 1.2.4 but the latest version is 1.7.0. Upgrading WDS will solve your issue.

@gaearon gaearon closed this as completed Mar 15, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants