Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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
- Host: GitHub
- URL: https://github.com/lelandbatey/watchserver
- Owner: lelandbatey
- License: unlicense
- Created: 2016-12-30T02:33:17.000Z (almost 8 years ago)
- Default Branch: master
- Last Pushed: 2017-01-01T01:50:28.000Z (almost 8 years ago)
- Last Synced: 2024-02-14T22:36:26.269Z (10 months ago)
- Language: Go
- Size: 4.88 KB
- Stars: 59
- Watchers: 3
- Forks: 5
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
- awesome-discoveries - Watchserver - a server that watches a file/folder and notifies clients about changes _(`Go`)_ (Servers)
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