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']);