From: Steve Sutton Date: Fri, 3 Nov 2017 19:46:38 +0000 (-0400) Subject: Adding gulp-notify X-Git-Tag: v1.0.0^2~297 X-Git-Url: http://cvs2.gaslightmedia.com/gitweb/?a=commitdiff_plain;h=9c1c0bd600ffea927085309d97953cd5590c306f;p=WP-Plugins%2Fglm-member-db-registrations.git Adding gulp-notify Add gulp-notify You'll need to run npm instal. --- diff --git a/gulpfile.js b/gulpfile.js index 47326ec..1049b09 100644 --- a/gulpfile.js +++ b/gulpfile.js @@ -2,7 +2,8 @@ var gulp = require('gulp'), concat = require('gulp-concat'), uglify = require('gulp-uglify'), jshint = require('gulp-jshint'), - plumber = require('gulp-plumber'); + plumber = require('gulp-plumber'), + notify = require('gulp-notify'); gulp.task('adminscripts', function(){ gulp.src([ @@ -26,7 +27,12 @@ gulp.task('frontscripts', function(){ .pipe(concat('frontRegApp.js')) //.pipe(uglify()) .pipe(jshint()) - .pipe(gulp.dest('js/')); + .pipe(gulp.dest('js/')) + .pipe(notify({ + title: 'Gulp - Frontscripts', + message: 'compiling of js files complete', + onLast: true + })); }); gulp.task('watch', function(){ @@ -43,4 +49,4 @@ gulp.task('watch', function(){ }); gulp.task('default', ['frontscripts', 'adminscripts', 'watch']); - \ No newline at end of file +