-
Notifications
You must be signed in to change notification settings - Fork 12k
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
feat(serve): add ability to set websocket client URL for wp-dev-server #3873
Conversation
@tsm91 would your use case be covered by being able to set the live reload host and port individually? |
…public-flag # Conflicts: # packages/angular-cli/commands/serve.ts
@clydin i've tried several options in https://github.com/angular/angular-cli/blob/master/docs/documentation/serve.md tried these:
If you wonder why webpack dev server's socket thingy runs on
There is a guide about this on webpack's new site: https://webpack.js.org/guides/development-vagrant/#advanced-usage-with-nginx So again, all i need is some kind of flag, mechanism to set |
The options you tried don't actually function. There is a pending PR #3952 that will correct that. Running this: |
@clydin yeah i followed one of the live reload options in the code and ran to a dead end very soon i dont even ask why are they in the docs then... it is soooo confusing, but yes it would solve my issue then. I also saw
|
I'm working on cleaning up the options. There still some options leftover from before the webpack conversion. My example should have been 443. Sorry about that. |
Ahh i see, it is a big chaos. 💃
where? is there anything i can help you out with regarding this issue? i could cleanup the networking related flags if that is a blocker for this PR being able to tell webpack-dev-server on which url to connect to the socket server is a must have feature |
Superseded by #3952 I believe. |
This issue has been automatically locked due to inactivity. Read more about our automatic conversation locking policy. This action has been performed automatically by a bot. |
Reference: devServer.public - CLI only
This is useful when your are using Vagrant or Docker and the client and host names and/or ports may differ.
Please merge this or #3381.