bug: The plugin crashes when executing :LiveServerStart in oil.nvim window #34

Closed
opened 2026-03-06 14:57:05 +00:00 by nicolasRuarte · 4 comments
nicolasRuarte commented 2026-03-06 14:57:05 +00:00

Prerequisites

Neovim version

NVIM v0.11.3
Build type: RelWithDebInfo
LuaJIT 2.1.1741730670
Run "nvim -V1 -v" for more info

Operating system

Linux Mint 22.1 Cinnamon

Description

Whenever you try to execute the command :LiveServerStart inside of a oil.nvim window (or buffer, sorry if I confuse the terminology), it crashes the entire text-editor. It just leaves you with with a frozen oil.nvim window.
It also makes the CPU to start rising temperature, but I don't know if that is a result of the plugin crashing or if it comes from another place.

Crashed window screenshot:
Image

Note: I tried with repro.lua and I get the same results, the crash and the rising CPU temperature.

Steps to reproduce

  1. Open Neovim
  2. Open oil.nvim or execute :Oil
  3. Execute :LiveServerStart

Health check

live-server:                                                              1 ❌

- ❌ ERROR No healthcheck found for "live-server" plugin.

Minimal reproduction

vim.env.LAZY_STDPATH = '.repro'
load(vim.fn.system('curl -s https://raw.githubusercontent.com/folke/lazy.nvim/main/bootstrap.lua'))()
require('lazy.nvim').setup({
  spec = {
    {
      'barrett-ruth/live-server.nvim',
      opts = {},
    },
  },
})
### Prerequisites - [x] I have searched [existing issues](https://github.com/barrettruth/live-server.nvim/issues) - [x] I have updated to the latest version ### Neovim version ```text NVIM v0.11.3 Build type: RelWithDebInfo LuaJIT 2.1.1741730670 Run "nvim -V1 -v" for more info ``` ### Operating system Linux Mint 22.1 Cinnamon ### Description Whenever you try to execute the command :LiveServerStart inside of a oil.nvim window (or buffer, sorry if I confuse the terminology), it crashes the entire text-editor. It just leaves you with with a frozen oil.nvim window. It also makes the CPU to start rising temperature, but I don't know if that is a result of the plugin crashing or if it comes from another place. Crashed window screenshot: <img width="1916" height="1168" alt="Image" src="https://github.com/user-attachments/assets/e5de4aca-0d94-46da-aa98-2524d3ef5458" /> Note: I tried with repro.lua and I get the same results, the crash and the rising CPU temperature. ### Steps to reproduce 1. Open Neovim 2. Open oil.nvim or execute :Oil 3. Execute :LiveServerStart ### Health check ```text live-server: 1 ❌ - ❌ ERROR No healthcheck found for "live-server" plugin. ``` ### Minimal reproduction ```lua vim.env.LAZY_STDPATH = '.repro' load(vim.fn.system('curl -s https://raw.githubusercontent.com/folke/lazy.nvim/main/bootstrap.lua'))() require('lazy.nvim').setup({ spec = { { 'barrett-ruth/live-server.nvim', opts = {}, }, }, }) ```
barrettruth commented 2026-03-06 16:43:33 +00:00

@nicolasRuarte working on this right now - including the erroneous healthcheck.

@nicolasRuarte working on this right now - including the erroneous healthcheck.
barrettruth commented 2026-03-06 16:59:17 +00:00

Very sorry about this. Had never run from an oil:/// buffer - made a forward looking fix here. Thanks and LMK if it fixes your issue.

Very sorry about this. Had never run from an `oil:///` buffer - made a forward looking fix here. Thanks and LMK if it fixes your issue.
nicolasRuarte commented 2026-03-06 17:22:37 +00:00

Hi! Thank you very much! It now runs without problems, even the checkhealth

Hi! Thank you very much! It now runs without problems, even the checkhealth
barrettruth commented 2026-03-06 17:42:35 +00:00

bet. yeah, i noticed the checkhealth was garbage xd.

Hoping the latest setup changes and lua-oriented code (no more live-server) have been working well for you.

Thanks for using the plugin!

bet. yeah, i noticed the checkhealth was garbage xd. Hoping the latest setup changes and lua-oriented code (no more `live-server`) have been working well for you. Thanks for using the plugin!
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
barrettruth/live-server.nvim#34
No description provided.