evanbarter / puddles

Watches the filesystem and emits over a websocket on a change.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Puddles

Puddles allows you to set up a file system watcher which, upon detecting a changed file, will emit over a socket. Clients may therefore react to the changed file (for example, refresh a web page).

Configuration

  1. Run npm install
  2. Add projects to the projects.json file. Each project is represented by an object with name and path properties.
  3. Optionally change the port in server.js then start with node server.js

See Also

Puddles for Drupal is a simple implementation.

Acknowledgements

Utilizes Watchr and socket.io

About

Watches the filesystem and emits over a websocket on a change.


Languages

Language:JavaScript 100.0%