-
Notifications
You must be signed in to change notification settings - Fork 40
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
How it use with webpackHotDevClient #57
Comments
This version of package https://github.com/facebook/create-react-app/blob/next/packages/react-dev-utils/webpackHotDevClient.js |
hi @romanlex i'm not sure i understand what you're trying to achieve. what is the reason for using package with webpackHotDevClient directly? the code you sent (webpackHotDevClient) seems to be a client code for create-react-app implementation of webpack-dev-server. browser-sync itself has the similar code as it serves a similar purpose. for ones who want to use both browser-sync and webpack-dev-server simultaneously, there's an example in package docs. in this case nobody really cares for what browser-sync or webpack-dev-server really does on client, your just need to match ports and other options on backend. |
this client has another link for RHL
In my case I use nginx as proxy for all local domains and sockjs connection not work properly. May be this info help someone
|
sorry for delay. i'm glad you've figured this exotic use-case out. gonna close the issue now. thanks |
Hello, how it use with webpackHotDevClient from react-dev-utils?
Example pkg https://github.com/react-doc/webpack-hot-dev-clients/blob/master/webpackHotDevClient.js
It use window.location.hostname & window.location.port for work this
The text was updated successfully, but these errors were encountered: