mlw

Crates.iomlw
lib.rsmlw
version0.1.2
sourcesrc
created_at2024-11-23 04:38:02.98488
updated_at2024-11-25 11:39:02.578677
descriptionA file watcher that runs scripts on changes
homepage
repositoryhttps://github.com/mnsdojo/mlw
max_upload_size
id1458240
size31,470
pablo (mnsdojo)

documentation

README

MLW (Multi-Language Watcher)

MLW is a flexible command-line tool that monitors files for changes and automatically restarts scripts, regardless of the language. It is highly customizable and supports multiple file types and configurations.

Features

  • Automatic Script Restart: Automatically restarts your script when any watched file changes.
  • Multi-Language Support: Supports various programming languages (e.g., Python, JavaScript, Go, C,etc.) by recognizing file extensions.
  • Configurable: Easily customizable via an mwl.toml configuration file.
  • File Watcher: Watches for file changes in specific directories and for specified file extensions.
  • Customizable Watch Interval: Adjust the interval at which files are checked for changes.
  • Logging: Outputs detailed logs based on the specified logging level.

Installation

You can install MLW using your package manager or by downloading it directly from the release page.

Basic Usage

1. Generate Configuration

To generate the default configuration file for MLW, run the following command:

mlw --gen-config

Commit count: 27

cargo fmt