django-react-redux-base icon indicating copy to clipboard operation
django-react-redux-base copied to clipboard

Hot Reloading?

Open illing2005 opened this issue 8 years ago • 4 comments

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

illing2005 avatar Nov 24 '16 16:11 illing2005

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.

dopeboy avatar Dec 03 '16 02:12 dopeboy

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.

briancappello avatar Jun 19 '17 00:06 briancappello

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: - 4000:4000

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

pbehrens avatar Jul 12 '17 15:07 pbehrens

Can anybody help in this issue?

vikaskyadav avatar Dec 19 '17 09:12 vikaskyadav