• 0

TypeError: dest.on is not a function


Following is the anti pattern gulp.src( 'Foo' ).pipe( shell( 'Bar' ) );
Use the following pattern gulp.task( 'Foo', shell.task('Bar') );