From ea52a927843ff0e84f142f85813572bd5144a656 Mon Sep 17 00:00:00 2001 From: Blaine Bublitz Date: Sat, 27 Apr 2019 15:30:09 +0200 Subject: [PATCH] Docs: Fix syntax error in lastRun API docs (closes #2315) --- docs/api/last-run.md | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/docs/api/last-run.md b/docs/api/last-run.md index 4daa2abfd..f1bb581e8 100644 --- a/docs/api/last-run.md +++ b/docs/api/last-run.md @@ -23,11 +23,9 @@ function images() { .pipe(dest('build/img/')); } -function watch() { +exports.default = function() { watch('src/images/**/*.jpg', images); -} - -exports.watch = watch; +}; ```