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