Created
June 27, 2015 09:41
-
-
Save sander/d9cbd3b734d31491e040 to your computer and use it in GitHub Desktop.
figwheel without leiningen, requires a figwheel-sidecar dependency
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(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