Check if neovim is running before executing some commands#282
Conversation
|
can confirm that this fixes the problem in #278 |
|
awesome, please let me know if the issue this persists |
|
However, I'm not sure if it should be addressed like that, I mean you can e.g. replace a file but all processes which still have a handle on that still can continue, so I'm not sure why this check was actually introduced. |
Sure it is only possible to do so on linux though and i can potentially find a way to do this via rust, but its not possible on other platforms and id rather keep the handling of different platforms in bob rather minimal. |
|
I understand why this has been done, however, most of my terminals and daily updates... are inside neovim terminals, which means that I now also have to quit all of them to update neovim 🙃 Would you accept a PR that adds an explicit option to update without making this check? |
I'd very much appreciate such an option. I typically have dozens of Neovim instances running scattered across many Tmux sessions. After this PR, I have to chase down and quit each Neovim instance before I can update to the newest nightly. This is very inconvenient and disruptive. |
|
Hmmm so you want this only for the update command? |
|
Yes, lifting this requirement from the By the way, there is something else I've noticed about this check. I have a host Ubuntu system and a long-lived Docker container with another Ubuntu inside that I use for some development work. I have |
|
Can you please make this optional? I use bob to test different versions of neovim for plugins I develop, and like many here, I keep several neovim instances open across several tmux windows, panes, and sessions. I just updated bob and ran into this, so I downgraded to v4.0.3. |
|
Lets move it this issue, give me an illustration of how you would guys want it implemented, how to enable, what commands etc. |

potentially fixes #278