fix livereload issue on non-localhost server (it is currently hard-coded as localhost)

commit
merge