Skip to content
This repository has been archived by the owner on Aug 29, 2021. It is now read-only.

Commit

Permalink
update docs for using coffee-script for new 1.7 crap gulpjs#223
Browse files Browse the repository at this point in the history
  • Loading branch information
yocontra committed Jan 31, 2014
1 parent f5368d1 commit 0f1e8d2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/recipes/using-coffee-script-for-gulpfile.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,14 +2,14 @@

As discussed in [issue #103](https://github.com/gulpjs/gulp/issues/103), there are 2 ways to do this.

1. Use `gulp --require coffee-script` at the command line
1. Use `gulp --require coffee-script/register` at the command line

2. Require in `gulpfile.coffee` after requiring `coffee-script` in `gulpfile.js`

`gulpfile.js`

```js
require('coffee-script');
require('coffee-script/register');
require('./gulpfile.coffee');
```

Expand Down

0 comments on commit 0f1e8d2

Please sign in to comment.