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

Chrome: Use current domain as host #15

Open
jgallen23 opened this issue Feb 25, 2013 · 18 comments · May be fixed by #16
Open

Chrome: Use current domain as host #15

jgallen23 opened this issue Feb 25, 2013 · 18 comments · May be fixed by #16

Comments

@jgallen23
Copy link

I'm developing on a dev server so the host is not http://localhost. It would be nice to have the chrome extension use the current host instead of defaulting to 127.0.0.1.

@jaywilliams
Copy link

I had the same issue myself. It would definitely be a useful feature.

@davidlitmark
Copy link

+1. This would be a welcome addition to the feature set.

@cauld
Copy link

cauld commented Dec 17, 2014

+1, would help a lot with Docker development.

@xhoskin
Copy link

xhoskin commented Jan 8, 2015

+1

@camilonova
Copy link

Please, anyone found a workaround?

@camilonova
Copy link

If you include the script manually will work:

<script>document.write('<script src="//' + location.host.split(':')[0] + ':35729/livereload.js"></' + 'script>')</script>

But this should be fixed ASAP.

@andreyvit
Copy link
Member

Guys, a change to try to connect to both 127.0.0.1 and the tab's host is planned. I cannot make it connect to only the tab's host because that will break valid remote use cases of my app. (The app can override remote CSS files with local ones, so users can be editing styles for a site running remotely.)

@camilonova
Copy link

@andreyvit how about merging #35 ?

@andreyvit
Copy link
Member

@camilonova But I've just explained why #35 cannot be merged. :-)

The only way to solve this is to try to connect to both hosts. I'll get to that soon. If someone wants to do a pull request sooner, I'll be happy to merge it.

@camilonova
Copy link

@andreyvit Thank you, do you have any updates about this?

@andreyvit
Copy link
Member

@camilonova Nope, I didn't mean that soon. Contributions are still welcome. :-)

@camilonova
Copy link

@andreyvit If you give me some directions I can try to do it on my own

@cj
Copy link

cj commented May 17, 2015

+1

@camilonova
Copy link

@andreyvit any updates?

@ChristopherDosin
Copy link

+10000

@camilonova
Copy link

Do we have any updates, or there is way I can help?

@lokcito
Copy link

lokcito commented Nov 7, 2018

I have just upload a custom version that allow set your custom host and port:
Here the link: https://github.com/lokcito/livereload-extensions
Download here: https://github.com/lokcito/livereload-extensions/raw/master/dist/2.1.0/LiveReload-2.1.0-ChromeWebStore.zip

@maksymz
Copy link

maksymz commented Jul 24, 2019

+1 for having ability to configure host/port (or least host, or at least use current website domain). Required to be able to use extension while developing in Docker.

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 a pull request may close this issue.