Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

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



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.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: