Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Updating readme to include startSilent flag example per issue #15.

  • Loading branch information...
commit 423f1a2e83b99ab4db15dd77ab184a9a4447c23a 1 parent a1519b7
@jslatts authored
Showing with 12 additions and 0 deletions.
  1. +12 −0 Readme.md
View
12 Readme.md
@@ -54,6 +54,18 @@ Stalker will also take a second callback that will be fired when files are remov
The removal callback also works in batch mode.
+The startSilent parameter will prevent stalker from telling you about all the
+existing files in the directory:
+
+ stalker.watch('./example', {startSilent: true}, function(err, f) {
+ if (err) {
+ console.log('Error was ' + err);
+ return;
+ }
+ console.log('I see ' + f);
+ });
+
+
## Running tests
I couldn't handle vows.js anymore. I ripped it out. Will replace with something

0 comments on commit 423f1a2

Please sign in to comment.
Something went wrong with that request. Please try again.