drewzboto / grunt-connect-proxy

Grunt Connect support for proxying API calls during development
MIT License
424 stars 122 forks source link

Updating readme to include instructions about connect 3.x API changes #131

Open vinicius0026 opened 8 years ago

vinicius0026 commented 8 years ago

The current README includes instructions to configure the connect task with a middleware to serve static files and make a directory browsable. However, connect 3.x, upon which grunt-contrib-connect > 0.11 depends, has moved the static and index middlewares to separate packages, breaking the API and the example given in the README.

This PR updates the README so that a working version of the connect task is added.

Feel free to modify the text as you see fit, but I think this information is important, because it took me some time to figure it out, and this time can be saved for other users.

Thanks!