In vscode, I was using live-server extension that reloads website whenever a file changes. What's the equivalent of this for people using nvim? What do you use?

all 5 comments

sorted by: hot top controversial new old
[–] 3 points 10 months ago (2 children)

Sort of depends what your writing in.

I've been using bun lately for typescript and it hot reloads my code changes.

This means it's independent of my chosen IDE

  • source
  • hideshow 2 child comments
  • [–] 3 points 10 months ago*

    you can just run live-server on the command line. npx live-server

  • source
  • [–] 2 points 10 months ago

    Don't use it myself (I don't do much webdev), but this seems to do what you want.

    https://github.com/barrett-ruth/live-server.nvim

  • source