Closed git-kundan closed 3 years ago
Ok, I just realized that this relates to Clojure's way of working, rather than that of Light Table. Putting in the :reload flag while requiring libraries generates desired behavior (force-reload of required library). Example...
(:require [my-stuff.pricing :as pricing] :reload)
Closing this issue.
It seems like required file-based namespaces are compiled the first time, and then don't get recompiled and reloaded if we make any changes in the required file.
To recompile and reload the changes in required file, I have to disconnect (Editor: disconnect clients attached to editor) and then recompile. I see the re-connection messages (Reconnecting... Retrieving Deps....) and then the changes done in required files are reintegrated.
Is this the designed behavior? Shouldn't changes to required files be automatically integrated. Is there an alternate way/setting with better workflow than disconnection-reconnection?