https://github.com/agoose77/not-dead-yet
Stupid simple live-server implementation in Python
https://github.com/agoose77/not-dead-yet
css html js live-server python
Last synced: 2 months ago
JSON representation
Stupid simple live-server implementation in Python
- Host: GitHub
- URL: https://github.com/agoose77/not-dead-yet
- Owner: agoose77
- Created: 2021-08-21T14:14:25.000Z (almost 5 years ago)
- Default Branch: main
- Last Pushed: 2022-07-12T17:37:37.000Z (almost 4 years ago)
- Last Synced: 2026-04-11T10:30:07.219Z (3 months ago)
- Topics: css, html, js, live-server, python
- Language: Python
- Homepage:
- Size: 24.4 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Not Dead Yet!
[![pypi-badge][]][pypi]
[pypi-badge]: https://img.shields.io/pypi/v/not-dead-yet
[pypi]: https://pypi.org/project/not-dead-yet

`not_dead_yet` is a stupid simple web server, which provides a live-server over HTML files.
If any files in the given directory are modified, loaded HTML pages will refresh.
## Usage
Launch a live server on `localhost:8080` with
```bash
ndy serve .
```
Some users may prefer to use a more advanced change-detection routine than the simple polling API. External watchers can be used with `not-dead-yet` by disabling the file-watching feature, and triggering a reload over the TCP socket:
```bash
# Launch server
ndy serve --no-watch &
# Watch for changes, and call `ndy reload` when required
watchexec -w . -- ndy reload
```