readme md
parent
1a6886620d
commit
86b87b5426
|
@ -14,10 +14,10 @@ Lightweight directory monitor with automatic rebuild and restart functionality f
|
|||
1. Place script in your project root
|
||||
2. Configure the script:
|
||||
```bash
|
||||
DURATION=5 # Delay between checks
|
||||
WATCH_DIR="src/" # Directory to watch
|
||||
BINARY_PATH="./app" # Output path
|
||||
BUILD_CMD="make build" # Your custom build command
|
||||
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
|
||||
```
|
||||
3. Run it:
|
||||
`./eye.sh`
|
Loading…
Reference in New Issue