Install entr by entering the following commands in the terminal:
sudo apt update sudo apt install entr
Description:
Run arbitrary commands when files change
The Event Notify Test Runner (entr) runs arbitrary commands when files change. Changes are detected through the kqueue/inotify kernel interface.
Homepage: http://entrproject.org/
Version: 3.9-1
Section: universe/misc