David-Kunz / jester

A Neovim plugin to easily run and debug Jest tests
The Unlicense
198 stars 12 forks source link

[Question] Can reuse same terminal. #8

Closed dimas-cyriaco closed 2 years ago

dimas-cyriaco commented 2 years ago

Is there a way to use the same terminal used in the last test run, if it's still open?

Thanks for the great plugin!

David-Kunz commented 2 years ago

Hi @dimas-cyriaco ,

Thanks for this great feature request, you're absolutely right, the last terminal should be reused. Otherwise there are way too many terminals open (if not managed manually).

I changed the default behaviour, now the last terminal is used: https://github.com/David-Kunz/jester/commit/870f072bf322a5a895028679955025f6b4aef84f

Would you mind trying it out yourself?

Thanks a lot for this suggestion and best regards, David

dimas-cyriaco commented 2 years ago

@David-Kunz It works perfectly. Thanks a lot!!