Skip to content

Instantly share code, notes, and snippets.

@jdcauley
Created January 29, 2014 14:41
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jdcauley/8689338 to your computer and use it in GitHub Desktop.
Save jdcauley/8689338 to your computer and use it in GitHub Desktop.
gulp-file
var gulp = require('gulp'),
sass = require('gulp-less');
gulp.task('less', function() {
gulp.src('assets-v2/less/app.less')
.pipe(gulp.dest('assets-v2/css/'));
});
gulp.task('default', function() {
gulp.run('less');
gulp.watch(['assets-v2/less/*.less'],
function(event) {
gulp.run('less');
});
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment