bhauman / bhauman.github.com

My blog
http://rigsomelight.com
12 stars 9 forks source link

workflow to build and dev #1

Closed tangrammer closed 10 years ago

tangrammer commented 10 years ago

Hi Bruce, I'm trying to explore your code but I dont find the way to set up a agile dev workflow. Maybe you can find some error in my current attempt or maybe propose another onte better 1- I forked your repo 2- cd into the project, open a terminal, $ bundle exec jekyll serve --watch ----- to view the current code running this steps works for me, the problems come when I try to edit the code --- 3- open a new terminal, cd into project and $ lein cljsbuild auto todos-async 4- edit some cljs file, for example: assets/cljs/todos-async/core.cljs 5- check the build compilation and see the message 'Successfully compiled "assets/js/todos-async.js" in 13.554439 seconds' 6- refresh the browser but all the cljs in the page but all the cljs examples in the page are black and in the browser console "UNcaught typeerror: cannot call method 'call' of undefined"

Thanks in advance for listening and for sharing Juan

bhauman commented 10 years ago

Hey Juan,

Hmmm you definitely figured the workflow out.

I am wondering if there has been a change in ClojureScript since then.

I am busy right now but I will check it later.

Sorry for the pain.

Bruce

On Mon, Oct 14, 2013 at 7:02 AM, juanantonioruz notifications@github.comwrote:

Hi Bruce, I'm trying to explore your code but I dont find the way to set up a agile dev workflow. Maybe you can find some error in my current attempt or maybe propose another onte better 1- I forked your repo 2- cd into the project, open a terminal, $ bundle exec jekyll serve --watch ----- to view the current code running this steps works for me, the problems come when I try to edit the code --- 3- open a new terminal, cd into project and $ lein cljsbuild auto todos-async 4- edit some cljs file, for example: assets/cljs/todos-async/core.cljs 5- check the build compilation and see the message 'Successfully compiled "assets/js/todos-async.js" in 13.554439 seconds' 6- refresh the browser but all the cljs in the page but all the cljs examples in the page are black and in the browser console "UNcaught typeerror: cannot call method 'call' of undefined"

Thanks in advance for listening and for sharing Juan

— Reply to this email directly or view it on GitHubhttps://github.com/bhauman/bhauman.github.com/issues/1 .

tangrammer commented 10 years ago

Thanks Bruce for answering! It seems that my compilation bug is fixed now, I had to reinstall leiningen http://stackoverflow.com/questions/3363681/uninstall-reinstall-leiningenclojure-server-related-issues and now works ok!

Have a good day Juan