Convenience functions for working at the repl.
Suggested usage:
trident.repl
in the extra-deps
of your :dev
aliasclj -Adev -e "(do (require 'trident.repl) (trident.repl/init))" -r
This will:
orchestra.spec.test/instrument
clojure.tools.namespace.repl/refresh
mount.core/start
reset
in the user
namespaceConvenience functions for working at the repl. Suggested usage: - Include `trident.repl` in the `extra-deps` of your `:dev` alias - Launch a repl with this command: `clj -Adev -e "(do (require 'trident.repl) (trident.repl/init))" -r` This will: - begin spec instrumentation with `orchestra.spec.test/instrument` - start an nRepl server (on port 7888 by default) - load all namespaces visible to `clojure.tools.namespace.repl/refresh` - call `mount.core/start` - add an alias to [[reset]] in the `user` namespace
(reset & args)
Reloads namespaces, starting and stopping mount components
Reloads namespaces, starting and stopping mount components
(reset*)
(reset* {:keys [mount?] :or {mount? true}})
Reloads namespaces, starting and stopping mount components
Reloads namespaces, starting and stopping mount components
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close