chlorine-clover

About Chlorine for Atom and Clover for VS Code: https://atom.io/packages/chlorine and https://marketplace.visualstudio.com/items?itemName=mauricioszabo.clover
2019-08-20T01:47:59.203400Z

@ahmed1hsn - on a fresh install (learning this today) I added the :deps like to my .clojure/deps.edn and the refresh is working. When I remove that line, it doesn't work (using 1.10 / clj only)

seancorfield 2019-08-20T08:28:56.206500Z

I just turned the auto refresh option off in Chlorine. I didn't like auto refresh in ProtoREPL either

Ahmed Hassan 2019-08-20T08:37:59.206700Z

How do you refresh ns'es after change in code?

seancorfield 2019-08-20T09:03:55.208700Z

I evaluate each form as I make changes. I occasionally "load file". If you have a good RDD workflow you just don't need "refresh"

seancorfield 2019-08-20T09:04:52.210200Z

Watch Stu Halloway's talks on RDD. Buy Eric Normand's online course about RDD.

seancorfield 2019-08-20T09:05:11.210800Z

Auto refresh is just a bad idea in my opinion.

mauricio.szabo 2019-08-20T14:08:14.211Z

Yes, indeed on newer versions of Chlorine auto-refresh is disabled by default

mauricio.szabo 2019-08-20T14:10:26.211200Z

I use clojure.tools.namespace's refresh because some libraries that I work with don't work with just "load-file" or "simple refresh", they need the whole namespace destroyed and re-constructed (didn't go too far on why).

Ahmed Hassan 2019-08-20T02:58:28.203500Z

Kindly elaborate.

2019-08-20T04:21:26.203700Z

Oh I was actually having the same error, searching for it, and found your post above and then set it up as you described and it worked

Ahmed Hassan 2019-08-20T04:22:41.203900Z

Which line did you add?

2019-08-20T04:28:24.204100Z

to ~/.clojure/deps.edn I added

:deps {org.clojure/tools.namespace {:mvn/version "0.3.1"}}

2019-08-20T04:31:11.204300Z

I am launching my repl with clj -A:test:socket

2019-08-20T04:31:42.204500Z

socket is just

:socket {:jvm-opts ["-Dclojure.server.repl={:port,50505,:accept,clojure.core.server/repl}"]}

Ahmed Hassan 2019-08-20T04:31:49.204700Z

Which version of Clojure and Chlorine are you using?

2019-08-20T04:32:34.204900Z

Clojure 1.10.1, Chlorine 0.1.10

Ahmed Hassan 2019-08-20T04:34:59.205100Z

I was using same versions but I'm getting error on first refresh. Subsequent refreshes work fine.

mauricio.szabo 2019-08-20T14:14:30.215200Z

Just a fast update, a new update on Chlorine is almost ready. The only thing that I'm having some issue is that I enabled a new configuration "enable experimental features" that is disabled by default, but sometimes this configuration is not appearing on the plug-in tab, and Atom is not honoring the default...

mauricio.szabo 2019-08-20T22:10:13.219100Z

Just published a new version. Mostly bug fixes, but also I'm getting rid of some internal Atom APIs, changed default configurations to more sensible ones, fixed some issues with ClojureScript autocomplete, and added a config to be able to use experimental features. Also, I'm keeping a very complete changelog, so details about experimental features should be there too 🙂

👍 2
🎉 2