💾 Archived View for gmi.noulin.net › markdown › liveserver_README.md captured on 2023-07-10 at 18:18:33.

View Raw

More Information

-=-=-=-=-=-=-

# liveserver
simple live web server with websocket handshake for local developments, the pages in current folder are reloaded in the browser on updates.

## Install

- install [sheepy](https://spartatek.se/r/sheepy/file/README.md.html)
- run:

sudo spm -g install liveserver

or

./liveserver.c


## Usage

In a terminal, go to the directory containing the web files to serve, run:

liveserver

HELP

liveserver -help


## Based on

- [simple-webserver](https://github.com/labcoder/simple-webserver)
- [libwebsock2](https://github.com/JonnyWhatshisface/libwebsock2)
- inspired by nodejs [live-server](https://www.npmjs.com/package/live-server)