Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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: 25 days 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 (over 2 years ago)
- Default Branch: main
- Last Pushed: 2022-08-11T10:30:00.000Z (over 2 years ago)
- Last Synced: 2024-11-20T11:05:03.646Z (3 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.*"]
}
```