polygott
polygott copied to clipboard
bump Clojure CLI version
This Pull Request:
- bumps the Clojure CLI version to 1.10.1.536
- adds a dependency for org.clojure/tools.namespace in order to enable reloading/refreshing namespaces upon source code changes without restarting the REPL
Thank you, again, @finalfantasia, for all your clojure efforts in polygott & prybar! I apologize for letting this lie so long. The tests pass and the version bump looks good!
No worries! 🙂
The repl.it editor autosaves, so I'm worried about how that will interact with an interpreter that's reloading code every time it changes. Does this PR force auto-reloading of code?
No, the library (org.clojure/tools.namespace
) does not automatically reload namespaces (files) upon changes. It needs to be triggered by calling a function (i.e., clojure.tools.namespace.repl/refresh
) in a REPL. This means, REPL.it editor's auto-save feature won't trigger auto-reloading of code.
Good afternoon @finalfantasia ! You've probably noticed by now that we've been slow to merge community PRs on polygott. We've decided to focus on giving Repl.it a stable foundation instead of adding features and updating languages. Once we and our community feel comfortable with Repl.it's overall stability, we'll give this change another look. Thank you for contributing!