Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/lelandbatey/watchserver

A server that watches a file/folder and notifies clients about changes
https://github.com/lelandbatey/watchserver

Last synced: 25 days ago
JSON representation

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

Awesome Lists containing this project

README

        

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