From a5b631aa9183f439ab7a9b03a3d4b68e419a8a89 Mon Sep 17 00:00:00 2001 From: Brandon Aaron Date: Thu, 14 Nov 2013 10:36:34 -0500 Subject: [PATCH] Update grunt connect config --- Gruntfile.js | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/Gruntfile.js b/Gruntfile.js index 8ce99a3a1c..5efc43cf95 100644 --- a/Gruntfile.js +++ b/Gruntfile.js @@ -24,8 +24,13 @@ module.exports = function(grunt) { server: { options: { hostname: '*', - directory: '.', - keepalive: true + keepalive: true, + middleware: function(connect, options) { + return [ + connect.static(options.base), + connect.directory(options.base) + ]; + } } } }