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; +}; ```