[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 Pässler
parent c9458ffcae
commit 5921a5f355

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
} }
} }