liveserver

simple live web server for local developments
git clone https://noulin.net/git/liveserver.git
Log | Files | Refs | README | LICENSE

README.md (665B)


      1 # liveserver
      2 simple live web server with websocket handshake for local developments, the pages in current folder are reloaded in the browser on updates.
      3 
      4 ## Install
      5 
      6 - install [sheepy](https://spartatek.se/r/sheepy/file/README.md.html)
      7 - run:
      8 ```
      9 sudo spm -g install liveserver
     10 ```
     11 or
     12 
     13 ```
     14 ./liveserver.c
     15 ```
     16 
     17 ## Usage
     18 
     19 In a terminal, go to the directory containing the web files to serve, run:
     20 
     21 ```
     22 liveserver
     23 
     24 # HELP
     25 liveserver -help
     26 ```
     27 
     28 ## Based on
     29 
     30 - [simple-webserver](https://github.com/labcoder/simple-webserver)
     31 - [libwebsock2](https://github.com/JonnyWhatshisface/libwebsock2)
     32 - inspired by nodejs [live-server](https://www.npmjs.com/package/live-server)