live-server.nvim icon indicating copy to clipboard operation
live-server.nvim copied to clipboard

[Bug] can't handle relative path properly

Open shellRaining opened this issue 8 months ago • 7 comments

Info

  • Operating System: Mac OS
  • nvim --version: 0.9.4
  • Node package manager: v21.5.0
  • <node-package-manager> --version: 10.2.4
  • live-server --version: live-server 1.2.2

Configuration

use lazy and just use config = true

    { "barrett-ruth/live-server.nvim", build = "npm install -g live-server", config = true },

Description

import { App } from "./App.js";
import { createApp } from "../../lib/miniVue.esm.js";

I am sure that miniVue.esm.js is exist and can use gf to jump to this file, however, browser report that

GET http://127.0.0.1:8080/lib/miniVue.esm.js net::ERR_ABORTED 404 (Not Found)

the same plugin in vscode is work properly, so I guess it is a bug of this plugin

shellRaining avatar Dec 21 '23 07:12 shellRaining