johnpapa / lite-server

Lightweight node server
MIT License
2.31k stars 267 forks source link

Stringifying the config options on server start up #107

Closed ndeitch closed 6 years ago

ndeitch commented 8 years ago

Hi,

I know that it isn't a super change, but I think it's better viewed the config JSON if We stringyfy it.

I passed null as second argument because, isn't necessary adapt none of fields, and the third parameter is the indentation spaces.

You can checkout the method spec on MDN Site

Thx