From 9423042956133150b01ca8b03bfe2f62a6f3ea1e Mon Sep 17 00:00:00 2001 From: Ben Word Date: Wed, 11 Feb 2015 00:56:35 -0600 Subject: [PATCH 1/2] Bump BrowserSync version --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index 95a580e..59a5d4a 100644 --- a/package.json +++ b/package.json @@ -28,7 +28,7 @@ }, "devDependencies": { "asset-builder": "^0.3.5", - "browser-sync": "^1.9.1", + "browser-sync": "^2.0.1", "del": "^1.1.1", "gulp": "^3.8.10", "gulp-changed": "^1.1.0", From 71b753eaca82748256dc74378fcf96c29087c4ab Mon Sep 17 00:00:00 2001 From: Ben Word Date: Wed, 11 Feb 2015 00:58:56 -0600 Subject: [PATCH 2/2] Update BrowserSync whitelist/blacklist Ref #1298 Ref https://github.com/roots/roots/issues/1298#issuecomment-72854302 Ref https://github.com/BrowserSync/browser-sync/issues/373#issuecomment-72854259 --- gulpfile.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/gulpfile.js b/gulpfile.js index 6dd374c..4937e0d 100644 --- a/gulpfile.js +++ b/gulpfile.js @@ -207,7 +207,8 @@ gulp.task('watch', function() { browserSync({ proxy: config.devUrl, snippetOptions: { - ignorePaths: 'wp-admin/**' + whitelist: ['/wp-admin/admin-ajax.php'], + blacklist: ['/wp-admin/**'] } }); gulp.watch([path.source + 'styles/**/*'], ['styles']);