Metadata-Version: 2.1
Name: watchserver
Version: 0.1.2
Summary: Python live reload server
Project-URL: Homepage, https://github.com/Tired-Fox/watchserver
Project-URL: Website, https://tired-fox.github.io/watchserver/
Author-email: Tired Fox <zboehm104@gmail.com>
License-Expression: MIT
Classifier: License :: OSI Approved :: MIT License
Classifier: Operating System :: OS Independent
Classifier: Programming Language :: Python :: 3
Requires-Python: >=3.7
Requires-Dist: click
Requires-Dist: watchdog
Description-Content-Type: text/markdown

# 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