|
|
|
|
|
by MikeCodeAwesome
4829 days ago
|
|
Yet another fun use of watch, one of my favorite tools! I use it daily in combination with curl and grep to look for certain output of my JSON/XML services during development. The -d flag is especially useful in this regard. watch -d -n 5 "curl -s localhost:8080/some/service | grep status"
Along the same lines as the original post, I also use watch as an ad hoc, pseudo continuous integration tool for executing code that doesn't fit well within a REPL. [1][1] http://codeaweso.me/2012/09/using-watch-as-quick-continuous-... |
|