simple hot-reloader
Go to file
serr 01af598e16 readme md 2025-04-12 16:27:32 +03:00
.gitignore folders list 2025-04-12 16:25:06 +03:00
README.md readme md 2025-04-12 16:27:32 +03:00
eye.sh folders list 2025-04-12 16:25:06 +03:00

README.md

👁️ Eye - Pure Bash Build-Reloader

Lightweight directories monitor with automatic rebuild and restart functionality for any project type

What is it

  • 🕵️‍♂️ Universal Monitoring: Tracks changes in directories
  • 🔧 Configurable Builds: Works with any build system (Make, npm, go, etc.)
  • 📦 Zero Dependencies: Pure Bash
  • 🎨 Clean Output: Color-coded messages with EYE prefix

Quick Start

  1. Place script in your project root
  2. Configure the script:
DURATION=1 # Delay between checks in seconds
WATCH_DIRS=("folder1" "folder2" "empty") # # Directories to watch
BINARY_PATH="./main" # Output path
BUILD_CMD="go build -o $BINARY_PATH main.go" # Your custom build command
  1. Run it: ./eye.sh