Seedstars / django-react-redux-base

Seedstars Labs Base Django React Redux Project
MIT License
2.65k stars 340 forks source link

Hot Reloading? #35

Open illing2005 opened 7 years ago

illing2005 commented 7 years ago

Thanks for the great boilerplate! Do you have any plans to include react-hot-loader?

dopeboy commented 7 years ago

I spent the better part of today looking at this and it's very, very buggy endeavor mostly due to webpack2 still being unstable (it is a beta after all). Though I applaud this project and it has been very helpful for me, I think webpack 1 should have been chosen.

briancappello commented 7 years ago

Managed to get hot reloading working using webpack-dev-server, see this diff. Note that I've only tested it locally, not with docker or in production... YMMV.

pbehrens commented 7 years ago

Has anyone got this running with Docker? I fiddled with docker-compose.yml to expose port 4000 in the frontend config, but keep getting this. http://localhost:4000/sockjs-node/info?t=1499871479943 net::ERR_EMPTY_RESPONSE

I am a bit new to setting up environments like this. Does Nginx factor into things at all? Or should I add something like this to the frontend part of docker-compose? ` ports:

Nonetheless, this repo is an awesome starting point for projects with or without hot reloading.

vikaskyadav commented 6 years ago

Can anybody help in this issue?