Join GitHub today
GitHub is home to over 20 million developers working together to host and review code, manage projects, and build software together.
host is null #1
I have rack-livereload and guard-livereload installed in a Rails app setup as follow.
I have that setup in my
I have the following in my
I've obviously restarted my server. I get the following console error:
I have my port 35729 listened by Apache and the js file is accessible.
I've tried to track down the problem without success. It is weird that the host is
when it should probably be:
Do you have any idea of what is going on?
This comment has been minimized.
This comment has been minimized.Show comment Hide comment
Hi, I just solved this issue for myself: when livereload.js is not being served from the domain root, but from a subfolder, you need to explicitly set a host, like this:
The documentation should be updated to reflect this, as currently it seems to indicate that this is only necessary when one pulls the script from a different domain.