-
-
Notifications
You must be signed in to change notification settings - Fork 1.5k
use proxy can not hot update #600
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
use proxy can not hot update #600
Comments
So what would your proposed fix be? I'm not sure I understand what you're trying to do here. |
the sockServer prefix can configurable or auto match current host thanks。 |
Is there an easy way to reproduce this behavior? I've never seen this before. |
my local environment : chrome install SwitchyOmega , config : http 127.0.0.1 2222 then use webpack-dev-server |
Could you check if webpack/webpack-dev-middleware#80 works for you? The quickest way to test this would be to go to |
I am sorry that not this. The same reason,but not one problem, but Sockjs on this scheme can be used。 |
It is my current solution。 I just want to make it more simple |
I think this is the way it should work, the dev server should not be proxied like that. |
I agree, but it is complex ( configuration host,proxy, and exclude dev server ) when use proxy。 Thank you anyway。 |
Yeah I agree, the configuration of dev-server can be (too) complicated. We're working on that though, with stricter validation of the configuration. |
Uh oh!
There was an error while loading. Please reload this page.
webpack: 1.10.x
webpack-dev-server: 1.15.x
OSX 10.x
this prefix is unchangeable;
when i use browser proxy,request.url include hostname, it can not work.
example: local.com:2222/sockjs-node/info.js
not use proxy,it can matched an work
request.url = /sockjs-node/info.js
use proxy ,it can not matched
request.url = local.com:2222/sockjs-node/info.js
The text was updated successfully, but these errors were encountered: