gulpjs/gulp — pull request #223 by davewasmer (2014-01-31 03:31:03+00:00)
Title: Add a hack to allow coffee-script 1.7+

Coffeescript 1.7+ no longer automatically registers file extensions with Node. To do so, you must call `.register()`:

```javascript
coffeescript = require('coffee-script')
coffeescript.register()
```

I added a hack-ish solution: just check if the module being required is `"coffee-script"` (and `>= v1.7.0`), and if so, call `register`.

I realize this isn't the cleanest implementation, but thought I would start the issue with some kind of solution at least.