cemerick / austin

The ClojureScript browser-REPL rebuilt stronger, faster, easier.
510 stars 31 forks source link

reload a *.cljs file #31

Closed txrev319 closed 10 years ago

txrev319 commented 10 years ago

With apologies for my excitement of getting cemerick/austin to work:

The following currently works:

cljs.user=> (js/alert (+ 1 2))

the browser pops up a window with "3"

Question:

Is there a way I can reload a *.cljs file from the cljs.user=> ?

Is there anyway, using cemerick/austin, to get the desired workflow above?

Thanks!

cemerick commented 10 years ago

If you're using a capable nREPL-enabled editor/IDE, its existing load-file mechanism should transparently work with any piggieback-based nREPL ClojureScript REPL, including Austin. (e.g. cider's C-c C-k, Counterclockwise's C-l, etc).

I personally only use cljsbuild to build JS for automated testing and deployment.