Skip to content

Commit b466a83

Browse files
committed
Fix
1 parent 240fdd8 commit b466a83

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -126,7 +126,7 @@ function Pointer(obj) {
126126
}
127127
}
128128
});
129-
if (opts.watch) {
129+
if (obj.watch) {
130130
self.__startWatch();
131131
}
132132
// Watcher is unstable, have to renew after each event

0 commit comments

Comments
 (0)