readme md
parent
f3a8d0e653
commit
efcd55bfc7
|
@ -15,7 +15,7 @@ Lightweight directories monitor with automatic rebuild and restart functionality
|
|||
2. Configure the script:
|
||||
```bash
|
||||
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
|
||||
BUILD_CMD="go build -o $BINARY_PATH main.go" # Your custom build command
|
||||
```
|
||||
|
|
Loading…
Reference in New Issue