add livereload guard