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
|
1. Place script in your project root
|
||||||
2. Configure the script:
|
2. Configure the script:
|
||||||
```bash
|
```bash
|
||||||
DURATION=5 # Delay between checks
|
DURATION=1 # Delay between checks in seconds
|
||||||
WATCH_DIR="src/" # Directory to watch
|
WATCH_DIRS=("folder1" "folder2" "empty") # # Directories to watch
|
||||||
BINARY_PATH="./app" # Output path
|
BINARY_PATH="./main" # Output path
|
||||||
BUILD_CMD="make build" # Your custom build command
|
BUILD_CMD="go build -o $BINARY_PATH main.go" # Your custom build command
|
||||||
```
|
```
|
||||||
3. Run it:
|
3. Run it:
|
||||||
`./eye.sh`
|
`./eye.sh`
|
Loading…
Reference in New Issue