I have a working webpack setup with hot module reload, that works great as long as I keep everything on local host.
But I'd like to have another computer running the client that also has hot module reload enabled.
Unfortunately when I try to do this, the client just complains that it can't connect to the hot module reload server on "http://localhost:3001/sockjs-node/info".
If I change my webpack config file to have "webpack-dev-server/client?http://(ip address):4000", and change my webpack server.js to run on port 4000, the client still gives the error that it can't connect to "http://localhost:3001/sockjs-node/info", even though it is loading the page perfectly fine.
Obviously I'm missing some config setting to tell webpack-dev-server to insert a different client address for hot module reload, but I can't find it.
Any help is appreciated!