Use Send instead of Connect. Use discrete web.js (give up on using Gruntfile.js for serving in production).