refactor cli

This commit is contained in:
Lloyd Brookes
2016-05-30 16:45:43 +01:00
parent 6a2bbafd08
commit eee6923858
5 changed files with 118 additions and 91 deletions

View File

@ -37,7 +37,12 @@ module.exports = localWebServer
function localWebServer (options) {
options = Object.assign({
static: {},
serveIndex: {},
serveIndex: {
options: {
icons: true,
hidden: true
}
},
cacheControl: {},
spa: null,
log: {},