Open illing2005 opened 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.
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.
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.
Can anybody help in this issue?
Thanks for the great boilerplate! Do you have any plans to include react-hot-loader?