Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/tired-fox/watchserver
Live reloading python server
https://github.com/tired-fox/watchserver
live-reload python server watch
Last synced: 25 days ago
JSON representation
Live reloading python server
- Host: GitHub
- URL: https://github.com/tired-fox/watchserver
- Owner: Tired-Fox
- Created: 2023-02-22T22:32:06.000Z (over 1 year ago)
- Default Branch: master
- Last Pushed: 2024-04-19T21:00:09.000Z (7 months ago)
- Last Synced: 2024-09-22T06:42:34.614Z (about 2 months ago)
- Topics: live-reload, python, server, watch
- Language: Python
- Homepage:
- Size: 461 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# 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` or `js`, 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`
- Auto open server in browser