[go: nahoru, domu]

Skip to content

Commit

Permalink
docs: update vesrion 4.0 enctype
Browse files Browse the repository at this point in the history
  • Loading branch information
kasoqian authored Jan 21, 2022
1 parent 9b4aada commit d8ae39e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions chapter6.md
Original file line number Diff line number Diff line change
Expand Up @@ -53,12 +53,12 @@ gulp.task('sass', function() {
// 在命令行使用 gulp auto 启动此任务
gulp.task('auto', function () {
// 监听文件修改,当文件被修改则执行 images 任务
gulp.watch('sass/**/*.scss', ['sass'])
return gulp.watch('sass/**/*.scss', gulp.series(['sass']))
});

// 使用 gulp.task('default') 定义默认任务
// 在命令行使用 gulp 启动 sass 任务和 auto 任务
gulp.task('default', ['sass', 'auto'])
gulp.task('default', gulp.series(['sass', 'auto']))
```


Expand Down

0 comments on commit d8ae39e

Please sign in to comment.