Skip to content

Instantly share code, notes, and snippets.

@timsgardner
Created December 9, 2017 14:48
Show Gist options
  • Save timsgardner/ac754a48e69f912d4c38e25917f78550 to your computer and use it in GitHub Desktop.
Save timsgardner/ac754a48e69f912d4c38e25917f78550 to your computer and use it in GitHub Desktop.
{;; This specifies a form that the repl will evaluate before
;; evaluating every input:
;; :repl/injections (use 'clojure.repl)
;; set :reactive to false in user configuration file to disable file
;; watching, and everything that depends on it, such as automaic file
;; loading on change (see :reload-on-change below) and responding to
;; changes in configuration.edn without a restart
:reactive true
;; :compiler/verbose true
;; :compiler/warn-on-reflection true
;; ;; map of https://clojuredocs.org/clojure.core/*compiler-options*
;; ;; Example: {:elide-meta [:doc :file :line :added :column :arglists]}
;; :compiler/options {}
:compiiler {:verbose true
:warn-on-reflection true
:options true}
;; declare specific compilation targets, will also compile their dependencies
;; when not declared every user clj file in Assets will be compiled
;; :build-namespaces [foo.core]
;; set to true in user configuration.edn to enable automatic code
;; reloading when a clojure file is saved
:reload-on-change false
;; You can add custom load paths, for more control over your source
;; organization. Note that this is purely additive and the default is empty.
;; If you wanted your sources as Assets/src/kittens/core.clj, rather than
;; the default Assets/kittens/core.clj, you could use the following.
;; :arcadia.compiler/loadpaths ["Assets/src"]
:nudge true
;; Partially controls the socket-repl.
;;
;; Value means:
;;
;; `true`: make default socket-repl (localhost, port 5555)
;; `false`: stop ALL socket repls
;; a map: opts for `arcadia.socket-repl/server-socket`. Means at
;; least the specified server is running.
;;
;; In the future, a non-map collection of maps (eg, a sequence of
;; maps) should specify several servers that should at least be
;; running. `true` as element should be default socket-repl.
;;
;; Only `false` stops servers; `nil` is ignored (means _at least_ no
;; servers are running).
;; :socket-repl true
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment