polygott icon indicating copy to clipboard operation
polygott copied to clipboard

bump Clojure CLI version

Open finalfantasia opened this issue 4 years ago • 2 comments

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

finalfantasia avatar Mar 22 '20 05:03 finalfantasia

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.

finalfantasia avatar Jun 01 '20 23:06 finalfantasia

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!

dan-stowell avatar Oct 01 '20 19:10 dan-stowell