Run a simple static server using node based http server from package serverdev / nserve
Install using the following command
npm install -g serverdev
Run command to run a http development server
nserve ./www 3000 0 list=true index
nserve ./www 3000 0 list=true index
nserve ./www 3000 0 0 index
nserve ./www 3000 secure=false list=true index
nserve ./www 3000 secure=, list=true index
nserve ./www 3000 secure=/path/to/pvt.key,path/to/pub.crt list={format:'json',names:['index','index.json','/']} index
nserve ./www 3000 secure=/path/to/pvt.key,path/to/pub.crt list={format:'json',names:['index','index.json','/']} index