Skip to content

daar/fplive

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.

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

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

About

A file watcher for fast CLI development

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

Contributors

Languages