watch: adjust output format

This commit is contained in:
Chris Lu 2020-09-09 22:34:48 -07:00
parent daf0a449f7
commit 47b3f932e4

View file

@ -101,7 +101,7 @@ func runWatch(cmd *Command, args []string) bool {
if !shouldPrint(resp) {
continue
}
fmt.Printf("%+v\n", resp.EventNotification)
fmt.Printf("dir:%s %+v\n", resp.Directory, resp.EventNotification)
}
})