3.0.0 • Published 8 years ago

eye-spy v3.0.0

Weekly downloads
1
License
ISC
Repository
github
Last release
8 years ago

Eye Spy

A simple tool utilizing regex and file system changes. Any time a file changes and the path passes an added regex test, the corresponding function will be executed. Once you are done you must call the done function so that you can continue getting updates.

The use case for this tool was to compile my project when ever I saved files or restart my http server. I don't like build buttons.

Example

var spy = require("eye-spy");

// Watch all js files and log it out.
spy(".", /^.*\.js$/, function (path, done) {
  console.log("changed:", path);
  done();
});
3.0.0

8 years ago

2.0.0

9 years ago

1.0.0

10 years ago

0.0.2

10 years ago

0.0.1

10 years ago