Calmcode - entr: clear

The clear -c flag in Entr

1 2 3 4

If you experience information overflow on the terminal when using entr then we might recommend running it with the clear (-c) flag like so;

ls checking/*.py | entr -c pytest test.py::test_starts_correctly

One of the most repetitive actions was to clear the screen before running tests; hence

This -c flag will clear the screen every time an update happens. That should make the experience much more calm.

More information

For more details on practical settings we recommend reading the project page.