Only load livereload.,js if wp_debug is true