# 使用 Homebrew 安装 livereload

查看 livereload 的安装路径、可执行文件、元数据以及面向 AI 代理工作流的安全说明。

## 安装

```sh
sudo av install brew:livereload
```

其他安装命令:

### macOS

- Homebrew (100%):

```sh
brew install livereload
```

  证据: local Homebrew formula metadata

## 软件包事实

- **软件包键:** brew:livereload
- **软件包管理器:** Homebrew
- **软件包管理器页面:** <https://formulae.brew.sh/formula/livereload>
- **版本:** 2.7.1
- **来源摘要:** Local web server in Python
- **主页:** <https://livereload.readthedocs.io/en/latest/>
- **仓库:** <https://github.com/lepture/python-livereload>
- **上游文档:** <https://livereload.readthedocs.io/en/stable>
- **许可证:** BSD-3-Clause
- **源码归档:** <https://files.pythonhosted.org/packages/43/6e/f2748665839812a9bbe5c75d3f983edbf3ab05fa5cd2f7c2f36fffdf65bd/livereload-2.7.1.tar.gz>
- **最后更新:** 2026-06-15T10:20:20-04:00
- **已生成:** 2026-07-08T18:08:21+00:00

## 可执行文件

- livereload (cli)
- livereload (别名)

## 依赖

- python@3.14

## 安装行为

- post-install 钩子: 未定义
- Bottle: 可用 于 arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux

## 版本和新鲜度

- 页面生成时间: 2026-07-08
- 管理器版本: 2.7.1
- 管理器更新时间: 2026-06-15
- 本地数据: OK
- 上游仓库: https://livereload.readthedocs.io/en/latest/
- 信息: Release/tag comparison is only available for GitHub repositories.
## 项目历史与用法

Python LiveReload is a Python implementation of the LiveReload development workflow: watch local files, serve a development site, and tell the browser to refresh when assets change. It brought the LiveReload idea into Python web stacks and static documentation workflows.

### 项目历史

The python-livereload repository was created on May 3, 2012. Author Hsiaoming Yang wrote in 2013 that the first version was released on May 4, 2012, and that the project was later reshaped around a simpler server/library model.

Version 2.0 changed the tool's direction. The author described it as more of a library than an application, with compilers and a standalone command-line tool removed at that point so that livereload could focus on serving reload notifications and running shell commands supplied by users. The stable documentation later shows the command-line utility restored for starting a server in a directory.

### 采用历史

LiveReload as a workflow spread across browser extensions, JavaScript clients, Ruby tools, Grunt watchers, and Python tools. The livereload-js project lists python-livereload among available servers for the LiveReload protocol.

Within Python, adoption centered on developers who wanted live refresh for static files, Sphinx docs, Flask, Bottle, and Django without adopting a full JavaScript dev-server stack.

### 使用方式

The documented CLI starts a server for a watched directory and listens on port 35729 for LiveReload browser integrations. The Python API exposes Server.watch for files, directories, and glob patterns, and can run shell commands such as rebuilding CSS or Sphinx documentation before reloading.

Framework integrations cover Django management commands and simple WSGI wrapping for Flask and Bottle, which made it useful for small Python web projects and documentation sites.

### 为什么软件包爱好者会关心

The Homebrew formula is notable because a Python web-development helper is packaged as a system command, not just as a PyPI library. It sits in the older generation of live-reload tooling before Vite-style JavaScript dev servers became the default for many front-end projects.

It is also a small example of protocol compatibility mattering in packaging: the Python server, livereload.js, browser extensions, and the conventional port 35729 all have to line up for the developer experience to feel automatic.

### 时间线

- 2012-05-03: The lepture/python-livereload GitHub repository was created.
- 2012-05-04: The author identified this as the first Python LiveReload release date.
- 2013: The documentation copyright and author blog reflect the project's early Python 2.x-era documentation and redesign.
- 2013: Version 2.0 was described by the author as a library-focused redesign.
- 2024-12-18: The GitHub repository listed v2.7.1 as a release.

### Related projects

