Skip to content

Watching a directory

It is sometimes convenient to be able to monitor a directory to detect changes in files, without having to rerun the analysis.

AST Metrics offers an option to watch a directory and display the results in real time.

To watch a directory, run the following command in your terminal:

ast-metrics --watch /path/to/your/project