Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/picturepan2/spectre.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYan Zhu <picturepan2@hotmail.com>2017-02-20 05:26:45 +0300
committerYan Zhu <picturepan2@hotmail.com>2017-02-20 05:26:45 +0300
commit6a0b4cbb5895496ab8e204b5ef04732c4d9fdf1a (patch)
treebf7934e803589df95d440071d0b37d9164a46129 /gulpfile.js
parenta6c0404e2aab2d2ec45c76e5e8e885c3ff0be661 (diff)
ADD: New Documents experience
Diffstat (limited to 'gulpfile.js')
-rw-r--r--gulpfile.js5
1 files changed, 3 insertions, 2 deletions
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]
}))