3 ms·
The pipeline approach here is interesting, but it seems you'd be on your own for filtering out changes in the build directory, etc. I typically use watchexec [1
by JoshMcguigan 7y ago
The pipeline approach here is interesting, but it seems you'd be on your own for filtering out changes in the build directory, etc. I typically use watchexec [1] for this.
watchexec make
By default, watchexec will filter out changes in files based on `.gitignore`.
[1]: https://github.com/watchexec/watchexec https://github.com/watchexec/watchexec
- RMPR 7y agoThis 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.