https://github.com/aksh-bansal-dev/stalker
👀Stalk files in a directory and run command when any file changes.
https://github.com/aksh-bansal-dev/stalker
Last synced: 4 months ago
JSON representation
👀Stalk files in a directory and run command when any file changes.
- Host: GitHub
- URL: https://github.com/aksh-bansal-dev/stalker
- Owner: Aksh-Bansal-dev
- Created: 2022-08-10T13:37:46.000Z (almost 3 years ago)
- Default Branch: main
- Last Pushed: 2022-08-11T10:30:00.000Z (almost 3 years ago)
- Last Synced: 2025-02-06T05:52:28.844Z (5 months ago)
- Language: Go
- Homepage:
- Size: 6.84 KB
- Stars: 2
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Stalker
Stalk files in a directory and run command when any file changes.
## How to use
`stalk -loc `
| Flag | Description | Default value | Usage |
| ---- | ------------------------------------- | ---------------- | ----------------------------- |
| loc | location of directory/file to stalked | ./ | `stalk -loc ./dev/project` |
| cmd | command to run on file change | echo file change | `stalk -cmd "go run main.go"` |### Config
`.stalkerrc.json`
```json
{
"command": "echo file-change",
"ignored": ["foo.*"]
}
```