Summary Files Commits Branches @commit @diff @stats
path: root / gulpfile.js
diff options
context:
space:
mode:
1 files changed, 3 insertions, 2 deletions
-rw-r--r--gulpfile.js5
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]
}))