Skip to content

airportyh/watchem

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Watch'em

A utility that watches your directory for file changes, and then executes a command on change. The output of the command is always anchored to the top to a box which makes for a nice iterative development experience.

Screencast

Watch it in action in this screencast (3:22).

Install

First you need Node. Then

npm install watchem -g

Usage

watchem "Makefile,**/*.c,**/*.h" make

This command will watch the Makefile, and any .c or .hfiles within the current directory and within any of its subdirectories. It runs the command make and re-run it whenever any matching files change, even new ones that are created.

Thanks

Watchem uses blessed to build its user interface. It uses fireworm for file watching.

About

A smart cli directory watcher utility.

Resources

Stars

Watchers

Forks

Packages

No packages published