From 5921a5f355b25ec09974e542eb58c50bea8f9390 Mon Sep 17 00:00:00 2001 From: Xaver Maierhofer Date: Sun, 22 May 2016 23:39:19 +0200 Subject: [PATCH] [TASK] Add index option to grunt-conncet server --- tasks/development.js | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/tasks/development.js b/tasks/development.js index 2c00cd7..3ae384e 100644 --- a/tasks/development.js +++ b/tasks/development.js @@ -3,7 +3,12 @@ module.exports = function (grunt) { connect: { server: { options: { - base: "build/", //TODO: once grunt-contrib-connect 0.9 is released, set index file + base: { + path: 'build', + options: { + index: 'index.html' + } + }, livereload: true } }