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

Tell cursive to disable certain namespaces from reloading #2714

Open
vincentjames501 opened this issue Jul 12, 2022 · 0 comments
Open

Tell cursive to disable certain namespaces from reloading #2714

vincentjames501 opened this issue Jul 12, 2022 · 0 comments

Comments

@vincentjames501
Copy link

Is there anyway to have Cursive honor the following or achieve the same behavior once can do with disabling reload with tools namespace?

(:require [clojure.tools.namespace.repl :as ctnr])
(ctnr/disable-reload!)

We very occasionally get Cursive reloading our defprotocol namespace which then essentially breaks our code until we do a clean or surgically reload classes. It looks like it just adds a :clojure.tools.namespace.repl/load false to the metadata on the namespace and was wondering if Cursive has any built in logic to do this same thing?

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