mix blog.serve (StaticBlog v0.2.0)

Copy Markdown View Source

Starts a tiny local HTTP server on the built blog directory for previewing before publishing. Uses Erlang's built-in :inets httpd.

mix blog.serve [--port 4000] [--dir _site]

Press Ctrl+C twice to stop.