From 9b7578dd38266c9361ca3614ea3d226fc7e7d0be Mon Sep 17 00:00:00 2001 From: Yue Yang Date: Wed, 27 Nov 2024 14:15:12 +0800 Subject: [PATCH] docs: watch task should be a function (#847) --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 9e5711db..2af107b7 100644 --- a/README.md +++ b/README.md @@ -62,7 +62,7 @@ function buildStyles() { exports.buildStyles = buildStyles; exports.watch = function () { - gulp.watch('./sass/**/*.scss', ['sass']); + gulp.watch('./sass/**/*.scss', buildStyles); }; ```