aboutsummaryrefslogtreecommitdiff
path: root/.config/nvim/lua/plugin/liveserver.lua
blob: 542a1fb6ac81e995a8c0d6eddd074e2a4e6e49ee (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
local status_ok, live_server = pcall(require, "live_server")
if not status_ok then
  return
end

live_server.setup({
  port = 8080,
  browser_command = "", -- Empty string starts up with default browser
  quiet = false,
  no_css_inject = false, -- Disables css injection if true, might be useful when testing out tailwindcss
  install_path = vim.fn.stdpath "config" .. "/live-server/",
})