3 ms·
There is an example of how to do that in the article, using `entr -d`.
by leephillips 5y ago
There is an example of how to do that in the article, using `entr -d`.
- stephen_cagle 5y agoNot a huge deal, but this "exits" when you have a change to a directory. So you end up having to put the whole thing in a while loop. But then you can't capture SIGINT and now you have to kill the process. So you need to write something that can capture that and conditionally break the loop if it is such... entr is focused on doing what it does well, and I don't have a solution here. Just feels like there should be something to handle that use case.