From d0e4f74cd10ed265abe19e2007be9c4146a82201 Mon Sep 17 00:00:00 2001 From: jlukic Date: Fri, 5 Jun 2015 13:49:10 -0400 Subject: [PATCH] #2358, remove component glob from assets --- tasks/build/assets.js | 2 +- tasks/watch.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/tasks/build/assets.js b/tasks/build/assets.js index 8ce4eab9b..bc37ad993 100644 --- a/tasks/build/assets.js +++ b/tasks/build/assets.js @@ -27,7 +27,7 @@ module.exports = function(callback) { console.info('Building assets'); // copy assets - return gulp.src(source.themes + '/**/assets/**/' + globs.components + '?(s).*') + return gulp.src(source.themes + '/**/assets/**/*.*') .pipe(gulpif(config.hasPermission, chmod(config.permission))) .pipe(gulp.dest(output.themes)) ; diff --git a/tasks/watch.js b/tasks/watch.js index 444cf966f..f870aa8cc 100644 --- a/tasks/watch.js +++ b/tasks/watch.js @@ -214,7 +214,7 @@ module.exports = function(callback) { // only copy assets that match component names (or their plural) gulp .watch([ - source.themes + '/**/assets/**/' + globs.components + '?(s).*' + source.themes + '/**/assets/**/*.*' ], function(file) { // copy assets gulp.src(file.path, { base: source.themes })