tapio / live-server

A simple development http server with live reload capability.
http://tapiov.net/live-server/
4.4k stars 484 forks source link

Live Server won't reload or inject nested CSS files on change. (WSL) #385

Closed rudah-amaral closed 2 years ago

rudah-amaral commented 2 years ago
Before submitting an issue, please, see https://github.com/tapio/live-server#troubleshooting

Issue description

  1. Move CSS file to a nested folder.
  2. Change index.html link href attribute accordingly.
  3. Change a style and save it. Tab won't reload.

Software details

Neovim 0.6 on WSL 2

rudah-amaral commented 2 years ago

Update

Apparently, moving my project inside WSL filesystem fixed the issue. I suspect it's related with how live-server handles path separators but I'm not sure. Leaving this here to anyone to anyone who might encounter this problem in the future.