fix watchfile on OSX
fix URI encoding
update host, port in reload script