Skip to content

Commit

Permalink
Add back in comment on second parameter and change the start method.
Browse files Browse the repository at this point in the history
Signed-off-by: Jason Lewis <[email protected]>
  • Loading branch information
jasonlewis committed Dec 8, 2013
1 parent 585df77 commit b8c2448
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion watcher
Original file line number Diff line number Diff line change
Expand Up @@ -129,6 +129,10 @@ $listener->onAnything(function($event, $resource, $path)
| passing in an optional first parameter. The interval is given in
| microseconds. 1,000,000 microseconds is 1 second.
|
| By default the watch will continue until such time that it's aborted from
| the terminal. To set a timeout pass in the number of microseconds before
| the watch will abort as the second parameter.
|
*/

$watcher->startWatch();
$watcher->start();

0 comments on commit b8c2448

Please sign in to comment.