Collin,
To achieve the basic of what you said:
lein new chestnut name
Because of the other pieces I had to extract the code into the stack I'm
using. But it's very good for a start.
On Saturday, November 8, 2014 11:47:37 AM UTC-2, Colin Yates wrote:
Figwheel plus om plus immutable data is
Any update on how to do this from LightTable?
On Tue, Sep 11, 2012 at 7:48 PM, Chris Granger ibdk...@gmail.com wrote:
FWIW, I'm working on this with Light Table, which removes a lot of the
difficulties here - it will be include this script tag and you're ready to
go. There's no reason that we
Figwheel plus om plus immutable data is just great. Throw in lein garden
auto and the world is a better place. Highly recommend it.
On Friday, 7 November 2014 02:17:08 UTC, Daniel Szmulewicz wrote:
My experience has been that the promise of hot reloadable code in the
browser was fulfilled
Hi Laurent,
For refreshing the browser, I call (.reload js/location) from the browser
REPL.
So this is the workflow:
Terminal 1: lein cljsbuild auto dev
Terminal 2: lein trampoline cljsbuild repl-listen
Browser: localhost:9000/myapp.html
1. I make change to the CLJS file.
2. cljsbuild auto
I’m not sure that the original question is still valid, as it’s over 2 years
old now. I’ve had success using figwheel[1] to automatically recompile
Clojurescript and send the updated js to the browser, sans reloading.
[1] https://github.com/bhauman/lein-figwheel
On Nov 6, 2014, at 4:57 PM,
My experience has been that the promise of hot reloadable code in the
browser was fulfilled most reliably by lein-figwheel.
I have relinquished all other solutions (which gave me trouble), and I am a
happy with my newfound cljs workflow.
https://github.com/bhauman/lein-figwheel
On Monday,
Hi Paul,
Thanks for the workflow.
- use the Clojure REPL as much as possible, even for my CLJS code.
Afterall, it's just Clojure, right?
This also encourages good program design, keeping browser-specific code
in a single namespace
How do you achieve the above ? Do you specify your cljs
2012/9/10 Takahiro Hozumi fat...@googlemail.com
Hi,
I refresh browser every time I change cljs files.
Using the REPL as the main way to deliver code to the browser means
never having to refresh the page. One could theoretically build an entire
application without a single page refresh. If
2012/9/10 Chas Emerick c...@cemerick.com
I've been using a combination of lein-cljsbuild to keep the on-disk
generated code fresh and piggieback[1] for all of my cljs REPL needs.
Hello Chas,
I've tried to use piggieback. My current stack for playing with the
concepts is leiningen2 on the
On Sep 11, 2012, at 4:00 AM, Laurent PETIT wrote:
2012/9/10 Chas Emerick c...@cemerick.com
I've been using a combination of lein-cljsbuild to keep the on-disk generated
code fresh and piggieback[1] for all of my cljs REPL needs.
Hello Chas,
I've tried to use piggieback. My current stack
2012/9/11 Chas Emerick c...@cemerick.com
On Sep 11, 2012, at 4:00 AM, Laurent PETIT wrote:
2012/9/10 Chas Emerick c...@cemerick.com
I've been using a combination of lein-cljsbuild to keep the on-disk
generated code fresh and piggieback[1] for all of my cljs REPL needs.
Hello Chas,
I've
Hi,
I guess that at least the following require a restart. Please correct /
explain as needed :
- change in CSS file on disk ?
- change in template file (either enfocus / hiccup-on-the-browser -don't
remember the name) ?
and also when doing certain changes to the ClojureScript code itself
I emit the clojurescript code myself by calling cljs.closure/build myself
and put this into the html file. I cache the code using
clojure.core.memoize/memo-fifo with my own function that takes the
dependent files timestamps as args (so that changes result in recompiles).
Using ring, pages with
Hi Laurent,
I've been using CCW and cljsbuild for three months and it is working well
for me but I suspect that my workflow can improve.
I run cljsbuild auto (incremental mode) and edit cljs files in CCW, then
refresh the browser (approx 6sec compile time)
I suspect that I could improve my
FWIW, I'm working on this with Light Table, which removes a lot of the
difficulties here - it will be include this script tag and you're ready to
go. There's no reason that we need to jump through a bunch of hoops here.
My plan is that the next release (sometime after strange loop) will include
dj looks interesting, thanks for the link. :-)
- Chas
On Sep 10, 2012, at 8:31 PM, Brent Millare wrote:
I emit the clojurescript code myself by calling cljs.closure/build myself and
put this into the html file. I cache the code using
clojure.core.memoize/memo-fifo with my own function that
Hello,
A ClojureScript workflow newbie question.
People seem to be using a lot lein-cljsbuild to work with their
ClojureScript project.
From what I understand, this means they have a watcher which recompiles
javascript in the background whenever they save changes to clojurescript
files to the
You can use a browser connected repl too:
https://github.com/emezeske/lein-cljsbuild/blob/master/doc/REPL.md
I've used repl-listen with success.
Robert
On Mon, Sep 10, 2012 at 06:28:14PM +0200, Laurent PETIT wrote:
Hello,
A ClojureScript workflow newbie question.
People seem to be using
I've been using a combination of lein-cljsbuild to keep the on-disk generated
code fresh and piggieback[1] for all of my cljs REPL needs.
Cheers,
- Chas
[1] https://github.com/cemerick/piggieback
On Sep 10, 2012, at 12:28 PM, Laurent PETIT wrote:
Hello,
A ClojureScript workflow newbie
I've also been using lein-cljsbuild to compile an initial js for page
load, and piggieback for interactive dev.
I did need to make a fork of nrepl.el that used an :op load-file to
be able to C-c C-k a buffer and load it in the background. Working on
getting that into master.
On Mon, Sep 10,
On Mon, Sep 10, 2012 at 6:28 PM, Laurent PETIT laurent.pe...@gmail.comwrote:
Hello,
A ClojureScript workflow newbie question.
People seem to be using a lot lein-cljsbuild to work with their
ClojureScript project.
From what I understand, this means they have a watcher which recompiles
2012/9/10 Denis Labaye denis.lab...@gmail.com
On Mon, Sep 10, 2012 at 6:28 PM, Laurent PETIT laurent.pe...@gmail.comwrote:
Hello,
A ClojureScript workflow newbie question.
People seem to be using a lot lein-cljsbuild to work with their
ClojureScript project.
From what I understand,
2012/9/10 Laurent PETIT laurent.pe...@gmail.com
2012/9/10 Denis Labaye denis.lab...@gmail.com
On Mon, Sep 10, 2012 at 6:28 PM, Laurent PETIT
laurent.pe...@gmail.comwrote:
Hello,
A ClojureScript workflow newbie question.
People seem to be using a lot lein-cljsbuild to work with their
On Mon, Sep 10, 2012 at 8:50 PM, Laurent PETIT laurent.pe...@gmail.comwrote:
2012/9/10 Laurent PETIT laurent.pe...@gmail.com
2012/9/10 Denis Labaye denis.lab...@gmail.com
On Mon, Sep 10, 2012 at 6:28 PM, Laurent PETIT
laurent.pe...@gmail.comwrote:
Hello,
A ClojureScript workflow
Hi,
I refresh browser every time I change cljs files.
Using the REPL as the main way to deliver code to the browser means
never having to refresh the page. One could theoretically build an entire
application without a single page refresh. If you find yourself refreshing
the page after every
Hi Laurent,
I've been putting a few ClojureScript apps into production throughout this
year with much success.
Because of earlier limitations/sensitivities in the browser-repl, my
workflow is a little different than those described above.
Typically I:
- have cljsbuild-auto running
- use the
26 matches
Mail list logo