Skip to content
This repository has been archived by the owner on Jun 3, 2019. It is now read-only.

dev server host always 0.0.0.0, not host config #433

Merged
merged 1 commit into from
May 3, 2017
Merged

dev server host always 0.0.0.0, not host config #433

merged 1 commit into from
May 3, 2017

Conversation

kdavh
Copy link
Contributor

@kdavh kdavh commented Apr 25, 2017

This is an change additional to #398 to help with remote development.

Now for example if I'm running my dev server and exposing it on a random IP, 12.23.34.45, I can set HOST to 12.23.34.45 and assets will be referenced correctly, and the dev server will still attempt to start up binding to the correct 0.0.0.0

@ctrlplusb
Copy link
Owner

I am so nervous on these types of changes because of the back and forth we have had with host specification breaking some cases. @birkir I feel like you are better informed in this case. Would you mind reviewing this?

@birkir birkir self-assigned this May 3, 2017
Copy link
Collaborator

@birkir birkir left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good. Maybe in the future we can add a special env var for dev server port like we do at ueno: https://github.com/ueno-llc/starter-kit-universally/blob/master/internal/development/hotClientServer.js#L35

@birkir birkir merged commit dbb0d3a into ctrlplusb:master May 3, 2017
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants