https://github.com/daar/fplive
A file watcher for fast CLI development
https://github.com/daar/fplive
Last synced: 4 months ago
JSON representation
A file watcher for fast CLI development
- Host: GitHub
- URL: https://github.com/daar/fplive
- Owner: daar
- License: mit
- Created: 2025-09-25T17:30:03.000Z (9 months ago)
- Default Branch: main
- Last Pushed: 2025-09-25T19:21:36.000Z (9 months ago)
- Last Synced: 2025-10-19T08:29:49.667Z (8 months ago)
- Language: Pascal
- Size: 3.91 KB
- Stars: 1
- Watchers: 0
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# fpLive
fpLive is a simple file-watching utility for Free Pascal. It automatically rebuilds and runs your program whenever changes are detected in your source files.
Think of it as a lightweight "live reloader" for Free Pascal development.
## Installation
Install using [Nova](https://github.com/nova-packager/nova).
```bash
nova require daar/fplive --dev
```
## ✨ Features
- Watches `.pp`, `.pas` and `.inc` source files in your project directory.
- Detects file changes and recompiles automatically with **fpc**.
- Runs the compiled program immediately after a successful build.
- Supports additional `-Fu` and `-FU` compiler options for unit search paths.
## 🚀 Usage
```bash
./vendor/bin/live ./example/main.pp -Fu./src
```
1. Start the watcher with your main source file.
2. Edit and save your pascal files.
3. fpLive will detect changes, rebuild with `fpc`, and run the program automatically.
Press `Ctrl+C` to stop the watcher.