Skip to content

Instantly share code, notes, and snippets.

@wilkerlucio
Created March 29, 2016 16:39
Show Gist options
  • Save wilkerlucio/bb0a80b5c4de3ba1f4c6c6f2149d0e79 to your computer and use it in GitHub Desktop.
Save wilkerlucio/bb0a80b5c4de3ba1f4c6c6f2149d0e79 to your computer and use it in GitHub Desktop.
Figwheel Chrome Content Script
(ns user
(:require [figwheel-sidecar.repl-api :as ra]))
(def figwheel-config
{:figwheel-options {:server-port 3449}
;; builds to focus on
:build-ids ["content-script"]
;; load build configs from project file
:all-builds (figwheel-sidecar.system/get-project-builds)})
(defn start-dev []
(ra/start-figwheel! figwheel-config)
(ra/cljs-repl))
(start-dev)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment