Command line tool that does little, is easy to use and helps a lot!
``` awaitchange 0.3.0
USAGE: awaitchange [OPTIONS] [watch]...
FLAGS: -h, --help Prints help information -V, --version Prints version information
OPTIONS:
-r
ARGS:
```
lets say you want to update your kubernetes objects, every time you changed your deployment or service config, you'd use awaitchange like this: ```sh while [ true ] do clear # Clear terminal window kubectl apply -f deployment.yaml kubectl apply -f service.yaml
awaitchange deployment.yaml service.yaml
done
```
There is a shorthand for this, just use the --do
flag an pass a script, that should be executed (in sh
)
sh
awaitchange deployment.yaml --do "kubectl apply -f deployment.yaml"