watchexec

1.17.1

Conveniently tracks file changes in the folders and subfolders used in development and execute the appropriate commands via this tool

Generally speaking, the phase of software development entails using the same commands over and over again. Since the operation usually eats up a lot of time, it would be nice if there was a way to automate the process.
whatexec is a command line tool that can do that by executing various commands once it detects modifications to a file. More precisely, the tool keeps an eye on a path and runs a command when it notices changes. The tool is designed to monitor the current directory, so developers need to make sure that they open their console in the folder or subfolder they want to watch.
A noteworthy feature is the use of process groups to enable the monitoring of forking programs. In addition, the app can coalesce multiple filesystem events into one to simplify the tasks of backing up or swapping when exported to an editor. Lastly, the program provides the paths that changed in environment variables and can load .ignore and .gitignore files.
As far as its applicability is concerned, the program can come in handy when running syntax checkers and linters. According to the developer, the application can also save time and energy when automatically running unit tests.