forked from yuanchuan/node-watch
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
The previous version had no return value. Now the function returns its underlying listener so that it can be closed and future changes to the watched file will not trigger events.
- Loading branch information
1 parent
e386751
commit 22e5936
Showing
1 changed file
with
9 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters