Summary Files Commits Branches @commit @diff @stats
path: root / gulpfile.js
diff options
context:
space:
mode:
Commit1f9f807534108fe3412e1c2e7bf9d21e19e78f0d (patch)
Author
 Yan Zhu <picturepan2@hotmail.com>
2017-02-24 18:07:42 +0800
Committer
 GitHub <noreply@github.com>
2017-02-24 18:07:42 +0800
Filesf438aeb51e678535de131827f3f56c073be4a670 /gulpfile.js
Spectre-Dark-Gruvbox-1f9f807534108fe3412e1c2e7bf9d21e19e78f0d.tar
Spectre-Dark-Gruvbox-1f9f807534108fe3412e1c2e7bf9d21e19e78f0d.tar.gz
Spectre-Dark-Gruvbox-1f9f807534108fe3412e1c2e7bf9d21e19e78f0d.zip
Parent48f0d7e0e6d6d6569dbf98dd56091466520ae206 (diff)
Parent408ea5b6b0c9874b7b74601259239271b253d554 (diff)
Merge pull request #139 from picturepan2/feature/new-doc-page
Feature/new doc page
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]
}))