Skip to content

Instantly share code, notes, and snippets.

@raspasov
Last active April 19, 2021 14:44
Show Gist options
  • Save raspasov/978ccb338e4b8c56513c10d3523877c7 to your computer and use it in GitHub Desktop.
Save raspasov/978ccb338e4b8c56513c10d3523877c7 to your computer and use it in GitHub Desktop.
Clojure(Script) Cheat Sheet

Clojure(Script) Cheat Sheet

Start a ClojureScript Node REPL:

clj -Sdeps '{:deps {org.clojure/clojurescript {:mvn/version "RELEASE"}}}' -M -m cljs.repl.node

Reload Clojure(Script) namespace from the REPL

;just reload foobar
(require 'foobar :reload)

;to reload foobar + namespaces it depends on
(require 'foobar :reload-all)

Credit https://twitter.com/borkdude/status/1371223760020377600

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment