Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

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.

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.*"]
}
```