@HenningM correctly
~~~js
if (o.livereload || typeof lr == "object")
~~~