Skip to content

A server that watches a file/folder and notifies clients about changes

License

Notifications You must be signed in to change notification settings

lelandbatey/watchserver

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Watchserver

A simple tcp server that notifies all clients whenever a file is modified. Includes a simple client which blinks the lights on a keyboard when a it recieves any notification from the server.

Installation

go get github.com/lelandbatey/watchserver/...
# Allow watchclient to run as root so it can blink the lights
sudo chown root $(which watchclient) && sudo chmod u+s $(which watchclient)
watchserver /tmp/
watchclient
echo "what" >> /tmp/example

About

A server that watches a file/folder and notifies clients about changes

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages