digisfera / lr-http-server

An HTTP server with livereload included
31 stars 9 forks source link

support multiple base directories #2

Closed davidpfahler closed 9 years ago

davidpfahler commented 9 years ago

It would be great if you could provide a comma-separated list of directories you want to serve files from.

manuelcabral commented 9 years ago

This is a bit problematic, since the watch paths can be relative to the directory which is being served. Also, it is not clear which directory would be listed when visiting the server's root. I would recommend just running a separate server for each directory.