Restructure theme, use autoloader
This commit is contained in:
@@ -244,7 +244,7 @@ gulp.task('clean', require('del').bind(null, [path.dist]));
|
||||
// See: http://www.browsersync.io
|
||||
gulp.task('watch', function() {
|
||||
browserSync.init({
|
||||
files: ['{lib,templates}/**/*.php', '*.php'],
|
||||
files: ['{app,templates}/**/*.php'],
|
||||
proxy: config.devUrl,
|
||||
snippetOptions: {
|
||||
whitelist: ['/wp-admin/admin-ajax.php'],
|
||||
|
||||
Reference in New Issue
Block a user