agonzalezro / polo

Static site generator written in Go and "compatible" with Jekyll & Pelican content
MIT License
47 stars 9 forks source link

Add a simple FileServer as an option #20

Closed agonzalezro closed 10 years ago

agonzalezro commented 10 years ago

Add an option that allows the users to run a simple fileserver after the compilation to see the result. You can use: http://golang.org/pkg/net/http/#FileServer.

It would be really nice if there is an easy way to add a watcher to the content folders that allows an auto restart, but that perhaps can be another "issue" after this one is done.

agonzalezro commented 10 years ago

Added here: https://github.com/agonzalezro/polo/commit/9eac084443c5a2832f596ef1cbd45e52615f20a1