MixWatchDocs

Hex.pmHex DocsLicense: MIT

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.watch

Builds your docs, starts a local server with live reload, and watches for source changes to rebuild automatically.

Options