This is a minimal example project showing lively in action.
-
Start ClojureScript compiler
In terminal:
lein cljsbuild auto
-
Start the server
In another terminal:
lein ring server
This should automatically open a web browser, if not, navigate to http://localhost:3000/index-dev.html.
-
Start hacking
Open your favorite editor and start editing ClojureScript files in src/cljs. Your changes are automatically reflected in the browser with no need to reload the page!
For example, try editing the greeting text in greet function. After saving the file, click on the greet button.
Copyright © 2014 Immo Heikkinen