grunt-contrib-connect version 0.9.0 changed how it handles middleware. It appears that among the changes are the need to pass in middlewares as the third argument to the middleware function, and to change from push to unshift for adding to the middlewares collection. Even with these changes connect-include isn't working.