#file-watcher #script #logging #config-file #level #file-extension

app mlw

A file watcher that runs scripts on changes

2 releases

new 0.1.1 Nov 23, 2024
0.1.0 Nov 23, 2024

#299 in Configuration

22 downloads per month

MIT license

12KB
252 lines

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, 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.

Dependencies

~4–13MB
~159K SLoC