On Friday, May 2, 2014 11:24:37 AM UTC+12, Bruce Hauman wrote:
> Hey all,
> 
> 
> 
> I have been doing a bunch of live coding in ClojureScript lately.  I wrote a 
> leinigen plugin called lein-figwheel that facilitates code changes making it 
> to the browser on file save. 
> 
> 
> 
> The plugin repository is here:
> 
> 
> 
> https://github.com/bhauman/lein-figwheel  (still working on the README)
> 
> 
> 
> 
> 
> I have a demo and blog post on it here:
> 
> 
> 
> http://rigsomelight.com/2014/05/01/interactive-programming-flappy-bird-clojurescript.html
> 
> 
> 
> 
> 
> 
> 
> I have a flappy bird demo that you can get from github:
> 
> 
> 
> git clone https://github.com/bhauman/flappy-bird-demo.git
> 
> 
> 
> After it’s downloaded cd into the flappy-bird-demo directory and type:
> 
> 
> 
> lein figwheel
> 
> 
> 
> This will start a server and you can navigate to:
> 
> 
> 
> http://localhost:3449/index.html
> 
> 
> 
> 
> 
> There is also a lein template:
> 
> 
> 
> lein new figwheel hello-world
> 
> 
> 
> 
> 
> I have spent some time thinking about this but I have done it in a cave and I 
> would really love some feedback.
> 
> 
> 
> Thanks,
> 
> Bruce

This reminds me of the way I use py.test for python coding. You can set up a 
bunch of unit tests that automatically run whenever you save a file. then you 
dedicate part of your screen to your test output. Though in this case the test 
output is how the game looks :). In my opinion this is very good practice.

-- 
Note that posts from new members are moderated - please be patient with your 
first post.
--- 
You received this message because you are subscribed to the Google Groups 
"ClojureScript" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/clojurescript.

Reply via email to