this post was submitted on 05 Jun 2020
0 points (NaN% liked)

A place for everything about web development

768 readers
1 users here now

founded 6 years ago
MODERATORS
 

Trying to hack some HTML and CSS. Are there anything like the above that can serve a local website to localhost, be built on Linux and refreshes the page when files are changed?

There is live-server on npm but I was hoping for something that is available in my distro's package manager (or if it isn't I can add it). Hugo has a serve mode that does exactly this but it is limited to hugo projects.

Any input is appreciated. Thanks.

top 1 comments
sorted by: hot top controversial new old
[–] schwartz@lemmy.ml 1 points 5 years ago

For autorefresh you could combine your server of choice with ENTR. Entr watches the files and reruns the command if anything changes.