MixWatchDocs
A Mix task that watches your source files, rebuilds documentation on changes, and serves it locally with live reload.
Installation
Add mix_watch_docs to your dependencies in mix.exs:
def deps do
[
{:mix_watch_docs, "~> 0.1.0", only: :dev, runtime: false}
]
end
Requires a documentation generator that provides mix docs (e.g., ExDoc).
Usage
$ mix docs.watchBuilds your docs, starts a local server with live reload, and watches for source changes to rebuild automatically.
Options
--port/-p- port to serve on (default: 4001)--no-open- don't open the browser automatically