diff --git a/Gruntfile.js b/Gruntfile.js index 8ce99a3a1..5efc43cf9 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) + ]; + } } } }