Only start livereload server when enabled.

Change internals to create the server instance lazily.

Fixes #2069.