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.9.tar.gz
(11.7 kB
view details)
Built Distribution
File details
Details for the file watchserver-0.1.9.tar.gz
.
File metadata
- Download URL: watchserver-0.1.9.tar.gz
- Upload date:
- Size: 11.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.11.1
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | ee1c2ecc0d4c7c283507e1f1523fa3f4e8642d82d39906d12d210f296e660e4b |
|
MD5 | 9331fecb5186cb0069c22e6898df7e98 |
|
BLAKE2b-256 | e54ac076a4ee2c30fb77bc1b167fc9777bb026193f1f04c839a5ce9e809533f7 |
File details
Details for the file watchserver-0.1.9-py3-none-any.whl
.
File metadata
- Download URL: watchserver-0.1.9-py3-none-any.whl
- Upload date:
- Size: 12.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.11.1
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 305d9da553bd41bba9d88fd5140f541a9058411ec4bfb377849ec97fb48105f3 |
|
MD5 | 005f758f7cebfa78c5d3ac8459a9fcf4 |
|
BLAKE2b-256 | 8e43895bec2c59eaed06c9afbec73d136b7588c52bc5f4a38c0fc785af7da794 |