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
This commit is contained in:
@@ -207,7 +207,8 @@ gulp.task('watch', function() {
|
|||||||
browserSync({
|
browserSync({
|
||||||
proxy: config.devUrl,
|
proxy: config.devUrl,
|
||||||
snippetOptions: {
|
snippetOptions: {
|
||||||
ignorePaths: 'wp-admin/**'
|
whitelist: ['/wp-admin/admin-ajax.php'],
|
||||||
|
blacklist: ['/wp-admin/**']
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
gulp.watch([path.source + 'styles/**/*'], ['styles']);
|
gulp.watch([path.source + 'styles/**/*'], ['styles']);
|
||||||
|
|||||||
Reference in New Issue
Block a user