diff --git a/gulpfile.js b/gulpfile.js index a1bf379..6dd374c 100644 --- a/gulpfile.js +++ b/gulpfile.js @@ -205,7 +205,10 @@ gulp.task('clean', require('del').bind(null, [path.dist])); // See: http://www.browsersync.io gulp.task('watch', function() { browserSync({ - proxy: config.devUrl + proxy: config.devUrl, + snippetOptions: { + ignorePaths: 'wp-admin/**' + } }); gulp.watch([path.source + 'styles/**/*'], ['styles']); gulp.watch([path.source + 'scripts/**/*'], ['jshint', 'scripts']);