Skip to content

Commit 4166534

Browse files
committed
Fixed example in readme.md
Listen event doesn't receive any parameter. I also removed the `pid` from console, because that variable doesn't exist and I don't know from where can be got.
1 parent 40a06ec commit 4166534

File tree

1 file changed

+1
-6
lines changed

1 file changed

+1
-6
lines changed

readme.md

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -71,12 +71,7 @@ var port = 35729;
7171

7272
// tinylr(opts) => new tinylr.Server(opts);
7373
tinylr().listen(port, function() {
74-
if(err) {
75-
// deal with err
76-
return;
77-
}
78-
79-
console.log('... Listening on %s (pid: %s) ...', port);
74+
console.log('... Listening on %s ...', port);
8075
})
8176
```
8277

0 commit comments

Comments
 (0)