vitillo / perfection

Skeleton of a nice dev environment for ClojureScript

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Perfection

Just a skeleton of a nice dev environment for ClojureScript.

Usage

Fork it, and start building your own awesome ClojureScript projects, using live reloading, live code execution in the running project in a browser from Emacs (or other IDE), automatically running tests when you change files, and automatic compile of the release version.

Then, run:

$ lein figwheel dev
$ lein cljsbuild auto test
$ lein cljsbuild auto release

Then launch a repl in emacs with cider and run:

user> (require 'weasel.repl.websocket)
nil
user> (cemerick.piggieback/cljs-repl
        :repl-env (weasel.repl.websocket/repl-env
                   :ip "0.0.0.0" :port 9001))

<< started Weasel server on ws://0.0.0.0:9001 >>
Type `:cljs/quit` to stop the ClojureScript REPL
nil

... and open http://localhost:3449/index.html in the browser. You are good to go!

About

Skeleton of a nice dev environment for ClojureScript

License:MIT License


Languages

Language:Clojure 98.7%Language:CSS 1.3%