yeoman/yeoman — pull request #670 by jgrund (2012-10-27 18:43:45+00:00)
Title: Added generic proxy support to the server task.

In ```Gruntfile.js``` you can add a block like this:

```javascript
proxies: {
'^/api/v2/(.+)': function (req, res, next, match) {

}
}
```

If a request matches that regex string the associated function will be called with the standard connect parameters plus the regex match.

This provides a nice generic hook into the middleware stack, where matching paths can have custom functionality applied to their corresponding request.