Skip to content

Commit 9b7578d

Browse files
authored
docs: watch task should be a function (#847)
1 parent 510c1c8 commit 9b7578d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ function buildStyles() {
6262

6363
exports.buildStyles = buildStyles;
6464
exports.watch = function () {
65-
gulp.watch('./sass/**/*.scss', ['sass']);
65+
gulp.watch('./sass/**/*.scss', buildStyles);
6666
};
6767
```
6868

0 commit comments

Comments
 (0)