All notable changes to hive-hot will be documented in this file.
The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.
reload-scoped! loads the changes under a set of source
roots, drags in the namespaces that depend on them, and DECLINES every other
change; declined files stay pending for the reload that owns their root.
Reports :skipped, :dragged, :unchanged? and :multi-file (a loaded
namespace found in more than one file).reload! without :only now goes through the same engine.init! accepts :since (epoch ms): pass the JVM start time so edits made
before the first init are changes, not the baseline.extend-init! / ensure-init!: add dirs (and :no-reload / :no-unload)
to an initialized registry without resetting its baseline; the file watcher,
when running, is restarted over the union. init-with-watcher! extends
rather than resets an initialized registry.scope-plan: the effect-free preview of a scoped reload.status reports :dirs, :since and :pending when initialized.["src"].:failed, :error)
instead of escaping reload!.Component Registry - Named components with lifecycle callbacks
reg-hot - Register component with namespace and callbacksunreg-hot - Unregister componentget-component - Retrieve component by IDlist-components - List all registered component IDsCore Reload Functions
reload! - Reload changed namespaces and dependentsreload-all! - Force reload all namespacesinit! - Initialize with source directoriesEvent Listener System
add-listener! - Subscribe to reload eventsremove-listener! - Unsubscribe listener:reload-start, :reload-success, :reload-error, :component-callbackStatus & Introspection
status - Get initialization state, components, listener countreset! - Clear all registrations (for testing)Convenience Utilities
with-reload macro - Execute code then trigger reloadfind-namespaces - Find namespaces matching patternCan you improve this documentation?Edit on GitHub
cljdoc builds & hosts documentation for Clojure/Script libraries
| Ctrl+k | Jump to recent docs |
| ← | Move to previous article |
| → | Move to next article |
| Ctrl+/ | Jump to the search field |