16 lines
539 B
Markdown
16 lines
539 B
Markdown
|
# What's this?
|
||
|
Just a simple little program I wrote in around 30 minutes that will watch for file system changes of a file or directory and execute a command given to it. I made this for auto rendering pandoc files to pdfs.
|
||
|
|
||
|
## Usage
|
||
|
```
|
||
|
Usage: inotify-run <PATH> <COMMAND>
|
||
|
|
||
|
Arguments:
|
||
|
<PATH> The path of the file to watch
|
||
|
<COMMAND> The command/executable to run when a change is noticed
|
||
|
|
||
|
Options:
|
||
|
-h, --help Print help
|
||
|
-V, --version Print version
|
||
|
```
|
||
|
<sup>Autogenerated from [clap](https://github.com/clap-rs/clap)</sup>
|