Skip to content
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

Vital error with multiple shadow-cljs builds #472

Closed
kevolson opened this issue Feb 23, 2024 · 5 comments
Closed

Vital error with multiple shadow-cljs builds #472

kevolson opened this issue Feb 23, 2024 · 5 comments
Assignees
Labels
bug Something isn't working

Comments

@kevolson
Copy link

kevolson commented Feb 23, 2024

I'm getting this error when I have more than 1 "watched" build in shadow-cljs:

vital: Async.Promise: Timeout

On line 46 of autoload/iced/nrepl/cljs/shadow_cljs.vim.

I'm using vim 9.0.2136 and the latest vim-iced. The watched shadow-cljs builds show up fine in the selector but I don't seem to be able to choose one (i.e. even the up/down keys won't work) until after the timeout (and by then it is too late?).

I've tried both CtrlP and fzf as selectors.

I've also tried just doing something like:

:IcedStartCljsRepl shadow-cljs web

But either way I end up in a state where I'll see "Session error. You should be in cljs session" when I go to eval stuff.

Any thoughts? Thanks!

@liquidz
Copy link
Owner

liquidz commented Feb 27, 2024

@kevolson Sorry for late reply.
I'll have a look.

@liquidz liquidz self-assigned this Feb 27, 2024
@liquidz
Copy link
Owner

liquidz commented Feb 27, 2024

@kevolson I could reproduce the problem with vim 9.1.140. Thank you for your reporting!

@liquidz liquidz added the bug Something isn't working label Feb 27, 2024
liquidz added a commit that referenced this issue Feb 28, 2024
@liquidz
Copy link
Owner

liquidz commented Feb 28, 2024

@kevolson I fixed this problem.
Could you try dev branch?

@kevolson
Copy link
Author

Seems to work great, thanks @liquidz!

@liquidz
Copy link
Owner

liquidz commented Feb 29, 2024

@kevolson Thanks for your confirmation!
Just released :)

@liquidz liquidz closed this as completed Feb 29, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants