#watch #build #reload #development #cargo-build

build cargomon

A Rust implementation of nodemon for automatic rebuilding and running of Rust projects

2 releases

0.1.1 Oct 11, 2024
0.1.0 Oct 10, 2024

#270 in Build Utils

24 downloads per month

MIT license

14KB
211 lines

Cargomon

Cargomon is a Rust implementation inspired by the popular Node.js tool nodemon. It watches your Rust project for file changes and automatically rebuilds and runs your application.

Installation

You can install Cargomon using cargo:

cargo install cargomon

Usage

Navigate to your Rust project directory and run:

cargomon

Cargomon will watch for file changes in your project, rebuild when changes are detected, and run the resulting executable.

Features

  • Automatic rebuilding and restarting of your Rust application
  • Customizable file watching patterns
  • Support for cargo workspaces
  • Configurable through command-line options

For more configuration options, run cargomon --help.

License

This project is licensed under the MIT License - see the LICENSE file for details.

Contributing

Contributions are welcome! Please feel free to submit a Pull Request.

Acknowledgements

This project was inspired by nodemon for Node.js.

Dependencies

~5–14MB
~190K SLoC