Skip to content

Instantly share code, notes, and snippets.

@sander

sander/figwheel.clj

Created Jun 27, 2015
Embed
What would you like to do?
figwheel without leiningen, requires a figwheel-sidecar dependency
(require '[figwheel-sidecar.repl-api :as repl])
(def config
{:figwheel-options {}
:build-ids ["browser"]
:all-builds [{:id "browser"
:source-paths ["src/" "env/browser/"]
:figwheel {:on-jsload "id.client/main"}
:compiler {:output-to "public/js/app.js"
:output-dir "public/js"
:asset-path "js"
:main "id.client"}}]})
(repl/start-figwheel! config)
(repl/cljs-repl "browser")
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment