From f71f9ada7b6aeb31c044d6047a80e751487a9ac3 Mon Sep 17 00:00:00 2001 From: Jonathan Lee Date: Fri, 22 Jan 2016 12:20:42 -0500 Subject: [PATCH 1/2] Modify getting started example for version 4.0 --- docs/getting-started.md | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/docs/getting-started.md b/docs/getting-started.md index 6daaf110e..9a1c41ba1 100644 --- a/docs/getting-started.md +++ b/docs/getting-started.md @@ -17,10 +17,13 @@ $ npm install --save-dev gulp ```js var gulp = require('gulp'); -gulp.task('default', function(done) { +gulp.task('default', defaultTask); + +function defaultTask(done) { // place code for your default task here done(); -}); +} + ``` #### 4. Run gulp: @@ -37,7 +40,7 @@ To run individual tasks, use `gulp `. You have an empty gulpfile and everything is installed. How do you REALLY get started? Check out the [recipes](recipes) and the [list of articles](README.md#articles) for more information. -## .src, .watch, .dest, CLI args - How do I use these things? +## .src, .watch, .dest, .parallel, .serial, CLI args - How do I use these things? For API specific documentation you can check out the [documentation for that](API.md). From f8e716f31a6eb23f851259c0d543f5ea8fe2d0dc Mon Sep 17 00:00:00 2001 From: Jonathan Lee Date: Mon, 1 Feb 2016 00:05:25 -0500 Subject: [PATCH 2/2] Fixing typo it's .series not .serial --- docs/getting-started.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/getting-started.md b/docs/getting-started.md index 9a1c41ba1..2bfb3a49c 100644 --- a/docs/getting-started.md +++ b/docs/getting-started.md @@ -40,7 +40,7 @@ To run individual tasks, use `gulp `. You have an empty gulpfile and everything is installed. How do you REALLY get started? Check out the [recipes](recipes) and the [list of articles](README.md#articles) for more information. -## .src, .watch, .dest, .parallel, .serial, CLI args - How do I use these things? +## .src, .watch, .dest, .parallel, .series, CLI args - How do I use these things? For API specific documentation you can check out the [documentation for that](API.md).