Project

uatu

0.0
No commit activity in last 3 years
No release in over 3 years
A simple gem to trigger a script upon file system change
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Runtime

~> 0.4.7
 Project Readme

UATU (File system observer)

This script was developed for personnal use. It's not bug free but it works for me.

Usage

The script must be invoked with either a command or a script to run:

$ uatu -s update.sh
Watcher started

$ uatu -c "echo 'Hello'"
...

The script will notify upon changes and trigger the script/command. You can also specify a directory to watch (if the script isn't in the same dir)

$ uatu -s update.sh -b ./src
...

You can also specify a time interval between triggers (to prevent overkill trigger)

$ uatu -s update.sh -w 5

Will wait 5 seconds for the next update