Skip to content

izissise/livereloadjs-bash

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation


livereloadjs-bash

Reload your webpages using unix tools

About The Project

There are many ways to reload a webpage when doing web development, It usually uses the framework provided tool (webpack, hugo, ...), they all use livereload.js on the browser side.

livereloadjs-bash is a shell script that uses miniserve, websocat and inotify-tools to implement a minimal livereloadjs server.

Getting Started

The easiest way to get started is to use the docker image:

# Replace WEB_PATH with the path of your web files
docker run --rm -ti --name 'livereloadjs-bash' -p 8080:8080 -p 34729:34729 -v "WEB_PATH:/www" izissise/livereloadjs-bash

you can also use livereload.sh directly.

Once running, write your files as you normally do, every times you save, the page should reload.

License

Distributed under the MIT License. See LICENSE.txt for more information.

About

Livereload.js server in bash

Resources

License

Stars

Watchers

Forks

Packages

No packages published