Skip to content

Commit

Permalink
Docs: Update "getting started" example for new syntax
Browse files Browse the repository at this point in the history
  • Loading branch information
beenanner authored and phated committed Dec 31, 2017
1 parent e1afdfd commit 5ddd673
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions docs/getting-started.md
Original file line number Diff line number Diff line change
Expand Up @@ -37,10 +37,12 @@ In your project directory, create a file named `gulpfile.js` in your project roo
```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();
});
}
```

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

## .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).

## Where do I go now?

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

0 comments on commit 5ddd673

Please # to comment.