1) npm install --save-dev connect-modrewrite 2) configure Gruntfile.js according to the "MODIFIED" sections below