Skip to content

Commit 9d27385

Browse files
authored
Update watch-example.ts
1 parent f5b87a7 commit 9d27385

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

examples/typescript/watch/watch-example.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,9 +29,9 @@ const req = await watch
2929
// done callback is called if the watch terminates either normally or with an error
3030
(err) => {
3131
if (err) {
32-
console.log(err);
32+
console.error(err);
3333
} else {
34-
console.log('watch done')
34+
console.log('watch finished normally')
3535
}
3636
},
3737
)

0 commit comments

Comments
 (0)