ssg_reloader
ssg_reloader is a static site generation development server, which injects js into html to force browser reloads on file changes.
Usage
ssgreloader -h
Example
/ssgreloader -i 0.0.0.0 -p 5000 -t 3000 -d test/test_data/
-
-i 0.0.0.0
accept connections on all ip addresses -
-p 5000
run on port 5000 -
-d
enable debugging information -
-t 3000
timeout between ajax requests -
test/test_data/
root directory to serve via http
Installation
pip install ssg_reloader
todo
write basic flask appdetect filechangesinject js- rewrite injection to not use bs4 and use something faster