From 6a0b4cbb5895496ab8e204b5ef04732c4d9fdf1a Mon Sep 17 00:00:00 2001 From: Yan Zhu Date: Mon, 20 Feb 2017 10:26:45 +0800 Subject: ADD: New Documents experience --- gulpfile.js | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'gulpfile.js') diff --git a/gulpfile.js b/gulpfile.js index 3f9a922..a084646 100644 --- a/gulpfile.js +++ b/gulpfile.js @@ -9,6 +9,7 @@ var autoprefix= new LessPluginAutoPrefix({ browsers: ["last 3 versions"] }); gulp.task('watch', function() { gulp.watch('./**/*.less', ['build']); + gulp.watch('./**/*.less', ['docs']); }); gulp.task('build', function() { @@ -25,8 +26,8 @@ gulp.task('build', function() { .pipe(gulp.dest('./dist')) }); -gulp.task('tools', function() { - gulp.src('tools/**/*.less') +gulp.task('docs', function() { + gulp.src('docs/**/*.less') .pipe(less({ plugins: [autoprefix] })) -- cgit v1.3.1-26-gb76a