diff --git a/tasks/config/project/tasks.js b/tasks/config/project/tasks.js index 1a8e90fe6..0cc7eb3d5 100644 --- a/tasks/config/project/tasks.js +++ b/tasks/config/project/tasks.js @@ -83,6 +83,10 @@ module.exports = { if(error.filename.match(/theme.less/)) { console.error('Looks like your theme.config is out of date. You will need to add new elements from theme.config.example'); } + else { + console.log(error); + this.emit('end'); + } } } }, diff --git a/tasks/watch.js b/tasks/watch.js index a4a9ecee8..55980d6ff 100644 --- a/tasks/watch.js +++ b/tasks/watch.js @@ -136,6 +136,7 @@ module.exports = function(callback) { stream = gulp.src(lessPath) .pipe(plumber(settings.plumber.less)) .pipe(less(settings.less)) + .pipe(print(log.created)) .pipe(replace(comments.variables.in, comments.variables.out)) .pipe(replace(comments.license.in, comments.license.out)) .pipe(replace(comments.large.in, comments.large.out)) @@ -170,7 +171,6 @@ module.exports = function(callback) { gulp.start('package compressed css'); }) ; - } else { console.log('Cannot find UI definition at path', lessPath);