Python live reload server
Project description
Livereload
A easy to use fully features live reloading and file watching http server. The server uses watchdog, queue, and ThreadedServer to create a live reloading environment. The interactions are fully customizable where a callback is called for file creation, update, and removal. The defaults are intuitive, but user customization is also easy.
Features:
- Live reload
- on html change
- on static,
css
orjs
, change
- Auto load custom error pages
- Ignore patterns for files and directories
- User defined values with smart defaults
- Watch paths: defaults to
cwd
- Ignore files/paths: defaults to nothing being ignored
- File event callbacks: defaults to reloading page on html change or static file change
- server port: defaults to
3031
- server host: defaults to
localhost
- base directory, this is where the server discovers custom error files: defaults to
cwd
- root directory, this is where the server attaches and serves from: defaults to
cwd
- suppress, stops all server logging, defaults to
False
- Watch paths: defaults to
- Auto open server in browser
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
watchserver-0.1.5.tar.gz
(11.0 kB
view details)
Built Distribution
File details
Details for the file watchserver-0.1.5.tar.gz
.
File metadata
- Download URL: watchserver-0.1.5.tar.gz
- Upload date:
- Size: 11.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.10.5
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | a535fb855a972be990baaacbfa712be89d7f019a4563e5245bcd5baa7ed9fb2b |
|
MD5 | c53c1c2413a4c66e5954c517fe8c20cd |
|
BLAKE2b-256 | e278569ad03af29ff7c59a504f292fa9651ca7a3588b4bb02e9d80b9cccb947b |
File details
Details for the file watchserver-0.1.5-py3-none-any.whl
.
File metadata
- Download URL: watchserver-0.1.5-py3-none-any.whl
- Upload date:
- Size: 11.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.10.5
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | b7a612763768033954cf4b9c8403b7e1738b8530652d50e996aca240ff968e54 |
|
MD5 | 9e89b10385450a05c0b9e04a02fc62df |
|
BLAKE2b-256 | 83383c557eddf5f126733f2be73a468c990918ae5dc2844f1a189d6a197e86d0 |