This repository has been archived by the owner on Apr 6, 2019. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
plundra/dir2httpwatch
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
About ----- Synchronizes content of a directory with webclients using socket.io. How it works ------------ 1) Clients connects to server, which sends current filelist. 2) Server watches a directory for changes. 3) On changes (file is added or removed), send notification to clients. Flaws/Todo ---------- Initial plan was to use inotify for watching directory, but turned out to be a hassle to learn; so did a polling fs.readdir(). This should be switched back to the inital plan.
About
Push changes of a directory to webclients (For learning Node.js)
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published