Monzilla

coverage Crates.io Docs.rs

An uncomplicated file monitoring tool. It runs a program then watches the files you specify for changes, restarting the program if the files change. You can also manually restart the program. If you need more power I suggest Watchman.

Installation

Install the command line tool with:

sh cargo install monzilla_rs

Then you can run it with something like the following:

sh monzilla -g 'scratch/*.fish' 'scratch/xyz.json5' -- scratch/forever.fish

Any time the files change the program will be killed and restarted.

Points of Interest

This tool shows how to do a variety of advanced things in Rust:

Plus, all the good stuff found in my rustcliquickstart.