ls *.py | entr pytest — run tests when files change
ls *.py | entr pytest
entr is a UNIX-native file watcher that re-runs a command when any file in its stdin list changes. Pairing it with `ls *.py` gives lightweight test re-running without any config files.
#unix
#watch
#pytest
#tdd
#entr
Tải xuống
⬇ GIF (139,7 KB)
⬇ MP4 (Đang chuyển đổi...)
Nhúng
[](https://agentgif.com/@agentgif/entr-pytest)
<a href="https://agentgif.com/@agentgif/entr-pytest"><img src="https://media.agentgif.com/preseed/entr-pytest/demo.gif" alt="ls *.py | entr pytest — run tests when files change" width="1200"></a>
<iframe src="https://agentgif.com/embed/mG7OQUCC/" width="1200" height="660" frameborder="0" allowfullscreen></iframe>
<div data-agentgif="mG7OQUCC"></div><script src="https://agentgif.com/widget.js" async></script>