Skip to content

bug: Browser page still opens after Error getting process #333

@ymich9963

Description

@ymich9963

Did you read the documentation and check existing issues?

Neovim version (nvim -v)

v0.11.4

Operating system/version

Windows 11

Browser/version

Firefox

Describe the bug

LivePreview isn't working on Windows generally for me. But I'll make another issue depending on what I find. For now I think this is an important issue.

Image

Steps To Reproduce

  1. Install plugin on Windows
  2. Start live preview
  3. Error is shown but browser still opens

Expected Behavior

For program to not continue to browser.

Health

==============================================================================
livepreview:                                                              6 ⚠️

Check dependencies ~
- ✅ OK Nvim 0.11.4 is compatible with Live Preview
- ✅ OK `powershell` is available
- ⚠️ WARNING `telescope` (optional) is not installed
- ⚠️ WARNING `snacks.picker` (optional) is not installed
- ⚠️ WARNING `mini.pick` (optional) is not installed
- ⚠️ WARNING `fzf-lua` (optional) is not installed
- ⚠️ WARNING `vim.ui.select` (optional) is not installed

Checkhealth server and process ~
- ✅ OK This Nvim process's PID is 21368
- ⚠️ WARNING Server is not running at port 55555

Check your live-preview.nvim config ~
- Your configuration table >lua
  {
    browser = "default",
    dynamic_root = false,
    picker = "",
    port = 55555,
    sync_scroll = true
  }

Minimal config to reproduce

vim.cmd.set "rtp+=/path/to/live-preview.nvim"

require("livepreview.config").set {
    port = 55555,
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions