io.pedestal.service-tools.dev

watch

(watch)(watch src-paths)

Watches a list of directories for file changes, reloading them as necessary.

watch-routes-fn

(watch-routes-fn routes-var)(watch-routes-fn routes-var src-paths)

Given a routes var and optionally a vector of paths to watch, return a function suitable for a service’s :routes entry, that reloads routes on source file changes.