johnpapa / lite-server

Lightweight node server
MIT License
2.32k stars 268 forks source link

How to get Directory Listing working? #200

Open sketchpunk opened 3 years ago

sketchpunk commented 3 years ago

BrowserSync options says that setting server directory to true should allow file listing when hitting a directory but it doesn't seem to work. Any reason why its not working? { "port" : 8080, "server" : { "baseDir": "./", "directory":true } }