A boot+figwheel example, that hot reloads cljs and less. Client and server-side use of rum.
Install boot!
boot dev
- visit
http://localhost:8080 - change
core.cljsto watch the js reload! - change
app.main.lessto watch the css reload!
- connect to the repl server (e.g. with
cider-connectin emacs, or like this in cursive. The port number is logged when you runboot dev.) - at the prompt
boot.user>type(boot-figwheel/cljs-repl) - type
(js/alert "woah!")to watch an alert box pop open in the browser - woah!
Build a single composed task, e.g. to build a jar file
boot distShow help for a task, e.g. the target task
boot target -hRun a single task and pipe the resulting file set to target/
boot less -- target --no-cleanBuild, serve the target/public folder, and keep the server up with the wait task
boot build -- serve -d target/public -- wait