fix livereloading bug on non-localhost machine

it is currently hard-coded as localhost