zeevl / connect-include

A node connect middleware component to allow for SSI-style includes
5 stars 5 forks source link

Update to work with grunt-contrib-connect 0.9.0 #8

Open jraller opened 9 years ago

jraller commented 9 years ago

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.

jraller commented 9 years ago

grunt-contrib-connect has updated to 0.10.1

zeevl commented 9 years ago

@jraller in looking at bringing this project up to date, I ran across connect-ssi, which appears to do the same thing as this only better. Any reason not to use that instead?

jraller commented 9 years ago

I'm trying that one out now myself. I might have to add to their documentation when I get it working with grunt-contrib-connect.