Skip to content

Commit 217afc6

Browse files
author
mars
committed
fix(gulp sass): 修复sass pipe changed后错误执行less(),而不是sass()
1 parent 0e226e4 commit 217afc6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

gulpfile.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -164,7 +164,7 @@ gulp.task("sassChange", () => {
164164
.src(sassPath, option)
165165
.pipe(changed(dist))
166166
.pipe(
167-
less().on("error", function(e) {
167+
sass().on("error", function(e) {
168168
console.error(e.message);
169169
this.emit("end");
170170
})

0 commit comments

Comments
 (0)