-
Notifications
You must be signed in to change notification settings - Fork 1
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Repl? figwheel-repl or boot-cljs-repl ? #6
Comments
At the moment the I haven't had the time to try the figwheel repl with For sure some preliminary work is necessary what is the best option. |
Note that figwheel uses |
@arichiardi what editor did you use..? (defmethod repl/process-message :eval-js [message]
(let
{:op :result
:value (try
{:status :success, :value (str ((fn [src] (.runInThisContext vm src)) code))}
(catch js/Error e
{:status :exception
:value (pr-str e)
:stacktrace (if (.hasOwnProperty e "stack")
(.-stack e)
"No stacktrace available.")})
(catch :default e
{:status :exception
:value (pr-str e)
:stacktrace "No stacktrace available."}))})) quick evaling and catch error display it somewhere..? example in electron or in like the book of shader editor.. or color picker in atom editor https://atom.io/packages/color-picker analyzing what code changes... and quick evaling tiny fraction code by calling code function that changes and evaluate on-reload function.. not reconstructing... from scracth the build... and re-render it will be huge win.. |
I use Figwheel client should be available for Node (I haven't tried it yet), so the test would be really just to add |
sorry i just updated the comment to get better sight... |
by the way... i just statisfies by using your work.. :-) and hopes we can improve it bit by bit... |
I think this might already be what the figwheel repl does, there is a At this point we might as well ask @bhauman directly. My goal was exactly to be able to re-use his great work for improving ours 😄 So big thanks to him in the first place! |
We're using |
@kommen it would be great to use the figwheel repl, I am very keen on having a boot task for that in this project. |
consider using repl from boot cljs repl ? or figwheel repl ?
pros fig side:
(figwheeel.client/start!)
andpros cljs repl side:
The text was updated successfully, but these errors were encountered: