This is pretty good, didn't know about watchexec, but you can achieve the same by choosing carefully the command you pipe from, for example:
ls *.md | make
Will only trigger the build if a md file is modified, which is what I think the author is interested in.
[1]: https://github.com/watchexec/watchexec