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

Adding ability to specify the localhost URI via config options #861

Draft
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

pblack
Copy link

@pblack pblack commented Oct 12, 2015

since browsersync launches a browser window once it start ups, it would be nice to be able to specify the host. Yes localhost works. We use different urls (all mapped to 127.0.0.1) different and rely on the domain name for certain features... Therefore, it would be nice if we were able to configure the domain of the freshly opened window (i.e. something other than localhost). All this does is add a 'localhost' option to the config. If specified, this will be used rather than 'localhost'... so
{ localhost: 'local-foobar.com' }
would cause browsersync to launch a new window at "http://local-foobar.com:3000" after the server loads.

@TheBoz
Copy link

TheBoz commented Jun 21, 2016

I know this thread is old, but did this option get added to BrowserSync? I need to designate a hostname other than localHost.

@mwcz
Copy link

mwcz commented Oct 30, 2017

I'm interested in this feature as well.

@pblack pblack marked this pull request as draft August 18, 2022 16:11
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

Successfully merging this pull request may close these issues.

None yet

3 participants