[TASK] Add index option to grunt-conncet server

This commit is contained in:
Xaver Maierhofer 2016-05-22 23:39:19 +02:00 committed by Milan Paessler
parent 8bb0da9d87
commit 88f43bc57c

View file

@ -3,7 +3,12 @@ module.exports = function (grunt) {
connect: { connect: {
server: { server: {
options: { options: {
base: "build/", //TODO: once grunt-contrib-connect 0.9 is released, set index file base: {
path: 'build',
options: {
index: 'index.html'
}
},
livereload: true livereload: true
} }
} }