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.2.tar.gz
(11.0 kB
view details)
Built Distribution
File details
Details for the file watchserver-0.1.2.tar.gz
.
File metadata
- Download URL: watchserver-0.1.2.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 | 020c02e4d09acc54011f255c53fb5616164a612bedd720481003f82c21476469 |
|
MD5 | 0d0613a7cc266872029a486a20fd94db |
|
BLAKE2b-256 | b5fe717a9070da43de3c49056c20b833f21f9dea6f893de33833004edbd9467e |
File details
Details for the file watchserver-0.1.2-py3-none-any.whl
.
File metadata
- Download URL: watchserver-0.1.2-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 | 0538fe5d316809c3321d4c9ac6fa21898a38afe40bb669257957bf72cfca8a17 |
|
MD5 | 722a4053b6ba3ba3e2ad1faf0ef2f1d9 |
|
BLAKE2b-256 | f0f44f8229d2b992aafd7ebb3f8779354d8c0acb46021133010e145935fb692b |