Fork me on GitHub
#calva
<
2024-06-16
>
grounded_sage06:06:06

How do I clear whatever cache is causing :dev to show twice. I initially added a global deps.edn file on my system with the alias dev. I know.. I know.. 😅 This was not causing an issue on a previous project but my current project calva jack-in is failing. I have deleted the global deps edn file. But it is still showing in the jack-in options. When I select one it auto selects both and fails to jack-in.

pez07:06:25

I think Calva only picks up aliases from the deps.edn in the project root. I’m surprised this can happen.

grounded_sage07:06:36

Oh I modified something in calva as well 😆 forgot

grounded_sage08:06:52

I did it because I wanted access to some dev deps but was not able to commit them in the repo and this was most convenient at the time

pez08:06:24

There’s a setting calva.myCljAliases that may be useful for that. Not sure I understood the problem correctly though.

grounded_sage08:06:50

Not at computer but I will dive in and look removing it. I think this still identifies a problem. As I first changed the name of the alias to :global-system-dev and it was still showing :dev. I then deleted the file and it still shows.