Switches from livereload to browsersync

Formatting
Removes references to livereload
Removes enqueued livereload client
This commit is contained in:
Austin Pray
2015-01-28 09:22:05 -06:00
parent cf4f58d5cc
commit c85d059239
3 changed files with 20 additions and 28 deletions

View File

@@ -54,15 +54,6 @@ function assets() {
add_filter('script_loader_src', __NAMESPACE__ . '\\jquery_local_fallback', 10, 2);
}
/**
* Livereload client
* https://github.com/livereload/livereload-js
*/
if (WP_ENV === 'development') {
wp_register_script('livereload', 'http://localhost:35729/livereload.js?snipver=1', null, false, true);
wp_enqueue_script('livereload');
}
if (is_single() && comments_open() && get_option('thread_comments')) {
wp_enqueue_script('comment-reply');
}