Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Evaluate clj-reload as a replacement for clojure.tools.namespace #9

Open
kumarshantanu opened this issue Feb 18, 2024 · 0 comments
Open

Comments

@kumarshantanu
Copy link
Member

Library: https://github.com/tonsky/clj-reload
Blog post: https://tonsky.me/blog/clj-reload/

Advantages listed on Clojurian Slack: https://clojurians.slack.com/archives/C06MAR553/p1708204515253139

  • Can handle namespaces split across multiple files
  • Does not try to load files that were not explicitly loaded before
  • Can keep vars between reloads (defonce finally works as intended!)
  • Lets you specify unload hooks for namespaces
  • (arguably) cleaner API
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant