Skip to main content

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 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

Project details


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.10.tar.gz (11.8 kB view details)

Uploaded Source

Built Distribution

watchserver-0.1.10-py3-none-any.whl (12.4 kB view details)

Uploaded Python 3

File details

Details for the file watchserver-0.1.10.tar.gz.

File metadata

  • Download URL: watchserver-0.1.10.tar.gz
  • Upload date:
  • Size: 11.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.11.1

File hashes

Hashes for watchserver-0.1.10.tar.gz
Algorithm Hash digest
SHA256 3f02fd0a0010ecb3a0b72e10bab620922c802ea19e80d564531fc4b3f9fbe14d
MD5 49959759391ca18afe5d4c9d2046f185
BLAKE2b-256 0822625763b888b9043cf655d9995c372fe5ea730ccc01d45216cb95f0cbfa32

See more details on using hashes here.

File details

Details for the file watchserver-0.1.10-py3-none-any.whl.

File metadata

File hashes

Hashes for watchserver-0.1.10-py3-none-any.whl
Algorithm Hash digest
SHA256 d5549913f401a88d9ee78687aa1d1cbbf3d2cac99426594d04fbbac435caf953
MD5 b93257fd1ef0e0b15f442e130ef93da0
BLAKE2b-256 dc5b457df687ade66cc2501b94ed213d6d8cef526fc62047da0d0427cb1477d5

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page