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

Changed affected-vars function to work with newer versions of clojure.tools.namespace. #26

Merged
merged 4 commits into from
Mar 20, 2021

Conversation

titonbarua
Copy link

Titon Barua added 2 commits December 16, 2020 10:04
….namespace.

- Works with tools.namespace >= 0.3.
- The function now uses `scan-dirs` instead of deprecated `scan`, whenever it can.
- Properly accounts for reloading if `refresh-dirs` is set with `clojure.tools.namespace.repl/set-refresh-dirs` function.
- Note that with newer versions of tools.namespace, setting `refresh-dirs` is mandatory in some cases like this: clojure-emacs/cider#2686
@aroemers
Copy link
Owner

Hi Titon,

I like it, thanks for this! Could you update the docstring of the refresh namespace that it also works with tools.namespace 0.3? And could you add an extra test profile that has tools.namespace 0.3 as a dependency?

@titonbarua
Copy link
Author

Thank you for quick feedback! I added two new commits, implementing your requests.

By the way, I am using mount-lite to manage and gracefully reload states inside the most significant peace of software in our company. Keep up the good work!

@aroemers aroemers merged commit f0b303f into aroemers:2.x Mar 20, 2021
@aroemers
Copy link
Owner

Released as 2.2.1. Sorry for the delay in merging this. Once again, thanks for the PR.

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

Successfully merging this pull request may close these issues.

None yet

2 participants