[TASK] Add index option to grunt-conncet server
This commit is contained in:
parent
c9458ffcae
commit
5921a5f355
|
@ -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
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue