-
Notifications
You must be signed in to change notification settings - Fork 81
Cannot get hot reload running #52
Comments
+1 |
I don't know, sorry :( We haven't used hot reload in our own dev for a while as we found it unreliable. I might take it out of the example webpack config. Keen for a solution, though, so leaving this open. |
I recently got it working with a setup like this. It's been working well so far: For those interested, here's a more full example with React and Relay: |
If you like this approach, I'd be happy to submit a PR. Please let me know. |
I had trouble getting it working in my Docker setup and started looking into @sankalpk's solution. I then realized I was on an older version of Node. I updated my Dockerfile to grab Node 7.2, and now hot reloading works for me with For other Docker/Docker-compose users, I referenced the latest node image Dockerfile: https://github.com/nodejs/docker-node/blob/718102a587e7f02748402551b51407332384c1b3/7.2/Dockerfile Update: This still reloads the whole page. |
Hey,
I've combined your generated webpack config with the one that vue.js generates.
Now I wonder how to get live reload running.
Webpack seems to inject some code that tries to load
http://localhost:3808/__webpack_hmr
But that path resolves in
Cannot GET /__webpack_hmr
.Is that even needed?
When I include
http://localhost:3808/webpack-dev-server.js
then the whole page reloads reloads completely. That's not my intent.Thx in advance!
Best,
Christian
The text was updated successfully, but these errors were encountered: