Skip to content

Commit 5ddd673

Browse files
beenannerphated
authored andcommitted
Docs: Update "getting started" example for new syntax
1 parent e1afdfd commit 5ddd673

File tree

1 file changed

+8
-2
lines changed

1 file changed

+8
-2
lines changed

docs/getting-started.md

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -37,10 +37,12 @@ In your project directory, create a file named `gulpfile.js` in your project roo
3737
```js
3838
var gulp = require('gulp');
3939

40-
gulp.task('default', function(done) {
40+
gulp.task('default', defaultTask);
41+
42+
function defaultTask(done) {
4143
// place code for your default task here
4244
done();
43-
});
45+
}
4446
```
4547

4648
#### Test it out
@@ -63,6 +65,10 @@ Using gulpfile ~/my-project/gulpfile.js
6365
[11:15:51] Finished 'default' after 103 μs
6466
```
6567

68+
## .src, .watch, .dest, .parallel, .series, CLI args - How do I use these things?
69+
70+
For API specific documentation, you can check out the [documentation for that](API.md).
71+
6672
## Where do I go now?
6773

6874
- [API Documentation](API.md) - The programming interface, defined

0 commit comments

Comments
 (0)