Watch deps.edn for changes
Watch deps.edn for changes
(basis opts)
Default function for (re-)computing the tools.deps basis, which we then use to
update the classpath. Delegates to [[deps/create-basis]], with one addition:
if you include an :extra
option which points at a file (string), then we
also look in that file for a :lambdaisland.classpath/aliases
, which are
additional alias keys to load. This allows having a deps.local.edn
, where
you can change the aliases in use without restarting.
Default function for (re-)computing the tools.deps basis, which we then use to update the classpath. Delegates to [[deps/create-basis]], with one addition: if you include an `:extra` option which points at a file (string), then we also look in that file for a `:lambdaisland.classpath/aliases`, which are additional alias keys to load. This allows having a `deps.local.edn`, where you can change the aliases in use without restarting.
(start! opts)
Start a file system watcher to pick up changes in `deps.edn'
Options are passed on to tools.deps when creating the basis, you probably want
to at least put the :aliases
you need in there.
(start! {:aliases [:dev :test]})
Start a file system watcher to pick up changes in `deps.edn' Options are passed on to tools.deps when creating the basis, you probably want to at least put the `:aliases` you need in there. ``` (start! {:aliases [:dev :test]}) ```
(stop! & _)
Stop a previously started watcher
Stop a previously started watcher
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close