- Related projects include the original LiveReload app, livereload-js, browser extensions, guard-livereload, rack-livereload, grunt-contrib-watch, Sphinx, Flask, Bottle, and Django.

### 来源

- <https://api.github.com/repos/lepture/python-livereload>
- <https://github.com/lepture/python-livereload>
- <https://github.com/livereload/livereload-js>
- <https://lepture.com/en/2013/new-life-of-livereload>
- <https://livereload.readthedocs.io/en/stable/>


## 安全说明

broad file, network, media, or database tool signal.

- **Geiger 风险:** blue / 中
- broad file, network, media, or database tool signal

## 源数据库详情

- **Source Database:** Homebrew formula API
- **Tap:** homebrew/core
- **Full Name:** livereload
- **Version Scheme:** 0
- **Revision:** 2
- **Bottle Stable Root URL:** <https://ghcr.io/v2/homebrew/core>
- **Deprecated:** no
- **Disabled:** no
- **Keg Only:** no
- **URL Keys:** stable


## 相关链接

- [Secret-risk packages](https://www.automicvault.com/zh-hans/pkg/secret-risk-packages/) - Has protected-tool coverage, approval-gate, or non-low Geiger security signals.
- [Terminal utility packages](https://www.automicvault.com/zh-hans/pkg/terminal-utilities/) - Matched terminal and command-line workflow metadata.
- [Text processing packages](https://www.automicvault.com/zh-hans/pkg/text-processing-tools/) - Matched text, document, or structured-data processing metadata.
- [Developer build packages](https://www.automicvault.com/zh-hans/pkg/developer-build-tools/) - Matched build, compiler, generator, or developer workflow metadata.
- [python@3.14](https://www.automicvault.com/zh-hans/pkg/brew/python-3-14/) - Runtime dependency declared by Homebrew.
- [vite](https://www.automicvault.com/zh-hans/pkg/brew/vite/) - Shares av.db curated category or tags: cli, dev-server, developer-tools, web-development.
- [angular-cli](https://www.automicvault.com/zh-hans/pkg/brew/angular-cli/) - Shares av.db curated category or tags: cli, developer-tools, web-development.
- [css-crush](https://www.automicvault.com/zh-hans/pkg/brew/css-crush/) - Shares av.db curated category or tags: cli, developer-tools, web-development.
- [gatsby-cli](https://www.automicvault.com/zh-hans/pkg/brew/gatsby-cli/) - Shares av.db curated category or tags: cli, developer-tools, web-development.
- [gwt](https://www.automicvault.com/zh-hans/pkg/brew/gwt/) - Shares av.db curated category or tags: cli, developer-tools, web-development.
- [nuxi](https://www.automicvault.com/zh-hans/pkg/brew/nuxi/) - Shares av.db curated category or tags: cli, developer-tools, web-development.
- [templ](https://www.automicvault.com/zh-hans/pkg/brew/templ/) - Shares av.db curated category or tags: cli, developer-tools, web-development.
- [vite-plus](https://www.automicvault.com/zh-hans/pkg/brew/vite-plus/) - Shares av.db curated category or tags: cli, developer-tools, web-development.
- [livereload](https://www.automicvault.com/zh-hans/pkg/npm/livereload/) - Same normalized package name appears in another local ecosystem. Shared terms: cli, development, live, live-reload, livereload.
- [polyserve](https://www.automicvault.com/zh-hans/pkg/npm/polyserve/) - Local metadata places this package in an adjacent workflow. Shared terms: browser, cli, dev, developer, developer-tools.
- [livereload](https://www.automicvault.com/zh-hans/pkg/npm/livereload/) - Same normalized package name in another local ecosystem.

## Combined YAML source

View the package source record on GitHub. [combined/livereload.yml](https://github.com/automic-vault/db/blob/main/combined/livereload.yml)


## 来源

- Nucleus package database
- Geiger risk classifier
- package-page enrichment
- curated package history
- package version freshness
- av.db category and tag curation
- package relationship graph
- cross-ecosystem install command graph
