automatically refresh the browser when using the watch feature