Skip to content
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

Unable to use dynamicPublicPath and specify port #281

Open
slowselfip opened this issue Feb 1, 2018 · 1 comment
Open

Unable to use dynamicPublicPath and specify port #281

slowselfip opened this issue Feb 1, 2018 · 1 comment

Comments

@slowselfip
Copy link

Hello,

I have a use case where I need to use the dynamicPublicPath and have the ability to specify a custom port.

So, something like this:
'webpack-hot-middleware/client?dynamicPublicPath=true&path=__webpack_hmr&port=3000'

If my dynamic public path is set to /f9c5a3a910/, I'd like the client, with above entry point, to connect to: http://localhost:3000/f9c5a3a910/__webpack_hmr

@glenjamin
Copy link
Collaborator

The simplest way to do this right now would be to try and add the host and port into the dynamic public path in dev mode.

Otherwise I would accept a PR that made this possible, but i’m a bit wary about making the options any more complicated than they already are

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants