How can I serve a directory from its absolute path #12
Labels
No labels
bug
documentation
duplicate
enhancement
good first issue
help wanted
invalid
question
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
barrettruth/live-server.nvim#12
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Hello,
I must be missing something obvious but I cannot manage to serve a given directory.
I tried passing
--open=and/or--watch=inargsbut that's not working, that makes sense because on the command line it's not working eitherMy config is the following
Say I want to serve
/home/statquant, how should I proceed ?@statquant I can add an optional directory argument to
LiveServer<cmd>. How does that sound?That would be grand!
done
Hello,
I had issues with relative paths and path that did not exist
I added the following which solved it for me, just FYI
vim.fn.expand. if you need to modify the path, then you are probably not providing the correct root directory to serve files from. Can you give me an example?I am not in front of a computer, I'll test it again I might have made a mistake
please repo. sometimes nvim freezes on wrong path - that could definitely be an error
resolved. feel free to open. relative paths now resolve correctly.
Thanks, it works perfect for me now.
Many thanks for your very fast turnover !
PS:
Can I suggest 2 things
I don't currently have time to add such features. Willing to review any prs or offer help, though - should be simpel.
Will PR ince done.
Thanks and regards
On Sun, 21 Jul 2024 at 16:02, Barrett Ruth @.***> wrote: