Skip to content

reneegyllensvaan/watsch

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Watsch - A little file watcher CLI

This is a little CLI i wrote to run a command any time one of one or more files is saved. It has no command line options.

Usage

watsch FILE1 [FILE2, ...] -- COMMAND [ARGUMENTS]

Example

Watch main.rs and my_module (a directory) for changes. When a change is registered, run sh -c 'clear && cargo run', i.e. clear the screen and run the application.

watsch main.rs -- sh -c 'clear && cargo run'

Setup

cargo install --git https://github.com/reneegyllensvaan/watsch.git

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages