Description
Would you be interested in having the possibility of setting a different url for WebpackDevServer than the current window.location
? see https://github.com/facebookincubator/create-react-app/blob/master/packages/react-dev-utils/webpackHotDevClient.js#L129
In my project I have a different server that serves the react-app bundle. Because of this, I am not able to use webpackHotDevClient with its current configuration. This is because the webpackHotDevClient assumes the app runs from the same location as the WebpackDevServer.
webpack-dev-server/client allows for this by using the magical constant __resourceQuery
https://github.com/webpack/webpack-dev-server/blob/master/client/index.js#L22
If you're interested I'd be happy to open a pr for with.
Thank you