Skip to content

Instantly share code, notes, and snippets.

@lilactown
Created August 10, 2017 16:22
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
Star You must be signed in to star a gist
Embed
What would you like to do?
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