watcher

command module
v0.0.0-...-4c236fb Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 25, 2023 License: MIT Imports: 3 Imported by: 0

README

watcher

Watcher CLI Tool is a command-line utility designed to monitor a specified directory and its subdirectories for any file modifications. Once a change is detected, Watcher automatically executes a user-specified command, providing a flexible and automated solution for various tasks.

Install

go install github.com/akitanak/watcher@latest

Usage

If you want to watch current directory and run go test when some code was changed, run a command below.

watcher go test

If you want to monitor a specific directory, specify the directory with --directory.

watcher --directory ./src go test

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL