Error using middleware to redirect grunt server to root

66 views Asked by At

I have tried all solution listed here and here but I always end up with an error similar to the one below :

TypeError: Cannot read property 'forEach' of undefined
   at grunt.initConfig.browserSync.livereload.options.middleware (...

or

TypeError: undefined is not a function...

This question is at least one year later and I realised a lot has changed in grunt so I am not surprised if these answers no longer work.

Is there a new solution to this question for Nov 2015?

0

There are 0 answers