Created
January 28, 2015 02:38
-
-
Save greg5green/bbbe1579feacb287b3e3 to your computer and use it in GitHub Desktop.
gulp-less + watch
This file contains 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 less = require('gulp-less'); | |
gulp.task('less', function() { | |
gulp.src('./home-of-less-files/**/*.less') | |
.pipe(less({)) | |
.pipe(gulp.dest('./destination-directory')); | |
}); | |
gulp.task('watch', function() { | |
gulp.watch('./home-of-less-files/**/*.less', ['less']); | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment