Example - changed figwheel config

This commit is contained in:
Stuart Mitchell 2016-12-08 12:22:08 +13:00
parent e09acf99fb
commit 999d4c332e
2 changed files with 2 additions and 9 deletions

View File

@ -1,7 +0,0 @@
(ns simple.dev
(:require [simple.core :as example]
[figwheel.client :as fw]))
(fw/start {:on-jsload example/run
:websocket-url "ws://localhost:3449/figwheel-ws"})

View File

@ -10,8 +10,8 @@
:hooks [leiningen.cljsbuild]
:profiles {:dev {:cljsbuild
{:builds {:client {:source-paths ["devsrc"]
:compiler {:main "simple.dev"
{:builds {:client {:figwheel {:on-jsload "simple.core/run"}
:compiler {:main "simple.core"
:asset-path "js"
:optimizations :none
:source-map true