Fork me on GitHub
#tools-deps
<
2019-10-15
>
murtaza5214:10:07

how do I clear my cache, and force compilation with clj, line what lein clean used to do ?

dominicm14:10:40

clj -Sforce

dominicm14:10:50

Or rm .cpcache

murtaza5214:10:30

.cpcache contains compiled class files ?

andy.fingerhut15:10:01

I believe .cpcache does not contain any compiled class files, but in some cases it will contains names of JAR files, e.g. in your $HOME/.m2 directory.

andy.fingerhut15:10:02

clj commands do not normally save any results from compilation, unless you have some alias that causes evaluation of expressions that write .class files (again, I am pretty sure there, but others will correct if I am missing something).

seancorfield15:10:57

@murtaza52 unless you explicitly AOT code, clj does not produce .class files at all.