Events and hooks are neat, but I can’t think of a single use case, anyone have suggestions? The idea in the article semis redundant.
mkfifo notify.pipe
grep 'error' < notify.pipe | notify-macosx-or-whatever >/dev/null &
compile-whatever | tee notify.pipe
Edit: You can do this WAY more simply with bash >() pipes. compile | tee >(grep 'error' | notify >/dev/null)IMO tmux is much cooler when you do stuff like running commands in or sending text to a different window. Check out entr(1) for some sweet use cases that are much more fun than the hooks. That vimdiff thing ... I used it a few months ago when trying to replicate some complicated rollup.js compiler output options. Awesome, even though I own Kaleidoscope.
I chuckled, I use Hugo :)
By the time I save my post and glance towards the browser in other monitor, rebuilding has already finished, and the browser live reload has already displayed the updated post.