Created
May 8, 2014 03:12
-
-
Save colindecarlo/e00fe906ee8a5bf163e3 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| var move = function (source, dest) { | |
| var log = (function(dest) { | |
| return function(source) { | |
| return 'Moving ' + source + ' to ' + dest; | |
| }; | |
| })(dest); | |
| gulp.src(source) | |
| .pipe(newer(dest)) | |
| .pipe(print(log)) | |
| .pipe(gulp.dest(dest)); | |
| }, |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment