Logging (when using the --debug flag) has been broken since upgrading to Connect 3.x, because they removed connect.logger. The following error message causes Grunt to abort operations whenever using --debug:
Warning: Cannot read property 'format' of undefined Use --force to continue.
The logger middleware is now extracted into its own module called morgan.
This patch updates grunt-contrib-connect to use morgan.
Logging (when using the
--debug
flag) has been broken since upgrading to Connect 3.x, because they removed connect.logger. The following error message causes Grunt to abort operations whenever using--debug
:Warning: Cannot read property 'format' of undefined Use --force to continue.
The logger middleware is now extracted into its own module called morgan.
This patch updates grunt-contrib-connect to use morgan.