News for hackers. Stuff that matters.
Re:Ask HN: What are your best shell scripts that you use? by dmoreno on Tuesday December 31, 2019 @04:52AM (#21919979)
Mine watches for changes in a directory and runs a command on any save change. I use it a lot for Test Driven Development. Modify source code, save and automatically on a terminal it runs `make test` or similar.

https://gist.github.com/davidmoreno/c049e922e41aaa94e18955b9...

Re:Ask HN: What are your best shell scripts that you use? by 0xdeadb00f on Thursday January 02, 2020 @08:33AM (#21935187)
Have you heard of wendy[1]?

Might be useful, I'm not entirely sure if it suits your case because my experience with inotify is limited to playing around with it and nothing substantial coming from it.

1: http://z3bra.org/wendy/ (Author's blog post: http://blog.z3bra.org/2015/03/under-wendys-dress.html)

Re:Ask HN: What are your best shell scripts that you use? by jumpm4n on Friday January 03, 2020 @11:23AM (#21947277)
Another alternative is the entr command - https://www.systutorials.com/docs/linux/man/1-entr/