readme md

master
serr 2025-04-13 17:14:06 +03:00
parent f3a8d0e653
commit efcd55bfc7
1 changed files with 1 additions and 1 deletions

View File

@ -15,7 +15,7 @@ Lightweight directories monitor with automatic rebuild and restart functionality
2. Configure the script: 2. Configure the script:
```bash ```bash
DURATION=1 # Delay between checks in seconds DURATION=1 # Delay between checks in seconds
WATCH_DIRS=("folder1" "folder2" "main.go") # # Directories/concrete files to watch WATCH_DIRS=("folder1" "folder2" "main.go") # Directories/concrete files to watch
BINARY_PATH="./main" # Output path BINARY_PATH="./main" # Output path
BUILD_CMD="go build -o $BINARY_PATH main.go" # Your custom build command BUILD_CMD="go build -o $BINARY_PATH main.go" # Your custom build command
``` ```