/watchman

Lightweight logging service (archived)

Primary LanguageGo

Watchman

I am building watchman for when you need a cron job to be triggered not every predefined interval but on changes in files or subdirectories of a directory.

How to install watchman?

To install watchman you need go installed on your computer

git clone git@brijesh.dev:watchman.git
cd watchman
go build .
sudo cp watchman /usr/bin

If you don't have go installed, then install from official website

Todo

  • Take CLI inputs
  • Create a recursive list of subdirectories and files
  • Watch for changes to files or subdirectories
  • Watch for changes in file contents
  • Run command when change is detected