update example

This commit is contained in:
Thomas Heller
2018-03-22 16:22:23 +01:00
parent 4d49971eb0
commit 64ce50e59e
5 changed files with 39 additions and 50 deletions

View File

@@ -14,12 +14,8 @@
{:main ;; <- becomes public/js/main.js
{:entries [starter.browser]}}
;; start a development http server on http://localhost:8020
:devtools
;; before live-reloading any code call this function
{:before-load starter.browser/stop
;; after live-reloading finishes call this function
:after-load starter.browser/start
;; serve the public directory over http at port 8020
:http-root "public"
{:http-root "public"
:http-port 8020}
}}}