Skip to content

Instantly share code, notes, and snippets.

@lilactown
Created August 10, 2017 16:22
Show Gist options
  • Save lilactown/076c7463d758f57554dee1df0dcdc718 to your computer and use it in GitHub Desktop.
Save lilactown/076c7463d758f57554dee1df0dcdc718 to your computer and use it in GitHub Desktop.
Figwheel + nREPL + CIDER boilerplate
;; Something similar to this goes in project.clj:
;;
;; :profiles {:dev {:dependencies [[com.cemerick/piggieback "0.2.2"]
;; [figwheel-sidecar "0.5.10"]]
;; :source-paths ["ui_src" "dev"]}}
(ns user
(:require [figwheel-sidecar.repl-api :as ra]))
(defn fig-start [] (do
(ra/start-figwheel!)
(ra/cljs-repl "frontend-dev"))) ;; this should be the name of the dev profile
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment