move livereload init into dev block