:LiveServerStart Freezes Neovim #11

Closed
opened 2024-07-05 13:33:38 +00:00 by ZackBz · 2 comments
ZackBz commented 2024-07-05 13:33:38 +00:00

I believe that I have the correct setup from the docs. I am using Lazy and Bun though. This is my setup:

{
  "barrett-ruth/live-server.nvim",
  build = { "bun add -g live-server@1.2.1" },
  cmd = { "LiveServerStart", "LiveServerStop" },
  config = true,
},

Some more context: I can run live-server . in my project dir and live-server will start or i can run bunx live-server . in my project dir which will also start live-server. The reason for 1.2.1 is because of an issue with Live Server and Linux on the latest version. I have run :checkhealth and everything seems fine as far as I can tell. However, if i run the command, :LiveServerStart within Neovim, it will freeze and become unresponsive so I need to close and reopen it.

I have a feeling I maybe reconfigured something and I don't see it. TIA!

I believe that I have the correct setup from the docs. I am using Lazy and Bun though. This is my setup: ```lua { "barrett-ruth/live-server.nvim", build = { "bun add -g live-server@1.2.1" }, cmd = { "LiveServerStart", "LiveServerStop" }, config = true, }, ``` Some more context: I can run `live-server .` in my project dir and live-server will start or i can run `bunx live-server .` in my project dir which will also start live-server. The reason for 1.2.1 is because of an issue with Live Server and Linux on the latest version. I have run `:checkhealth` and everything seems fine as far as I can tell. However, if i run the command, `:LiveServerStart` within Neovim, it will freeze and become unresponsive so I need to close and reopen it. I have a feeling I maybe reconfigured something and I don't see it. TIA!
barrettruth commented 2024-07-05 14:37:10 +00:00

Attempt to replicate the issue with other package managers - ensure the live server executable being found is not that of bun while doing so.

Thanks for reporting!

Attempt to replicate the issue with other package managers - ensure the live server executable being found is not that of bun while doing so. Thanks for reporting!
barrettruth commented 2024-08-03 22:36:26 +00:00

@ZackBz reopen if this is still happening

@ZackBz reopen if this is still happening
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#11
No description provided.